| /freebsd-13.1/contrib/libarchive/libarchive/ |
| H A D | archive_write_disk_set_standard_lookup.c | 127 char *allocated = NULL; in lookup_gid() local 139 free(allocated); in lookup_gid() 140 allocated = malloc(bufsize); in lookup_gid() 141 if (allocated == NULL) in lookup_gid() 143 buffer = allocated; in lookup_gid() 147 free(allocated); in lookup_gid() 196 char *allocated = NULL; in lookup_uid() local 208 free(allocated); in lookup_uid() 210 if (allocated == NULL) in lookup_uid() 212 buffer = allocated; in lookup_uid() [all …]
|
| /freebsd-13.1/contrib/libcbor/src/cbor/ |
| H A D | maps.c | 18 return item->metadata.map_metadata.allocated; in cbor_map_allocated() 28 .metadata = {.map_metadata = {.allocated = size, in cbor_new_definite_map() 44 .metadata = {.map_metadata = {.allocated = 0, in cbor_new_indefinite_map() 58 if (metadata->end_ptr >= metadata->allocated) { in _cbor_map_add_key() 66 if (metadata->end_ptr >= metadata->allocated) { in _cbor_map_add_key() 70 if (!_cbor_safe_to_multiply(CBOR_BUFFER_GROWTH, metadata->allocated)) { in _cbor_map_add_key() 74 size_t new_allocation = metadata->allocated == 0 in _cbor_map_add_key() 76 : CBOR_BUFFER_GROWTH * metadata->allocated; in _cbor_map_add_key() 86 metadata->allocated = new_allocation; in _cbor_map_add_key()
|
| H A D | arrays.c | 19 return item->metadata.array_metadata.allocated; in cbor_array_allocated() 54 if (metadata->end_ptr >= metadata->allocated) { in cbor_array_push() 60 if (metadata->end_ptr >= metadata->allocated) { in cbor_array_push() 63 if (!_cbor_safe_to_multiply(CBOR_BUFFER_GROWTH, metadata->allocated)) { in cbor_array_push() 67 size_t new_allocation = metadata->allocated == 0 in cbor_array_push() 69 : CBOR_BUFFER_GROWTH * metadata->allocated; in cbor_array_push() 78 metadata->allocated = new_allocation; in cbor_array_push() 115 .allocated = size, in cbor_new_definite_array() 130 .allocated = 0, in cbor_new_indefinite_array()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_symbolizer_libbacktrace.cpp | 44 uptr size, allocated; member 51 if (needed > data->allocated) { in CplusV3DemangleCallback() 52 data->allocated *= 2; in CplusV3DemangleCallback() 53 if (needed > data->allocated) in CplusV3DemangleCallback() 54 data->allocated = needed; in CplusV3DemangleCallback() 55 char *buf = (char *)InternalAlloc(data->allocated); in CplusV3DemangleCallback() 72 data.allocated = 0; in CplusV3Demangle() 75 if (data.size + 64 > data.allocated) in CplusV3Demangle()
|
| H A D | sanitizer_common_libcdep.cpp | 54 stack_depot_stats->allocated) { in BackgroundThread() 58 stack_depot_stats->allocated >> 20); in BackgroundThread() 59 prev_reported_stack_depot_size = stack_depot_stats->allocated; in BackgroundThread()
|
| /freebsd-13.1/lib/libthr/thread/ |
| H A D | thr_spec.c | 72 if (_thread_keytable[i].allocated == 0) { in _thr_key_create() 73 _thread_keytable[i].allocated = 1; in _thr_key_create() 98 if (_thread_keytable[key].allocated) { in _thr_key_delete() 99 _thread_keytable[key].allocated = 0; in _thr_key_delete() 126 if (_thread_keytable[key].allocated && in _thread_cleanupspecific() 179 !_thread_keytable[key].allocated) in _thr_setspecific() 214 if (_thread_keytable[key].allocated && pthread->specific != NULL && in _thr_getspecific() 238 if (!_thread_keytable[key].allocated) in _thr_tsd_unload()
|
| /freebsd-13.1/sys/crypto/via/ |
| H A D | padlock_cipher.c | 168 padlock_cipher_alloc(struct cryptop *crp, int *allocated) in padlock_cipher_alloc() argument 175 *allocated = 0; in padlock_cipher_alloc() 179 *allocated = 1; in padlock_cipher_alloc() 193 int allocated; in padlock_cipher_process() local 195 buf = padlock_cipher_alloc(crp, &allocated); in padlock_cipher_process() 222 if (allocated) { in padlock_cipher_process() 233 if (allocated) { in padlock_cipher_process()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_allocator.cpp | 91 void *allocated; in DFsanAllocate() local 94 allocated = allocator.Allocate(cache, size, alignment); in DFsanAllocate() 98 allocated = allocator.Allocate(cache, size, alignment); in DFsanAllocate() 100 if (UNLIKELY(!allocated)) { in DFsanAllocate() 108 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); in DFsanAllocate() 111 internal_memset(allocated, 0, size); in DFsanAllocate() 112 dfsan_set_label(0, allocated, size); in DFsanAllocate() 114 dfsan_set_label(0, allocated, size); in DFsanAllocate() 116 return allocated; in DFsanAllocate()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_allocator.cpp | 164 void *allocated; in MsanAllocate() local 167 allocated = allocator.Allocate(cache, size, alignment); in MsanAllocate() 171 allocated = allocator.Allocate(cache, size, alignment); in MsanAllocate() 173 if (UNLIKELY(!allocated)) { in MsanAllocate() 180 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); in MsanAllocate() 183 __msan_clear_and_unpoison(allocated, size); in MsanAllocate() 185 __msan_poison(allocated, size); in MsanAllocate() 189 __msan_set_origin(allocated, size, o.raw_id()); in MsanAllocate() 192 MSAN_MALLOC_HOOK(allocated, size); in MsanAllocate() 193 return allocated; in MsanAllocate()
|
| /freebsd-13.1/sys/crypto/armv8/ |
| H A D | armv8_crypto.c | 361 armv8_crypto_cipher_alloc(struct cryptop *crp, int start, int length, int *allocated) in armv8_crypto_cipher_alloc() argument 367 *allocated = 0; in armv8_crypto_cipher_alloc() 372 *allocated = 1; in armv8_crypto_cipher_alloc() 375 *allocated = 0; in armv8_crypto_cipher_alloc() 387 int allocated, authallocated, outallocated, i; in armv8_crypto_cipher_process() local 396 allocated = 0; in armv8_crypto_cipher_process() 403 crp->crp_payload_length, &allocated); in armv8_crypto_cipher_process() 424 if (allocated) in armv8_crypto_cipher_process() 439 outcopy = allocated; in armv8_crypto_cipher_process() 517 if (allocated) in armv8_crypto_cipher_process()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_allocator.cpp | 135 void *allocated; in HwasanAllocate() local 137 allocated = allocator.Allocate(t->allocator_cache(), size, alignment); in HwasanAllocate() 141 allocated = allocator.Allocate(cache, size, alignment); in HwasanAllocate() 143 if (UNLIKELY(!allocated)) { in HwasanAllocate() 150 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); in HwasanAllocate() 155 internal_memset(allocated, 0, size); in HwasanAllocate() 158 internal_memset(allocated, flags()->malloc_fill_byte, fill_size); in HwasanAllocate() 161 internal_memcpy(reinterpret_cast<u8 *>(allocated) + orig_size, tail_magic, in HwasanAllocate() 165 void *user_ptr = allocated; in HwasanAllocate() 180 reinterpret_cast<u8 *>(allocated) + full_granule_size; in HwasanAllocate()
|
| /freebsd-13.1/crypto/heimdal/lib/ntlm/ |
| H A D | ntlm.c | 100 uint16_t allocated; member 614 domain.allocated = domain.length; in heim_ntlm_encode_type1() 617 domain.allocated = 0; in heim_ntlm_encode_type1() 626 hostname.allocated = 0; in heim_ntlm_encode_type1() 861 if (lm.allocated) in heim_ntlm_decode_type3() 864 if (ntlm.allocated) in heim_ntlm_decode_type3() 867 if (target.allocated) in heim_ntlm_decode_type3() 870 if (username.allocated) in heim_ntlm_decode_type3() 873 if (ws.allocated) in heim_ntlm_decode_type3() 953 ws.allocated = ws.length; in heim_ntlm_encode_type3() [all …]
|
| /freebsd-13.1/contrib/googletest/googletest/samples/ |
| H A D | sample10_unittest.cc | 62 static int allocated() { return allocated_; } in allocated() function in __anon36dd05a70111::Water 78 initially_allocated_ = Water::allocated(); in OnTestStart() 83 int difference = Water::allocated() - initially_allocated_; in OnTestEnd()
|
| /freebsd-13.1/sys/dev/ixl/ |
| H A D | ixl_pf_qmgr.c | 80 qmgr->qinfo[i].allocated = true; in ixl_pf_qmgr_alloc_contiguous() 119 if (!qmgr->qinfo[i].allocated) { in ixl_pf_qmgr_alloc_scattered() 122 qmgr->qinfo[i].allocated = true; in ixl_pf_qmgr_alloc_scattered() 171 if (!qmgr->qinfo[i].allocated) in ixl_pf_qmgr_get_num_free() 187 if (qmgr->qinfo[i].allocated) in ixl_pf_qmgr_get_first_free() 307 if (!qmgr->qinfo[i].allocated) { in ixl_pf_qmgr_find_free_contiguous_block()
|
| /freebsd-13.1/contrib/jemalloc/src/ |
| H A D | base.c | 211 base->allocated += size; in base_extent_bump_alloc_post() 219 assert(base->allocated <= base->resident); in base_extent_bump_alloc_post() 327 base->allocated += sizeof(base_block_t); in base_extent_alloc() 337 assert(base->allocated <= base->resident); in base_extent_alloc() 379 base->allocated = sizeof(base_block_t); in base_new() 385 assert(base->allocated <= base->resident); in base_new() 481 base_stats_get(tsdn_t *tsdn, base_t *base, size_t *allocated, size_t *resident, in base_stats_get() argument 486 assert(base->allocated <= base->resident); in base_stats_get() 488 *allocated = base->allocated; in base_stats_get()
|
| /freebsd-13.1/contrib/ncurses/ncurses/tinfo/ |
| H A D | comp_scan.c | 167 static size_t allocated; in next_char() local 176 allocated = 0; in next_char() 203 if (used + (LEXBUFSIZ / 4) >= allocated) { in next_char() 204 allocated += (allocated + LEXBUFSIZ); in next_char() 205 result = typeRealloc(char, allocated, result); in next_char() 214 if (fgets(result + used, (int) (allocated - used), yyin) != 0) { in next_char() 226 _nc_STRCAT(result, "\n", allocated); in next_char()
|
| /freebsd-13.1/crypto/openssl/doc/man3/ |
| H A D | SSL_alloc_buffers.pod | 21 control when buffers are freed and allocated. 27 to control where and how buffers are allocated. 46 The SSL_alloc_buffers() function returns 1 if the buffers have been allocated. 47 This value is also returned if the buffers had been allocated before calling
|
| H A D | OPENSSL_secure_malloc.pod | 87 the memory if it was not allocated from the secure heap. 91 OPENSSL_secure_actual_size() tells the actual size allocated to the 95 OPENSSL_secure_allocated() tells if a pointer is allocated in the secure heap. 97 CRYPTO_secure_used() returns the number of bytes allocated in the 112 allocated.
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/powerpc/fsl/ |
| H A D | dcsr.txt | 57 This node represents the region of DCSR space allocated to the EPU 107 This node represents the region of DCSR space allocated to the NPC 144 This node represents the region of DCSR space allocated to the NXC 168 This node represents the region of DCSR space allocated to 202 This node represents the region of DCSR space allocated to 231 This node represents the region of DCSR space allocated to 259 This node represents the region of DCSR space allocated to 291 This node represents the region of DCSR space allocated to 320 This node represents the region of DCSR space allocated to 349 This node represents the region of DCSR space allocated to
|
| /freebsd-13.1/contrib/tcp_wrappers/ |
| H A D | environ.c | 34 static int allocated = 0; /* environ is, or is not, allocated */ variable 163 envp = allocated ? 169 allocated = 1;
|
| /freebsd-13.1/contrib/tcsh/nls/greek/ |
| H A D | set19 | 16 14 Total space allocated from system: %d\n 20 18 Total allocated space: %d\n
|
| /freebsd-13.1/sys/crypto/aesni/ |
| H A D | aesni.c | 387 aesni_cipher_alloc(struct cryptop *crp, int start, int length, bool *allocated) in aesni_cipher_alloc() argument 393 *allocated = false; in aesni_cipher_alloc() 398 *allocated = true; in aesni_cipher_alloc() 401 *allocated = false; in aesni_cipher_alloc() 703 bool encflag, allocated, authallocated, outallocated, outcopy; in aesni_cipher_crypt() local 707 allocated = false; in aesni_cipher_crypt() 710 crp->crp_payload_length, &allocated); in aesni_cipher_crypt() 739 if (allocated) in aesni_cipher_crypt() 754 outcopy = allocated; in aesni_cipher_crypt() 835 if (allocated) in aesni_cipher_crypt()
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/security/tpm/ |
| H A D | tpm-i2c.txt | 7 - linux,sml-base : 64-bit base address of the reserved memory allocated for 9 - linux,sml-size : size of the memory allocated for the firmware event log
|
| /freebsd-13.1/sys/xdr/ |
| H A D | xdr.c | 495 bool_t ret, allocated = FALSE; in xdr_bytes() local 518 allocated = TRUE; in xdr_bytes() 529 if (allocated == TRUE) { in xdr_bytes() 620 bool_t ret, allocated = FALSE; in xdr_string() local 655 allocated = TRUE; in xdr_string() 667 if (allocated == TRUE) { in xdr_string()
|
| /freebsd-13.1/contrib/expat/tests/ |
| H A D | minicheck.c | 88 if (tc->allocated == tc->ntests) { in tcase_add_test() 89 int nalloc = tc->allocated + 100; in tcase_add_test() 94 tc->allocated = nalloc; in tcase_add_test()
|