Home
last modified time | relevance | path

Searched refs:jerry_release_value (Results 1 – 25 of 73) sorted by relevance

123

/third_party/jerryscript/tests/unit-core/
Dtest-api-set-and-clear-error-flag.c43 jerry_release_value (err_val); in main()
44 jerry_release_value (obj_val); in main()
54 jerry_release_value (str); in main()
58 jerry_release_value (str); in main()
62 jerry_release_value (str); in main()
69 jerry_release_value (str); in main()
73 jerry_release_value (str); in main()
77 jerry_release_value (str); in main()
86 jerry_release_value (str); in main()
92 jerry_release_value (error); in main()
[all …]
Dtest-api.c159 jerry_release_value (res); in handler_construct()
160 jerry_release_value (field_name); in handler_construct()
317 jerry_release_value (prop_name_val); in get_property()
328 jerry_release_value (prop_name_val); in set_property()
372 jerry_release_value (res); in main()
373 jerry_release_value (parsed_code_val); in main()
387 jerry_release_value (val_t); in main()
401 jerry_release_value (res); in main()
413 jerry_release_value (res); in main()
414 jerry_release_value (val_bar); in main()
[all …]
Dtest-internal-properties.c36 jerry_release_value (prop_name_3_desc); in main()
51 jerry_release_value (internal_prop_name_3_desc); in main()
99 jerry_release_value (has_result_1); in main()
100 jerry_release_value (has_result_2); in main()
101 jerry_release_value (has_result_3); in main()
102 jerry_release_value (has_result_4); in main()
103 jerry_release_value (has_result_5); in main()
104 jerry_release_value (has_result_6); in main()
136 jerry_release_value (get_result_1); in main()
137 jerry_release_value (get_result_2); in main()
[all …]
Dtest-api-promise.c34 jerry_release_value (promise_result); in test_promise_resolve_success()
42 jerry_release_value (set_result); in test_promise_resolve_success()
43 jerry_release_value (obj_key); in test_promise_resolve_success()
51 jerry_release_value (resolve_value); in test_promise_resolve_success()
61 jerry_release_value (get_result); in test_promise_resolve_success()
62 jerry_release_value (obj_key); in test_promise_resolve_success()
68 jerry_release_value (promise_result); in test_promise_resolve_success()
70 jerry_release_value (resolve_result); in test_promise_resolve_success()
85 jerry_release_value (get_result); in test_promise_resolve_success()
86 jerry_release_value (obj_key); in test_promise_resolve_success()
[all …]
Dtest-container.c45 jerry_release_value (global); in main()
47 jerry_release_value (map_str); in main()
48 jerry_release_value (set_str); in main()
49 jerry_release_value (weakmap_str); in main()
50 jerry_release_value (weakset_str); in main()
56 jerry_release_value (instance_check); in main()
57 jerry_release_value (global_map); in main()
58 jerry_release_value (empty_map); in main()
64 jerry_release_value (instance_check); in main()
65 jerry_release_value (global_set); in main()
[all …]
Dtest-objects-foreach.c39 jerry_release_value (map_result); in test_container()
40 jerry_release_value (map_str); in test_container()
41 jerry_release_value (global); in test_container()
56 jerry_release_value (array); in test_container()
65 jerry_release_value (result); in test_container()
89 jerry_release_value (result); in test_container()
98 jerry_release_value (object); in test_internal_prop()
120 jerry_release_value (internal_prop_name); in test_internal_prop()
121 jerry_release_value (internal_prop_object); in test_internal_prop()
132 jerry_release_value (object); in test_internal_prop()
[all …]
Dtest-newtarget.c34 jerry_release_value (function_name_val); in register_js_function()
35 jerry_release_value (global_obj_val); in register_js_function()
37 jerry_release_value (result_val); in register_js_function()
74 jerry_release_value (target); in construct_handler()
83 jerry_release_value (target); in construct_handler()
92 jerry_release_value (target); in construct_handler()
131 jerry_release_value (test_arg); in main()
132 jerry_release_value (constructed); in main()
140 jerry_release_value (constructed); in main()
141 jerry_release_value (constructed); in main()
[all …]
Dtest-typedarray.c46 jerry_release_value (name_val); in register_js_value()
47 jerry_release_value (global_obj_val); in register_js_value()
49 jerry_release_value (result_val); in register_js_value()
105 jerry_release_value (arraybuffer); in test_typedarray_info()
127 jerry_release_value (prop_name); in test_typedarray_queries()
128 jerry_release_value (prop_value); in test_typedarray_queries()
129 jerry_release_value (length_arg); in test_typedarray_queries()
135 jerry_release_value (typedarray); in test_typedarray_queries()
146 jerry_release_value (typedarray); in test_typedarray_queries()
150 jerry_release_value (global_obj_val); in test_typedarray_queries()
[all …]
Dtest-resource-name.c31 jerry_release_value (undefined_value); in resource_name_handler()
56 jerry_release_value (result); in main()
57 jerry_release_value (name); in main()
58 jerry_release_value (func); in main()
61 jerry_release_value (global); in main()
86 jerry_release_value (resource1_name_value); in main()
87 jerry_release_value (resource_value); in main()
89 jerry_release_value (run_result); in main()
90 jerry_release_value (program); in main()
117 jerry_release_value (resource2_name_value); in main()
[all …]
Dtest-symbol.c56 jerry_release_value (symbol_desc_1); in main()
57 jerry_release_value (symbol_desc_2); in main()
74 jerry_release_value (get_value_1); in main()
78 jerry_release_value (get_value_2); in main()
85 jerry_release_value (value_1); in main()
86 jerry_release_value (symbol_1); in main()
135 jerry_release_value (value_3); in main()
136 jerry_release_value (value_2); in main()
137 jerry_release_value (symbol_2); in main()
138 jerry_release_value (object); in main()
[all …]
Dtest-proxy.c126 jerry_release_value (name_val); in set_property()
137 jerry_release_value (name_val); in get_property()
148 jerry_release_value (function_val); in set_function()
175 jerry_release_value (global); in main()
190 jerry_release_value (res); in main()
197 jerry_release_value (res); in main()
204 jerry_release_value (res); in main()
219 jerry_release_value (res); in main()
226 jerry_release_value (res); in main()
232 jerry_release_value (new_value); in main()
[all …]
Dtest-arraybuffer.c34 jerry_release_value (name_val); in register_js_value()
35 jerry_release_value (global_obj_val); in register_js_value()
37 jerry_release_value (result_val); in register_js_value()
103 jerry_release_value (arraybuffer); in test_read_with_offset()
114 jerry_release_value (offset_val); in test_write_with_offset()
152 jerry_release_value (res); in test_write_with_offset()
153 jerry_release_value (arraybuffer); in test_write_with_offset()
178 jerry_release_value (function_val); in main()
189 jerry_release_value (eval_arraybuffer); in main()
199 jerry_release_value (arraybuffer); in main()
[all …]
Dtest-api-binary-operations-instanceof.c57 jerry_release_value (prototype_str); in main()
59 jerry_release_value (res); in main()
79 jerry_release_value (bool_tests[idx].lhs); in main()
80 jerry_release_value (bool_tests[idx].rhs); in main()
81 jerry_release_value (result); in main()
108 jerry_release_value (error_tests[idx].lhs); in main()
109 jerry_release_value (error_tests[idx].rhs); in main()
110 jerry_release_value (result); in main()
113 jerry_release_value (base_obj); in main()
114 jerry_release_value (constructor); in main()
[all …]
Dtest-dataview.c47 jerry_release_value (internal_buffer); in main()
56 jerry_release_value (internal_buffer); in main()
64 jerry_release_value (error_obj); in main()
65 jerry_release_value (empty_object); in main()
71 jerry_release_value (error_obj); in main()
80 jerry_release_value (view1_str); in main()
81 jerry_release_value (view2_str); in main()
82 jerry_release_value (global_obj); in main()
96 jerry_release_value (view2); in main()
97 jerry_release_value (view1); in main()
[all …]
Dtest-native-instanceof.c47 jerry_release_value (undefined); in test_instanceof()
54 jerry_release_value (instance); in test_instanceof()
55 jerry_release_value (result); in test_instanceof()
69 jerry_release_value (constructor); in main()
75 jerry_release_value (object_name); in main()
76 jerry_release_value (global); in main()
79 jerry_release_value (constructor); in main()
81 jerry_release_value (instanceof); in main()
Dtest-abort.c50 jerry_release_value (res); in main()
51 jerry_release_value (func); in main()
52 jerry_release_value (callback_name); in main()
53 jerry_release_value (global); in main()
78 jerry_release_value (res); in main()
79 jerry_release_value (parsed_code_val); in main()
113 jerry_release_value (res); in main()
114 jerry_release_value (parsed_code_val); in main()
133 jerry_release_value (value); in main()
Dtest-promise.c108 jerry_release_value (function_name_val); in register_js_function()
109 jerry_release_value (function_val); in register_js_function()
110 jerry_release_value (global_obj_val); in register_js_function()
112 jerry_release_value (result_val); in register_js_function()
141 jerry_release_value (res); in main()
142 jerry_release_value (parsed_code_val); in main()
167 jerry_release_value (my_promise1); in main()
168 jerry_release_value (my_promise2); in main()
169 jerry_release_value (str_resolve); in main()
170 jerry_release_value (str_reject); in main()
Dtest-regression-3588.c59 jerry_release_value (result_val); in main()
60 jerry_release_value (function_name_val); in main()
61 jerry_release_value (global_obj_val); in main()
62 jerry_release_value (function_val); in main()
81 jerry_release_value (result); in main()
82 jerry_release_value (parsed_code_val); in main()
101 jerry_release_value (result); in main()
102 jerry_release_value (parsed_code_val); in main()
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-method-register.c54 jerry_release_value (return_value); in freeze_property()
55 jerry_release_value (prop_name); in freeze_property()
89 jerry_release_value (register_result.result); in test_simple_registration()
93 jerry_release_value (target_object); in test_simple_registration()
94 jerry_release_value (global_obj); in test_simple_registration()
101 jerry_release_value (result); in test_simple_registration()
109 jerry_release_value (result); in test_simple_registration()
117 jerry_release_value (result); in test_simple_registration()
125 jerry_release_value (result); in test_simple_registration()
133 jerry_release_value (result); in test_simple_registration()
[all …]
Dtest-ext-module-canonical.c87 jerry_release_value (actual_name); in main()
88 jerry_release_value (alias_name); in main()
93 jerry_release_value (jerry_set_property (result1, prop_name, prop_value)); in main()
94 jerry_release_value (prop_value); in main()
98 jerry_release_value (prop_value); in main()
100 jerry_release_value (prop_name); in main()
101 jerry_release_value (result1); in main()
102 jerry_release_value (result2); in main()
/third_party/jerryscript/targets/esp8266/user/
Djerry_run.c42 jerry_release_value (res); in js_eval()
46 jerry_release_value (res); in js_eval()
56 jerry_release_value (prop_name_val); in js_loop()
60 jerry_release_value (sysloop_func); in js_loop()
61 jerry_release_value (global_obj_val); in js_loop()
67 jerry_release_value (sysloop_func); in js_loop()
68 jerry_release_value (global_obj_val); in js_loop()
81 jerry_release_value (val_args[i]); in js_loop()
84 jerry_release_value (sysloop_func); in js_loop()
85 jerry_release_value (global_obj_val); in js_loop()
[all …]
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-library-registry/source/
Dwrap_tools.cpp30 jerry_release_value(global_object_val); in jsmbed_wrap_register_global_function()
31 jerry_release_value(reg_function); in jsmbed_wrap_register_global_function()
38 jerry_release_value(global_object_val); in jsmbed_wrap_register_global_function()
39 jerry_release_value(reg_function); in jsmbed_wrap_register_global_function()
53 jerry_release_value(jerry_name); in jsmbed_wrap_register_global_function()
54 jerry_release_value(global_object_val); in jsmbed_wrap_register_global_function()
55 jerry_release_value(reg_function); in jsmbed_wrap_register_global_function()
56 jerry_release_value(set_result); 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()
72 jerry_release_value(handler_obj); in jsmbed_wrap_register_class_function()
[all …]
/third_party/jerryscript/targets/particle/source/
Dmain.cpp83 jerry_release_value (jerry_set_property (object, prop_name, func_obj)); in init_jerry()
84 jerry_release_value (prop_name); in init_jerry()
85 jerry_release_value (func_obj); in init_jerry()
89 jerry_release_value (jerry_set_property (object, prop_name, func_obj)); in init_jerry()
90 jerry_release_value (prop_name); in init_jerry()
91 jerry_release_value (func_obj); in init_jerry()
98 jerry_release_value (jerry_set_property (global_object, prop_name, object)); in init_jerry()
99 jerry_release_value (prop_name); in init_jerry()
100 jerry_release_value (object); in init_jerry()
101 jerry_release_value (global_object); in init_jerry()
[all …]
/third_party/jerryscript/jerry-ext/handler/
Dhandler-register.c37 jerry_release_value (function_val); in jerryx_handler_register_global()
38 jerry_release_value (function_name_val); in jerryx_handler_register_global()
39 jerry_release_value (global_obj_val); in jerryx_handler_register_global()
79 jerry_release_value (prop_name); in jerryx_set_properties()
90 jerry_release_value (entry->value); in jerryx_set_properties()
91 jerry_release_value (result); in jerryx_set_properties()
115 jerry_release_value (entries[idx].value); in jerryx_release_property_entry()
139 jerry_release_value (property_name_val); in jerryx_set_property_str()
161 jerry_release_value (prop_name); in jerryx_get_property_str()
191 jerry_release_value (has_prop_val); in jerryx_has_property_str()
[all …]
/third_party/jerryscript/docs/
D02.API-REFERENCE.md228 [jerry_release_value](#jerry_release_value) when they are no longer needed.
946 jerry_release_value (object_value);
1019 *Note*: Returned value must be freed with [jerry_release_value](#jerry_release_value) when it
1059 jerry_release_value (parsed_code);
1082 *Note*: The returned value must be freed with [jerry_release_value](#jerry_release_value) when it
1163 jerry_release_value (args[idx]);
1167 jerry_release_value (ret_value);
1171 jerry_release_value (parsed_function);
1193 - Returned value must be freed with [jerry_release_value](#jerry_release_value)
1232 jerry_release_value (ret_value);
[all …]

123