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.c11 napi_valuetype valuetype0; in Test() local
12 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in Test()
14 NAPI_ASSERT(env, valuetype0 == napi_number, in Test()
33 napi_valuetype valuetype0; in TestUint32Truncation() local
34 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestUint32Truncation()
36 NAPI_ASSERT(env, valuetype0 == napi_number, in TestUint32Truncation()
55 napi_valuetype valuetype0; in TestInt32Truncation() local
56 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestInt32Truncation()
58 NAPI_ASSERT(env, valuetype0 == napi_number, in TestInt32Truncation()
77 napi_valuetype valuetype0; in TestInt64Truncation() local
[all …]
/third_party/node/test/js-native-api/test_array/
Dtest_array.c12 napi_valuetype valuetype0; in TestGetElement() local
13 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestGetElement()
15 NAPI_ASSERT(env, valuetype0 == napi_object, in TestGetElement()
55 napi_valuetype valuetype0; in TestHasElement() local
56 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestHasElement()
58 NAPI_ASSERT(env, valuetype0 == napi_object, in TestHasElement()
94 napi_valuetype valuetype0; in TestDeleteElement() local
95 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestDeleteElement()
96 NAPI_ASSERT(env, valuetype0 == napi_object, in TestDeleteElement()
129 napi_valuetype valuetype0; in New() local
[all …]
/third_party/node/test/js-native-api/test_bigint/
Dtest_bigint.c38 napi_valuetype valuetype0; in TestInt64() local
39 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestInt64()
41 NAPI_ASSERT(env, valuetype0 == napi_bigint, in TestInt64()
61 napi_valuetype valuetype0; in TestUint64() local
62 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestUint64()
64 NAPI_ASSERT(env, valuetype0 == napi_bigint, in TestUint64()
85 napi_valuetype valuetype0; in TestWords() local
86 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestWords()
88 NAPI_ASSERT(env, valuetype0 == napi_bigint, in TestWords()
/third_party/node/test/js-native-api/test_object/
Dtest_object.c15 napi_valuetype valuetype0; in Get() local
16 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in Get()
18 NAPI_ASSERT(env, valuetype0 == napi_object, in Get()
120 napi_valuetype valuetype0; in Set() local
121 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in Set()
123 NAPI_ASSERT(env, valuetype0 == napi_object, in Set()
182 napi_valuetype valuetype0; in Has() local
183 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in Has()
185 NAPI_ASSERT(env, valuetype0 == napi_object, in Has()
246 napi_valuetype valuetype0; in HasOwn() local
[all …]
/third_party/node/test/js-native-api/2_function_arguments/
D2_function_arguments.c11 napi_valuetype valuetype0; in Add() local
12 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in Add()
17 NAPI_ASSERT(env, valuetype0 == napi_number && valuetype1 == napi_number, in Add()
/third_party/node/test/js-native-api/test_typedarray/
Dtest_typedarray.c13 napi_valuetype valuetype0; in Multiply() local
14 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in Multiply()
16 NAPI_ASSERT(env, valuetype0 == napi_object, in Multiply()
128 napi_valuetype valuetype0; in CreateTypedArray() local
129 NAPI_CALL(env, napi_typeof(env, input_array, &valuetype0)); in CreateTypedArray()
131 NAPI_ASSERT(env, valuetype0 == napi_object, in CreateTypedArray()
/third_party/node/test/js-native-api/3_callbacks/
D3_callbacks.c13 napi_valuetype valuetype0; in RunCallback() local
14 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in RunCallback()
15 NAPI_ASSERT(env, valuetype0 == napi_function, in RunCallback()
/third_party/node/test/js-native-api/test_date/
Dtest_date.c11 napi_valuetype valuetype0; in createDate() local
12 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in createDate()
14 NAPI_ASSERT(env, valuetype0 == napi_number, in createDate()
/third_party/node/test/js-native-api/test_dataview/
Dtest_dataview.c12 napi_valuetype valuetype0; in CreateDataView() local
15 NAPI_CALL(env, napi_typeof(env, arraybuffer, &valuetype0)); in CreateDataView()
16 NAPI_ASSERT(env, valuetype0 == napi_object, in CreateDataView()
/third_party/node/test/js-native-api/test_function/
Dtest_function.c62 napi_valuetype valuetype0; in TestCallFunction() local
63 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestCallFunction()
65 NAPI_ASSERT(env, valuetype0 == napi_function, in TestCallFunction()