Searched refs:cx_alloc (Results 1 – 14 of 14) sorted by relevance
/dports/databases/pgbouncer/pgbouncer-1.16.0/lib/usual/ |
H A D | cxalloc.c | 28 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 D | mdict.c | 43 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 D | cxextra.c | 28 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 D | strpool.c | 57 sp = cx_alloc(ca, sizeof(*sp)); in strpool_create() 103 cstr = cx_alloc(sp->ca, sizeof(*cstr) + len + 1); in strpool_get()
|
H A D | slab.c | 243 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 D | cxalloc.h | 96 void *cx_alloc(CxMem *cx, size_t len) _MALLOC;
|
H A D | cbtree.c | 181 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 D | pgutil.c | 165 p = str = cx_alloc(cx, len + 1); in parse_value()
|
H A D | string.c | 70 struct StrItem *item = cx_alloc(slist->ca, sizeof(*item)); in strlist_append_ref()
|
H A D | json.c | 344 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 D | talloc.c | 222 t = cx_alloc(cx, total_size(len)); in hdr_alloc_cx()
|
/dports/misc/window/window/ |
H A D | context.c | 55 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 D | digest.c | 35 ctx = cx_alloc(cx, alloc); in digest_new()
|
/dports/databases/pgbouncer/pgbouncer-1.16.0/src/ |
H A D | hba.c | 90 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()
|