Home
last modified time | relevance | path

Searched refs:alloc_sz (Results 1 – 7 of 7) sorted by relevance

/netbsd/external/gpl3/gcc/dist/gcc/
H A Dselftest.c230 size_t alloc_sz = 0; in read_file() local
236 gcc_assert (alloc_sz >= total_sz); 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()
244 alloc_sz = new_alloc_sz; in read_file()
256 gcc_assert (total_sz < alloc_sz); in read_file()
H A Dselftest.cc244 size_t alloc_sz = 0; in read_file() local
250 gcc_assert (alloc_sz >= total_sz); 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()
258 alloc_sz = new_alloc_sz; in read_file()
270 gcc_assert (total_sz < alloc_sz); in read_file()
/netbsd/external/gpl3/gcc.old/dist/gcc/
H A Dselftest.c230 size_t alloc_sz = 0; in read_file() local
236 gcc_assert (alloc_sz >= total_sz); 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()
244 alloc_sz = new_alloc_sz; in read_file()
256 gcc_assert (total_sz < alloc_sz); in read_file()
/netbsd/crypto/external/bsd/openssl/dist/crypto/
H A Dparams_dup.c26 size_t alloc_sz; /* The size of the allocated buffer (in bytes) */ member
45 out->alloc_sz = sz; in ossl_param_buf_alloc()
135 buf[OSSL_PARAM_BUF_SECURE].alloc_sz); in OSSL_PARAM_dup()
H A Dparams.c1081 size_t sz, alloc_sz; in get_string_internal() local
1091 alloc_sz = sz + (type == OSSL_PARAM_UTF8_STRING || sz == 0); in get_string_internal()
1103 char *const q = OPENSSL_malloc(alloc_sz); in get_string_internal()
1108 *max_len = alloc_sz; in get_string_internal()
/netbsd/sys/kern/
H A Dvfs_syscalls.c548 size_t alloc_sz = 0; in do_sys_mount() local
591 alloc_sz = data_len; in do_sys_mount()
592 data_buf = kmem_alloc(alloc_sz, KM_SLEEP); in do_sys_mount()
633 kmem_free(data_buf, alloc_sz); in do_sys_mount()
/netbsd/external/cddl/osnet/dist/uts/common/dtrace/
H A Ddtrace.c576 #define DTRACE_INSCRATCH(mstate, alloc_sz) \ argument
578 (mstate)->dtms_scratch_ptr >= (alloc_sz))