Searched refs:allocated (Results 1 - 25 of 153) sorted by relevance

1234567

/freebsd-11-stable/contrib/gdb/gdb/
H A Denviron.h26 /* Number of usable slots allocated in VECTOR.
29 int allocated; member in struct:environ
H A Denviron.c39 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 Dbase.h13 void base_stats_get(tsdn_t *tsdn, size_t *allocated, size_t *resident,
/freebsd-11-stable/contrib/netbsd-tests/lib/libcurses/director/
H A Dreturns.h61 size_t allocated; member in struct:__anon4721
/freebsd-11-stable/crypto/openssl/crypto/asn1/
H A Da_bool.c66 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 Denv.c191 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 Dxmalloc.c121 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 Ddyn-string.c51 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 Dxmalloc.c121 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 Ddyn-string.c51 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 Darchive_write_disk_set_standard_lookup.c127 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 Dvarray.c40 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 Dsanitizer_common_libcdep.cpp54 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 Dsanitizer_symbolizer_libbacktrace.cpp44 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 Dsimple_private.h46 /// Size of the memory allocated for the buffer.
47 size_t allocated; member in struct:__anon4469
/freebsd-11-stable/sys/crypto/via/
H A Dpadlock_cipher.c166 * 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 Dthr_spec.c66 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 Dthr_symbols.c53 int _thread_off_key_allocated = offsetof(struct pthread_key, allocated);
/freebsd-11-stable/contrib/gcclibs/include/
H A Ddyn-string.h25 int allocated; /* The amount of space allocated for the string. */ member in struct:dyn_string
/freebsd-11-stable/contrib/binutils/include/
H A Ddyn-string.h25 int allocated; /* The amount of space allocated for the string. */ member in struct:dyn_string
/freebsd-11-stable/sbin/growfs/tests/
H A Dlegacy_test.pl77 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 DMacOSXAPIChecker.cpp70 // 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 Dixl_pf_qmgr.c78 /* 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 Dmsan_allocator.cpp150 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 Dhwasan_allocator.cpp116 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...]

Completed in 156 milliseconds

1234567