Lines Matching refs:p
70 char *p = strrchr(bprm->interp, '.'); in check_file() local
82 if (p && !strcmp(e->magic, p + 1)) in check_file()
242 char c = 0, *s = from, *p = from; in unquote() local
248 *p = (c - (isdigit(c) ? '0' : 'A' - 10)) << 4; in unquote()
250 *p++ |= c - (isdigit(c) ? '0' : 'A' - 10); in unquote()
253 *p++ = c; in unquote()
255 return p - from; in unquote()
260 char * p = sfs; in check_special_flags() local
265 switch (*p) { in check_special_flags()
267 p++; in check_special_flags()
271 p++; in check_special_flags()
275 p++; in check_special_flags()
286 return p; in check_special_flags()
297 char *buf, *p; in create_entry() local
311 p = buf = (char *)e + sizeof(Node); in create_entry()
317 del = *p++; /* delimeter */ in create_entry()
321 e->name = p; in create_entry()
322 p = strchr(p, del); in create_entry()
323 if (!p) in create_entry()
325 *p++ = '\0'; in create_entry()
331 switch (*p++) { in create_entry()
336 if (*p++ != del) in create_entry()
339 char *s = strchr(p, del); in create_entry()
343 e->offset = simple_strtoul(p, &p, 10); in create_entry()
344 if (*p++) in create_entry()
346 e->magic = p; in create_entry()
347 p = scanarg(p, del); in create_entry()
348 if (!p) in create_entry()
350 p[-1] = '\0'; in create_entry()
353 e->mask = p; in create_entry()
354 p = scanarg(p, del); in create_entry()
355 if (!p) in create_entry()
357 p[-1] = '\0'; in create_entry()
366 p = strchr(p, del); in create_entry()
367 if (!p) in create_entry()
369 *p++ = '\0'; in create_entry()
370 e->magic = p; in create_entry()
371 p = strchr(p, del); in create_entry()
372 if (!p) in create_entry()
374 *p++ = '\0'; in create_entry()
377 p = strchr(p, del); in create_entry()
378 if (!p) in create_entry()
380 *p++ = '\0'; in create_entry()
382 e->interpreter = p; in create_entry()
383 p = strchr(p, del); in create_entry()
384 if (!p) in create_entry()
386 *p++ = '\0'; in create_entry()
391 p = check_special_flags (p, e); in create_entry()
393 if (*p == '\n') in create_entry()
394 p++; in create_entry()
395 if (p != buf + count) in create_entry()