Home
last modified time | relevance | path

Searched refs:maxlen (Results 1 – 9 of 9) sorted by relevance

/toolchain/binutils/binutils-2.25/libiberty/
Dpex-win32.c189 DWORD maxlen; in mingw_rootify() local
203 if (RegQueryInfoKey (hKey, NULL, NULL, NULL, NULL, &maxlen, NULL, NULL, in mingw_rootify()
209 namebuf = XNEWVEC (char, ++maxlen); in mingw_rootify()
210 foundbuf = XNEWVEC (char, maxlen); in mingw_rootify()
223 for (i = 0; RegEnumKey (hKey, i, namebuf, maxlen) == ERROR_SUCCESS; i++) in mingw_rootify()
252 maxlen = 0; in mingw_rootify()
255 &maxlen) != ERROR_SUCCESS || maxlen == 0) in mingw_rootify()
262 foundbuf = XNEWVEC (char, maxlen + strlen (executable)); in mingw_rootify()
271 &maxlen); in mingw_rootify()
Dstrnlen.c22 strnlen (const char *s, size_t maxlen) in strnlen() argument
26 for (i = 0; i < maxlen; ++i) in strnlen()
Dfunctions.texi1619 @deftypefn Supplemental size_t strnlen (const char *@var{s}, size_t @var{maxlen})
1622 past the first @var{maxlen} characters in the string. If there is no
1623 '\0' character in the first @var{maxlen} characters, returns
1624 @var{maxlen}.
/toolchain/binutils/binutils-2.25/bfd/
Darchive.c2020 size_t maxlen = ar_maxnamelen (abfd); in bfd_dont_truncate_arname() local
2037 if (length <= maxlen) in bfd_dont_truncate_arname()
2041 if (length < maxlen in bfd_dont_truncate_arname()
2042 || (length == maxlen && length < sizeof hdr->ar_name)) in bfd_dont_truncate_arname()
2052 size_t maxlen = ar_maxnamelen (abfd); in bfd_bsd_truncate_arname() local
2056 if (length <= maxlen) in bfd_bsd_truncate_arname()
2061 memcpy (hdr->ar_name, filename, maxlen); in bfd_bsd_truncate_arname()
2062 length = maxlen; in bfd_bsd_truncate_arname()
2065 if (length < maxlen) in bfd_bsd_truncate_arname()
2084 size_t maxlen = ar_maxnamelen (abfd); in bfd_gnu_truncate_arname() local
[all …]
Dcoffgen.c1371 size_t maxlen; in coff_write_symbols() local
1384 maxlen = bfd_coff_force_symnames_in_strings (abfd) ? 0 : SYMNMLEN; in coff_write_symbols()
1387 maxlen = bfd_coff_force_symnames_in_strings (abfd) ? 0 : SYMNMLEN; in coff_write_symbols()
1393 maxlen = name_length; in coff_write_symbols()
1403 maxlen = bfd_coff_filnmlen (abfd); in coff_write_symbols()
1406 maxlen = bfd_coff_force_symnames_in_strings (abfd) ? 0 : SYMNMLEN; in coff_write_symbols()
1408 if (name_length > maxlen) in coff_write_symbols()
1607 copy_name (bfd *abfd, char *name, size_t maxlen) in copy_name() argument
1612 for (len = 0; len < maxlen; ++len) in copy_name()
DpeXXigen.c1421 bfd_size_type maxlen = (char *)(data + datasize) - dll - 1; in pe_print_idata() local
1422 fprintf (file, _("\n\tDLL Name: %.*s\n"), (int) maxlen, dll); in pe_print_idata()
/toolchain/binutils/binutils-2.25/binutils/
Dreadelf.c11367 size_t maxlen = end - data; in dump_section_as_strings() local
11376 if (maxlen > 0) in dump_section_as_strings()
11378 print_symbol ((int) maxlen, data); in dump_section_as_strings()
11380 data += strnlen (data, maxlen); in dump_section_as_strings()
11832 size_t maxlen = (end - p) - 1; in display_tag_value() local
11835 if (maxlen > 0) in display_tag_value()
11837 print_symbol ((int) maxlen, (const char *) p); in display_tag_value()
11838 p += strnlen ((char *) p, maxlen) + 1; in display_tag_value()
12070 size_t maxlen = (end - p) - 1; in display_arm_attribute() local
12072 print_symbol ((int) maxlen, (const char *) p); in display_arm_attribute()
[all …]
Dod-xcoff.c144 dump_value (const struct xlat_table *table, unsigned int val, int maxlen) in dump_value() argument
151 printf ("%-*s", maxlen, t->name); in dump_value()
154 printf ("(%*x)", maxlen - 2, val); in dump_value()
Ddwarf.c916 dwarf_vma maxlen; in display_block() local
920 maxlen = (dwarf_vma) (end - data); in display_block()
921 length = length > maxlen ? maxlen : length; in display_block()