Searched refs:namesz (Results 1 - 23 of 23) sorted by relevance

/freebsd-11-stable/lib/csu/common/
H A Dcrtbrand.c56 int32_t namesz; member in struct:__anon4649
62 .namesz = sizeof(NOTE_FREEBSD_VENDOR),
H A Dignore_init.c108 int32_t namesz; member in struct:__anon4650
115 .namesz = sizeof(NOTE_FREEBSD_VENDOR),
/freebsd-11-stable/lib/csu/arm/
H A Dcrt1.c115 int32_t namesz; member in struct:__anon4648
121 .namesz = sizeof(NOTE_FREEBSD_VENDOR),
/freebsd-11-stable/contrib/binutils/bfd/
H A Dcpu-arm.c215 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 Delf.c7988 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 Delf32-i386.c394 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 Dreadelf.c543 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 Dlibelf_ar_util.c213 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 Droff.c1735 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 Dproc_util.c179 proc_signame(int sig, char *name, size_t namesz) argument
182 strlcpy(name, strsignal(sig), namesz);
H A Dproc_sym.c299 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 Dexternal.h153 unsigned char namesz[4]; /* Size of entry's owner string */ member in struct:__anon510
H A Dinternal.h111 unsigned long namesz; /* Size of entry's owner string */ member in struct:elf_internal_note
/freebsd-11-stable/lib/libproc/tests/
H A Dproc_test.c111 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 Dsize.c231 #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 Dobj-elf.c1453 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 Dtc-i386.c6251 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 Dimgact_binmisc.c153 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 Delfdump.c1056 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 Dfdt_loader_cmd.c336 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 Delfdump.c2052 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 Dreadelf.c9267 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 Dreadelf.c3788 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;

Completed in 442 milliseconds