HomeSort by: relevance | last modified time | path
    Searched refs:alloc (Results 1 - 25 of 1189) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/lgpl3/gmp/dist/scanf/
vsscanf.c 47 char *alloc; local
50 alloc = __GMP_ALLOCATE_FUNC_TYPE (size, char);
51 memcpy (alloc, s, size);
52 s = alloc;
54 (*__gmp_free_func) (alloc, size);
  /src/external/bsd/unbound/dist/util/
alloc.c 2 * util/alloc.c - memory allocation service.
43 #include "util/alloc.h"
64 * @param alloc: the structure to fill up.
67 prealloc_setup(struct alloc_cache* alloc)
78 alloc_set_special_next(p, alloc->quar);
79 alloc->quar = p;
80 alloc->num_quar++;
86 prealloc_blocks(struct alloc_cache* alloc, size_t num)
96 r->next = (char*)alloc->reg_list;
97 alloc->reg_list = r
    [all...]
  /src/sys/arch/hpcmips/stand/libsa/
alloc.c 1 /* $NetBSD: alloc.c,v 1.4 2007/03/04 05:59:53 christos Exp $ */
43 alloc(size_t size);
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/
tsan_dense_alloc_test.cc 25 typedef DenseSlabAlloc<int, 128, 128> Alloc;
26 typedef Alloc::Cache Cache;
27 typedef Alloc::IndexT IndexT;
30 Alloc alloc; local
32 alloc.InitCache(&cache);
37 IndexT idx = alloc.Alloc(&cache);
40 int *v = alloc.Map(idx);
46 int *v = alloc.Map(idx)
    [all...]
  /src/external/gpl3/gdb/dist/sim/common/
hw-alloc.c 30 void *alloc; member in struct:hw_alloc_data
45 hw_free (me, me->alloc_of_hw->alloc);
55 memory->alloc = zalloc (size);
58 return memory->alloc;
65 memory->alloc = zalloc (size);
68 return memory->alloc;
73 void *alloc)
80 if ((*memory)->alloc == alloc)
84 free (die->alloc);
    [all...]
  /src/external/gpl3/gdb.old/dist/sim/common/
hw-alloc.c 30 void *alloc; member in struct:hw_alloc_data
45 hw_free (me, me->alloc_of_hw->alloc);
55 memory->alloc = zalloc (size);
58 return memory->alloc;
65 memory->alloc = zalloc (size);
68 return memory->alloc;
73 void *alloc)
80 if ((*memory)->alloc == alloc)
84 free (die->alloc);
    [all...]
  /src/external/lgpl2/userspace-rcu/dist/src/
rculfhash-internal.h 62 const struct cds_lfht_alloc *alloc; /* memory allocator for mm */ member in struct:cds_lfht
143 #define poison_free(alloc, ptr) \
147 alloc->free(alloc->state, ptr); \
151 #define poison_free(alloc, ptr) alloc->free(alloc->state, ptr)
157 const struct cds_lfht_alloc *alloc,
164 ht = alloc->calloc(alloc->state, 1, cds_lfht_size)
    [all...]
