Home
last modified time | relevance | path

Searched refs:global_obj_val (Results 1 – 14 of 14) sorted by relevance

/third_party/jerryscript/targets/esp8266/user/
Djerry_run.c53 jerry_value_t global_obj_val = jerry_get_global_object (); in js_loop() local
55 jerry_value_t sysloop_func = jerry_get_property (global_obj_val, prop_name_val); in js_loop()
61 jerry_release_value (global_obj_val); in js_loop()
68 jerry_release_value (global_obj_val); in js_loop()
76 global_obj_val, in js_loop()
85 jerry_release_value (global_obj_val); in js_loop()
Djerry_extapi.c149 jerry_value_t global_obj_val = jerry_get_global_object (); in register_native_function() local
158 jerry_release_value (global_obj_val); in register_native_function()
163 jerry_value_t res = jerry_set_property (global_obj_val, prop_name_val, reg_func_val); in register_native_function()
166 jerry_release_value (global_obj_val); in register_native_function()
/third_party/jerryscript/tests/unit-core/
Dtest-api-property.c44 jerry_value_t global_obj_val = jerry_get_global_object (); in main() local
48 jerry_value_t res = jerry_define_own_property (global_obj_val, prop_name, &prop_desc); in main()
56 bool is_ok = jerry_get_own_property_descriptor (global_obj_val, prop_name, &prop_desc); in main()
88 res = jerry_define_own_property (global_obj_val, prop_name, &prop_desc); in main()
94 is_ok = jerry_get_own_property_descriptor (global_obj_val, prop_name, &prop_desc); in main()
101 jerry_release_value (global_obj_val); in main()
Dtest-api.c350 jerry_value_t global_obj_val, obj_val; in main() local
375 global_obj_val = jerry_get_global_object (); in main()
378 val_t = get_property (global_obj_val, "boo"); in main()
383 val_t = get_property (global_obj_val, "t"); in main()
390 val_foo = get_property (global_obj_val, "foo"); in main()
404 val_bar = get_property (global_obj_val, "bar"); in main()
419 res = set_property (global_obj_val, "t", args[0]); in main()
438 val_A = get_property (global_obj_val, "A"); in main()
459 val_a = get_property (global_obj_val, "a"); in main()
471 val_p = get_property (global_obj_val, "p"); in main()
[all …]
Dtest-regression-3588.c52 jerry_value_t global_obj_val = jerry_get_global_object (); in main() local
56 jerry_value_t result_val = jerry_set_property (global_obj_val, function_name_val, function_val); in main()
61 jerry_release_value (global_obj_val); in main()
Dtest-promise.c102 jerry_value_t global_obj_val = jerry_get_global_object (); in register_js_function() local
106 jerry_value_t result_val = jerry_set_property (global_obj_val, function_name_val, function_val); in register_js_function()
110 jerry_release_value (global_obj_val); in register_js_function()
Dtest-newtarget.c28 jerry_value_t global_obj_val = jerry_get_global_object (); in register_js_function() local
32 jerry_value_t result_val = jerry_set_property (global_obj_val, function_name_val, function_val); in register_js_function()
35 jerry_release_value (global_obj_val); in register_js_function()
Dtest-typedarray.c41 jerry_value_t global_obj_val = jerry_get_global_object (); in register_js_value() local
44 jerry_value_t result_val = jerry_set_property (global_obj_val, name_val, value); in register_js_value()
47 jerry_release_value (global_obj_val); in register_js_value()
114 jerry_value_t global_obj_val = jerry_get_global_object (); in test_typedarray_queries() local
121 jerry_value_t prop_value = jerry_get_property (global_obj_val, prop_name); in test_typedarray_queries()
150 jerry_release_value (global_obj_val); in test_typedarray_queries()
Dtest-arraybuffer.c28 jerry_value_t global_obj_val = jerry_get_global_object (); in register_js_value() local
31 jerry_value_t result_val = jerry_set_property (global_obj_val, name_val, value); in register_js_value()
35 jerry_release_value (global_obj_val); in register_js_value()
/third_party/jerryscript/targets/zephyr/src/
Dmain-zephyr.c94 jerry_value_t global_obj_val = jerry_get_global_object (); in main() local
97 print_function = jerry_get_property (global_obj_val, print_func_name_val); in main()
99 jerry_release_value (global_obj_val); in main()
/third_party/jerryscript/jerry-ext/handler/
Dhandler-register.c31 jerry_value_t global_obj_val = jerry_get_global_object (); in jerryx_handler_register_global() local
35 jerry_value_t result_val = jerry_set_property (global_obj_val, function_name_val, function_val); in jerryx_handler_register_global()
39 jerry_release_value (global_obj_val); in jerryx_handler_register_global()
/third_party/jerryscript/targets/curie_bsp/jerry_app/quark/
Dmain.c142 jerry_value_t global_obj_val = jerry_get_global_object (); in jerry_start() local
144 print_function = jerry_get_property (global_obj_val, print_func_name_val); in jerry_start()
146 jerry_release_value (global_obj_val); in jerry_start()
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-arg.c902 jerry_value_t global_obj_val = jerry_get_global_object (); in register_js_function() local
906 jerry_value_t result_val = jerry_set_property (global_obj_val, function_name_val, function_val); in register_js_function()
910 jerry_release_value (global_obj_val); in register_js_function()
/third_party/jerryscript/docs/
D02.API-REFERENCE.md5725 jerry_value_t global_obj_val = jerry_get_global_object ();
5747 jerry_value_t return_value = jerry_define_own_property (global_obj_val, prop_name, &prop_desc);
5759 jerry_release_value (global_obj_val);
5812 jerry_value_t global_obj_val = jerry_get_global_object ();
5827 jerry_value_t return_value = jerry_define_own_property (global_obj_val, prop_name, &prop_desc);
5839 jerry_release_value (global_obj_val);
5888 jerry_value_t global_obj_val = jerry_get_global_object ();
5894 jerry_get_own_property_descriptor (global_obj_val, prop_name, &prop_desc);
5900 jerry_release_value (global_obj_val);
8025 jerry_value_t global_obj_val = jerry_get_global_object ();
[all …]