Home
last modified time | relevance | path

Searched refs:cx_alloc (Results 1 – 14 of 14) sorted by relevance

/dports/databases/pgbouncer/pgbouncer-1.16.0/lib/usual/
H A Dcxalloc.c28 void *cx_alloc(CxMem *cx, size_t len) in cx_alloc() function
42 return cx_alloc(cx, len); in cx_realloc()
69 void *p = cx_alloc(cx, len); in cx_alloc0()
77 void *p = cx_alloc(cx, len); in cx_memdup()
125 dst = cx_alloc(cx, res + 1); in cx_vasprintf()
H A Dmdict.c43 dict = cx_alloc(cx, sizeof(struct MDict)); in mdict_new()
83 vptr = cx_alloc(dict->cx, vlen + 1); in mdict_put_str()
94 kptr = cx_alloc(dict->cx, klen + 1); in mdict_put_str()
100 el = cx_alloc(dict->cx, sizeof(*el)); in mdict_put_str()
172 d = dst = cx_alloc(cx, len + 1); in urldec_str()
241 el = cx_alloc(dict->cx, sizeof(*el)); in mdict_urldecode()
H A Dcxextra.c28 void *p = cx_alloc(next, len); in nofail_alloc()
93 seg = cx_alloc(pool->parent, alloc); in new_seg()
257 area = cx_alloc(parent, size); in cx_new_pool()
288 item = cx_alloc(tree->real, TREE_HDR + len); in tree_alloc()
373 t = cx_alloc(real, sizeof(*t)); in cx_new_tree()
H A Dstrpool.c57 sp = cx_alloc(ca, sizeof(*sp)); in strpool_create()
103 cstr = cx_alloc(sp->ca, sizeof(*cstr) + len + 1); in strpool_get()
H A Dslab.c243 struct Slab *s = cx_alloc(cx, sizeof(*s)); in slab_create()
267 o = cx_alloc(slab->cx, sizeof(struct List) + slab->size); in slab_alloc()
H A Dcxalloc.h96 void *cx_alloc(CxMem *cx, size_t len) _MALLOC;
H A Dcbtree.c181 struct Node *node = cx_alloc(tree->cx, sizeof(*node)); in new_node()
296 struct CBTree *tree = cx_alloc(cx, sizeof(*tree)); in cbtree_create()
H A Dpgutil.c165 p = str = cx_alloc(cx, len + 1); in parse_value()
H A Dstring.c70 struct StrItem *item = cx_alloc(slist->ca, sizeof(*item)); in strlist_append_ref()
H A Djson.c344 val = cx_alloc(ctx->pool, sizeof(struct JsonValue) + extra); in mk_value()
406 vlist->array = cx_alloc(c->c_ctx->pool, list->u.v_size * sizeof(struct JsonValue *)); in prepare_array()
H A Dtalloc.c222 t = cx_alloc(cx, total_size(len)); in hdr_alloc_cx()
/dports/misc/window/window/
H A Dcontext.c55 cx_alloc() in cx_alloc() function
88 if (cx_alloc() < 0)
114 if (cx_alloc() < 0)
/dports/databases/pgbouncer/pgbouncer-1.16.0/lib/usual/crypto/
H A Ddigest.c35 ctx = cx_alloc(cx, alloc); in digest_new()
/dports/databases/pgbouncer/pgbouncer-1.16.0/src/
H A Dhba.c90 set = cx_alloc(pool, sizeof *set); in strset_new()
121 node = cx_alloc(set->pool, offsetof(struct StrSetNode, s_val) + len + 1); in strset_add()