Lines Matching defs:p
184 xread(int fd, char *p, size_t nbytes)
191 i = read(fd, p, nbytes - bytesread);
199 p += i;
319 #define AUX(p, a, v) { (p)->a_type = (a); \
320 ((p)++)->a_un.a_val = (int32_t)(uintptr_t)(v); }
322 #define EBV(p, a, v) { (p)->eb_tag = (a); \
323 ((p)++)->eb_un.eb_val = (Elf32_Word)(uintptr_t)(v); }
361 dprintf("Entry point: %p\n", (void *)entrypt);
400 dprintf("reading 0x%x bytes into %p\n",
718 #define AUX64(p, a, v) { (p)->a_type = (a); \
719 ((p)++)->a_un.a_val = (uint64_t)(v); }
721 #define EBV64(p, a, v) { (p)->eb_tag = (a); \
722 ((p)++)->eb_un.eb_val = (Elf64_Xword)(v); }
801 dprintf("reading 0x%llx bytes into 0x%p\n",
1449 "0x%lx bytes @ %p\n", bytes, (void *)pva);
1468 register char *p, *q;
1480 for (p = path; /* forever */; p = q) {
1482 while (*p == ' ' || *p == '\t' || *p == ':')
1483 p++;
1484 if (*p == '\0')
1486 q = p;
1489 (void) strncpy(buf, p, q - p);
1491 buf[q - p] = '/';
1492 (void) strcpy(&buf[q - p + 1], fname);
1497 (void) strcpy(&buf[q - p], fname);
1513 register char *p = strrchr(fname, '/');
1527 if (p == NULL) {
1532 while (p > fname && *(p - 1) == '/')
1533 p--; /* remove trailing "/"s */
1534 if (p == fname)
1535 p++; /* "/" is the modpath in this case */
1537 len = p - fname;