Searched refs:string_size (Results 1 – 12 of 12) sorted by relevance
| /freebsd-12.1/sys/compat/linux/ |
| H A D | linux_util.c | 195 int current_size = 0, string_size = 1024; in linux_get_char_devices() local 197 string = malloc(string_size, M_LINUX, M_WAITOK); in linux_get_char_devices() 211 >= string_size) { in linux_get_char_devices() 212 string_size *= 2; in linux_get_char_devices() 213 string = malloc(string_size, in linux_get_char_devices()
|
| /freebsd-12.1/contrib/tcpdump/ |
| H A D | util-print.c | 526 size_t space_left = sizeof(buf), string_size; in bittok2str_internal() local 543 string_size = strlcpy(bufp, sepstr, space_left); in bittok2str_internal() 544 if (string_size >= space_left) in bittok2str_internal() 546 bufp += string_size; in bittok2str_internal() 547 space_left -= string_size; in bittok2str_internal() 550 string_size = strlcpy(bufp, lp->s, space_left); in bittok2str_internal() 551 if (string_size >= space_left) in bittok2str_internal() 553 bufp += string_size; in bittok2str_internal() 554 space_left -= string_size; in bittok2str_internal()
|
| /freebsd-12.1/usr.bin/gencat/ |
| H A D | gencat.c | 481 int string_size; /* total size of string pool */ local 497 string_size = 0; 506 string_size += strlen(msg->str) + 1; 513 printf("string pool size: %d\n", string_size); 521 + string_size;
|
| /freebsd-12.1/contrib/ntp/sntp/libopts/ |
| H A D | putshell.c | 36 string_size(char const * scan, size_t nl_len); 67 string_size(char const * scan, size_t nl_len) in string_size() function 133 char * res = out = AGALOC(string_size(text, nl_len), "quot str"); in optionQuoteString()
|
| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | coffgen.c | 1085 bfd_size_type string_size; in coff_write_symbols() local 1093 string_size = 0; in coff_write_symbols() 1111 string_size += len + 1; in coff_write_symbols() 1129 if (!coff_write_alien_symbol (abfd, symbol, &written, &string_size, in coff_write_symbols() 1137 &string_size, &debug_string_section, in coff_write_symbols() 1146 if (string_size != 0) in coff_write_symbols() 1148 unsigned int size = string_size + STRING_SIZE_SIZE; in coff_write_symbols()
|
| H A D | coff64-rs6000.c | 565 if (ldinfo->string_size + len + 3 > ldinfo->string_alc) 573 while (ldinfo->string_size + len + 3 > newalc) 587 ldinfo->strings + ldinfo->string_size); 588 strcpy (ldinfo->strings + ldinfo->string_size + 2, name); 590 ldsym->_l._l_l._l_offset = ldinfo->string_size + 2; 591 ldinfo->string_size += len + 3;
|
| H A D | coff-rs6000.c | 3539 if (ldinfo->string_size + len + 3 > ldinfo->string_alc) 3547 while (ldinfo->string_size + len + 3 > newalc) 3561 ldinfo->strings + ldinfo->string_size); 3562 strcpy (ldinfo->strings + ldinfo->string_size + 2, name); 3564 ldsym->_l._l_l._l_offset = ldinfo->string_size + 2; 3565 ldinfo->string_size += len + 3;
|
| H A D | xcofflink.c | 3004 ldinfo.string_size = 0; in bfd_xcoff_size_dynamic_sections() 3158 ldhdr->l_stlen = ldinfo.string_size; in bfd_xcoff_size_dynamic_sections() 3160 if (ldinfo.string_size == 0) in bfd_xcoff_size_dynamic_sections() 3208 if (ldinfo.string_size > 0) in bfd_xcoff_size_dynamic_sections() 3210 memcpy (out, ldinfo.strings, ldinfo.string_size); in bfd_xcoff_size_dynamic_sections()
|
| H A D | coffcode.h | 3385 size_t string_size = STRING_SIZE_SIZE; in coff_write_object_contents() local 3499 sprintf (section.s_name, "/%lu", (unsigned long) string_size); in coff_write_object_contents() 3500 string_size += len + 1; in coff_write_object_contents()
|
| H A D | ChangeLog-9495 | 1661 * coffgen.c (string_size): Remove static variable. 4552 string_size, string_idx. Change type of symbols to struct 9385 (string_size): Change type to bfd_size_type.
|
| /freebsd-12.1/contrib/binutils/include/coff/ |
| H A D | xcoff.h | 409 size_t string_size; member
|
| /freebsd-12.1/contrib/binutils/gas/ |
| H A D | ChangeLog-9697 | 1547 * config/obj-coff.c (coff_header_append): Don't reset string_size
|