Home
last modified time | relevance | path

Searched refs:js_arg (Results 1 – 2 of 2) sorted by relevance

/third_party/jerryscript/jerry-ext/arg/
Darg-transform-functions.c33 jerry_value_t js_arg = jerryx_arg_js_iterator_peek (js_arg_iter_p); in jerryx_arg_transform_optional() local
35 if (jerry_value_is_undefined (js_arg)) in jerryx_arg_transform_optional()
54 jerry_value_t js_arg = jerryx_arg_js_iterator_pop (js_arg_iter_p); in jerryx_arg_transform_number_strict_common() local
56 if (!jerry_value_is_number (js_arg)) in jerryx_arg_transform_number_strict_common()
62 *number_p = jerry_get_number_value (js_arg); in jerryx_arg_transform_number_strict_common()
78 jerry_value_t js_arg = jerryx_arg_js_iterator_pop (js_arg_iter_p); in jerryx_arg_transform_number_common() local
80 jerry_value_t to_number = jerry_value_to_number (js_arg); in jerryx_arg_transform_number_common()
222 jerry_value_t js_arg = jerryx_arg_js_iterator_pop (js_arg_iter_p); in JERRYX_ARG_TRANSFORM_FUNC_FOR_INT() local
224 if (!jerry_value_is_boolean (js_arg)) in JERRYX_ARG_TRANSFORM_FUNC_FOR_INT()
231 *dest = jerry_get_boolean_value (js_arg); in JERRYX_ARG_TRANSFORM_FUNC_FOR_INT()
[all …]
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-arg.c184 jerry_value_t js_arg = jerryx_arg_js_iterator_pop (js_arg_iter_p); in my_custom_transform() local
185 jerry_value_t to_number = jerry_value_to_number (js_arg); in my_custom_transform()