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

123456

/freebsd-head/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-head/contrib/netbsd-tests/lib/libcurses/director/
H A Dreturns.h61 size_t allocated; member in struct:__anon52
/freebsd-head/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-head/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-head/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-head/contrib/jemalloc/include/jemalloc/internal/
H A Dbase_structs.h52 size_t allocated; member in struct:base_s
H A Dbase_externs.h15 void base_stats_get(tsdn_t *tsdn, base_t *base, size_t *allocated,
/freebsd-head/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-head/contrib/googletest/googletest/samples/
H A Dsample10_unittest.cc62 static int allocated() { return allocated_; } function in class:__anon31::Water
78 initially_allocated_ = Water::allocated();
83 int difference = Water::allocated() - initially_allocated_;
/freebsd-head/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-head/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_libcdep.cc54 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.cc44 uptr size, allocated; member in struct:__sanitizer::__anon1229::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-head/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:__anon52
/freebsd-head/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; local
210 buf = padlock_cipher_alloc(enccrd, crp, &allocated);
247 if (allocated) {
258 if (allocated) {
270 if (allocated) {
169 padlock_cipher_alloc(struct cryptodesc *enccrd, struct cryptop *crp, int *allocated) argument
/freebsd-head/lib/libthr/thread/
H A Dthr_spec.c72 if (_thread_keytable[i].allocated == 0) {
73 _thread_keytable[i].allocated = 1;
98 if (_thread_keytable[key].allocated) {
99 _thread_keytable[key].allocated = 0;
126 if (_thread_keytable[key].allocated &&
179 !_thread_keytable[key].allocated)
214 if (_thread_keytable[key].allocated && pthread->specific != NULL &&
238 if (!_thread_keytable[key].allocated)
H A Dthr_symbols.c55 int _thread_off_key_allocated = offsetof(struct pthread_key, allocated);
/freebsd-head/contrib/gcclibs/include/
H A Ddyn-string.h25 int allocated; /* The amount of space allocated for the string. */ member in struct:dyn_string
/freebsd-head/contrib/binutils/include/
H A Ddyn-string.h25 int allocated; /* The amount of space allocated for the string. */ member in struct:dyn_string
/freebsd-head/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-head/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSXAPIChecker.cpp69 // Check if the first argument is improperly allocated. If so, issue a
118 os << " heap-allocated memory";
127 os << " stack allocated memory";
/freebsd-head/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)
307 if (!qmgr->qinfo[i].allocated) {
315 } else { /* this queue is already allocated */
/freebsd-head/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp121 void *allocated; local
123 allocated = allocator.Allocate(t->allocator_cache(), size, alignment);
127 allocated = allocator.Allocate(cache, size, alignment);
129 if (UNLIKELY(!allocated)) {
136 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated));
141 internal_memset(allocated, 0, size);
144 internal_memset(allocated, flags()->malloc_fill_byte, fill_size);
147 internal_memcpy(reinterpret_cast<u8 *>(allocated) + orig_size, tail_magic,
151 void *user_ptr = allocated;
165 reinterpret_cast<u8 *>(allocated)
[all...]

Completed in 530 milliseconds

123456