/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/common/ |
A D | quickjs_addon_common.h | 30 JS_FreeValue(ctx, global_func); \ 39 JS_FreeValue(ctx, js_value); in QUICKJS_GET_PROPERTY_STR() 43 JS_FreeValue(ctx, js_value); in QUICKJS_GET_PROPERTY_STR() 53 JS_FreeValue(ctx, js_value); in QUICKJS_GET_PROPERTY_INT32() 57 JS_FreeValue(ctx, js_value); in QUICKJS_GET_PROPERTY_INT32() 67 JS_FreeValue(ctx, js_value); in QUICKJS_GET_PROPERTY_BOOL() 71 JS_FreeValue(ctx, js_value); in QUICKJS_GET_PROPERTY_BOOL()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/ota/ |
A D | module_appota.c | 75 JS_FreeValue(ctx, ret); in ota_install_notify() 76 JS_FreeValue(ctx, v); in ota_install_notify() 145 JS_FreeValue(ctx, l); in native_ota_upgrade() 146 JS_FreeValue(ctx, sp); in native_ota_upgrade() 147 JS_FreeValue(ctx, ip); in native_ota_upgrade() 173 JS_FreeValue(ctx, v); in ota_verify_notify() 246 JS_FreeValue(ctx, l); in native_ota_verify() 248 JS_FreeValue(ctx, h); in native_ota_verify() 277 JS_FreeValue(ctx, v); in ota_download_notify() 334 JS_FreeValue(ctx, u); in native_ota_download() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/tcp/ |
A D | module_tcp.c | 69 JS_FreeValue(ctx, args); in tcp_create_notify() 73 JS_FreeValue(ctx, val); in tcp_create_notify() 74 JS_FreeValue(ctx, p->js_cb_ref); in tcp_create_notify() 133 JS_FreeValue(ctx, j_host); in native_tcp_create_socket() 137 JS_FreeValue(ctx, j_port); in native_tcp_create_socket() 170 JS_FreeValue(ctx, args); in tcp_send_notify() 171 JS_FreeValue(ctx, val); in tcp_send_notify() 172 JS_FreeValue(ctx, p->js_cb_ref); in tcp_send_notify() 272 JS_FreeValue(ctx, args[0]); in tcp_recv_notify() 273 JS_FreeValue(ctx, args[1]); in tcp_recv_notify() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/aiot/ |
A D | module_aiot_gateway.c | 180 JS_FreeValue(ctx, obj); in aiot_subdev_notify() 450 JS_FreeValue(ctx, pk); in native_aiot_create_gateway() 451 JS_FreeValue(ctx, dn); in native_aiot_create_gateway() 452 JS_FreeValue(ctx, ds); in native_aiot_create_gateway() 453 JS_FreeValue(ctx, kl); in native_aiot_create_gateway() 803 JS_FreeValue(ctx, val); in native_aiot_publish() 806 JS_FreeValue(ctx, val); in native_aiot_publish() 810 JS_FreeValue(ctx, val); in native_aiot_publish() 837 JS_FreeValue(ctx, val); in native_aiot_unsubscribe() 864 JS_FreeValue(ctx, val); in native_aiot_subscribe() [all …]
|
A D | module_aiot_device.c | 137 JS_FreeValue(ctx, val); in aiot_device_notify() 138 JS_FreeValue(ctx, obj); in aiot_device_notify() 689 JS_FreeValue(ctx, params); in native_aiot_postEvent() 707 JS_FreeValue(ctx, jjson); in native_aiot_postEvent() 709 JS_FreeValue(ctx, id); in native_aiot_postEvent() 748 JS_FreeValue(ctx, jjson); in native_aiot_postProps() 812 JS_FreeValue(ctx,val); in native_aiot_publish() 816 JS_FreeValue(ctx,val); in native_aiot_publish() 821 JS_FreeValue(ctx,val); in native_aiot_publish() 892 JS_FreeValue(ctx, val); in native_aiot_subscribe() [all …]
|
A D | module_aiot_dynreg.c | 34 JS_FreeValue(ctx, val); in aiot_app_dynreg_recv_handler() 35 JS_FreeValue(ctx, sec); in aiot_app_dynreg_recv_handler() 36 JS_FreeValue(ctx, *js_cb_ref); in aiot_app_dynreg_recv_handler()
|
A D | module_aiot_ntp.c | 49 JS_FreeValue(ctx, val); in aiot_device_ntp_notify() 50 JS_FreeValue(ctx, obj); in aiot_device_ntp_notify() 51 JS_FreeValue(ctx, param->js_cb_ref); in aiot_device_ntp_notify()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/udp/ |
A D | module_udp.c | 147 JS_FreeValue(ctx, args); in udp_send_notify() 148 JS_FreeValue(ctx, val); in udp_send_notify() 149 JS_FreeValue(ctx, notify->js_cb_ref); in udp_send_notify() 232 JS_FreeValue(ctx, j_port); in native_udp_sendto() 245 JS_FreeValue(ctx, j_host); in native_udp_sendto() 277 JS_FreeValue(ctx, buf); in native_udp_sendto() 325 JS_FreeValue(ctx, args[2]); in udp_recv_notify() 327 JS_FreeValue(ctx, port); in udp_recv_notify() 329 JS_FreeValue(ctx, args[0]); in udp_recv_notify() 330 JS_FreeValue(ctx, args[1]); in udp_recv_notify() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/http/ |
A D | module_http.c | 136 JS_FreeValue(ctx, args[0]); in http_request_notify() 144 JS_FreeValue(ctx, val); in http_request_notify() 410 JS_FreeValue(ctx, url); in native_http_get_param() 430 JS_FreeValue(ctx, method); in native_http_get_param() 441 JS_FreeValue(ctx, timeout); in native_http_get_param() 450 JS_FreeValue(ctx, jsize); in native_http_get_param() 477 JS_FreeValue(ctx, headers); in native_http_get_param() 497 JS_FreeValue(ctx, params); in native_http_get_param() 502 JS_FreeValue(ctx, cb); in native_http_get_param() 579 JS_FreeValue(ctx, args); in http_recv_and_save_notify() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/ |
A D | quickjs.c | 1537 JS_FreeValue(ctx, op1); in invalid_unary_arith() 1545 JS_FreeValue(ctx, op1); in invalid_binary_arith() 1546 JS_FreeValue(ctx, op2); in invalid_binary_arith() 1871 JS_FreeValue(ctx, res); in JS_ExecutePendingJob() 3232 JS_FreeValue(ctx, str); in JS_AtomIsNumericIndex1() 3250 JS_FreeValue(ctx, num); in JS_AtomIsNumericIndex() 3330 JS_FreeValue(ctx, str); in JS_AtomToCString() 3359 JS_FreeValue(ctx, str); in js_atom_concat_str() 3363 JS_FreeValue(ctx, str); in js_atom_concat_str() 36064 JS_FreeValue(ctx, r); in js_object_getOwnPropertyDescriptors() [all …]
|
A D | run-test262.c | 481 JS_FreeValue(ctx, ret_val); in agent_start() 779 JS_FreeValue(ctx, global_obj); in add_helpers1() 785 JS_FreeValue(ctx, add_helpers1(ctx)); in add_helpers() 823 JS_FreeValue(ctx, func_val); in js_module_loader_test() 1182 JS_FreeValue(ctx, res_val); in eval_buf() 1236 JS_FreeValue(ctx, stack); in eval_buf() 1237 JS_FreeValue(ctx, name); in eval_buf() 1326 JS_FreeValue(ctx, msg_val); in eval_buf() 1331 JS_FreeValue(ctx, exception_val); in eval_buf() 1332 JS_FreeValue(ctx, res_val); in eval_buf() [all …]
|
A D | quickjs-libc.c | 574 JS_FreeValue(ctx, meta_obj); in js_module_set_import_meta() 660 JS_FreeValue(ctx, val); in get_bool_option() 771 JS_FreeValue(ctx, obj); in js_new_std_file() 1960 JS_FreeValue(ctx, obj); in js_os_setTimeout() 1994 JS_FreeValue(ctx, func1); in call_handler() 1997 JS_FreeValue(ctx, ret); in call_handler() 2735 JS_FreeValue(ctx, val); in js_os_exec() 3208 JS_FreeValue(ctx, retval); in worker_func() 3234 JS_FreeValue(ctx, proto); in js_worker_ctor_internal() 3246 JS_FreeValue(ctx, obj); in js_worker_ctor_internal() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/wireless/bt_host/ |
A D | module_bt_host.c | 367 JS_FreeValue(ctx, args[0]); in native_bt_host_conn_handle_js() 368 JS_FreeValue(ctx, args[1]); in native_bt_host_conn_handle_js() 373 JS_FreeValue(ctx, val); in native_bt_host_conn_handle_js() 419 JS_FreeValue(ctx, args[0]); in native_bt_host_scan_handle_js() 420 JS_FreeValue(ctx, args[1]); in native_bt_host_scan_handle_js() 421 JS_FreeValue(ctx, args[2]); in native_bt_host_scan_handle_js() 422 JS_FreeValue(ctx, args[3]); in native_bt_host_scan_handle_js() 423 JS_FreeValue(ctx, args[4]); in native_bt_host_scan_handle_js() 428 JS_FreeValue(ctx, val); in native_bt_host_scan_handle_js() 472 JS_FreeValue(ctx, args[0]); in native_bt_host_gatts_handle_write_js() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/hardware/rtc/ |
A D | module_rtc.c | 121 JS_FreeValue(ctx, val); in native_rtc_set_time() 140 JS_FreeValue(ctx, val); in native_rtc_set_time() 159 JS_FreeValue(ctx, val); in native_rtc_set_time() 178 JS_FreeValue(ctx, val); in native_rtc_set_time() 196 JS_FreeValue(ctx, val); in native_rtc_set_time() 214 JS_FreeValue(ctx, val); in native_rtc_set_time()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/netmgr/ |
A D | module_netmgr.c | 93 JS_FreeValue(ctx, args); in js_cb_conn_status() 98 JS_FreeValue(ctx, params->cb_ref); in js_cb_conn_status() 99 JS_FreeValue(ctx, val); in js_cb_conn_status() 287 JS_FreeValue(ctx, js_ssid); in native_netmgr_connect() 295 JS_FreeValue(ctx, js_password); in native_netmgr_connect() 303 JS_FreeValue(ctx, js_bssid); in native_netmgr_connect() 309 JS_FreeValue(ctx, js_timeout_ms); in native_netmgr_connect() 352 JS_FreeValue(ctx, cb_ref); in native_netmgr_connect() 590 JS_FreeValue(ctx, args); in set_msg_cb() 594 JS_FreeValue(ctx, val); in set_msg_cb() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/audio/ |
A D | module_audioplayer.c | 85 JS_FreeValue(ctx, val); in audioplayer_state_notify() 86 JS_FreeValue(ctx, state); in audioplayer_state_notify() 151 JS_FreeValue(ctx, val); in audioplayer_play_cplt_notify() 152 JS_FreeValue(ctx, param->js_cb_ref); in audioplayer_play_cplt_notify() 239 JS_FreeValue(ctx, param->js_cb_ref); in native_audioplayer_play() 246 JS_FreeValue(ctx, param->js_cb_ref); in native_audioplayer_play() 582 JS_FreeValue(ctx, param->js_cb_ref); in native_audioplayer_play_list() 591 JS_FreeValue(ctx, param->js_cb_ref); in native_audioplayer_play_list() 602 JS_FreeValue(ctx, param->js_cb_ref); in native_audioplayer_play_list()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/ui/ |
A D | page_entry.c | 234 JS_FreeValue(ctx, val); in page_entry() 253 JS_FreeValue(ctx, val); in page_exit() 255 JS_FreeValue(ctx, options->object); in page_exit() 272 JS_FreeValue(ctx, val); in page_update()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/hardware/uart/ |
A D | module_uart.c | 78 JS_FreeValue(ctx, args[0]); in uart_recv_notify() 79 JS_FreeValue(ctx, args[1]); in uart_recv_notify() 85 JS_FreeValue(ctx, val); in uart_recv_notify() 137 JS_FreeValue(ctx, module->js_cb_ref); in uart_add_recv() 153 JS_FreeValue(ctx, m->js_cb_ref); in uart_del_recv() 432 JS_FreeValue(ctx, module->js_cb_ref); in native_uart_on() 454 JS_FreeValue(ctx, mod->js_cb_ref); in native_uart_clean()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/mqtt/ |
A D | module_mqtt.c | 94 JS_FreeValue(ctx, val); in aos_mqtt_notify() 95 JS_FreeValue(ctx, obj); in aos_mqtt_notify() 115 JS_FreeValue(ctx, val); in aos_mqtt_notify() 116 JS_FreeValue(ctx, obj); in aos_mqtt_notify() 213 JS_FreeValue(ctx, aos_mqtt_handle->js_cb_ref[MQTT_JSCALLBACK_START_CLIENT_REF]); in mqtt_connect_task() 289 JS_FreeValue(ctx, js_cb_ref); in native_mqtt_start()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/startup/ |
A D | quickjs_init.c | 339 JS_FreeValue(ctx, val); in qjs_std_dump_error1() 350 JS_FreeValue(ctx, exception_val); in qjs_std_dump_error() 374 JS_FreeValue(ctx, val); in jsengine_eval_file() 394 JS_FreeValue(ctx, val); in jsengine_exit()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/hardware/timer/ |
A D | module_timer.c | 89 JS_FreeValue(ctx, js_id); in native_timer_open() 110 JS_FreeValue(ctx, v); in native_timer_timeout_handler() 111 JS_FreeValue(ctx, val); in native_timer_timeout_handler() 215 JS_FreeValue(ctx, value); in native_timer_interval_handler() 216 JS_FreeValue(ctx, val); in native_timer_interval_handler()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/libc/ |
A D | quickjs_libc.c | 592 JS_FreeValue(ctx, meta_obj); in js_module_set_import_meta() 686 JS_FreeValue(ctx, val); in get_bool_option() 858 JS_FreeValue(ctx, obj); in js_new_std_file() 2178 JS_FreeValue(ctx, obj); in js_os_setTimeout() 2213 JS_FreeValue(ctx, func1); in call_handler() 2217 JS_FreeValue(ctx, ret); in call_handler() 3006 JS_FreeValue(ctx, val); in js_os_exec() 3539 JS_FreeValue(ctx, retval); in worker_func() 3566 JS_FreeValue(ctx, proto); in js_worker_ctor_internal() 3580 JS_FreeValue(ctx, obj); in js_worker_ctor_internal() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/systimer/ |
A D | module_systimer.c | 56 JS_FreeValue(ctx, value); in timer_action() 57 JS_FreeValue(ctx, val); in timer_action() 131 JS_FreeValue(ctx, t->js_cb_ref); in clear_timer()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/examples/ |
A D | point.c | 66 JS_FreeValue(ctx, proto); in js_point_ctor() 73 JS_FreeValue(ctx, obj); in js_point_ctor()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/repl/ |
A D | module_repl.c | 132 JS_FreeValue(ctx, val); in repl_read_notify() 176 JS_FreeValue(ctx, repl_js_cb_ref); in module_repl_source_clean()
|