Lines Matching defs:desc
164 * @tc.desc: Test nativeBinding object type.
181 * @tc.desc: Test nativeBinding object type.
212 * @tc.desc: Test nativeBinding object type.
232 * @tc.desc: Test nativeBinding object type.
266 * @tc.desc: Test undefined type.
279 * @tc.desc: Test null type.
292 * @tc.desc: Test boolean type.
309 * @tc.desc: Test number type.
359 * @tc.desc: Test string type.
386 * @tc.desc: Test string type.
410 * @tc.desc: Test string type.
439 * @tc.desc: Test string type.
464 * @tc.desc: Test typetag type.
482 * @tc.desc: Test typetag type.
501 * @tc.desc: Test symbol type.
521 * @tc.desc: Test external type.
543 * @tc.desc: Test object type.
600 * @tc.desc: Test Object Type.
643 * @tc.desc: Test Object Type.
682 * @tc.desc: Test function type.
749 * @tc.desc: Test function type.
775 * @tc.desc: Test function type.
843 * @tc.desc: Test the second parameter as null
870 * @tc.desc: Test callfunction throw error
895 * @tc.desc: Test array type.
934 * @tc.desc: Test array buffer type.
956 * @tc.desc: Test typed array type.
999 * @tc.desc: Test data view type.
1038 * @tc.desc: Test promise type.
1088 * @tc.desc: Test promise type.
1149 * @tc.desc: Test error type.
1229 * @tc.desc: Test reference type.
1260 * @tc.desc: Test define class.
1294 napi_property_descriptor desc[] = {
1310 sizeof(desc) / sizeof(desc[0]), desc, &customClass));
1326 * @tc.desc: Test napi_create_map.
1348 * @tc.desc: Test napi_create_map.
1389 * @tc.desc: Test napi_create_map.
1435 * @tc.desc: Test napi_create_map.
1482 * @tc.desc: Test napi_create_map.
1522 * @tc.desc: Test napi_create_map.
1562 * @tc.desc: Test async work.
1609 * @tc.desc: Test async work.
1654 * @tc.desc: Test async work.
1679 * @tc.desc: Test async work.
1709 * @tc.desc: Test object wrapper.
1745 * @tc.desc: Test date type.
1768 * @tc.desc: Test create runtime.
1781 * @tc.desc: Test serialize & deserialize.
1809 * @tc.desc: Test serialize & deserialize.
1845 * @tc.desc: Test nativeBinding object type.
1891 * @tc.desc: Test nativeBinding object type.
1935 * @tc.desc: Test serialize & deserialize.
1963 * @tc.desc: Test serialize & deserialize.
1999 * @tc.desc: Test nativeBinding object type.
2045 * @tc.desc: Test nativeBinding object type.
2089 * @tc.desc: Test is callable.
2136 * @tc.desc: Test EncodeToUtf8 Func.
2210 * @tc.desc: Test wrap with size.
2248 * @tc.desc: Test create external with size.
2271 * @tc.desc: Test is big int64 array and big uint64 array.
2295 * @tc.desc: Test is CreateBuffer.
2313 * @tc.desc: Test is CreateBuffer.
2332 * @tc.desc: Test is CreateBuffer.
2349 * @tc.desc: Test is CreateBufferCopy.
2368 * @tc.desc: Test is DetachedArrayBuffer.
2395 * @tc.desc: Test is FreezeObject.
2464 * @tc.desc: Test is SealObject.
2544 * @tc.desc: Test is AllPropertyNames.
2609 * @tc.desc: Test is AllPropertyNames.
2696 * @tc.desc: Test is Chinese space character special character truncation.
2740 * @tc.desc: Test string type.
2761 * @tc.desc: Test string type.
2784 * @tc.desc: Test string type.
2805 * @tc.desc: Test string type.
2823 * @tc.desc: Test string length.
2842 * @tc.desc: Test string type.
2857 * @tc.desc: Test string type.
2876 * @tc.desc: Test string type.
2894 * @tc.desc: Test string length.
2913 * @tc.desc: Test string type.
2940 * @tc.desc: Test string type.
2967 * @tc.desc: Test string type.
2984 * @tc.desc: Test string type.
3004 * @tc.desc: Test string type.
3023 * @tc.desc: Test string type.
3041 * @tc.desc: Test string type.
3060 * @tc.desc: Test string type of str.
3089 * @tc.desc: Test string type of undefined.
3119 * @tc.desc: Test string type of null.
3149 * @tc.desc: Test string type of bool.
3179 * @tc.desc: Test string type of number.
3218 * @tc.desc: Test string type of bigint.
3255 * @tc.desc: Test string type of symbol.
3276 * @tc.desc: Test string type.
3290 * @tc.desc: Test instance type.
3384 * @tc.desc: Test napi_async_init, napi_async_destroy.
3406 * @tc.desc: Test napi_async_init with invalid arguments.
3423 * @tc.desc: Test napi_open_callback_scope, napi_close_callback_scope.
3465 * @tc.desc: Test napi_open_callback_scope, napi_close_callback_scope.
3543 * @tc.desc: Test napi_add_env_cleanup_hook
3558 * @tc.desc: Test napi_add_env_cleanup_hook
3572 * @tc.desc: Test napi_add_env_cleanup_hook
3586 * @tc.desc: Test napi_add_env_cleanup_hook
3599 * @tc.desc: Test napi_add_env_cleanup_hook
3615 * @tc.desc: Test napi_add_env_cleanup_hook
3630 * @tc.desc: Test napi_add_env_cleanup_hook
3646 * @tc.desc: Test napi_add_env_cleanup_hook napi_remove_env_cleanup_hook
3662 * @tc.desc: Test napi_add_env_cleanup_hook napi_remove_env_cleanup_hook
3680 * @tc.desc: Test napi_add_env_cleanup_hook napi_remove_env_cleanup_hook
3698 * @tc.desc: Test napi_add_env_cleanup_hook napi_remove_env_cleanup_hook
3716 * @tc.desc: Test napi_add_env_cleanup_hook napi_remove_env_cleanup_hook
3735 * @tc.desc: Test napi_add_env_cleanup_hook napi_remove_env_cleanup_hook
3801 * @tc.desc: Test napi_add_async_cleanup_hook
3821 * @tc.desc: Test napi_add_async_cleanup_hook
3841 * @tc.desc: Test napi_add_async_cleanup_hook napi_remove_async_cleanup_hook
3857 * @tc.desc: Test napi_add_async_cleanup_hook
3872 * @tc.desc: Test napi_add_async_cleanup_hook
3887 * @tc.desc: Test napi_add_async_cleanup_hook napi_remove_async_cleanup_hook
3913 * @tc.desc: Test napi_add_async_cleanup_hook
3942 * @tc.desc: Test napi_add_async_cleanup_hook
3981 * @tc.desc: Test napi_add_async_cleanup_hook napi_remove_async_cleanup_hook
4004 * @tc.desc: Test napi_remove_async_cleanup_hook
4016 * @tc.desc: Test napi_add_async_cleanup_hook napi_remove_async_cleanup_hook
4046 * @tc.desc: Test node_api_get_module_file_name.
4061 * @tc.desc: Test async work.
4109 * @tc.desc: Test napi_create_object_with_properteis.
4166 * @tc.desc: Test napi_create_object_with_named_properteis.
4223 * @tc.desc: Test napi_load_module_with_info with nullptr env.
4236 * @tc.desc: Test napi_load_module_with_info with nullptr result.
4249 * @tc.desc: Test napi_run_event_loop with nullptr env.
4260 * @tc.desc: Test napi_run_event_loop with nullptr env.
4271 * @tc.desc: Test napi_run_event_loop with nullptr loop
4286 * @tc.desc: Test napi_run_event_loop with nullptr loop
4301 * @tc.desc: Test napi_run_event_loop with main thread.
4315 * @tc.desc: Test napi_run_event_loop with main thread.
4329 * @tc.desc: Test napi_run_event_loop with worker thread.
4345 * @tc.desc: Test napi_run_event_loop with worker thread.
4361 * @tc.desc: Test napi_run_event_loop with taskpool thread.
4377 * @tc.desc: Test napi_run_event_loop with taskpool thread.
4393 * @tc.desc: Test napi_stop_event_loop with nullptr env.
4404 * @tc.desc: Test napi_stop_event_loop with nullptr loop.
4419 * @tc.desc: Test napi_stop_event_loop with main thread.
4433 * @tc.desc: Test napi_stop_event_loop with worker thread.
4449 * @tc.desc: Test napi_stop_event_loop with taskpool thread.
4465 * @tc.desc: Test napi_stop_event_loop before running the loop.
4480 * @tc.desc: Test napi_run_event_loop with multiple threads.
4526 * @tc.desc: Test interface of napi_fatal_exception
4555 * @tc.desc: Test interface of napi_fatal_exception
4575 * @tc.desc: Test interface of napi_fatal_exception
4590 * @tc.desc: Test interface of napi_coerce_to_bool
4614 * @tc.desc: Test interface of napi_coerce_to_bool
4631 * @tc.desc: Test interface of napi_coerce_to_bool
4649 * @tc.desc: Test interface of napi_coerce_to_bool
5570 napi_property_descriptor desc[] = {
5576 napi_status status = napi_define_properties(env, result, sizeof(desc)/sizeof(desc[0]), desc);
5583 napi_property_descriptor *desc = nullptr;
5587 napi_status status = napi_define_properties(env, result, INT_ONE, desc);
5594 napi_property_descriptor desc[] = {
5601 napi_status status = napi_define_properties(env, result, INT_ONE, desc);
5608 napi_property_descriptor desc[] = {
5615 napi_status status = napi_define_properties(env, result, INT_ONE, desc);
5624 napi_property_descriptor desc[] = {
5631 napi_status status = napi_define_properties(env, result, INT_ONE, desc);
6896 napi_property_descriptor desc[] = {
6901 napi_status status = napi_create_sendable_object_with_properties(env, 1, desc, result);
7059 * @tc.desc: Test interface of napi_module_register
7070 * @tc.desc: Test interface of napi_get_last_error_info
7085 * @tc.desc: Test interface of napi_throw
7100 * @tc.desc: Test interface of napi_throw_error
7115 * @tc.desc: Test interface of napi_throw_type_error
7130 * @tc.desc: Test interface of napi_throw_range_error
7145 * @tc.desc: Test interface of napi_is_error
7170 * @tc.desc: Test interface of napi_is_error
7185 * @tc.desc: Test interface of napi_is_error
7201 * @tc.desc: Test interface of napi_is_error
7225 * @tc.desc: Test interface of napi_create_error
7245 * @tc.desc: Test interface of napi_create_error
7263 * @tc.desc: Test interface of napi_create_error
7283 * @tc.desc: Test interface of napi_create_error
7297 * @tc.desc: Test interface of napi_create_type_error
7317 * @tc.desc: Test interface of napi_create_type_error
7335 * @tc.desc: Test interface of napi_create_type_error
7355 * @tc.desc: Test interface of napi_create_type_error
7369 * @tc.desc: Test interface of napi_create_range_error
7389 * @tc.desc: Test interface of napi_create_range_error
7407 * @tc.desc: Test interface of napi_create_range_error
7427 * @tc.desc: Test interface of napi_create_range_error
7441 * @tc.desc: Test interface of napi_get_and_clear_last_exception
7454 * @tc.desc: Test interface of napi_is_exception_pending
7468 * @tc.desc: Test interface of napi_open_handle_scope
7482 * @tc.desc: Test interface of napi_close_handle_scope
7496 * @tc.desc: Test interface of napi_close_handle_scope
7512 * @tc.desc: Test interface of napi_close_handle_scope
7530 * @tc.desc: Test interface of napi_open_escapable_handle_scope
7544 * @tc.desc: Test interface of napi_close_escapable_handle_scope
7558 * @tc.desc: Test interface of napi_close_escapable_handle_scope
7575 * @tc.desc: Test interface of napi_close_escapable_handle_scope
7593 * @tc.desc: Test interface of napi_escape_handle
7614 * @tc.desc: Test interface of napi_escape_handle
7636 * @tc.desc: Test interface of napi_escape_handle
7657 * @tc.desc: Test interface of napi_escape_handle
7676 * @tc.desc: Test interface of napi_escape_handle
7690 * @tc.desc: Test interface of napi_create_reference
7709 * @tc.desc: Test interface of napi_create_reference
7726 * @tc.desc: Test interface of napi_create_reference
7740 * @tc.desc: Test interface of napi_delete_reference
7754 * @tc.desc: Test interface of napi_delete_reference
7773 * @tc.desc: Test interface of napi_reference_ref
7787 * @tc.desc: Test interface of napi_reference_unref
7801 * @tc.desc: Test interface of napi_get_reference_value
7815 * @tc.desc: Test interface of napi_get_reference_value
7835 * @tc.desc: Test interface of napi_get_reference_value
7857 * @tc.desc: Test interface of napi_create_array
7871 * @tc.desc: Test interface of napi_create_array
7885 * @tc.desc: Test interface of napi_create_array_with_length
7900 * @tc.desc: Test interface of napi_create_array_with_length
7914 * @tc.desc: Test interface of napi_create_arraybuffer
7931 * @tc.desc: Test interface of napi_create_arraybuffer
7946 * @tc.desc: Test interface of napi_create_arraybuffer
7962 * @tc.desc: Test interface of napi_create_external
7979 * @tc.desc: Test interface of napi_create_external
7997 * @tc.desc: Test interface of napi_create_external_arraybuffer
8014 * @tc.desc: Test interface of napi_create_external_arraybuffer
8031 * @tc.desc: Test interface of napi_create_external_arraybuffer
8048 * @tc.desc: Test interface of napi_create_external_arraybuffer
8066 * @tc.desc: Test interface of napi_create_object
8083 * @tc.desc: Test interface of napi_create_symbol
8097 * @tc.desc: Test interface of napi_create_symbol
8115 * @tc.desc: Test interface of napi_create_typedarray
8133 * @tc.desc: Test interface of napi_create_typedarray
8150 * @tc.desc: Test interface of napi_create_typedarray
8171 * @tc.desc: Test interface of napi_create_dataview
8189 * @tc.desc: Test interface of napi_create_dataview
8206 * @tc.desc: Test interface of napi_create_dataview
8231 * @tc.desc: Test interface of napi_create_int32
8245 * @tc.desc: Test interface of napi_create_int32
8260 * @tc.desc: Test interface of napi_create_uint32
8274 * @tc.desc: Test interface of napi_create_uint32
8289 * @tc.desc: Test interface of napi_create_int64
8303 * @tc.desc: Test interface of napi_create_int64
8318 * @tc.desc: Test interface of napi_create_double
8332 * @tc.desc: Test interface of napi_create_double
8347 * @tc.desc: Test interface of napi_create_string_latin1
8361 * @tc.desc: Test interface of napi_create_string_latin1
8375 * @tc.desc: Test interface of napi_create_string_utf8
8389 * @tc.desc: Test interface of napi_create_string_utf8
8403 * @tc.desc: Test interface of napi_create_string_utf16
8417 * @tc.desc: Test interface of napi_create_string_utf16
8431 * @tc.desc: Test interface of napi_create_string_utf16
8446 * @tc.desc: Test interface of napi_get_array_length
8460 * @tc.desc: Test interface of napi_get_array_length
8477 * @tc.desc: Test interface of napi_get_arraybuffer_info
8491 * @tc.desc: Test interface of napi_get_arraybuffer_info
8508 * @tc.desc: Test interface of napi_get_prototype
8522 * @tc.desc: Test interface of napi_get_prototype
8539 * @tc.desc: Test interface of napi_get_typedarray_info
8553 * @tc.desc: Test interface of napi_get_typedarray_info
8569 * @tc.desc: Test interface of napi_get_dataview_info
8583 * @tc.desc: Test interface of napi_get_dataview_info
8599 * @tc.desc: Test interface of napi_get_value_bool
8613 * @tc.desc: Test interface of napi_get_value_bool
8631 * @tc.desc: Test interface of napi_get_value_double
8645 * @tc.desc: Test interface of napi_get_value_double
8662 * @tc.desc: Test interface of napi_get_value_external
8676 * @tc.desc: Test interface of napi_get_value_external
8693 * @tc.desc: Test interface of napi_get_value_int32
8707 * @tc.desc: Test interface of napi_get_value_int32
8724 * @tc.desc: Test interface of napi_get_value_int64
8738 * @tc.desc: Test interface of napi_get_value_int64
8755 * @tc.desc: Test interface of napi_get_value_string_latin1
8769 * @tc.desc: Test interface of napi_get_value_string_latin1
8785 * @tc.desc: Test interface of napi_get_value_string_latin1
8805 * @tc.desc: Test interface of napi_get_value_string_utf8
8819 * @tc.desc: Test interface of napi_get_value_string_utf8
8835 * @tc.desc: Test interface of napi_get_value_string_utf8
8855 * @tc.desc: Test interface of napi_get_value_string_utf16
8869 * @tc.desc: Test interface of napi_get_value_string_utf16
8885 * @tc.desc: Test interface of napi_get_value_string_utf16
8905 * @tc.desc: Test interface of napi_get_value_uint32
8919 * @tc.desc: Test interface of napi_get_value_uint32
8936 * @tc.desc: Test interface of napi_get_boolean
8954 * @tc.desc: Test interface of napi_get_global
8968 * @tc.desc: Test interface of napi_get_null
8982 * @tc.desc: Test interface of napi_get_undefined
8996 * @tc.desc: Test interface of napi_object_freeze
9010 * @tc.desc: Test interface of napi_object_freeze
9026 * @tc.desc: Test interface of napi_object_seal
9040 * @tc.desc: Test interface of napi_object_seal
9056 * @tc.desc: Test interface of napi_get_all_property_names
9071 * @tc.desc: Test interface of napi_get_all_property_names
9088 * @tc.desc: Test interface of napi_get_all_property_names
9106 * @tc.desc: Test interface of napi_get_all_property_names
9124 * @tc.desc: Test interface of napi_get_all_property_names
9142 * @tc.desc: Test interface of napi_detach_arraybuffer
9156 * @tc.desc: Test interface of napi_detach_arraybuffer
9172 * @tc.desc: Test interface of napi_detach_arraybuffer
9188 * @tc.desc: Test interface of napi_is_detached_arraybuffer
9202 * @tc.desc: Test interface of napi_is_detached_arraybuffer
9221 * @tc.desc: Test interface of napi_set_instance_data
9232 * @tc.desc: Test interface of napi_get_instance_data
9246 * @tc.desc: Test interface of napi_add_env_cleanup_hook
9257 * @tc.desc: Test interface of napi_add_env_cleanup_hook
9271 * @tc.desc: Test interface of napi_remove_env_cleanup_hook
9282 * @tc.desc: Test interface of napi_remove_env_cleanup_hook
9296 * @tc.desc: Test interface of napi_add_async_cleanup_hook
9307 * @tc.desc: Test interface of napi_add_async_cleanup_hook
9321 * @tc.desc: Test interface of napi_remove_async_cleanup_hook
9332 * @tc.desc: Test interface of node_api_get_module_file_name
9343 * @tc.desc: Test interface of node_api_get_module_file_name
9357 * @tc.desc: Test interface of napi_add_finalizer
9368 * @tc.desc: Test interface of napi_add_finalizer
9382 * @tc.desc: Test interface of napi_add_finalizer
9398 * @tc.desc: Test interface of napi_add_finalizer
9414 * @tc.desc: Test interface of napi_queue_async_work_with_qos
9425 * @tc.desc: Test interface of napi_queue_async_work_with_qos
9439 * @tc.desc: Test interface of napi_queue_async_work_with_qos
9470 * @tc.desc: Test interface of napi_run_script_path
9481 * @tc.desc: Test interface of napi_run_script_path
9495 * @tc.desc: Test interface of napi_run_script_path
9510 * @tc.desc: Test interface of napi_load_module
9521 * @tc.desc: Test interface of napi_load_module
9535 * @tc.desc: Test interface of napi_load_module
9550 * @tc.desc: Test interface of napi_create_object_with_properties
9561 * @tc.desc: Test interface of napi_create_object_with_properties
9575 * @tc.desc: Test interface of napi_create_object_with_named_properties
9586 * @tc.desc: Test interface of napi_create_object_with_named_properties
9600 * @tc.desc: Test interface of napi_coerce_to_native_binding_object
9611 * @tc.desc: Test interface of napi_coerce_to_native_binding_object
9625 * @tc.desc: Test interface of napi_coerce_to_native_binding_object
9641 * @tc.desc: Test interface of napi_coerce_to_native_binding_object
9657 * @tc.desc: Test interface of napi_coerce_to_native_binding_object
9674 * @tc.desc: Test interface of napi_coerce_to_native_binding_object
9691 * @tc.desc: Test interface of napi_create_ark_runtime
9702 * @tc.desc: Test interface of napi_create_ark_runtime
9716 * @tc.desc: Test interface of napi_destroy_ark_runtime
9727 * @tc.desc: Test interface of napi_destroy_ark_runtime
9741 * @tc.desc: Test interface of napi_run_event_loop
9752 * @tc.desc: Test interface of napi_run_event_loop
9766 * @tc.desc: Test interface of napi_stop_event_loop
9777 * @tc.desc: Test interface of napi_load_module_with_info
9788 * @tc.desc: Test interface of napi_load_module_with_info
9802 * @tc.desc: Test interface of napi_load_module_with_info
9817 * @tc.desc: Test interface of napi_serialize
9828 * @tc.desc: Test interface of napi_serialize
9842 * @tc.desc: Test interface of napi_serialize
9858 * @tc.desc: Test interface of napi_serialize
9876 * @tc.desc: Test interface of napi_serialize
9894 * @tc.desc: Test interface of napi_serialize
9913 * @tc.desc: Test interface of napi_serialize
9934 * @tc.desc: Test interface of napi_serialize
9953 * @tc.desc: Test interface of napi_encode
9986 * @tc.desc: Test interface of napi_encode