Home
last modified time | relevance | path

Searched refs:srcsz (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_convert.m4730 * Argument `srcsz' denotes the number of bytes to be converted. In the
731 * 32-bit case we need to translate `srcsz' to a count of 32-bit words.
736 size_t srcsz, int byteswap)
738 return (_libelf_cvt_WORD_tom(dst, dsz, src, srcsz / sizeof(uint32_t),
744 size_t srcsz, int byteswap)
746 return (_libelf_cvt_WORD_tof(dst, dsz, src, srcsz / sizeof(uint32_t),
752 size_t srcsz, int byteswap)
761 if (dsz < sizeof(Elf_GNU_Hash_Header) || srcsz < sz)
770 srcsz -= sz;
781 if (srcsz < sz || dsz < sz + sizeof(Elf_GNU_Hash_Header))
[all …]
/freebsd/contrib/elftoolchain/libdwarf/
H A Dzlib_stub.c24 const void *src __unused, unsigned long srcsz __unused) in uncompress()
/freebsd/contrib/elftoolchain/elfcopy/
H A Dsections.c1030 size_t srcsz, dstsz, p, len; in modify_section() local
1034 src = read_section(s, &srcsz); in modify_section()
1035 if (src == NULL || srcsz == 0) { in modify_section()
1042 dstsz = srcsz; in modify_section()
1054 end = src + srcsz; in modify_section()
1081 memcpy(b, src, srcsz); in modify_section()
1082 p += srcsz; in modify_section()