Home
last modified time | relevance | path

Searched refs:js_malloc (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dquickjs.h323 void *(*js_malloc)(JSMallocState *s, size_t size); member
386 void *js_malloc(JSContext *ctx, size_t size);
A Dquickjs-libc.c388 buf = js_malloc(ctx, buf_len + 1); in js_load_file()
486 filename = js_malloc(ctx, strlen(module_name) + 2 + 1); in js_module_loader_so()
1295 buf = js_malloc(ctx, URL_GET_BUF_SIZE); in js_std_urlGet()
2631 pair = js_malloc(ctx, key_len + str_len + 2); in build_envp()
A Dquickjs.c1390 ptr = js_malloc(ctx, n + 1); in js_strndup()
4391 sh_alloc = js_malloc(ctx, size); in js_clone_shape()
12080 p = js_malloc(ctx, sizeof(*p)); in js_new_bf()
12091 p = js_malloc(ctx, sizeof(*p)); in JS_NewBigFloat()
12102 p = js_malloc(ctx, sizeof(*p)); in JS_NewBigDecimal()
12113 p = js_malloc(ctx, sizeof(*p)); in JS_NewBigInt()
14838 it = js_malloc(ctx, sizeof(*it)); in build_for_in_iterator()
30634 re = js_malloc(ctx, sizeof(*re)); in add_reloc()
38825 it = js_malloc(ctx, sizeof(*it)); in js_create_array_iterator()
42321 it = js_malloc(ctx, sizeof(*it)); in js_regexp_Symbol_matchAll()
[all …]
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/libc/
A Dquickjs_libc.c395 buf = js_malloc(ctx, buf_len + 1); in js_load_file()
499 filename = js_malloc(ctx, strlen(module_name) + 2 + 1); in js_module_loader_so()
1456 buf = js_malloc(ctx, URL_GET_BUF_SIZE); in js_std_urlGet()
2894 pair = js_malloc(ctx, key_len + str_len + 2); in build_envp()

Completed in 134 milliseconds