Home
last modified time | relevance | path

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

/third_party/quickjs/
Dquickjs.h404 int64_t js_func_count, js_func_size, js_func_code_size; member
Drun-test262.c1489 update(js_func_size); in update_stats()
Dquickjs.c5845 double js_func_size; member
5865 int memory_used_count, js_func_size, i; in compute_bytecode_size() local
5868 js_func_size = offsetof(JSFunctionBytecode, debug); in compute_bytecode_size()
5870 js_func_size += (b->arg_count + b->var_count) * sizeof(*b->vardefs); in compute_bytecode_size()
5873 js_func_size += b->cpool_count * sizeof(*b->cpool); in compute_bytecode_size()
5880 js_func_size += b->closure_var_count * sizeof(*b->closure_var); in compute_bytecode_size()
5886 js_func_size += sizeof(*b) - offsetof(JSFunctionBytecode, debug); in compute_bytecode_size()
5889 js_func_size += b->debug.source_len + 1; in compute_bytecode_size()
5897 hp->js_func_size += js_func_size; in compute_bytecode_size()
6055 s->js_func_size += b->closure_var_count * sizeof(*var_refs); in JS_ComputeMemoryUsage()
[all …]