/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | environ.h | 26 /* Number of usable slots allocated in VECTOR. 29 int allocated; member in struct:environ
|
H A D | environ.c | 39 e->allocated = 10; 40 e->vector = (char **) xmalloc ((e->allocated + 1) * sizeof (char *)); 73 if (e->allocated < i) 75 e->allocated = max (i, e->allocated + 10); 77 (e->allocated + 1) * sizeof (char *)); 133 if (i == e->allocated) 135 e->allocated += 10; 137 (e->allocated + 1) * sizeof (char *));
|
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/ |
H A D | base.h | 13 void base_stats_get(tsdn_t *tsdn, size_t *allocated, size_t *resident,
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libcurses/director/ |
H A D | returns.h | 61 size_t allocated; member in struct:__anon4721
|
/freebsd-11-stable/crypto/openssl/crypto/asn1/ |
H A D | a_bool.c | 66 unsigned char *p, *allocated = NULL; local 73 if ((p = allocated = OPENSSL_malloc(r)) == NULL) { 86 * If a new buffer was allocated, just return it back. 89 *pp = allocated != NULL ? allocated : p + 1;
|
/freebsd-11-stable/contrib/gcclibs/libgomp/ |
H A D | env.c | 191 size_t allocated = 0, used = 0, needed; local 227 if (used + needed >= allocated) 231 if (allocated < 64) 232 allocated = 64; 233 if (allocated > needed) 234 allocated <<= 1; 236 allocated += 2 * needed; 237 new_cpus = realloc (cpus, allocated * sizeof (unsigned short));
|
/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | xmalloc.c | 121 size_t allocated; local 124 allocated = (char *) sbrk (0) - first_break; 126 allocated = (char *) sbrk (0) - (char *) &environ; 130 (unsigned long) size, (unsigned long) allocated);
|
H A D | dyn-string.c | 51 are still dynamically allocated. The string initially is capable 72 ds_struct_ptr->allocated = space; 83 returns the newly allocated string. */ 114 /* Returns the contents of DS in a buffer allocated with malloc. It 141 int new_allocated = ds->allocated; 150 if (new_allocated != ds->allocated) 152 ds->allocated = new_allocated; 155 ds->s = (char *) realloc (ds->s, ds->allocated); 162 ds->s = XRESIZEVEC (char, ds->s, ds->allocated);
|
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | xmalloc.c | 121 size_t allocated; local 124 allocated = (char *) sbrk (0) - first_break; 126 allocated = (char *) sbrk (0) - (char *) &environ; 130 (unsigned long) size, (unsigned long) allocated);
|
H A D | dyn-string.c | 51 are still dynamically allocated. The string initially is capable 72 ds_struct_ptr->allocated = space; 83 returns the newly allocated string. */ 114 /* Returns the contents of DS in a buffer allocated with malloc. It 141 int new_allocated = ds->allocated; 150 if (new_allocated != ds->allocated) 152 ds->allocated = new_allocated; 155 ds->s = (char *) realloc (ds->s, ds->allocated); 162 ds->s = XRESIZEVEC (char, ds->s, ds->allocated);
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_disk_set_standard_lookup.c | 127 char *allocated = NULL; local 139 free(allocated); 140 allocated = malloc(bufsize); 141 if (allocated == NULL) 143 buffer = allocated; 147 free(allocated); 196 char *allocated = NULL; local 208 free(allocated); 209 allocated = malloc(bufsize); 210 if (allocated [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | varray.c | 40 int allocated; member in struct:varray_descriptor 127 desc->allocated += data_size + VARRAY_HDR_SIZE; 142 allocated. */ 157 desc->allocated += data_size - old_data_size; 231 if (d->allocated) 234 d->created, d->allocated, d->resized, d->copied); 235 i->size += d->allocated;
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_libcdep.cpp | 54 stack_depot_stats->allocated) { 55 Printf("%s: StackDepot: %zd ids; %zdM allocated\n", 58 stack_depot_stats->allocated >> 20); 59 prev_reported_stack_depot_size = stack_depot_stats->allocated;
|
H A D | sanitizer_symbolizer_libbacktrace.cpp | 44 uptr size, allocated; member in struct:__sanitizer::__anon1031::CplusV3DemangleData 51 if (needed > data->allocated) { 52 data->allocated *= 2; 53 if (needed > data->allocated) 54 data->allocated = needed; 55 char *buf = (char *)InternalAlloc(data->allocated); 72 data.allocated = 0; 75 if (data.size + 64 > data.allocated)
|
/freebsd-11-stable/contrib/xz/src/liblzma/simple/ |
H A D | simple_private.h | 46 /// Size of the memory allocated for the buffer. 47 size_t allocated; member in struct:__anon4469
|
/freebsd-11-stable/sys/crypto/via/ |
H A D | padlock_cipher.c | 166 * If it isn't, new buffer is allocated. 170 int *allocated) 191 *allocated = 0; 195 *allocated = 1; 208 int allocated, error; local 210 buf = padlock_cipher_alloc(enccrd, crp, &allocated); 247 if (allocated) { 261 if (allocated) { 274 if (allocated) { 169 padlock_cipher_alloc(struct cryptodesc *enccrd, struct cryptop *crp, int *allocated) argument
|
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_spec.c | 66 if (_thread_keytable[i].allocated == 0) { 67 _thread_keytable[i].allocated = 1; 92 if (_thread_keytable[key].allocated) { 93 _thread_keytable[key].allocated = 0; 120 if (_thread_keytable[key].allocated && 174 !_thread_keytable[key].allocated) 210 if (_thread_keytable[key].allocated && pthread->specific != NULL && 234 if (!_thread_keytable[key].allocated)
|
H A D | thr_symbols.c | 53 int _thread_off_key_allocated = offsetof(struct pthread_key, allocated);
|
/freebsd-11-stable/contrib/gcclibs/include/ |
H A D | dyn-string.h | 25 int allocated; /* The amount of space allocated for the string. */ member in struct:dyn_string
|
/freebsd-11-stable/contrib/binutils/include/ |
H A D | dyn-string.h | 25 int allocated; /* The amount of space allocated for the string. */ member in struct:dyn_string
|
/freebsd-11-stable/sbin/growfs/tests/ |
H A D | legacy_test.pl | 77 my ($unallocated) = $out =~ m{\d+ sectors cannot be allocated}; 91 my ($unallocated) = $out =~ m{\d+ sectors cannot be allocated};
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MacOSXAPIChecker.cpp | 70 // Check if the first argument is improperly allocated. If so, issue a 119 os << " heap-allocated memory"; 128 os << " stack allocated memory";
|
/freebsd-11-stable/sys/dev/ixl/ |
H A D | ixl_pf_qmgr.c | 78 /* Mark queues as allocated */ 80 qmgr->qinfo[i].allocated = true; 119 if (!qmgr->qinfo[i].allocated) { 122 qmgr->qinfo[i].allocated = true; 171 if (!qmgr->qinfo[i].allocated) 187 if (qmgr->qinfo[i].allocated) 291 if (!qmgr->qinfo[i].allocated) { 299 } else { /* this queue is already allocated */
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_allocator.cpp | 150 void *allocated; local 153 allocated = allocator.Allocate(cache, size, alignment); 157 allocated = allocator.Allocate(cache, size, alignment); 159 if (UNLIKELY(!allocated)) { 166 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); 169 __msan_clear_and_unpoison(allocated, size); 171 __msan_poison(allocated, size); 175 __msan_set_origin(allocated, size, o.raw_id()); 178 MSAN_MALLOC_HOOK(allocated, size); 179 return allocated; [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_allocator.cpp | 116 void *allocated; local 118 allocated = allocator.Allocate(t->allocator_cache(), size, alignment); 122 allocated = allocator.Allocate(cache, size, alignment); 124 if (UNLIKELY(!allocated)) { 131 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); 136 internal_memset(allocated, 0, size); 139 internal_memset(allocated, flags()->malloc_fill_byte, fill_size); 142 internal_memcpy(reinterpret_cast<u8 *>(allocated) + orig_size, tail_magic, 146 void *user_ptr = allocated; 160 reinterpret_cast<u8 *>(allocated) [all...] |