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

12345

/freebsd-10-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-10-stable/contrib/netbsd-tests/lib/libcurses/director/
H A Dreturns.h61 size_t allocated; member in struct:__anon3982
/freebsd-10-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-10-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-10-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-10-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-10-stable/lib/libkse/thread/
H A Dthr_spec.c64 if (_thread_keytable[i].allocated == 0) {
65 _thread_keytable[i].allocated = 1;
91 if (_thread_keytable[key].allocated)
92 _thread_keytable[key].allocated = 0;
123 if (_thread_keytable[key].allocated &&
185 if (_thread_keytable[key].allocated) {
216 if (_thread_keytable[key].allocated &&
H A Dthr_symbols.c54 int _thread_off_key_allocated = offsetof(struct pthread_key, allocated);
/freebsd-10-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;
H A Dalloc-pool.c34 /* The ID of alloc pool which the object was allocated from. */
45 the allocated object may be even smaller than this structure. */
72 int allocated; member in struct:alloc_pool_descriptor
183 /* Free all memory allocated for the given memory pool. */
194 /* Free each block allocated to the pool. */
230 desc->allocated+=pool->elt_size;
266 /* Also update the number of elements we have free/allocated, and
267 increment the allocated block count. */
297 /* Check whether the PTR was allocated from POOL. */
303 /* Check if we free more than we allocated, whic
[all...]
/freebsd-10-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:__anon478
/freebsd-10-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-10-stable/lib/libthr/thread/
H A Dthr_spec.c65 if (_thread_keytable[i].allocated == 0) {
66 _thread_keytable[i].allocated = 1;
91 if (_thread_keytable[key].allocated) {
92 _thread_keytable[key].allocated = 0;
119 if (_thread_keytable[key].allocated &&
173 !_thread_keytable[key].allocated)
209 if (_thread_keytable[key].allocated && pthread->specific != NULL &&
233 if (!_thread_keytable[key].allocated)
H A Dthr_symbols.c52 int _thread_off_key_allocated = offsetof(struct pthread_key, allocated);
/freebsd-10-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-10-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-10-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dctl.h52 size_t allocated; member in struct:ctl_stats_s
61 size_t allocated; /* huge_allocated */ member in struct:ctl_stats_s::__anon1613
/freebsd-10-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-10-stable/crypto/heimdal/lib/ntlm/
H A Dntlm.c100 uint16_t allocated; member in struct:sec_buffer
223 CHECK(krb5_ret_uint16(sp, &buf->allocated), 0);
234 CHECK(krb5_store_uint16(sp, buf->allocated), 0);
614 domain.allocated = domain.length;
617 domain.allocated = 0;
620 hostname.offset = domain.allocated + domain.offset;
623 hostname.allocated = hostname.length;
626 hostname.allocated = 0;
763 targetname.allocated = targetname.length;
765 targetinfo.offset = targetname.allocated
[all...]
/freebsd-10-stable/contrib/gcclibs/libcpp/
H A Dline-map.c35 set->allocated = 0;
97 if (set->used == set->allocated)
99 set->allocated = 2 * set->allocated + 256;
100 set->maps = XRESIZEVEC (struct line_map, set->maps, set->allocated);
202 /* If the column number is ridiculous or we've allocated a huge
/freebsd-10-stable/contrib/tcp_wrappers/
H A Denviron.c34 static int allocated = 0; /* environ is, or is not, allocated */ variable
121 * old name=value entry because it may not be allocated.
163 envp = allocated ?
169 allocated = 1;
/freebsd-10-stable/contrib/expat/tests/
H A Dminicheck.c61 if (tc->allocated == tc->ntests) {
62 int nalloc = tc->allocated + 100;
70 tc->allocated = nalloc;

Completed in 136 milliseconds

12345