Home
last modified time | relevance | path

Searched refs:valuetype1 (Results 1 – 6 of 6) sorted by relevance

/third_party/node/test/js-native-api/test_array/
Dtest_array.c18 napi_valuetype valuetype1; in TestGetElement() local
19 NAPI_CALL(env, napi_typeof(env, args[1], &valuetype1)); in TestGetElement()
21 NAPI_ASSERT(env, valuetype1 == napi_number, in TestGetElement()
61 napi_valuetype valuetype1; in TestHasElement() local
62 NAPI_CALL(env, napi_typeof(env, args[1], &valuetype1)); in TestHasElement()
64 NAPI_ASSERT(env, valuetype1 == napi_number, in TestHasElement()
99 napi_valuetype valuetype1; in TestDeleteElement() local
100 NAPI_CALL(env, napi_typeof(env, args[1], &valuetype1)); in TestDeleteElement()
101 NAPI_ASSERT(env, valuetype1 == napi_number, in TestDeleteElement()
/third_party/node/test/js-native-api/test_object/
Dtest_object.c21 napi_valuetype valuetype1; in Get() local
22 NAPI_CALL(env, napi_typeof(env, args[1], &valuetype1)); in Get()
24 NAPI_ASSERT(env, valuetype1 == napi_string || valuetype1 == napi_symbol, in Get()
126 napi_valuetype valuetype1; in Set() local
127 NAPI_CALL(env, napi_typeof(env, args[1], &valuetype1)); in Set()
129 NAPI_ASSERT(env, valuetype1 == napi_string || valuetype1 == napi_symbol, in Set()
188 napi_valuetype valuetype1; in Has() local
189 NAPI_CALL(env, napi_typeof(env, args[1], &valuetype1)); in Has()
191 NAPI_ASSERT(env, valuetype1 == napi_string || valuetype1 == napi_symbol, in Has()
279 napi_valuetype valuetype1; in Delete() local
[all …]
/third_party/node/test/js-native-api/2_function_arguments/
D2_function_arguments.c14 napi_valuetype valuetype1; in Add() local
15 NAPI_CALL(env, napi_typeof(env, args[1], &valuetype1)); in Add()
17 NAPI_ASSERT(env, valuetype0 == napi_number && valuetype1 == napi_number, in Add()
/third_party/node/test/js-native-api/3_callbacks/
D3_callbacks.c18 napi_valuetype valuetype1; in RunCallback() local
19 NAPI_CALL(env, napi_typeof(env, args[1], &valuetype1)); in RunCallback()
20 NAPI_ASSERT(env, valuetype1 == napi_undefined, in RunCallback()
/third_party/node/test/js-native-api/test_typedarray/
Dtest_typedarray.c26 napi_valuetype valuetype1; in Multiply() local
27 NAPI_CALL(env, napi_typeof(env, args[1], &valuetype1)); in Multiply()
29 NAPI_ASSERT(env, valuetype1 == napi_number, in Multiply()
140 napi_valuetype valuetype1; in CreateTypedArray() local
142 NAPI_CALL(env, napi_typeof(env, input_buffer, &valuetype1)); in CreateTypedArray()
144 NAPI_ASSERT(env, valuetype1 == napi_object, in CreateTypedArray()
/third_party/node/test/js-native-api/test_dataview/
Dtest_dataview.c26 napi_valuetype valuetype1; in CreateDataView() local
27 NAPI_CALL(env, napi_typeof(env, args[1], &valuetype1)); in CreateDataView()
29 NAPI_ASSERT(env, valuetype1 == napi_number, in CreateDataView()