Home
last modified time | relevance | path

Searched refs:total_sz (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dselftest.c229 size_t total_sz = 0; in read_file() local
236 gcc_assert (alloc_sz >= total_sz); in read_file()
237 size_t old_total_sz = total_sz; in read_file()
238 total_sz += iter_sz_in; in read_file()
240 if (alloc_sz < (total_sz + 1)) in read_file()
242 size_t new_alloc_sz = alloc_sz ? alloc_sz * 2: total_sz + 1; in read_file()
256 gcc_assert (total_sz < alloc_sz); in read_file()
257 result[total_sz] = '\0'; in read_file()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dselftest.cc243 size_t total_sz = 0; in read_file() local
250 gcc_assert (alloc_sz >= total_sz); in read_file()
251 size_t old_total_sz = total_sz; in read_file()
252 total_sz += iter_sz_in; in read_file()
254 if (alloc_sz < (total_sz + 1)) in read_file()
256 size_t new_alloc_sz = alloc_sz ? alloc_sz * 2: total_sz + 1; in read_file()
270 gcc_assert (total_sz < alloc_sz); in read_file()
271 result[total_sz] = '\0'; in read_file()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dcrypto.c814 size_t sz, block_sz, checksum_sz, total_sz; in encrypt_internal_derived() local
825 total_sz = block_sz + checksum_sz; in encrypt_internal_derived()
826 p = calloc(1, total_sz); in encrypt_internal_derived()
861 result->length = total_sz; in encrypt_internal_derived()
864 memset(p, 0, total_sz); in encrypt_internal_derived()
878 size_t sz, block_sz, checksum_sz, total_sz; in encrypt_internal_enc_then_cksum() local
889 total_sz = block_sz + checksum_sz; in encrypt_internal_enc_then_cksum()
890 p = calloc(1, total_sz); in encrypt_internal_enc_then_cksum()
939 result->length = total_sz; in encrypt_internal_enc_then_cksum()
943 memset_s(p, total_sz, 0, total_sz); in encrypt_internal_enc_then_cksum()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/jit/
H A Djit-playback.c2413 size_t total_sz = 0; in read_dump_file() local
2427 size_t old_total_sz = total_sz; in read_dump_file()
2428 total_sz += sz; in read_dump_file()
2429 result = reinterpret_cast <char *> (xrealloc (result, total_sz + 1)); in read_dump_file()
2445 result[total_sz] = '\0'; in read_dump_file()
/netbsd-src/external/gpl3/gcc/dist/gcc/jit/
H A Djit-playback.cc2896 size_t total_sz = 0; in read_dump_file() local
2910 size_t old_total_sz = total_sz; in read_dump_file()
2911 total_sz += sz; in read_dump_file()
2912 result = reinterpret_cast <char *> (xrealloc (result, total_sz + 1)); in read_dump_file()
2928 result[total_sz] = '\0'; in read_dump_file()