| /src/external/bsd/elftoolchain/dist/libelf/ |
| libelf_ar_util.c | 223 const size_t namesz = sizeof(arh->ar_name); local 225 if ((rawname = malloc(namesz + 1)) == NULL) { 230 (void) strncpy(rawname, arh->ar_name, namesz); 231 rawname[namesz] = '\0';
|
| /src/external/gpl3/binutils/dist/bfd/ |
| cpu-arm.c | 318 unsigned char namesz[4]; /* Size of entry's owner string. */ member in struct:__anon9646 331 unsigned long namesz; local 341 namesz = bfd_get_32 (abfd, buffer); 347 if (namesz + descsz + offsetof (arm_Note, name) > buffer_size) 352 if (namesz != 0) 357 if (namesz != ((strlen (expected_name) + 1 + 3) & ~3)) 363 descr += (namesz + 3) & ~3;
|
| /src/external/gpl3/binutils.old/dist/bfd/ |
| cpu-arm.c | 318 unsigned char namesz[4]; /* Size of entry's owner string. */ member in struct:__anon11137 331 unsigned long namesz; local 341 namesz = bfd_get_32 (abfd, buffer); 347 if (namesz + descsz + offsetof (arm_Note, name) > buffer_size) 352 if (namesz != 0) 357 if (namesz != ((strlen (expected_name) + 1 + 3) & ~3)) 363 descr += (namesz + 3) & ~3;
|
| /src/external/gpl3/gdb/dist/bfd/ |
| cpu-arm.c | 318 unsigned char namesz[4]; /* Size of entry's owner string. */ member in struct:__anon17584 331 unsigned long namesz; local 341 namesz = bfd_get_32 (abfd, buffer); 347 if (namesz + descsz + offsetof (arm_Note, name) > buffer_size) 352 if (namesz != 0) 357 if (namesz != ((strlen (expected_name) + 1 + 3) & ~3)) 363 descr += (namesz + 3) & ~3;
|
| /src/external/gpl3/gdb.old/dist/bfd/ |
| cpu-arm.c | 318 unsigned char namesz[4]; /* Size of entry's owner string. */ member in struct:__anon20324 331 unsigned long namesz; local 341 namesz = bfd_get_32 (abfd, buffer); 347 if (namesz + descsz + offsetof (arm_Note, name) > buffer_size) 352 if (namesz != 0) 357 if (namesz != ((strlen (expected_name) + 1 + 3) & ~3)) 363 descr += (namesz + 3) & ~3;
|
| /src/external/bsd/libproc/dist/tests/ |
| proc_test.c | 134 size_t namesz; local 160 namesz = strlen(symname) + 1; 161 name = malloc(namesz); 164 error = proc_addr2sym(phdl, addr, name, namesz, &tsym);
|
| /src/external/gpl3/gdb.old/dist/libctf/ |
| ctf-archive.c | 68 ssize_t namesz; local 132 for (i = 0, namesz = 0; i < le64toh (archdr->ctfa_ndicts); i++) 133 namesz += strlen (names[i]) + 1; 135 nametbl = malloc (namesz); 142 for (i = 0, namesz = 0, 149 strcpy (&nametbl[namesz], names[i]); 165 modent->name_offset = htole64 (namesz); 167 namesz += strlen (names[i]) + 1; 187 while (namesz > 0) 190 if ((len = write (fd, np, namesz)) < 0 [all...] |
| /src/external/bsd/mdocml/dist/ |
| cgi.c | 374 int namesz, secsz; local 392 namesz = cp == NULL ? strlen(name) : cp - name; 406 printf("%.*s", namesz, name);
|
| /src/external/gpl3/binutils/dist/libctf/ |
| ctf-archive.c | 68 ssize_t namesz; local 132 for (i = 0, namesz = 0; i < le64toh (archdr->ctfa_ndicts); i++) 133 namesz += strlen (names[i]) + 1; 135 nametbl = malloc (namesz); 142 for (i = 0, namesz = 0, 149 strcpy (&nametbl[namesz], names[i]); 165 modent->name_offset = htole64 (namesz); 167 namesz += strlen (names[i]) + 1; 187 while (namesz > 0) 190 if ((len = write (fd, np, namesz)) < 0 [all...] |
| /src/external/gpl3/binutils.old/dist/libctf/ |
| ctf-archive.c | 68 ssize_t namesz; local 132 for (i = 0, namesz = 0; i < le64toh (archdr->ctfa_ndicts); i++) 133 namesz += strlen (names[i]) + 1; 135 nametbl = malloc (namesz); 142 for (i = 0, namesz = 0, 149 strcpy (&nametbl[namesz], names[i]); 165 modent->name_offset = htole64 (namesz); 167 namesz += strlen (names[i]) + 1; 187 while (namesz > 0) 190 if ((len = write (fd, np, namesz)) < 0 [all...] |
| /src/external/gpl3/gdb/dist/libctf/ |
| ctf-archive.c | 68 ssize_t namesz; local 132 for (i = 0, namesz = 0; i < le64toh (archdr->ctfa_ndicts); i++) 133 namesz += strlen (names[i]) + 1; 135 nametbl = malloc (namesz); 142 for (i = 0, namesz = 0, 149 strcpy (&nametbl[namesz], names[i]); 165 modent->name_offset = htole64 (namesz); 167 namesz += strlen (names[i]) + 1; 187 while (namesz > 0) 190 if ((len = write (fd, np, namesz)) < 0 [all...] |
| /src/external/gpl3/binutils/dist/include/elf/ |
| external.h | 180 unsigned char namesz[4]; /* Size of entry's owner string */ member in struct:__anon10471 193 #define ELF_NOTE_DESC_OFFSET(namesz, align) \ 194 ELF_ALIGN_UP (offsetof (Elf_External_Note, name) + (namesz), (align)) 198 #define ELF_NOTE_NEXT_OFFSET(namesz, descsz, align) \ 199 ELF_ALIGN_UP (ELF_NOTE_DESC_OFFSET ((namesz), (align)) + (descsz), \
|
| ia64.h | 241 unsigned char namesz[8]; /* Size of entry's owner string */ member in struct:__anon10492
|
| internal.h | 145 unsigned long namesz; /* Size of entry's owner string */ member in struct:elf_internal_note
|
| /src/external/gpl3/binutils.old/dist/include/elf/ |
| external.h | 180 unsigned char namesz[4]; /* Size of entry's owner string */ member in struct:__anon11935 193 #define ELF_NOTE_DESC_OFFSET(namesz, align) \ 194 ELF_ALIGN_UP (offsetof (Elf_External_Note, name) + (namesz), (align)) 198 #define ELF_NOTE_NEXT_OFFSET(namesz, descsz, align) \ 199 ELF_ALIGN_UP (ELF_NOTE_DESC_OFFSET ((namesz), (align)) + (descsz), \
|
| ia64.h | 241 unsigned char namesz[8]; /* Size of entry's owner string */ member in struct:__anon11956
|
| internal.h | 145 unsigned long namesz; /* Size of entry's owner string */ member in struct:elf_internal_note
|
| /src/external/gpl3/gdb/dist/include/elf/ |
| external.h | 180 unsigned char namesz[4]; /* Size of entry's owner string */ member in struct:__anon18582 193 #define ELF_NOTE_DESC_OFFSET(namesz, align) \ 194 ELF_ALIGN_UP (offsetof (Elf_External_Note, name) + (namesz), (align)) 198 #define ELF_NOTE_NEXT_OFFSET(namesz, descsz, align) \ 199 ELF_ALIGN_UP (ELF_NOTE_DESC_OFFSET ((namesz), (align)) + (descsz), \
|
| ia64.h | 241 unsigned char namesz[8]; /* Size of entry's owner string */ member in struct:__anon18603
|
| internal.h | 145 unsigned long namesz; /* Size of entry's owner string */ member in struct:elf_internal_note
|
| /src/external/gpl3/gdb.old/dist/include/elf/ |
| external.h | 180 unsigned char namesz[4]; /* Size of entry's owner string */ member in struct:__anon21323 193 #define ELF_NOTE_DESC_OFFSET(namesz, align) \ 194 ELF_ALIGN_UP (offsetof (Elf_External_Note, name) + (namesz), (align)) 198 #define ELF_NOTE_NEXT_OFFSET(namesz, descsz, align) \ 199 ELF_ALIGN_UP (ELF_NOTE_DESC_OFFSET ((namesz), (align)) + (descsz), \
|
| ia64.h | 241 unsigned char namesz[8]; /* Size of entry's owner string */ member in struct:__anon21344
|
| internal.h | 145 unsigned long namesz; /* Size of entry's owner string */ member in struct:elf_internal_note
|
| /src/external/bsd/file/dist/src/ |
| readelf.c | 556 int swap __attribute__((__unused__)), uint32_t namesz, uint32_t descsz, 559 if (namesz == 4 && strcmp(RCAST(char *, &nbuf[noff]), "GNU") == 0 && 587 if (namesz == 4 && strcmp(RCAST(char *, &nbuf[noff]), "Go") == 0 && 601 int swap, uint32_t namesz, uint32_t descsz, 606 if (namesz == 5 && strcmp(name, "SuSE") == 0 && 615 if (namesz == 4 && strcmp(name, "GNU") == 0 && 654 if (namesz == 7 && strcmp(name, "NetBSD") == 0) { 663 if (namesz == 8 && strcmp(name, "FreeBSD") == 0) { 673 if (namesz == 8 && strcmp(name, "OpenBSD") == 0 && 682 if (namesz == 10 && strcmp(name, "DragonFly") == 0 & 1169 uint32_t namesz, descsz; local [all...] |
| /src/external/gpl3/gdb/dist/sim/ppc/ |
| emul_chirp.c | 1485 uint32_t namesz; member in struct:_chirp_note_head 1503 head.namesz = bfd_get_32(image, (void*)&head.namesz); 1509 if (head.namesz > sizeof(name)) { 1510 error("chirp: note name too long (%d > %d)\n", (int)head.namesz, (int)sizeof(name)); 1513 name, sizeof(head), head.namesz)) { 1532 ((sizeof(head) + head.namesz) + 3) & ~3,
|