Home
last modified time | relevance | path

Searched refs:jerry_set_property (Results 1 – 25 of 31) sorted by relevance

12

/third_party/jerryscript/targets/particle/source/
Dmain.cpp83 jerry_release_value (jerry_set_property (object, prop_name, func_obj)); in init_jerry()
89 jerry_release_value (jerry_set_property (object, prop_name, func_obj)); in init_jerry()
98 jerry_release_value (jerry_set_property (global_object, prop_name, object)); in init_jerry()
/third_party/jerryscript/jerry-ext/handler/
Dhandler-register.c35 jerry_value_t result_val = jerry_set_property (global_obj_val, function_name_val, function_val); in jerryx_handler_register_global()
77 jerry_value_t result = jerry_set_property (target_object, prop_name, entry->value); in jerryx_set_properties()
137 jerry_value_t result_val = jerry_set_property (target_object, property_name_val, value); in jerryx_set_property_str()
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-library-registry/source/
Dwrap_tools.cpp45 jerry_value_t set_result = jerry_set_property(global_object_val, jerry_name, reg_function); in jsmbed_wrap_register_global_function()
70 jerry_release_value(jerry_set_property(this_obj, property_name, handler_obj)); in jsmbed_wrap_register_class_function()
/third_party/jerryscript/tests/unit-core/
Dtest-has-property.cpp78 assert_boolean_and_release (jerry_set_property (proto_object, prop_name, prop_value), true);
85 assert_boolean_and_release (jerry_set_property (object, prop_name, prop_value), true);
Dtest-dataview.cpp103 TEST_ASSERT (jerry_set_property (global_obj, view1_str, view1));
104 TEST_ASSERT (jerry_set_property (global_obj, view2_str, view2));
Dtest-internal-properties.cpp95 bool set_result_1 = jerry_set_property (object, prop_name_1, prop_value_1);
96 bool set_result_2 = jerry_set_property (object, prop_name_2, prop_value_2);
97 bool set_result_3 = jerry_set_property (object, prop_name_3, prop_value_3);
Dtest-symbol.cpp86 jerry_value_t result_val = jerry_set_property (object, symbol_1, value_1);
91 result_val = jerry_set_property (object, symbol_2, value_2);
Dtest-regression-3588.cpp81 jerry_value_t result_val = jerry_set_property (global_obj_val, function_name_val, function_val);
Dtest-abort.cpp74 jerry_value_t res = jerry_set_property (global, callback_name, func);
Dtest-resource-name.cpp82 jerry_value_t result = jerry_set_property (global, name, func);
Dtest-promise.cpp107 jerry_value_t result_val = jerry_set_property (global_obj_val, function_name_val, function_val); in register_js_function()
Dtest-api-binary-operations-instanceof.cpp83 jerry_value_t res = jerry_set_property (constructor, prototype_str, base_obj);
Dtest-newtarget.cpp33 jerry_value_t result_val = jerry_set_property (global_obj_val, function_name_val, function_val); in register_js_function()
Dtest-api-promise.cpp41 jerry_value_t set_result = jerry_set_property (resolve_value, obj_key, jerry_create_number (3)); in test_promise_resolve_success()
Dtest-proxy.cpp124 jerry_value_t result_val = jerry_set_property (target, name_val, value); in set_property()
Dtest-objects-foreach.cpp253 jerry_release_value (jerry_set_property (object, property_name, property_value));
Dtest-api.cpp158 jerry_value_t res = jerry_set_property (this_val, field_name, args_p[0]); in handler_construct()
329 jerry_value_t ret_val = jerry_set_property (obj_val, prop_name_val, val); in set_property()
1070 res = jerry_set_property (obj, key, value);
/third_party/jerryscript/tests/unit-ext/module/
Djerry-module-test.c215 res = jerry_set_property (js_global, js_property_name, js_function); in main()
224 res = jerry_set_property (js_global, js_property_name, js_function); in main()
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/
DInterruptIn-js.cpp102 jerry_release_value(jerry_set_property(this_obj, property_name, f)); in DECLARE_CLASS_FUNCTION()
167 jerry_release_value(jerry_set_property(this_obj, property_name, f)); in DECLARE_CLASS_FUNCTION()
/third_party/jerryscript/jerry-ext/module/
Dmodule.c46 jerry_release_value (jerry_set_property (error_object, property_name, module_name)); in jerryx_module_create_error()
158 jerry_value_t ret = jerry_set_property (cache, module_name, module); in jerryx_module_add_to_cache()
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-launcher/source/
Dsetup.cpp42 jerry_release_value(jerry_set_property(global, magic_string, constant_value)); in jsmbed_js_load_magic_strings()
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-module-canonical.c93 jerry_release_value (jerry_set_property (result1, prop_name, prop_value)); in main()
/third_party/jerryscript/docs/
D03.API-EXAMPLE.md205 - `jerry_set_property`
248 …jerry_value_t set_result = jerry_set_property (global_object, property_name_print, property_value_…
368 …jerry_value_t set_result = jerry_set_property (global_object, property_name_print, property_value_…
518 jerry_value_t set_result = jerry_set_property (global_object, prop_name, prop_value);
883 jerry_release_value (jerry_set_property (object, prop_name, func_obj));
892 jerry_release_value (jerry_set_property (global_object, prop_name, object));
980 jerry_release_value (jerry_set_property (this_val, prop_name, res_val));
1024 jerry_release_value (jerry_set_property (my_js_obj_val, prop_name, add_func_obj));
D06.REFERENCE-COUNTING.md81 jerry_value_t result = jerry_set_property (..., new_prop_value);
113 jerry_release_value (jerry_set_property (..., new_prop_value));
/third_party/jerryscript/targets/esp8266/user/
Djerry_extapi.c163 jerry_value_t res = jerry_set_property (global_obj_val, prop_name_val, reg_func_val); in register_native_function()

12