Home
last modified time | relevance | path

Searched refs:eval_flags (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dqjs.c52 const char *filename, int eval_flags) in eval_buf() argument
57 if ((eval_flags & JS_EVAL_TYPE_MASK) == JS_EVAL_TYPE_MODULE) { in eval_buf()
61 eval_flags | JS_EVAL_FLAG_COMPILE_ONLY); in eval_buf()
67 val = JS_Eval(ctx, buf, buf_len, filename, eval_flags); in eval_buf()
82 int ret, eval_flags; in eval_file() local
96 eval_flags = JS_EVAL_TYPE_MODULE; in eval_file()
98 eval_flags = JS_EVAL_TYPE_GLOBAL; in eval_file()
99 ret = eval_buf(ctx, buf, buf_len, filename, eval_flags); in eval_file()
A Drun-test262.c1179 res_val = JS_Eval(ctx, buf, buf_len, filename, eval_flags); in eval_buf()
1337 int eval_flags) in eval_file() argument
1349 eval_flags, FALSE)) { in eval_file()
1527 error_type, outfile, eval_flags, is_async); in run_test_buf()
1558 int ret, eval_flags, use_strict, use_nostrict; in run_test() local
1755 eval_flags = JS_EVAL_TYPE_MODULE; in run_test()
1757 eval_flags = JS_EVAL_TYPE_GLOBAL; in run_test()
1791 int eval_flags, ret_code, ret; in run_test262_harness_test() local
1819 eval_flags = JS_EVAL_TYPE_MODULE; in run_test262_harness_test()
1821 eval_flags = JS_EVAL_TYPE_GLOBAL; in run_test262_harness_test()
[all …]
A Dqjsc.c290 int eval_flags; in compile_file() local
299 eval_flags = JS_EVAL_FLAG_COMPILE_ONLY; in compile_file()
305 eval_flags |= JS_EVAL_TYPE_MODULE; in compile_file()
307 eval_flags |= JS_EVAL_TYPE_GLOBAL; in compile_file()
308 obj = JS_Eval(ctx, (const char *)buf, buf_len, filename, eval_flags); in compile_file()
A Dquickjs.h776 const char *filename, int eval_flags);
A Dquickjs.c33093 const char* filename, int eval_flags) in JS_Eval() argument
33095 int eval_type = eval_flags & JS_EVAL_TYPE_MASK; in JS_Eval()
33101 eval_flags, -1); in JS_Eval()
/AliOS-Things-master/components/amp/engine/quickjs_engine/startup/
A Dquickjs_init.c357 int eval_flags = JS_EVAL_TYPE_MODULE; in jsengine_eval_file() local
367 val = JS_Eval(ctx, buf, buf_len, filename, eval_flags); in jsengine_eval_file()

Completed in 131 milliseconds