Lines Matching defs:result
155 napi_value result = nullptr;
156 ASSERT_CHECK_CALL(napi_create_string_utf16(env, testStr, testStrLength, &result));
157 ASSERT_CHECK_VALUE_TYPE(env, result, napi_string);
162 ASSERT_CHECK_CALL(napi_get_value_string_utf16(env, result, nullptr, 0, &bufferSize));
165 ASSERT_CHECK_CALL(napi_get_value_string_utf16(env, result, buffer, bufferSize + 1, &strLength));
175 ASSERT_CHECK_CALL(napi_get_value_string_utf16(env, result, bufferShort, bufferShortSize, &strLength));
204 napi_value result = nullptr;
206 ASSERT_CHECK_CALL(napi_create_bigint_uint64(env, testValue, &result));
207 ASSERT_CHECK_VALUE_TYPE(env, result, napi_bigint);
210 ASSERT_CHECK_CALL(napi_get_value_bigint_uint64(env, result, &resultValue, &flag));
216 napi_value result = nullptr;
217 ASSERT_CHECK_CALL(napi_create_bigint_uint64(env, testValue, &result));
218 ASSERT_CHECK_VALUE_TYPE(env, result, napi_bigint);
221 ASSERT_CHECK_CALL(napi_get_value_bigint_uint64(env, result, &resultValue, &flag));
227 napi_value result = nullptr;
228 ASSERT_CHECK_CALL(napi_create_bigint_uint64(env, testValue, &result));
229 ASSERT_CHECK_VALUE_TYPE(env, result, napi_bigint);
232 ASSERT_CHECK_CALL(napi_get_value_bigint_uint64(env, result, &resultValue, &flag));
244 napi_value result = nullptr;
246 ASSERT_CHECK_CALL(napi_create_bigint_int64(env, testValue, &result));
247 ASSERT_CHECK_VALUE_TYPE(env, result, napi_bigint);
250 ASSERT_CHECK_CALL(napi_get_value_bigint_int64(env, result, &resultValue, &flag));
256 napi_value result = nullptr;
257 ASSERT_CHECK_CALL(napi_create_bigint_int64(env, testValue, &result));
258 ASSERT_CHECK_VALUE_TYPE(env, result, napi_bigint);
261 ASSERT_CHECK_CALL(napi_get_value_bigint_int64(env, result, &resultValue, &flag));
267 napi_value result = nullptr;
268 ASSERT_CHECK_CALL(napi_create_bigint_int64(env, testValue, &result));
269 ASSERT_CHECK_VALUE_TYPE(env, result, napi_bigint);
272 ASSERT_CHECK_CALL(napi_get_value_bigint_int64(env, result, &resultValue, &flag));
285 napi_value result = nullptr;
286 ASSERT_CHECK_CALL(napi_create_bigint_words(env, signBit, wordCount, words, &result));
288 ASSERT_CHECK_CALL(napi_get_value_bigint_words(env, result, &signBit, &wordCount, wordsOut));
305 napi_value result = nullptr;
306 ASSERT_CHECK_CALL(napi_create_bigint_words(env, signBit, wordCount, words, &result));
308 ASSERT_CHECK_CALL(napi_get_value_bigint_words(env, result, &signBit, &wordCount, wordsOut));
324 napi_value result = nullptr;
325 ASSERT_CHECK_CALL(napi_create_bigint_words(env, signBit, wordCount, words, &result));
327 ASSERT_CHECK_CALL(napi_get_value_bigint_words(env, result, &signBit, &wordCount, wordsOut));
344 napi_value result = nullptr;
345 ASSERT_CHECK_CALL(napi_create_bigint_words(env, signBit, wordCount, words, &result));
347 ASSERT_CHECK_CALL(napi_get_value_bigint_words(env, result, &signBit, &wordCount, wordsOut));
384 bool result = false;
386 result = true;
388 ASSERT_TRUE(result);
399 bool result = false;
401 ASSERT_CHECK_CALL(napi_is_date(env, createResult, &result));
403 ASSERT_TRUE(result);
647 napi_value result, js_cb;
660 NAPI_CALL(env, napi_create_object(env, &result));
661 NAPI_CALL(env, napi_add_finalizer(env, result, NULL, TestFinalizer, NULL, NULL));