/freebsd-11-stable/lib/csu/common/ |
H A D | crtbrand.c | 56 int32_t namesz; member in struct:__anon4649 62 .namesz = sizeof(NOTE_FREEBSD_VENDOR),
|
H A D | ignore_init.c | 108 int32_t namesz; member in struct:__anon4650 115 .namesz = sizeof(NOTE_FREEBSD_VENDOR),
|
/freebsd-11-stable/lib/csu/arm/ |
H A D | crt1.c | 115 int32_t namesz; member in struct:__anon4648 121 .namesz = sizeof(NOTE_FREEBSD_VENDOR),
|
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | cpu-arm.c | 215 unsigned char namesz[4]; /* Size of entry's owner string. */ member in struct:__anon181 228 unsigned long namesz; local 238 namesz = bfd_get_32 (abfd, buffer); 244 if (namesz + descsz + offsetof (arm_Note, name) > buffer_size) 249 if (namesz != 0) 254 if (namesz != ((strlen (expected_name) + 1 + 3) & ~3)) 260 descr += (namesz + 3) & ~3;
|
H A D | elf.c | 7988 if (note->namesz == 6 8248 that they ought to have 8-byte namesz and descsz field, and have 8264 size_t namesz; 8268 namesz = 0; 8270 namesz = strlen (name) + 1; 8272 newspace = 12 + ((namesz + 3) & -4) + ((size + 3) & -4); 8278 H_PUT_32 (abfd, namesz, xnp->namesz); 8284 memcpy (dest, name, namesz); 8285 dest += namesz; 8256 size_t namesz; local [all...] |
H A D | elf32-i386.c | 394 if (note->namesz == 8 && strcmp (note->namedata, "FreeBSD") == 0) 441 if (note->namesz == 8 && strcmp (note->namedata, "FreeBSD") == 0)
|
/freebsd-11-stable/contrib/file/src/ |
H A D | readelf.c | 543 int swap __attribute__((__unused__)), uint32_t namesz, uint32_t descsz, 546 if (namesz == 4 && strcmp(RCAST(char *, &nbuf[noff]), "GNU") == 0 && 574 if (namesz == 4 && strcmp(RCAST(char *, &nbuf[noff]), "Go") == 0 && 588 int swap, uint32_t namesz, uint32_t descsz, 593 if (namesz == 5 && strcmp(name, "SuSE") == 0 && 602 if (namesz == 4 && strcmp(name, "GNU") == 0 && 641 if (namesz == 7 && strcmp(name, "NetBSD") == 0) { 650 if (namesz == 8 && strcmp(name, "FreeBSD") == 0) { 660 if (namesz == 8 && strcmp(name, "OpenBSD") == 0 && 669 if (namesz 542 do_bid_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, int swap __attribute__((__unused__)), uint32_t namesz, uint32_t descsz, size_t noff, size_t doff, int *flags) argument 587 do_os_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, int swap, uint32_t namesz, uint32_t descsz, size_t noff, size_t doff, int *flags) argument 686 do_pax_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, int swap, uint32_t namesz, uint32_t descsz, size_t noff, size_t doff, int *flags) argument 726 do_core_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, int swap, uint32_t namesz, uint32_t descsz, size_t noff, size_t doff, int *flags, size_t size, int clazz) argument 1140 uint32_t namesz, descsz; local [all...] |
/freebsd-11-stable/contrib/elftoolchain/libelf/ |
H A D | libelf_ar_util.c | 213 const size_t namesz = sizeof(arh->ar_name); local 215 if ((rawname = malloc(namesz + 1)) == NULL) { 220 (void) strncpy(rawname, arh->ar_name, namesz); 221 rawname[namesz] = '\0';
|
/freebsd-11-stable/contrib/mdocml/ |
H A D | roff.c | 1735 size_t csz, namesz, rsz; local 1754 namesz = 0; 1757 namesz = roff_getname(r, &cp, ln, ppos); 1758 iname[namesz] = '\0'; 1763 if (namesz && (tok == ROFF_dei || tok == ROFF_ami)) { 1765 name = roff_getstrn(r, iname, namesz, &deftype); 1769 "%.*s", (int)namesz, iname); 1770 namesz = 0; 1772 namesz = strlen(name); 1776 if (namesz 2273 size_t namesz; local 2678 size_t namesz; local 2708 size_t namesz; local 3414 size_t namesz; local 3459 size_t namesz; local 3468 roff_setstrn(struct roffkv **r, const char *name, size_t namesz, const char *string, size_t stringsz, int append) argument [all...] |
/freebsd-11-stable/lib/libproc/ |
H A D | proc_util.c | 179 proc_signame(int sig, char *name, size_t namesz) argument 182 strlcpy(name, strsignal(sig), namesz);
|
H A D | proc_sym.c | 299 size_t namesz, GElf_Sym *symcopy) 360 demangle(s, name, namesz); 298 proc_addr2sym(struct proc_handle *p, uintptr_t addr, char *name, size_t namesz, GElf_Sym *symcopy) argument
|
/freebsd-11-stable/contrib/binutils/include/elf/ |
H A D | external.h | 153 unsigned char namesz[4]; /* Size of entry's owner string */ member in struct:__anon510
|
H A D | internal.h | 111 unsigned long namesz; /* Size of entry's owner string */ member in struct:elf_internal_note
|
/freebsd-11-stable/lib/libproc/tests/ |
H A D | proc_test.c | 111 size_t namesz; local 137 namesz = strlen(symname) + 1; 138 name = malloc(namesz); 141 error = proc_addr2sym(phdl, addr, name, namesz, &tsym);
|
/freebsd-11-stable/contrib/elftoolchain/size/ |
H A D | size.c | 231 #define NOTE_OFFSET_32(nhdr, namesz, offset) \ 233 ELF_ALIGN((int32_t)namesz, 4) + offset) 235 #define NOTE_OFFSET_64(nhdr, namesz, offset) \ 237 ELF_ALIGN((int32_t)namesz, 8) + offset) 239 #define PID32(nhdr, namesz, offset) \ 241 namesz, offset))); 243 #define PID64(nhdr, namesz, offset) \ 245 namesz, offset))); 247 #define NEXT_NOTE(elfhdr, descsz, namesz, offset) do { \ 251 ELF_ALIGN((int32_t)namesz, [all...] |
/freebsd-11-stable/contrib/binutils/gas/config/ |
H A D | obj-elf.c | 1453 boundary, the namesz field should not be adjusted. */ 1454 i_note.namesz = len; 1457 p = frag_more (sizeof (e_note.namesz)); 1458 md_number_to_chars (p, i_note.namesz, sizeof (e_note.namesz)); 2139 int_32 namesz = 4 ; Name size 2178 i_note.namesz = 4; 2182 p = frag_more (sizeof (i_note.namesz)); 2183 md_number_to_chars (p, i_note.namesz, 4);
|
H A D | tc-i386.c | 6251 i_note.namesz = len + 1; 6254 p = frag_more (sizeof (e_note.namesz)); 6255 md_number_to_chars (p, (valueT) i_note.namesz, sizeof (e_note.namesz));
|
/freebsd-11-stable/sys/kern/ |
H A D | imgact_binmisc.c | 153 size_t namesz = min(strlen(xbe->xbe_name) + 1, IBE_NAME_MAX); local 157 ibe->ibe_name = malloc(namesz, M_BINMISC, M_WAITOK|M_ZERO); 158 strlcpy(ibe->ibe_name, xbe->xbe_name, namesz);
|
/freebsd-11-stable/usr.bin/elfdump/ |
H A D | elfdump.c | 1056 u_int32_t namesz; local 1067 namesz = elf_get_word(e, n, N_NAMESZ); 1070 desc = elf_get_word(e, n + sizeof(Elf_Note) + namesz, 0); 1072 n += sizeof(Elf_Note) + namesz + descsz;
|
/freebsd-11-stable/stand/fdt/ |
H A D | fdt_loader_cmd.c | 336 int err, namesz; local 351 namesz = strlen(name) + 6; 352 name_ext = malloc(namesz); 358 snprintf(name_ext, namesz, "%s.dtbo", name);
|
/freebsd-11-stable/contrib/elftoolchain/elfdump/ |
H A D | elfdump.c | 2052 uint32_t namesz; local 2085 namesz = en->n_namesz; 2089 if (roundup2(namesz, 4) + roundup2(descsz, 4) > count) { 2095 PRT(" namesz %#x:\n", en->n_namesz); 2099 src += roundup2(namesz, 4); 2100 count -= roundup2(namesz, 4);
|
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | readelf.c | 9267 terminated, and namesz includes the terminating null byte. 9268 I.E. the value of namesz for the name "FSF" is 4. 9270 If the value of namesz is zero, there is no name present. */ 9276 if (pnote->namesz == 0) 9299 pnote->namesz ? pnote->namedata : "(NONE)", 9332 inote.namesz = BYTE_GET (external->namesz); 9335 inote.descdata = inote.namedata + align_power (inote.namesz, 2); 9345 inote.type, inote.namesz, inote.descsz); 9354 namesz [all...] |
/freebsd-11-stable/contrib/elftoolchain/readelf/ |
H A D | readelf.c | 3788 uint32_t namesz, descsz; local 3800 namesz = roundup2(note->n_namesz, 4); 3802 if (namesz < note->n_namesz || descsz < note->n_descsz || 3803 buf + namesz + descsz > end) { 3809 buf += namesz;
|