Lines Matching refs:p

190 static void parse_config_file(const char *p)  in parse_config_file()  argument
193 const char *start = p; in parse_config_file()
195 while ((p = strstr(p, "CONFIG_"))) { in parse_config_file()
196 if (p > start && (isalnum(p[-1]) || p[-1] == '_')) { in parse_config_file()
197 p += 7; in parse_config_file()
200 p += 7; in parse_config_file()
201 q = p; in parse_config_file()
204 if (str_ends_with(p, q - p, "_MODULE")) in parse_config_file()
208 if (r > p) in parse_config_file()
209 use_config(p, r - p); in parse_config_file()
210 p = q; in parse_config_file()
266 static void parse_dep_file(char *p, const char *target) in parse_dep_file() argument
274 while (*p) { in parse_dep_file()
276 switch (*p) { in parse_dep_file()
282 p++; in parse_dep_file()
283 while (*p != '\0' && *p != '\n') { in parse_dep_file()
288 if (*p == '\\') in parse_dep_file()
289 p++; in parse_dep_file()
290 p++; in parse_dep_file()
296 p++; in parse_dep_file()
303 if (*(p + 1) == '\n') { in parse_dep_file()
304 p += 2; in parse_dep_file()
314 p++; in parse_dep_file()
322 p++; in parse_dep_file()
329 q = p; in parse_dep_file()
341 memmove(p + 1, p, q - p); in parse_dep_file()
342 p++; in parse_dep_file()
355 p = q; in parse_dep_file()
383 printf("source_%s := %s\n\n", target, p); in parse_dep_file()
387 } else if (!is_ignored_file(p, q - p) && in parse_dep_file()
388 !in_hashtable(p, q - p, file_hashtab)) { in parse_dep_file()
389 printf(" %s \\\n", p); in parse_dep_file()
393 if (need_parse && !is_no_parse_file(p, q - p)) { in parse_dep_file()
396 buf = read_file(p); in parse_dep_file()
403 p = q; in parse_dep_file()