Home
last modified time | relevance | path

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

/third_party/jerryscript/tests/unit-ext/
Dtest-ext-arg.c112 const jerry_length_t args_cnt) /**< arguments length */ in test_validator1_handler() argument
137 args_cnt, in test_validator1_handler()
216 const jerry_length_t args_cnt) /**< arguments length */ in test_validator2_handler() argument
232 args_cnt, in test_validator2_handler()
262 const jerry_length_t args_cnt) /**< arguments length */ in test_validator3_handler() argument
282 args_cnt, in test_validator3_handler()
329 const jerry_length_t args_cnt) /**< arguments length */ in test_validator_prop1_handler() argument
333 JERRY_UNUSED (args_cnt); in test_validator_prop1_handler()
372 const jerry_length_t args_cnt) /**< arguments length */ in test_validator_prop2_handler() argument
402 jerry_value_t is_ok = jerryx_arg_transform_args (args_p, args_cnt, mapping, ARRAY_SIZE (mapping)); in test_validator_prop2_handler()
[all …]
Dtest-ext-method-register.c266 jerry_size_t args_cnt = sizeof (args) / sizeof (jerry_value_t); in test_error_multiple_functions() local
270 args_cnt); in test_error_multiple_functions()
274 for (jerry_size_t idx = 0; idx < args_cnt; idx++) in test_error_multiple_functions()
/third_party/jerryscript/jerry-ext/handler/
Dhandler-assert.c35 const jerry_length_t args_cnt) /**< number of function arguments */ in jerryx_handler_assert_fatal() argument
40 if (args_cnt == 1 in jerryx_handler_assert_fatal()
106 const jerry_length_t args_cnt) /**< number of function arguments */ in jerryx_handler_assert_throw() argument
111 if (args_cnt == 1 in jerryx_handler_assert_throw()
131 const jerry_length_t args_cnt) /**< number of function arguments */ in jerryx_handler_assert() argument
133 return jerryx_handler_assert_fatal (func_obj_val, this_p, args_p, args_cnt); in jerryx_handler_assert()
Dhandler-print.c43 const jerry_length_t args_cnt) /**< number of function arguments */ in jerryx_handler_print() argument
52 for (jerry_length_t arg_index = 0; arg_index < args_cnt; arg_index++) in jerryx_handler_print()
98 *buf_end_p++ = (arg_index < args_cnt - 1) ? ' ' : '\n'; in jerryx_handler_print()
122 if (args_cnt == 0 || jerry_value_is_error (ret_val)) in jerryx_handler_print()
Dhandler-gc.c27 const jerry_length_t args_cnt) /**< number of function arguments */ in jerryx_handler_gc() argument
32 …jerry_gc_mode_t mode = ((args_cnt > 0 && jerry_value_to_boolean (args_p[0])) ? JERRY_GC_PRESSURE_H… in jerryx_handler_gc()
Dhandler-resource-name.c32 const jerry_length_t args_cnt) /**< number of function arguments */ in jerryx_handler_resource_name() argument
38 …jerry_value_t resource_name = jerry_get_resource_name (args_cnt > 0 ? args_p[0] : undefined_value); in jerryx_handler_resource_name()
/third_party/jerryscript/targets/esp8266/user/
Djerry_extapi.c32 const jerry_length_t args_cnt)
38 if (args_cnt == 1 in DELCARE_HANDLER()
52 if (args_cnt) in DELCARE_HANDLER()
54 for (jerry_length_t cc = 0; cc < args_cnt; cc++) in DELCARE_HANDLER()
98 if (args_cnt < 2) in DELCARE_HANDLER()
119 if (args_cnt < 2) in DELCARE_HANDLER()
134 if (args_cnt < 1) in DELCARE_HANDLER()
/third_party/jerryscript/jerry-ext/include/jerryscript-ext/
Dhandler.h38 … const jerry_value_t args_p[], const jerry_length_t args_cnt);
40 … const jerry_value_t args_p[], const jerry_length_t args_cnt);
42 const jerry_value_t args_p[], const jerry_length_t args_cnt);
44 const jerry_value_t args_p[], const jerry_length_t args_cnt);
46 const jerry_value_t args_p[], const jerry_length_t args_cnt);
48 … const jerry_value_t args_p[], const jerry_length_t args_cnt);
/third_party/jerryscript/tests/unit-core/
Dtest-promise.cpp43 const jerry_length_t args_cnt) /**< arguments length */ in create_promise1_handler() argument
48 JERRY_UNUSED (args_cnt); in create_promise1_handler()
60 const jerry_length_t args_cnt) /**< arguments length */ in create_promise2_handler() argument
65 JERRY_UNUSED (args_cnt); in create_promise2_handler()
77 const jerry_length_t args_cnt) /**< number of function arguments */ in assert_handler() argument
84 if (args_cnt == 1 in assert_handler()
Dtest-regression-3588.cpp28 const jerry_length_t args_cnt) /**< number of function arguments */ in construct_handler() argument
33 TEST_ASSERT (args_cnt == 1); in construct_handler()
Dtest-api-value-type.cpp34 const jerry_length_t args_cnt) /**< number of arguments */ in test_ext_function() argument
39 (void) args_cnt; in test_ext_function()
Dtest-api.cpp70 const jerry_length_t args_cnt) /**< arguments length */ in handler() argument
76 … (unsigned int) func_obj_val, (unsigned int) this_val, (void *) args_p, (unsigned int) args_cnt); in handler()
78 TEST_ASSERT (args_cnt == 2); in handler()
98 const jerry_length_t args_cnt) /**< arguments length */ in handler_throw_test() argument
101 … (unsigned int) func_obj_val, (unsigned int) this_val, (void *) args_p, (unsigned int) args_cnt); in handler_throw_test()
146 const jerry_length_t args_cnt) /**< arguments length */ in handler_construct() argument
149 … (unsigned int) func_obj_val, (unsigned int) this_val, (void *) args_p, (unsigned int) args_cnt); in handler_construct()
153 TEST_ASSERT (args_cnt == 1); in handler_construct()
Dtest-arraybuffer.cpp45 const jerry_length_t args_cnt) /**< number of function arguments */ in assert_handler() argument
50 if (args_cnt > 0 in assert_handler()
57 if (args_cnt > 1 in assert_handler()
Dtest-newtarget.cpp54 const jerry_length_t args_cnt) /**< number of function arguments */ in construct_handler() argument
60 if (args_cnt != 1 || !jerry_value_is_number (args_p[0])) in construct_handler()
Dtest-typedarray.cpp57 const jerry_length_t args_cnt) /**< number of function arguments */ in assert_handler() argument
69 if (args_cnt > 1 in assert_handler()
/third_party/jerryscript/targets/particle/source/
Dmain.cpp28 const jerry_length_t args_cnt) /**< number of function arguments */ in set_led() argument
30 if (args_cnt != 2) in set_led()
52 const jerry_length_t args_cnt) /**< number of function arguments */ in js_delay() argument
54 if (args_cnt != 1) in js_delay()
/third_party/jerryscript/docs/
D10.EXT-REFERENCE-HANDLER.md273 const jerry_length_t args_cnt)
337 const jerry_length_t args_cnt)
432 const jerry_value_t args_p[], const jerry_length_t args_cnt);
438 - `args_cnt` - the number of function arguments.
459 const jerry_value_t args_p[], const jerry_length_t args_cnt);
465 - `args_cnt` - the number of function arguments.
498 const jerry_value_t args_p[], const jerry_length_t args_cnt);
504 - `args_cnt` - the number of function arguments (unused).
532 const jerry_value_t args_p[], const jerry_length_t args_cnt);
538 - `args_cnt` - the number of function arguments.
D03.API-EXAMPLE.md857 const jerry_length_t args_cnt) /**< number of function arguments */
961 const jerry_length_t args_cnt) /**< number of function arguments */
D02.API-REFERENCE.md4076 const jerry_length_t args_cnt)
7959 const jerry_length_t args_cnt)
8004 const jerry_length_t args_cnt)