Home
last modified time | relevance | path

Searched refs:obj_val (Results 1 – 8 of 8) sorted by relevance

/third_party/jerryscript/jerry-core/include/
Djerryscript-core.h521 jerry_value_t jerry_has_property (const jerry_value_t obj_val, const jerry_value_t prop_name_val);
522 jerry_value_t jerry_has_own_property (const jerry_value_t obj_val, const jerry_value_t prop_name_va…
523 bool jerry_has_internal_property (const jerry_value_t obj_val, const jerry_value_t prop_name_val);
524 bool jerry_delete_property (const jerry_value_t obj_val, const jerry_value_t prop_name_val);
525 bool jerry_delete_property_by_index (const jerry_value_t obj_val, uint32_t index);
526 bool jerry_delete_internal_property (const jerry_value_t obj_val, const jerry_value_t prop_name_val…
528 jerry_value_t jerry_get_property (const jerry_value_t obj_val, const jerry_value_t prop_name_val);
529 jerry_value_t jerry_get_property_by_index (const jerry_value_t obj_val, uint32_t index);
530 jerry_value_t jerry_get_internal_property (const jerry_value_t obj_val, const jerry_value_t prop_na…
531 jerry_value_t jerry_set_property (const jerry_value_t obj_val, const jerry_value_t prop_name_val,
[all …]
/third_party/jerryscript/jerry-core/api/
Djerry.c2113 jerry_has_property (const jerry_value_t obj_val, /**< object value */ in jerry_has_property() argument
2118 if (!ecma_is_value_object (obj_val) in jerry_has_property()
2124 return ecma_op_object_has_property (ecma_get_object_from_value (obj_val), in jerry_has_property()
2135 jerry_has_own_property (const jerry_value_t obj_val, /**< object value */ in jerry_has_own_property() argument
2140 if (!ecma_is_value_object (obj_val) in jerry_has_own_property()
2146 ecma_object_t *obj_p = ecma_get_object_from_value (obj_val); in jerry_has_own_property()
2175 jerry_has_internal_property (const jerry_value_t obj_val, /**< object value */ in jerry_has_internal_property() argument
2180 if (!ecma_is_value_object (obj_val) in jerry_has_internal_property()
2186 ecma_object_t *obj_p = ecma_get_object_from_value (obj_val); in jerry_has_internal_property()
2215 jerry_delete_property (const jerry_value_t obj_val, /**< object value */ in jerry_delete_property() argument
[all …]
/third_party/jerryscript/tests/unit-core/
Dtest-api.c312 get_property (const jerry_value_t obj_val, /**< object value */ in get_property() argument
316 jerry_value_t ret_val = jerry_get_property (obj_val, prop_name_val); in get_property()
322 set_property (const jerry_value_t obj_val, /**< object value */ in set_property() argument
327 jerry_value_t ret_val = jerry_set_property (obj_val, prop_name_val, val); in set_property()
350 jerry_value_t global_obj_val, obj_val; in main() local
606 obj_val = jerry_create_object (); in main()
607 res = jerry_call_function (obj_val, global_obj_val, NULL, 0); in main()
615 jerry_release_value (obj_val); in main()
632 obj_val = jerry_create_object (); in main()
633 res = jerry_construct_object (obj_val, NULL, 0); in main()
[all …]
Dtest-api-set-and-clear-error-flag.c36 jerry_value_t obj_val = jerry_create_object (); in main() local
37 obj_val = jerry_create_error_from_value (obj_val, true); in main()
38 jerry_value_t err_val = jerry_acquire_value (obj_val); in main()
40 obj_val = jerry_get_value_from_error (err_val, true); in main()
42 TEST_ASSERT (obj_val != err_val); in main()
44 jerry_release_value (obj_val); in main()
/third_party/jerryscript/jerry-ext/arg/
Darg.c109 jerryx_arg_transform_object_properties (const jerry_value_t obj_val,/**< the JS object */ in jerryx_arg_transform_object_properties() argument
119 if (!jerry_value_is_object (obj_val)) in jerryx_arg_transform_object_properties()
136 prop[i] = jerry_get_property (obj_val, name_str); in jerryx_arg_transform_object_properties()
/third_party/jerryscript/jerry-ext/include/jerryscript-ext/
Darg.h86 jerry_value_t jerryx_arg_transform_object_properties (const jerry_value_t obj_val,
/third_party/jerryscript/docs/
D02.API-REFERENCE.md4991 jerry_has_property (const jerry_value_t obj_val,
4995 - `obj_val` - object value
5051 jerry_has_own_property (const jerry_value_t obj_val,
5055 - `obj_val` - object value
5114 jerry_has_internal_property (const jerry_value_t obj_val,
5118 - `obj_val` - object value
5167 jerry_delete_property (const jerry_value_t obj_val,
5171 - `obj_val` - object value
5210 jerry_delete_property_by_index (const jerry_value_t obj_val,
5214 - `obj_val` - object value
[all …]
D09.EXT-REFERENCE-ARG.md316 jerryx_arg_transform_object_properties (const jerry_value_t obj_val,
324 - `obj_val` - the JS object.