Lines Matching refs:str
36 parse_field(char *str, struct trace_event_call *call,
45 if (!str[i])
48 while (isspace(str[i]))
51 while (isalnum(str[i]) || str[i] == '_')
57 field_name = kmemdup_nul(str + s, len, GFP_KERNEL);
66 while (isspace(str[i]))
68 if (str[i] != '=')
71 while (isspace(str[i]))
74 if (isdigit(str[i]) || str[i] == '-') {
82 if (str[i] == '-')
86 while (isalnum(str[i]))
88 num = str + s;
89 c = str[i];
92 str[i] = '\0';
98 str[i] = c;
104 } else if (str[i] == '\'' || str[i] == '"') {
105 char q = str[i];
111 for (i++; str[i]; i++) {
112 if (str[i] == '\\' && str[i + 1]) {
116 if (str[i] == q)
119 if (!str[i])
128 *pv = (unsigned long)(str + s);
129 str[i] = 0;
192 static int parse_entry(char *str, struct trace_event_call *call, void **pentry)
210 while ((len = parse_field(str, call, &field, &val)) > 0) {
269 str += len;