Home
last modified time | relevance | path

Searched refs:parse_opts (Results 1 – 19 of 19) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-eval.c45 uint32_t parse_opts) /**< ecma_parse_opts_t option bits */ in ecma_op_eval() argument
51 JERRY_UNUSED(parse_opts); in ecma_op_eval()
65 parse_opts); in ecma_op_eval()
86 uint32_t parse_opts) /**< ecma_parse_opts_t option bits */ in ecma_op_eval_chars_buffer() argument
95 if ((parse_opts & is_strict_call) != is_strict_call) in ecma_op_eval_chars_buffer()
97 parse_opts &= (uint32_t) ~ECMA_PARSE_STRICT_MODE; in ecma_op_eval_chars_buffer()
100 parse_opts |= ECMA_PARSE_EVAL; in ecma_op_eval_chars_buffer()
114 parse_opts, in ecma_op_eval_chars_buffer()
122 return vm_run_eval (bytecode_data_p, parse_opts); in ecma_op_eval_chars_buffer()
126 JERRY_UNUSED (parse_opts); in ecma_op_eval_chars_buffer()
Decma-eval.h29 ecma_op_eval (ecma_string_t *code_p, uint32_t parse_opts);
32 …op_eval_chars_buffer (const lit_utf8_byte_t *code_p, size_t code_buffer_size, uint32_t parse_opts);
Decma-function-object.c298 ecma_parse_opts_t parse_opts) /**< parse options */ in ecma_op_create_dynamic_function() argument
341 parse_opts, in ecma_op_create_dynamic_function()
353 bool is_generator_func = parse_opts & ECMA_PARSE_GENERATOR_FUNCTION; in ecma_op_create_dynamic_function()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-global.c94 …uint32_t parse_opts = vm_is_direct_eval_form_call () ? ECMA_PARSE_DIRECT_EVAL : ECMA_PARSE_NO_OPTS; in ecma_builtin_global_object_eval() local
97 if (parse_opts && vm_is_strict_mode ()) in ecma_builtin_global_object_eval()
99 JERRY_ASSERT (parse_opts & ECMA_PARSE_DIRECT_EVAL); in ecma_builtin_global_object_eval()
100 parse_opts |= ECMA_PARSE_STRICT_MODE; in ecma_builtin_global_object_eval()
106 parse_opts |= ECMA_GET_LOCAL_PARSE_OPTS (); in ecma_builtin_global_object_eval()
111 return ecma_op_eval (ecma_get_string_from_value (x), parse_opts); in ecma_builtin_global_object_eval()
/third_party/ltp/scripts/coccinelle/
Drun-spatch.sh20 --ignore lib/parse_opts.c \
36 --ignore lib/parse_opts.c \
/third_party/ltp/lib/
Dtst_parse_opts.c32 msg = parse_opts(argc, argv, user_optarg, user_help); in tst_parse_opts()
Dparse_opts.c142 const char *parse_opts(int ac, char **av, const option_t * user_optarr, in parse_opts() function
602 if ((msg = parse_opts(argc, argv, Options, NULL)) != NULL) { in main()
Dtst_test.c590 static void parse_opts(int argc, char *argv[]) in parse_opts() function
1031 parse_opts(argc, argv); in do_setup()
/third_party/ltp/include/old/
Dltp_priv.h38 const char *parse_opts(int ac, char **av, const option_t *user_optarr, void
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser.c2007 uint32_t parse_opts, /**< ecma_parse_opts_t option bits */ in parser_parse_source() argument
2020 context.status_flags = parse_opts & PARSER_STRICT_MODE_MASK; in parser_parse_source()
2021 context.global_status_flags = parse_opts; in parser_parse_source()
2027 if (parse_opts & ECMA_PARSE_GENERATOR_FUNCTION) in parser_parse_source()
2035 context.status_flags |= PARSER_RESTORE_STATUS_FLAGS (parse_opts); in parser_parse_source()
2168 else if (parse_opts & ECMA_PARSE_MODULE) in parser_parse_source()
2184 if ((parse_opts & ECMA_PARSE_EVAL) == 0) in parser_parse_source()
2692 uint32_t parse_opts, /**< ecma_parse_opts_t option bits */ in parser_parse_script() argument
2712 parse_opts, in parser_parse_script()
2814 JERRY_UNUSED (parse_opts); in parser_parse_script()
Djs-parser.h191 uint32_t parse_opts, ecma_compiled_code_t **bytecode_data_p);
/third_party/jerryscript/jerry-core/include/
Djerryscript-core.h366 const jerry_char_t *source_p, size_t source_size, uint32_t parse_opts);
369 … const jerry_char_t *source_p, size_t source_size, uint32_t parse_opts);
371 jerry_value_t jerry_eval (const jerry_char_t *source_p, size_t source_size, uint32_t parse_opts);
/third_party/jerryscript/jerry-core/api/
Djerry.c450 uint32_t parse_opts) /**< jerry_parse_opts_t option bits */ in jerry_parse() argument
488 parse_opts, in jerry_parse()
506 JERRY_UNUSED (parse_opts); in jerry_parse()
526 uint32_t parse_opts) /**< jerry_parse_opts_t option bits */ in jerry_parse_function() argument
569 parse_opts, in jerry_parse_function()
589 JERRY_UNUSED (parse_opts); in jerry_parse_function()
646 uint32_t parse_opts) /**< jerry_parse_opts_t option bits */ in jerry_eval() argument
652 parse_opts)); in jerry_eval()
/third_party/jerryscript/jerry-core/vm/
Dvm.h438 ecma_value_t vm_run_eval (ecma_compiled_code_t *bytecode_data_p, uint32_t parse_opts);
Dvm.c355 uint32_t parse_opts) /**< ecma_parse_opts_t option bits */ in vm_run_eval() argument
361 if (parse_opts & ECMA_PARSE_DIRECT_EVAL) in vm_run_eval()
367 uint32_t chain_index = parse_opts >> ECMA_PARSE_CHAIN_INDEX_SHIFT; in vm_run_eval()
368 parse_opts &= (1 << ECMA_PARSE_CHAIN_INDEX_SHIFT) - 1; in vm_run_eval()
417 … (parse_opts & ECMA_PARSE_DIRECT_EVAL) ? VM_DIRECT_EVAL : NULL, in vm_run_eval()
1904 uint8_t parse_opts = *byte_code_p++; in vm_loop() local
1905 ECMA_SET_LOCAL_PARSE_OPTS (parse_opts); in vm_loop()
/third_party/ffmpeg/libavcodec/
Dlibx264.c527 static int parse_opts(AVCodecContext *avctx, const char *opt, const char *param) in parse_opts() function
911 ret = parse_opts(avctx, param, "1"); in X264_init()
915 ret = parse_opts(avctx, param, val); in X264_init()
/third_party/jerryscript/jerry-core/debugger/
Ddebugger.c558 uint32_t parse_opts = ECMA_PARSE_DIRECT_EVAL | (chain_index << ECMA_PARSE_CHAIN_INDEX_SHIFT); in jerry_debugger_send_eval() local
560 …a_value_t result = ecma_op_eval_chars_buffer (eval_string_p + 5, eval_string_size - 5, parse_opts); in jerry_debugger_send_eval()
/third_party/jerryscript/docs/
D02.API-REFERENCE.md1030 uint32_t parse_opts);
1037 - `parse_opts` - any combination of [jerry_parse_opts_t](#jerry_parse_opts_t) flags.
1095 uint32_t parse_opts) /**< strict mode */
1104 - `parse_opts` - any combination of [jerry_parse_opts_t](#jerry_parse_opts_t) flags.
1263 uint32_t parse_opts);
1268 - `parse_opts` - any combination of [jerry_parse_opts_t](#jerry_parse_opts_t) flags.
/third_party/libuv/
DChangeLog1762 * samples: fix inconsistency in parse_opts vs usage (zyxwvu Shi)