Searched refs:attr_start (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/lib/libtnfprobe/ |
H A D | tnf_args.c | 138 const char *attr_start, *attr_end, *str_end; in tnf_probe_get_value() local 145 attr_start = probe_p->attrs; in tnf_probe_get_value() 146 assert(attr_start); in tnf_probe_get_value() 147 str_end = attr_start + strlen(attr_start); in tnf_probe_get_value() 149 while (attr_start < str_end) { in tnf_probe_get_value() 150 attr_end = strchr(attr_start, separator); in tnf_probe_get_value() 156 attr_len = attr_end - attr_start; in tnf_probe_get_value() 159 while (*attr_start && ((*attr_start == ' ') || in tnf_probe_get_value() 160 (*attr_start == '\t'))) { in tnf_probe_get_value() 161 attr_start++; in tnf_probe_get_value() [all …]
|
H A D | debug_funcs.c | 66 const char *attr_start, *name_start, *name_end; in tnf_probe_debug() local 78 attr_start = tnf_probe_get_value(probe_p, "name", &attr_len); in tnf_probe_debug() 79 assert(attr_start); in tnf_probe_debug() 81 str_len = sprintf(buf_p, "probe %.*s; ", attr_len, attr_start); in tnf_probe_debug() 85 attr_start = tnf_probe_get_value(probe_p, "sunw%debug", &attr_len); in tnf_probe_debug() 86 if (attr_start) { in tnf_probe_debug() 90 attr_len, attr_start); in tnf_probe_debug() 162 attr_start = tnf_probe_get_chars(arg_position); in tnf_probe_debug() 163 attr_len = strlen(attr_start); in tnf_probe_debug() 166 str_len = sprintf(buf_p, "\"%.*s\"; ", attr_len, attr_start); in tnf_probe_debug()
|