Home
last modified time | relevance | path

Searched refs:jerry_eval (Results 1 – 22 of 22) sorted by relevance

/third_party/jerryscript/tests/unit-ext/
Dtest-ext-method-register.c98 jerry_value_t result = jerry_eval ((const jerry_char_t *) test_A, strlen (test_A), 0); in test_simple_registration()
106 jerry_value_t result = jerry_eval ((const jerry_char_t *) test_A, strlen (test_A), 0); in test_simple_registration()
114 jerry_value_t result = jerry_eval ((const jerry_char_t *) test_A, strlen (test_A), 0); in test_simple_registration()
122 jerry_value_t result = jerry_eval ((const jerry_char_t *) test_A, strlen (test_A), 0); in test_simple_registration()
130 jerry_value_t result = jerry_eval ((const jerry_char_t *) test_A, strlen (test_A), 0); in test_simple_registration()
138 jerry_value_t result = jerry_eval ((const jerry_char_t *) test_A, strlen (test_A), 0); in test_simple_registration()
145 jerry_value_t result = jerry_eval ((const jerry_char_t *) test_A, strlen (test_A), 0); in test_simple_registration()
153 jerry_value_t result = jerry_eval ((const jerry_char_t *) test_A, strlen (test_A), 0); in test_simple_registration()
/third_party/jerryscript/tests/unit-core/
Dtest-dataview.cpp111 …TEST_ASSERT (jerry_value_is_undefined (jerry_eval (set_src, sizeof (set_src) - 1, JERRY_PARSE_NO_O…
114 …TEST_ASSERT (jerry_get_number_value (jerry_eval (get_src, sizeof (get_src) - 1, JERRY_PARSE_NO_OPT…
117 TEST_ASSERT (jerry_get_number_value (jerry_eval (get_src_little_endian,
Dtest-objects-foreach.cpp56 jerry_value_t array = jerry_eval ((const jerry_char_t *) array_str, sizeof (array_str) - 1, 0); in test_container()
65 jerry_value_t result = jerry_eval ((const jerry_char_t *) eval_str, sizeof (eval_str) - 1, 0); in test_container()
79 jerry_value_t result = jerry_eval ((const jerry_char_t *) eval_str, sizeof (eval_str) - 1, 0); in test_container()
Dtest-api-binary-operations-arithmetics.cpp85 jerry_value_t obj1 = jerry_eval ((const jerry_char_t *) "o={x:1};o", 9, JERRY_PARSE_NO_OPTS);
86 jerry_value_t obj2 = jerry_eval ((const jerry_char_t *) "o={x:1};o", 9, JERRY_PARSE_NO_OPTS);
268 …jerry_value_t obj3 = jerry_eval ((const jerry_char_t *) "o={valueOf:function(){throw 5}};o", 33, J…
Dtest-api.cpp701 obj_val = jerry_eval ((jerry_char_t *) "new String ('hello')", 20, JERRY_PARSE_NO_OPTS);
728 …jerry_value_t obj_proto = jerry_eval ((jerry_char_t *) "Object.prototype", 16, JERRY_PARSE_NO_OPTS…
764 new_proto = jerry_eval ((jerry_char_t *) "Function.prototype", 18, JERRY_PARSE_NO_OPTS);
780 val_t = jerry_eval (eval_code_src1, sizeof (eval_code_src1) - 1, JERRY_PARSE_STRICT_MODE);
801 val_t = jerry_eval (eval_code_src2, sizeof (eval_code_src2) - 1, JERRY_PARSE_STRICT_MODE);
1023 res = jerry_eval (test_magic_str_access_src,
Dtest-arraybuffer.cpp130 jerry_value_t eval_arraybuffer = jerry_eval (eval_arraybuffer_src,
259 jerry_value_t buffer = jerry_eval (eval_arraybuffer_src,
Dtest-native-instanceof.cpp89 …jerry_value_t instanceof = jerry_eval ((jerry_char_t *) instanceof_source, sizeof (instanceof_sour…
Dtest-api-value-type.cpp97 ENTRY (JERRY_TYPE_FUNCTION, jerry_eval (test_eval_function,
Dtest-api-binary-operations-comparisons.cpp65 jerry_value_t obj1 = jerry_eval ((const jerry_char_t *) "o={x:1};o", 9, JERRY_PARSE_NO_OPTS);
66 jerry_value_t obj2 = jerry_eval ((const jerry_char_t *) "o={x:1};o", 9, JERRY_PARSE_NO_OPTS);
Dtest-api-strings.cpp27 …jerry_value_t is_equal_fn_val = jerry_eval (is_equal_src, sizeof (is_equal_src) - 1, JERRY_PARSE_N… in strict_equals()
/third_party/jerryscript/docs/
D03.API-EXAMPLE.md75 is directly parsed and executed via the `jerry_eval` method. Each `jerry_value_t`
101 jerry_value_t eval_ret = jerry_eval (script,
133 In this example the `jerry_eval` is replaced with a more common API calls:
533 jerry_value_t eval_ret = jerry_eval (script,
803 ret_val = jerry_eval ((const jerry_char_t *) cmd,
908 jerry_value_t eval_ret = jerry_eval (script, sizeof (script) - 1, JERRY_PARSE_NO_OPTS);
942 The example creates a JS Object with `jerry_eval`, then it is extended from C with a native functio…
1015 my_js_obj_val = jerry_eval (my_js_object,
1039 jerry_value_t eval_ret = jerry_eval (script, sizeof (script) - 1, JERRY_PARSE_NO_OPTS);
1101 jerry_value_t eval_ret = jerry_eval (script, sizeof (script) - 1, JERRY_PARSE_NO_OPTS);
D16.MIGRATION-GUIDE.md461 ## jerry_eval section in Modified API functions
463 The third argument of [`jerry_eval`](02.API-REFERENCE.md#jerry_eval) has been changed
470 jerry_value_t ret_val = jerry_eval (str_to_eval,
479 jerry_value_t ret_val = jerry_eval (str_to_eval,
D12.EXT-REFERENCE-MODULE.md184 …/* We read the file into memory and call jerry_eval (), assigning the result to the out-parameter.…
186 (*result) = jerry_eval (js_file_contents, file_size, JERRY_PARSE_NO_OPTS);
D07.DEBUGGER.md271 jerry_eval (script, sizeof (script) - 1, JERRY_PARSE_NO_OPTS);
D02.API-REFERENCE.md1248 ## jerry_eval section in Parser and executor functions
1261 jerry_eval (const jerry_char_t *source_p,
1275 jerry_value_t ret_val = jerry_eval (str_to_eval,
4102 jerry_value_t ret_val = jerry_eval ((const jerry_char_t *) test_src,
4924 jerry_value_t iterable = jerry_eval (src, sizeof (src) - 1, JERRY_PARSE_NO_OPTS);
5844 …jerry_value_t eval_result = jerry_eval ((const jerry_char_t *) src_p, strlen (src_p), JERRY_PARSE_…
8036 jerry_value_t ret_val = jerry_eval ((const jerry_char_t *) src,
/third_party/jerryscript/targets/esp8266/user/
Djerry_run.c38 jerry_value_t res = jerry_eval ((jerry_char_t *) source_p, in js_eval()
/third_party/jerryscript/targets/zephyr/src/
Dmain-zephyr.c51 ret_val = jerry_eval ((jerry_char_t *) source_buffer, in shell_cmd_handler()
/third_party/jerryscript/targets/particle/source/
Dmain.cpp117 jerry_value_t eval_ret = jerry_eval (script, sizeof (script) - 1, JERRY_PARSE_NO_OPTS); in test_jerry()
/third_party/jerryscript/targets/curie_bsp/jerry_app/quark/
Dmain.c114 jerry_value_t eval_ret = jerry_eval (buffer, str_total_length - 1, JERRY_PARSE_NO_OPTS); in eval_jerry_script()
/third_party/jerryscript/tests/unit-ext/module/
Djerry-module-test.c184 jerry_value_t js_eval_result = jerry_eval ((const jerry_char_t *) the_string, in eval_one()
/third_party/jerryscript/jerry-core/include/
Djerryscript-core.h371 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.c644 jerry_eval (const jerry_char_t *source_p, /**< source code */ in jerry_eval() function