Searched refs:js_arg_iter_p (Results 1 – 6 of 6) sorted by relevance
/third_party/jerryscript/jerry-ext/arg/ |
D | arg-transform-functions.c | 29 jerryx_arg_transform_optional (jerryx_arg_js_iterator_t *js_arg_iter_p, /**< available JS args */ in jerryx_arg_transform_optional() argument 33 jerry_value_t js_arg = jerryx_arg_js_iterator_peek (js_arg_iter_p); in jerryx_arg_transform_optional() 37 return jerryx_arg_js_iterator_pop (js_arg_iter_p); in jerryx_arg_transform_optional() 40 return func (js_arg_iter_p, c_arg_p); in jerryx_arg_transform_optional() 51 jerryx_arg_transform_number_strict_common (jerryx_arg_js_iterator_t *js_arg_iter_p, /**< available … in jerryx_arg_transform_number_strict_common() argument 54 jerry_value_t js_arg = jerryx_arg_js_iterator_pop (js_arg_iter_p); in jerryx_arg_transform_number_strict_common() 75 jerryx_arg_transform_number_common (jerryx_arg_js_iterator_t *js_arg_iter_p, /**< available JS args… in jerryx_arg_transform_number_common() argument 78 jerry_value_t js_arg = jerryx_arg_js_iterator_pop (js_arg_iter_p); in jerryx_arg_transform_number_common() 103 jerryx_arg_transform_number_strict (jerryx_arg_js_iterator_t *js_arg_iter_p, /**< available JS args… in jerryx_arg_transform_number_strict() argument 106 return jerryx_arg_transform_number_strict_common (js_arg_iter_p, c_arg_p->dest); in jerryx_arg_transform_number_strict() [all …]
|
D | arg-js-iterator-helper.c | 27 jerryx_arg_js_iterator_pop (jerryx_arg_js_iterator_t *js_arg_iter_p) /**< the JS arg iterator */ in jerryx_arg_js_iterator_pop() argument 29 return (js_arg_iter_p->js_arg_idx++ < js_arg_iter_p->js_arg_cnt ? *js_arg_iter_p->js_arg_p++ in jerryx_arg_js_iterator_pop() 40 jerryx_arg_js_iterator_restore (jerryx_arg_js_iterator_t *js_arg_iter_p) /**< the JS arg iterator */ in jerryx_arg_js_iterator_restore() argument 42 if (js_arg_iter_p->js_arg_idx == 0) in jerryx_arg_js_iterator_restore() 47 --js_arg_iter_p->js_arg_idx; in jerryx_arg_js_iterator_restore() 48 --js_arg_iter_p->js_arg_p; in jerryx_arg_js_iterator_restore() 50 return *js_arg_iter_p->js_arg_p; in jerryx_arg_js_iterator_restore() 63 jerryx_arg_js_iterator_peek (jerryx_arg_js_iterator_t *js_arg_iter_p) /**< the JS arg iterator */ in jerryx_arg_js_iterator_peek() argument 65 return (js_arg_iter_p->js_arg_idx < js_arg_iter_p->js_arg_cnt ? *js_arg_iter_p->js_arg_p in jerryx_arg_js_iterator_peek() 75 jerryx_arg_js_iterator_index (jerryx_arg_js_iterator_t *js_arg_iter_p) /**< the JS arg iterator */ in jerryx_arg_js_iterator_index() argument [all …]
|
/third_party/jerryscript/jerry-ext/include/jerryscript-ext/ |
D | arg.h | 42 typedef jerry_value_t (*jerryx_arg_transform_func_t) (jerryx_arg_js_iterator_t *js_arg_iter_p, /**<… 183 jerryx_arg_transform_optional (jerryx_arg_js_iterator_t *js_arg_iter_p, 188 jerry_value_t jerryx_arg_js_iterator_pop (jerryx_arg_js_iterator_t *js_arg_iter_p); 189 jerry_value_t jerryx_arg_js_iterator_restore (jerryx_arg_js_iterator_t *js_arg_iter_p); 190 jerry_value_t jerryx_arg_js_iterator_peek (jerryx_arg_js_iterator_t *js_arg_iter_p); 191 jerry_length_t jerryx_arg_js_iterator_index (jerryx_arg_js_iterator_t *js_arg_iter_p);
|
D | arg.impl.h | 22 jerry_value_t jerryx_arg_transform_ ## type (jerryx_arg_js_iterator_t *js_arg_iter_p, \ 24 …jerry_value_t jerryx_arg_transform_ ## type ## _optional (jerryx_arg_js_iterator_t *js_arg_iter_p,… 47 jerry_value_t jerryx_arg_transform_ignore (jerryx_arg_js_iterator_t *js_arg_iter_p,
|
/third_party/jerryscript/tests/unit-ext/ |
D | test-ext-arg.c | 181 my_custom_transform (jerryx_arg_js_iterator_t *js_arg_iter_p, /**< available JS args */ in my_custom_transform() argument 184 jerry_value_t js_arg = jerryx_arg_js_iterator_pop (js_arg_iter_p); in my_custom_transform() 720 jerry_arg_to_double_or_bool_t (jerryx_arg_js_iterator_t *js_arg_iter_p, in jerry_arg_to_double_or_bool_t() argument 742 conversion_result = conversion_function.func (js_arg_iter_p, &conversion_function); in jerry_arg_to_double_or_bool_t() 749 jerryx_arg_js_iterator_restore (js_arg_iter_p); in jerry_arg_to_double_or_bool_t() 750 jerryx_arg_js_iterator_restore (js_arg_iter_p); in jerry_arg_to_double_or_bool_t() 751 jerryx_arg_js_iterator_restore (js_arg_iter_p); in jerry_arg_to_double_or_bool_t() 752 restore_result = jerryx_arg_js_iterator_restore (js_arg_iter_p); in jerry_arg_to_double_or_bool_t() 760 jerryx_arg_js_iterator_restore (js_arg_iter_p); in jerry_arg_to_double_or_bool_t() 767 conversion_result = conversion_function.func (js_arg_iter_p, &conversion_function); in jerry_arg_to_double_or_bool_t() [all …]
|
/third_party/jerryscript/docs/ |
D | 09.EXT-REFERENCE-ARG.md | 108 typedef jerry_value_t (*jerryx_arg_transform_func_t) (jerryx_arg_js_iterator_t *js_arg_iter_p, 794 jerryx_arg_js_iterator_pop (jerryx_arg_js_iterator_t *js_arg_iter_p) 797 - `js_arg_iter_p` - the JS arg iterator from which to pop. 811 jerryx_arg_js_iterator_peek (jerryx_arg_js_iterator_t *js_arg_iter_p) 814 - `js_arg_iter_p` - the JS arg iterator from which to peek. 836 jerryx_arg_js_iterator_restore (jerryx_arg_js_iterator_t *js_arg_iter_p) 839 - `js_arg_iter_p` - the JS arg iterator to restore. 852 jerryx_arg_js_iterator_index (jerryx_arg_js_iterator_t *js_arg_iter_p) 855 - `js_arg_iter_p` - the JS arg iterator from which to peek.
|