Lines Matching refs:jerry_value_t
37 jerry_value_t
38 jerryx_arg_transform_args (const jerry_value_t *js_arg_p, /**< points to the array with JS arguments */
43 jerry_value_t ret = jerry_create_undefined ();
70 jerry_value_t
71 jerryx_arg_transform_this_and_args (const jerry_value_t this_val, /**< the this_val for the external function */
72 const jerry_value_t *js_arg_p, /**< points to the array with JS arguments */
89 jerry_value_t ret = c_arg_p->func (&iterator, c_arg_p);
108 jerry_value_t
109 jerryx_arg_transform_object_properties (const jerry_value_t obj_val,/**< the JS object */
116 jerry_value_t* prop;
117 jerry_value_t prop_i;
125 prop = (jerry_value_t*) jerry_vla_malloc (sizeof(jerry_value_t) * name_cnt);
131 JERRY_VLA (jerry_value_t, prop, name_cnt);
135 const jerry_value_t name_str = jerry_create_string (*name_p);
155 const jerry_value_t ret = jerryx_arg_transform_args (prop, name_cnt, c_arg_p, c_arg_cnt);
173 jerry_value_t
174 jerryx_arg_transform_array (const jerry_value_t array_val, /**< points to the JS array */
179 jerry_value_t* arr;
180 jerry_value_t arr_i;
188 arr = (jerry_value_t*) jerry_vla_malloc (sizeof(jerry_value_t) * c_arg_cnt);
194 JERRY_VLA (jerry_value_t, arr, c_arg_cnt);
216 const jerry_value_t ret = jerryx_arg_transform_args (arr, c_arg_cnt, c_arg_p, c_arg_cnt);