rculfhash-mm-order.c 17 ht->tbl_order[0] = ht->alloc->calloc(ht->alloc->state,
21 ht->tbl_order[order] = ht->alloc->calloc(ht->alloc->state,
37 poison_free(ht->alloc, ht->tbl_order[0]);
39 poison_free(ht->alloc, ht->tbl_order[order]);
65 unsigned long max_nr_buckets, const struct cds_lfht_alloc *alloc)
68 &cds_lfht_mm_order, alloc, sizeof(struct cds_lfht),
rculfhash-mm-chunk.c 17 ht->tbl_chunk[0] = ht->alloc->calloc(ht->alloc->state,
24 ht->tbl_chunk[i] = ht->alloc->calloc(ht->alloc->state,
41 poison_free(ht->alloc, ht->tbl_chunk[0]);
46 poison_free(ht->alloc, ht->tbl_chunk[i]);
63 unsigned long max_nr_buckets, const struct cds_lfht_alloc *alloc)
75 &cds_lfht_mm_chunk, alloc, cds_lfht_size,
  /src/games/hack/
def.wseg.h 74 #define newseg() ((struct wseg *) alloc(sizeof(struct wseg)))
def.gen.h 76 #define newgen() ((struct gen *) alloc(sizeof(struct gen)))
def.gold.h 72 #define newgold() ((struct gold *) alloc(sizeof(struct gold)))
  /src/sys/arch/hpc/stand/libsa/
alloc.c 1 /* $NetBSD: alloc.c,v 1.4 2006/02/19 14:44:00 peter Exp $ */
43 alloc(size_t size) function
  /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
bn_mp_grow.c 26 /* if the alloc size is smaller alloc more ram */
27 if (a->alloc < size) {
47 i = a->alloc;
48 a->alloc = size;
49 for (; i < a->alloc; i++) {
bn_mp_shrink.c 29 if (a->alloc != used) {
34 a->alloc = used;
  /src/external/bsd/jemalloc/dist/include/jemalloc/internal/
peak.h 9 * The difference between alloc and dalloc at the last set_zero call;
23 peak_update(peak_t *peak, uint64_t alloc, uint64_t dalloc) {
24 int64_t candidate_max = (int64_t)(alloc - dalloc - peak->adjustment);
32 peak_set_zero(peak_t *peak, uint64_t alloc, uint64_t dalloc) {
34 peak->adjustment = alloc - dalloc;
  /src/external/bsd/jemalloc/include/jemalloc/internal/
peak.h 9 * The difference between alloc and dalloc at the last set_zero call;
23 peak_update(peak_t *peak, uint64_t alloc, uint64_t dalloc) {
24 int64_t candidate_max = (int64_t)(alloc - dalloc - peak->adjustment);
32 peak_set_zero(peak_t *peak, uint64_t alloc, uint64_t dalloc) {
34 peak->adjustment = alloc - dalloc;
  /src/external/mit/xorg/lib/libxcb/xinput/
Makefile 6 # xinput.c:491:19: error: argument 1 value '4294967294' exceeds maximum object size 2147483647 [-Werror=alloc-size-larger-than=]
9 COPTS.xinput.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 12:? -Wno-alloc-size-larger-than :}
  /src/external/ibm-public/postfix/dist/src/oqmgr/
qmgr_transport.c 240 QMGR_TRANSPORT_ALLOC *alloc = (QMGR_TRANSPORT_ALLOC *) context; local
242 msg_fatal("timeout connecting to transport: %s", alloc->transport->name);
249 QMGR_TRANSPORT_ALLOC *alloc = (QMGR_TRANSPORT_ALLOC *) context; local
251 alloc->notify(alloc->transport, alloc->stream);
252 myfree((void *) alloc);
259 QMGR_TRANSPORT_ALLOC *alloc = (QMGR_TRANSPORT_ALLOC *) context; local
266 msg_info("transport_event: %s", alloc->transport->name);
277 if (alloc->stream)
343 QMGR_TRANSPORT_ALLOC *alloc; local
    [all...]
  /src/external/lgpl3/gmp/dist/mpq/
mul.c 43 mp_size_t alloc; local
71 alloc = MIN (op1_num_size, op2_den_size);
72 MPZ_TMP_INIT (gcd1, alloc);
74 alloc = MIN (op2_num_size, op1_den_size);
75 MPZ_TMP_INIT (gcd2, alloc);
77 alloc = MAX (op1_num_size, op2_den_size);
78 MPZ_TMP_INIT (tmp1, alloc);
80 alloc = MAX (op2_num_size, op1_den_size);
81 MPZ_TMP_INIT (tmp2, alloc);
  /src/external/ibm-public/postfix/dist/src/qmgr/
qmgr_transport.c 245 QMGR_TRANSPORT_ALLOC *alloc = (QMGR_TRANSPORT_ALLOC *) context; local
247 msg_fatal("timeout connecting to transport: %s", alloc->transport->name);
254 QMGR_TRANSPORT_ALLOC *alloc = (QMGR_TRANSPORT_ALLOC *) context; local
256 alloc->notify(alloc->transport, alloc->stream);
257 myfree((void *) alloc);
264 QMGR_TRANSPORT_ALLOC *alloc = (QMGR_TRANSPORT_ALLOC *) context; local
271 msg_info("transport_event: %s", alloc->transport->name);
282 if (alloc->stream)
348 QMGR_TRANSPORT_ALLOC *alloc; local
    [all...]
  /src/external/gpl2/gettext/dist/gettext-tools/examples/hello-objc-gnome/
hello.m 37 application = [[Gnome_App alloc] initApp: PACKAGE : VERSION : argc : argv];
43 window = [[Gtk_Window alloc] initWithWindowInfo: GTK_WINDOW_TOPLEVEL];
48 label1 = [[Gtk_Label alloc] initWithLabelInfo: _("Hello, world!")];
50 label1aligned = [[Gtk_Alignment alloc] initWithAlignmentInfo: 0.0 : 0.5 : 0 : 0];
53 label2 = [[Gtk_Label alloc] initWithLabelInfo: g_strdup_printf (_("This program is running as process number %d."), getpid ())];
55 label2aligned = [[Gtk_Alignment alloc] initWithAlignmentInfo: 0.0 : 0.5 : 0 : 0];
58 button = [Gtk_Button alloc];
66 panel = [[Gtk_VBox alloc] initWithVBoxInfo: FALSE : GNOME_PAD_SMALL];
  /src/external/mit/libuv/dist/test/
test-loop-oom.c 28 static int alloc; variable
31 alloc += n;
32 if (alloc > limit)
58 alloc = 0;
  /src/external/bsd/jemalloc/dist/src/
cache_bin.c 41 cache_bin_preincrement(cache_bin_info_t *infos, szind_t ninfos, void *alloc,
50 assert(((uintptr_t)alloc & (computed_alignment - 1)) == 0);
53 *(uintptr_t *)((uintptr_t)alloc + *cur_offset) =
59 cache_bin_postincrement(cache_bin_info_t *infos, szind_t ninfos, void *alloc,
61 *(uintptr_t *)((uintptr_t)alloc + *cur_offset) =
67 cache_bin_init(cache_bin_t *bin, cache_bin_info_t *info, void *alloc,
74 void *stack_cur = (void *)((uintptr_t)alloc + *cur_offset);
79 void *empty_position = (void *)((uintptr_t)alloc + *cur_offset);
  /src/external/lgpl3/gmp/dist/printf/
snprntffuns.c 66 size_t step, alloc, avail; local
88 alloc = MAX (128, ret);
93 alloc = 128;
98 alloc *= 2;
99 p = __GMP_ALLOCATE_FUNC_TYPE (alloc, char);
101 ret = vsnprintf (p, alloc, fmt, ap);
102 __GMP_FREE_FUNC_TYPE (p, alloc, char);
104 while (ret == alloc-1);

Completed in 38 milliseconds

1 2 3 4 5 6 7 8 91011>>