Home
last modified time | relevance | path

Searched refs:js_func_size (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dquickjs.h404 int64_t js_func_count, js_func_size, js_func_code_size; member
A Drun-test262.c1480 update(js_func_size); in update_stats()
A Dquickjs.c5806 double js_func_size; member
5827 int memory_used_count, js_func_size, i; in compute_bytecode_size() local
5830 js_func_size = offsetof(JSFunctionBytecode, debug); in compute_bytecode_size()
5832 js_func_size += (b->arg_count + b->var_count) * sizeof(*b->vardefs); in compute_bytecode_size()
5835 js_func_size += b->cpool_count * sizeof(*b->cpool); in compute_bytecode_size()
5842 js_func_size += b->closure_var_count * sizeof(*b->closure_var); in compute_bytecode_size()
5848 js_func_size += sizeof(*b) - offsetof(JSFunctionBytecode, debug); in compute_bytecode_size()
5851 js_func_size += b->debug.source_len + 1; in compute_bytecode_size()
5859 hp->js_func_size += js_func_size; in compute_bytecode_size()
6155 s->js_func_size = round(mem.js_func_size); in JS_ComputeMemoryUsage()
[all …]

Completed in 98 milliseconds