Searched refs:js_malloc (Results 1 – 3 of 3) sorted by relevance
/third_party/quickjs/ |
D | quickjs.h | 323 void *(*js_malloc)(JSMallocState *s, size_t size); member 386 void *js_malloc(JSContext *ctx, size_t size);
|
D | quickjs-libc.c | 385 buf = js_malloc(ctx, buf_len + 1); in js_load_file() 475 filename = js_malloc(ctx, strlen(module_name) + 2 + 1); in js_module_loader_so() 1375 buf = js_malloc(ctx, URL_GET_BUF_SIZE); in js_std_urlGet() 2689 pair = js_malloc(ctx, key_len + str_len + 2); in build_envp()
|
D | quickjs.c | 1297 return rt->mf.js_malloc(&rt->malloc_state, size); in js_malloc_rt() 1334 void *js_malloc(JSContext *ctx, size_t size) in js_malloc() function 1399 ptr = js_malloc(ctx, n + 1); in js_strndup() 1618 rt = mf->js_malloc(&ms, sizeof(JSRuntime)); in JS_NewRuntime2() 1821 e = js_malloc(ctx, sizeof(*e) + argc * sizeof(JSValue)); in JS_EnqueueJob() 3357 cstr2 = js_malloc(ctx, len + len1 + 1); in js_atom_concat_str() 4362 sh_alloc = js_malloc(ctx, get_shape_size(hash_size, prop_size)); in js_new_shape2() 4404 sh_alloc = js_malloc(ctx, size); in js_clone_shape() 4489 sh_alloc = js_malloc(ctx, get_shape_size(new_hash_size, new_size)); in resize_properties() 4552 sh_alloc = js_malloc(ctx, get_shape_size(new_hash_size, new_size)); in compact_properties() [all …]
|