Home
last modified time | relevance | path

Searched refs:valuetype0 (Results 1 – 10 of 10) sorted by relevance

/third_party/node/test/js-native-api/test_number/
Dtest_number.c13 napi_valuetype valuetype0; in Test() local
14 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in Test()
16 NODE_API_ASSERT(env, valuetype0 == napi_number, in Test()
35 napi_valuetype valuetype0; in TestUint32Truncation() local
36 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestUint32Truncation()
38 NODE_API_ASSERT(env, valuetype0 == napi_number, in TestUint32Truncation()
57 napi_valuetype valuetype0; in TestInt32Truncation() local
58 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestInt32Truncation()
60 NODE_API_ASSERT(env, valuetype0 == napi_number, in TestInt32Truncation()
79 napi_valuetype valuetype0; in TestInt64Truncation() local
[all …]
/third_party/node/test/js-native-api/test_array/
Dtest_array.c13 napi_valuetype valuetype0; in TestGetElement() local
14 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestGetElement()
16 NODE_API_ASSERT(env, valuetype0 == napi_object, in TestGetElement()
56 napi_valuetype valuetype0; in TestHasElement() local
57 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestHasElement()
59 NODE_API_ASSERT(env, valuetype0 == napi_object, in TestHasElement()
95 napi_valuetype valuetype0; in TestDeleteElement() local
96 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestDeleteElement()
97 NODE_API_ASSERT(env, valuetype0 == napi_object, in TestDeleteElement()
130 napi_valuetype valuetype0; in New() local
[all …]
/third_party/node/test/js-native-api/test_bigint/
Dtest_bigint.c39 napi_valuetype valuetype0; in TestInt64() local
40 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestInt64()
42 NODE_API_ASSERT(env, valuetype0 == napi_bigint, in TestInt64()
62 napi_valuetype valuetype0; in TestUint64() local
63 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestUint64()
65 NODE_API_ASSERT(env, valuetype0 == napi_bigint, in TestUint64()
86 napi_valuetype valuetype0; in TestWords() local
87 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestWords()
89 NODE_API_ASSERT(env, valuetype0 == napi_bigint, in TestWords()
/third_party/node/test/js-native-api/test_object/
Dtest_object.c16 napi_valuetype valuetype0; in Get() local
17 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in Get()
19 NODE_API_ASSERT(env, valuetype0 == napi_object, in Get()
230 napi_valuetype valuetype0; in Set() local
231 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in Set()
233 NODE_API_ASSERT(env, valuetype0 == napi_object, in Set()
292 napi_valuetype valuetype0; in Has() local
293 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in Has()
295 NODE_API_ASSERT(env, valuetype0 == napi_object, in Has()
356 napi_valuetype valuetype0; in HasOwn() local
[all …]
/third_party/node/test/js-native-api/2_function_arguments/
D2_function_arguments.c12 napi_valuetype valuetype0; in Add() local
13 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in Add()
18 NODE_API_ASSERT(env, valuetype0 == napi_number && valuetype1 == napi_number, in Add()
/third_party/node/test/js-native-api/test_typedarray/
Dtest_typedarray.c14 napi_valuetype valuetype0; in Multiply() local
15 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in Multiply()
17 NODE_API_ASSERT(env, valuetype0 == napi_object, in Multiply()
129 napi_valuetype valuetype0; in CreateTypedArray() local
130 NODE_API_CALL(env, napi_typeof(env, input_array, &valuetype0)); in CreateTypedArray()
132 NODE_API_ASSERT(env, valuetype0 == napi_object, in CreateTypedArray()
/third_party/node/test/js-native-api/3_callbacks/
D3_callbacks.c14 napi_valuetype valuetype0; in RunCallback() local
15 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in RunCallback()
16 NODE_API_ASSERT(env, valuetype0 == napi_function, in RunCallback()
/third_party/node/test/js-native-api/test_date/
Dtest_date.c12 napi_valuetype valuetype0; in createDate() local
13 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in createDate()
15 NODE_API_ASSERT(env, valuetype0 == napi_number, in createDate()
/third_party/node/test/js-native-api/test_dataview/
Dtest_dataview.c13 napi_valuetype valuetype0; in CreateDataView() local
16 NODE_API_CALL(env, napi_typeof(env, arraybuffer, &valuetype0)); in CreateDataView()
17 NODE_API_ASSERT(env, valuetype0 == napi_object, in CreateDataView()
/third_party/node/test/js-native-api/test_function/
Dtest_function.c63 napi_valuetype valuetype0; in TestCallFunction() local
64 NODE_API_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestCallFunction()
66 NODE_API_ASSERT(env, valuetype0 == napi_function, in TestCallFunction()