/netbsd/external/bsd/flex/dist/src/ |
H A D | buf.c | 174 size_t strsz; in buf_m4_define() local 177 strsz = strlen(fmt) + strlen(def) + strlen(val) + 2; in buf_m4_define() 178 str = malloc(strsz); in buf_m4_define() 182 snprintf(str, strsz, fmt, def, val); in buf_m4_define() 196 size_t strsz; in buf_m4_undefine() local 198 strsz = strlen(fmt) + strlen(def) + 2; in buf_m4_undefine() 199 str = malloc(strsz); in buf_m4_undefine() 203 snprintf(str, strsz, fmt, def); in buf_m4_undefine()
|
H A D | main.c | 472 size_t strsz; in check_options() local 474 strsz = strlen(fmt) + strlen(scname[i]) + (size_t)(1 + ceil (log10(i))) + 2; in check_options() 475 str = malloc(strsz); in check_options() 478 snprintf(str, strsz, fmt, scname[i], i - 1); in check_options()
|
/netbsd/external/gpl3/binutils/dist/gprofng/libcollector/ |
H A D | envmgmt.c | 180 size_t strsz; in env_prepend() local 183 strsz = __collector_strlen (envvar) + 1 + __collector_strlen (str) + 1; in env_prepend() 184 ev = (char*) __collector_allocCSize (__collector_heap, strsz, 1); in env_prepend() 187 CALL_UTIL (snprintf)(ev, strsz, "%s=%s", envvar, str); in env_prepend() 188 assert (__collector_strlen (ev) + 1 == strsz); in env_prepend() 202 strsz = __collector_strlen (envvar) + 1 + __collector_strlen (str) + in env_prepend() 204 ev = (char*) __collector_allocCSize (__collector_heap, strsz, 1); in env_prepend() 208 assert (__collector_strlen (ev) + 1 == strsz); in env_prepend() 599 unsigned strsz = __collector_strlen (sp_env_backup[idx]) + 1; in __collector_env_update() local 600 char *ev = (char*) __collector_allocCSize (__collector_heap, strsz, 1); in __collector_env_update() [all …]
|
/netbsd/external/gpl3/gdb/dist/gas/config/ |
H A D | obj-som.c | 273 int strsz, nsyms; in adjust_stab_sections() local 280 strsz = bfd_section_size (strsec); in adjust_stab_sections() 282 strsz = 0; in adjust_stab_sections() 289 bfd_h_put_32 (abfd, (bfd_vma) strsz, (bfd_byte *) p + 8); in adjust_stab_sections()
|
H A D | obj-elf.c | 2401 int strsz, nsyms; in adjust_stab_sections() local 2411 strsz = bfd_section_size (strsec); in adjust_stab_sections() 2413 strsz = 0; in adjust_stab_sections() 2420 bfd_h_put_32 (abfd, strsz, p + 8); in adjust_stab_sections()
|
/netbsd/external/gpl3/binutils.old/dist/gas/config/ |
H A D | obj-som.c | 269 int strsz, nsyms; in adjust_stab_sections() local 276 strsz = bfd_section_size (strsec); in adjust_stab_sections() 278 strsz = 0; in adjust_stab_sections() 285 bfd_h_put_32 (abfd, (bfd_vma) strsz, (bfd_byte *) p + 8); in adjust_stab_sections()
|
H A D | obj-elf.c | 2209 int strsz, nsyms; in adjust_stab_sections() local 2219 strsz = bfd_section_size (strsec); in adjust_stab_sections() 2221 strsz = 0; in adjust_stab_sections() 2228 bfd_h_put_32 (abfd, strsz, p + 8); in adjust_stab_sections()
|
/netbsd/external/gpl3/binutils/dist/gas/config/ |
H A D | obj-som.c | 273 int strsz, nsyms; in adjust_stab_sections() local 280 strsz = bfd_section_size (strsec); in adjust_stab_sections() 282 strsz = 0; in adjust_stab_sections() 289 bfd_h_put_32 (abfd, (bfd_vma) strsz, (bfd_byte *) p + 8); in adjust_stab_sections()
|
H A D | obj-elf.c | 2536 int strsz, nsyms; in adjust_stab_sections() local 2546 strsz = bfd_section_size (strsec); in adjust_stab_sections() 2548 strsz = 0; in adjust_stab_sections() 2555 bfd_h_put_32 (abfd, strsz, p + 8); in adjust_stab_sections()
|
/netbsd/external/gpl3/gdb.old/dist/gas/config/ |
H A D | obj-som.c | 273 int strsz, nsyms; in adjust_stab_sections() local 280 strsz = bfd_section_size (strsec); in adjust_stab_sections() 282 strsz = 0; in adjust_stab_sections() 289 bfd_h_put_32 (abfd, (bfd_vma) strsz, (bfd_byte *) p + 8); in adjust_stab_sections()
|
H A D | obj-elf.c | 2401 int strsz, nsyms; in adjust_stab_sections() local 2411 strsz = bfd_section_size (strsec); in adjust_stab_sections() 2413 strsz = 0; in adjust_stab_sections() 2420 bfd_h_put_32 (abfd, strsz, p + 8); in adjust_stab_sections()
|
/netbsd/external/gpl3/binutils/dist/gprofng/src/ |
H A D | util.cc | 156 TValue::to_str (char *str, size_t strsz) in to_str() argument 164 snprintf (str, strsz, NTXT ("+0. ")); in to_str() 166 snprintf (str, strsz, NTXT ("0. ")); in to_str() 169 snprintf (str, strsz, NTXT ("%+.3lf"), d); in to_str() 171 snprintf (str, strsz, NTXT ("%.3lf"), d); in to_str() 174 snprintf (str, strsz, NTXT ("%u"), i); in to_str() 178 snprintf (str, strsz, NTXT ("%+lld"), ll); in to_str() 180 snprintf (str, strsz, NTXT ("%lld"), ll); in to_str() 183 snprintf (str, strsz, NTXT ("%llu"), ll); in to_str() 189 snprintf (str, strsz, NTXT ("%.3f"), f); in to_str() [all …]
|
H A D | dbe_structs.h | 92 char *to_str (char *str, size_t strsz);
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/evp/ |
H A D | evp_fetch.c | 486 size_t strsz; in evp_set_parsed_default_properties() local 499 strsz = ossl_property_list_to_string(libctx, def_prop, NULL, 0); in evp_set_parsed_default_properties() 500 if (strsz > 0) in evp_set_parsed_default_properties() 501 propstr = OPENSSL_malloc(strsz); in evp_set_parsed_default_properties() 507 strsz) == 0) { in evp_set_parsed_default_properties()
|
/netbsd/sbin/savecore/ |
H A D | savecore.c | 558 int nw, symsz, strsz; in save_ksyms() local 568 if (ksymsget(dump_nl[X_STRSZ].n_value, &strsz, sizeof(strsz))) in save_ksyms() 570 if (symsz == 0 || strsz == 0) in save_ksyms() 578 khdr.kh_shdr[STRTAB].sh_size = strsz; in save_ksyms()
|
/netbsd/sys/dev/dm/ |
H A D | dm_ioctl.c | 765 size_t strsz; in dm_table_load_ioctl() local 804 str = kmem_strdupsize(cp, &strsz, KM_SLEEP); in dm_table_load_ioctl() 817 kmem_free(str, strsz); in dm_table_load_ioctl() 825 kmem_free(str, strsz); in dm_table_load_ioctl()
|
/netbsd/sys/arch/amd64/stand/prekern/ |
H A D | elf.c | 44 size_t strsz; member 418 eif.strsz = eif.shdr[j].sh_size; in elf_build_info()
|
/netbsd/external/cddl/osnet/dist/uts/common/dtrace/ |
H A D | dtrace.c | 1146 size_t strsz; in dtrace_strcanload() local 1153 strsz = 1 + dtrace_strlen((char *)(uintptr_t)addr, in dtrace_strcanload() 1155 if (strsz <= *remain) { in dtrace_strcanload() 3346 size_t strsz; in dtrace_dif_varstr() local 3361 strsz = dtrace_strlen((char *)addr, size) + 1; in dtrace_dif_varstr() 3363 if (mstate->dtms_scratch_ptr + strsz > in dtrace_dif_varstr() 3370 strsz); in dtrace_dif_varstr() 3372 mstate->dtms_scratch_ptr += strsz; in dtrace_dif_varstr() 3394 if (mstate->dtms_scratch_ptr + strsz > in dtrace_dif_varstrz() 3401 strsz); in dtrace_dif_varstrz() [all …]
|