Home
last modified time | relevance | path

Searched refs:c_arg_p (Results 1 – 6 of 6) sorted by relevance

/third_party/jerryscript/jerry-ext/arg/
Darg-transform-functions.c30 const jerryx_arg_t *c_arg_p, /**< native arg */ in jerryx_arg_transform_optional() argument
40 return func (js_arg_iter_p, c_arg_p); in jerryx_arg_transform_optional()
104 const jerryx_arg_t *c_arg_p) /**< the native arg */ 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()
117 const jerryx_arg_t *c_arg_p) /**< the native arg */ in jerryx_arg_transform_number() argument
119 return jerryx_arg_transform_number_common (js_arg_iter_p, c_arg_p->dest); in jerryx_arg_transform_number()
176 const jerryx_arg_t *c_arg_p) \
189 } u = { .extra_info = c_arg_p->extra_info }; \
195 *(type ## _t *) c_arg_p->dest = (type ## _t) tmp; \
220 const jerryx_arg_t *c_arg_p) /**< the native arg */ in JERRYX_ARG_TRANSFORM_FUNC_FOR_INT()
[all …]
Darg.c40 … const jerryx_arg_t *c_arg_p, /**< points to the array of validation/transformation steps */ in jerryx_arg_transform_args() argument
52 for (; c_arg_cnt != 0 && !jerry_value_is_error (ret); c_arg_cnt--, c_arg_p++) in jerryx_arg_transform_args()
54 ret = c_arg_p->func (&iterator, c_arg_p); in jerryx_arg_transform_args()
74 … const jerryx_arg_t *c_arg_p, /**< points to the array of transformation steps */ in jerryx_arg_transform_this_and_args() argument
89 jerry_value_t ret = c_arg_p->func (&iterator, c_arg_p); in jerryx_arg_transform_this_and_args()
98 return jerryx_arg_transform_args (js_arg_p, js_arg_cnt, c_arg_p + 1, c_arg_cnt - 1); in jerryx_arg_transform_this_and_args()
112 … const jerryx_arg_t *c_arg_p, /**< points to the array of transformation steps */ in jerryx_arg_transform_object_properties() argument
155 const jerry_value_t ret = jerryx_arg_transform_args (prop, name_cnt, c_arg_p, c_arg_cnt); in jerryx_arg_transform_object_properties()
175 … const jerryx_arg_t *c_arg_p, /**< points to the array of validation/transformation steps */ in jerryx_arg_transform_array() argument
216 const jerry_value_t ret = jerryx_arg_transform_args (arr, c_arg_cnt, c_arg_p, c_arg_cnt); in jerryx_arg_transform_array()
/third_party/jerryscript/jerry-ext/include/jerryscript-ext/
Darg.h43 … const jerryx_arg_t *c_arg_p); /**< native arg */
52 const jerryx_arg_t *c_arg_p; /**< points to the array of transformation steps */ member
61 const jerryx_arg_t *c_arg_p; /**< points to the array of transformation steps */ member
78 const jerryx_arg_t *c_arg_p,
83 const jerryx_arg_t *c_arg_p,
89 const jerryx_arg_t *c_arg_p,
92 const jerryx_arg_t *c_arg_p,
184 const jerryx_arg_t *c_arg_p,
Darg.impl.h23 const jerryx_arg_t *c_arg_p); \
25 const jerryx_arg_t *c_arg_p);
48 const jerryx_arg_t *c_arg_p);
/third_party/jerryscript/docs/
D09.EXT-REFERENCE-ARG.md51 const jerryx_arg_t *c_arg_p; /**< points to the array of transformation steps */
52 jerry_length_t c_arg_cnt; /**< the count of the `c_arg_p` array */
72 const jerryx_arg_t *c_arg_p; /**< points to the array of transformation steps */
73 jerry_length_t c_arg_cnt; /**< the count of the `c_arg_p` array */
100 a successful transformation into `c_arg_p->dest`. In case the validation did
101 not pass, the transform should not modify `c_arg_p->dest`.
103 Additional parameters can be provided to the function through `c_arg_p->extra_info`.
109 const jerryx_arg_t *c_arg_p);
136 …ptional. If the argument is `undefined` the transform is successful and `c_arg_p->dest` remains un…
137 …is required. If the argument is `undefined` the transform will fail and `c_arg_p->dest` remains un…
[all …]
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-arg.c182 const jerryx_arg_t *c_arg_p) /**< the native arg */ in my_custom_transform() argument
195 int expected_num = (int) c_arg_p->extra_info; in my_custom_transform()
394 prop_info.c_arg_p = prop_mapping; in test_validator_prop2_handler()
614 arr_info.c_arg_p = item_mapping; in test_validator_array1_handler()
721 const jerryx_arg_t *c_arg_p) in jerry_arg_to_double_or_bool_t() argument
730 double_or_bool_t *destination = c_arg_p->dest; in jerry_arg_to_double_or_bool_t()
731 uintptr_t *extra_info = (uintptr_t *) (c_arg_p->extra_info); in jerry_arg_to_double_or_bool_t()