Lines Matching refs:p

46 	char *p;  in make_parent_dir()  local
52 p = strrchr(tmp, '/'); in make_parent_dir()
53 if (!p) in make_parent_dir()
55 *(p + 1) = 0; in make_parent_dir()
58 p = tmp; in make_parent_dir()
59 while (*p == '/') in make_parent_dir()
60 p++; in make_parent_dir()
62 while ((p = strchr(p, '/'))) { in make_parent_dir()
63 *p = 0; in make_parent_dir()
69 *p = '/'; in make_parent_dir()
70 while (*p == '/') in make_parent_dir()
71 p++; in make_parent_dir()
162 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() argument
168 if (p[0] == 'm') { in conf_set_sym_val()
175 if (p[0] == 'y') { in conf_set_sym_val()
180 if (p[0] == 'n') { in conf_set_sym_val()
187 p, sym->name); in conf_set_sym_val()
190 if (*p != '"') { in conf_set_sym_val()
191 for (p2 = p; *p2 && !isspace(*p2); p2++) in conf_set_sym_val()
198 if (*p++ != '"') in conf_set_sym_val()
201 if (p[strlen(p) - 1] != '"') { in conf_set_sym_val()
207 p[strlen(p) - 1] = 0; in conf_set_sym_val()
212 if (sym_string_valid(sym, p)) { in conf_set_sym_val()
213 sym->def[def].val = xstrdup(p); in conf_set_sym_val()
218 p, sym->name); in conf_set_sym_val()
288 char *p, *p2; in conf_read_simple() local
352 p = strchr(line + 2 + strlen(CONFIG_), ' '); in conf_read_simple()
353 if (!p) in conf_read_simple()
355 *p++ = 0; in conf_read_simple()
356 if (strncmp(p, "is not set", 10)) in conf_read_simple()
382 p = strchr(line + strlen(CONFIG_), '='); in conf_read_simple()
383 if (!p) in conf_read_simple()
385 *p++ = 0; in conf_read_simple()
386 p2 = strchr(p, '\n'); in conf_read_simple()
406 if (conf_set_sym_val(sym, def, def_flags, p)) in conf_read_simple()
546 const char *p = value; in kconfig_print_comment() local
550 l = strcspn(p, "\n"); in kconfig_print_comment()
554 xfwrite(p, l, 1, fp); in kconfig_print_comment()
555 p += l; in kconfig_print_comment()
558 if (*p++ == '\0') in kconfig_print_comment()
618 const char *p = value; in header_print_comment() local
623 l = strcspn(p, "\n"); in header_print_comment()
627 xfwrite(p, l, 1, fp); in header_print_comment()
628 p += l; in header_print_comment()
631 if (*p++ == '\0') in header_print_comment()
1203 int n, p[3]; in conf_set_all_new_symbols() local
1210 p[n++] = tmp; in conf_set_all_new_symbols()
1223 pby = p[0]; ptm = pby/2; pty = pby-ptm; in conf_set_all_new_symbols()
1226 pty = p[0]; ptm = p[1]; pby = pty + ptm; in conf_set_all_new_symbols()
1229 pby = p[0]; pty = p[1]; ptm = p[2]; in conf_set_all_new_symbols()