/test/xts/acts/multimedia/media/media_js_standard/avplayeraudiondk/entry/src/main/cpp/ |
H A D | AudioPlayerNDK.cpp | 39 OH_AVErrCode result1 = OH_AVPlayer_SetURLSource(player, path); in PlayerStateSetURLSource() local 43 if (result1 == AV_ERR_OK && result2 == AV_ERR_OK) { in PlayerStateSetURLSource() 55 OH_AVErrCode result1 = OH_AVPlayer_SetURLSource(player, path); in PlayerStatePrepare() local 61 if (result1 == AV_ERR_OK && result2 == AV_ERR_OK) { in PlayerStatePrepare() 74 OH_AVErrCode result1 = OH_AVPlayer_SetURLSource(player, path); in PlayerStatePlayer() local 81 if (result1 == AV_ERR_OK && result2 == AV_ERR_OK && result3 == AV_ERR_OK) { in PlayerStatePlayer() 94 OH_AVErrCode result1 = OH_AVPlayer_SetURLSource(player, path); in PlayerStatePause() local 102 if (result1 == AV_ERR_OK && result2 == AV_ERR_OK && result3 == AV_ERR_OK && result4 == AV_ERR_OK) { in PlayerStatePause() 115 OH_AVErrCode result1 = OH_AVPlayer_SetURLSource(player, path); in PlayerStateStop() local 121 if (result1 in PlayerStateStop() 133 OH_AVErrCode result1 = OH_AVPlayer_SetURLSource(player, path); PlayerStateReset() local 153 OH_AVErrCode result1 = OH_AVPlayer_SetURLSource(player, path); PlayerStateSetvolume() local 173 OH_AVErrCode result1 = OH_AVPlayer_SetURLSource(player, path); PlayerStateSeek() local 194 OH_AVErrCode result1 = OH_AVPlayer_SetURLSource(player, path); PlayerStateGetCurrentTime() local 219 OH_AVErrCode result1 = OH_AVPlayer_SetPlaybackSpeed(player, AV_SPEED_FORWARD_0_75_X); PlayerStateSetSpeed() local 238 OH_AVErrCode result1 = OH_AVPlayer_SetURLSource(player, path); PlayerStateGetSpeed() local 262 bool result1 = OH_AVPlayer_IsPlaying(player); PlayerStateIsPlaying() local 283 OH_AVErrCode result1 = OH_AVPlayer_GetDuration(player, &duration); PlayerStateGetDuration() local 304 OH_AVErrCode result1 = OH_AVPlayer_SetLooping(player, loop); PlayerStateLoop() local 327 OH_AVErrCode result1 = OH_AVPlayer_SetPlaybackSpeed(player, AV_SPEED_FORWARD_1_25_X); PlayerStateSetSpeed_1_25_X() local 348 OH_AVErrCode result1 = OH_AVPlayer_SetPlaybackSpeed(player, AV_SPEED_FORWARD_1_75_X); PlayerStateSetSpeed_1_75_X() local 369 OH_AVErrCode result1 = OH_AVPlayer_SetPlaybackSpeed(player, AV_SPEED_FORWARD_2_00_X); PlayerStateSetSpeed_2_00_X() local [all...] |
/test/xts/acts/graphic/nativewindow/entry/src/main/cpp/ |
H A D | nativewindow1.cpp | 68 struct result result1;
in InitNativeWindow() local 72 result1.image = _image;
in InitNativeWindow() 74 result1.nativeWindow = _nativeWindow;
in InitNativeWindow() 76 result1.width_ = 0x100;
in InitNativeWindow() 77 result1.height_ = 0x100;
in InitNativeWindow() 78 int32_t ret = OH_NativeWindow_NativeWindowHandleOpt(_nativeWindow, code, result1.width_, result1.height_);
in InitNativeWindow() 82 return result1;
in InitNativeWindow() 380 struct result result1 = InitNativeWindow();
in testNativeWindowNativeWindowAbortBufferNullptr() local 381 OH_NativeImage *image = result1 in testNativeWindowNativeWindowAbortBufferNullptr() 408 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowRequestAbortBufferNormal() local 440 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowRequestAbortBufferAbnormal() local 477 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowRequestBufferFenceFdNormal() local 508 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowRequestBufferFenceFdAbnormal() local 537 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowRequestAbortBufferMax() local 567 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowRequestAbortBufferErrorCode() local 610 struct result result1 = InitNativeWindow(); testNativeWindowWriteToParcelErrptr() local 725 struct result result1 = InitNativeWindow(); testNativeWindowReadFromParcelAbNormal() local 751 struct result result1, result2; testNativeWindowWRParcelDifferent() local 791 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowFlushBufferNullptr() local 829 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowFlushBufferNormal() local 870 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowFlushBufferAbnormal() local 899 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowFlushBufferErrorCode() local 939 struct result result1 = InitNativeWindow(); testNativeWindowGetLastFlushedBufferV2Nullptr() local 968 struct result result1 = InitNativeWindow(); testNativeWindowGetLastFlushedBufferNullptr() local 996 struct result result1 = InitNativeWindow(); testNativeWindowGetLastFlushedBufferV2Normal() local 1025 struct result result1 = InitNativeWindow(); testNativeWindowGetLastFlushedBufferNormal() local 1055 struct result result1 = InitNativeWindow(); testNativeWindowSetBufferHold() local 1083 struct result result1 = InitNativeWindow(); testNativeWindowGetNativeObjectMagicNormal() local 1152 struct result result1 = InitNativeWindow(); testNativeWindowNativeObjectReferenceNormal() local 1202 struct result result1 = InitNativeWindow(); testNativeWindowNativeObjectUnreferenceNormal() local 1231 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowAttachBufferNullptr() local 1259 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowDetachBufferNullptr() local 1288 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowDetachBufferNormal() local 1323 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowAttachBufferErrorCode() local 1356 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowAttachBufferNormal() local 1397 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowDetachBufferErrorCode() local 1434 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowAtDetachDifferentBufferNormal() local 1543 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowAtDetachDifferentBufferAbnormal() local 1605 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetBufferGeometryNormal() local [all...] |
H A D | nativewindow2.cpp | 82 struct result result1;
in InitNativeWindow() local 86 result1.image = _image;
in InitNativeWindow() 88 result1.nativeWindow = _nativeWindow;
in InitNativeWindow() 96 return result1;
in InitNativeWindow() 108 struct result result1 = InitNativeWindow();
in testNativeWindowNativeWindowHandleOptSetGetFormatNormal() local 109 OH_NativeImage *image = result1.image;
in testNativeWindowNativeWindowHandleOptSetGetFormatNormal() 110 OHNativeWindow *nativeWindow = result1.nativeWindow;
in testNativeWindowNativeWindowHandleOptSetGetFormatNormal() 154 struct result result1 = InitNativeWindow();
in testNativeWindowNativeWindowHandleOptSetGetFormatAbnormal() local 155 OH_NativeImage *image = result1.image;
in testNativeWindowNativeWindowHandleOptSetGetFormatAbnormal() 156 OHNativeWindow *nativeWindow = result1 in testNativeWindowNativeWindowHandleOptSetGetFormatAbnormal() 202 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetUsageNormal() local 235 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetUsageAbnormal() local 285 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetStrideNormal() local 318 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetStrideAbnormal() local 365 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetSwapIntervalNormal() local 399 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetSwapIntervalAbnormal() local 446 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetColorGamutNormal() local 479 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetColorGamutAbnormal() local 526 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetTransformNormal() local 559 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetTransformAbnormal() local 606 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetUiTimeStampNormal() local 628 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetUiTimeStampAbnormal() local 663 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptGetBufferQueueSize() local 688 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetHdrWhitePointBrightnessNormal() local 712 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetHdrWhitePointBrightnessAbnormal() local 745 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetSdrWhitePointBrightnessNormal() local 769 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetSdrWhitePointBrightnessAbnormal() local 801 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetSourceTypeNormal() local 835 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetSourceTypeAbnormal() local 888 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetAppFrameworkTypeNormal() local 923 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetGetAppFrameworkTypeAbnormal() local 953 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowSetSetScalingModeV2Nullptr() local 977 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowSetScalingModeV2ScalingMode() local 1001 struct result result1 = InitNativeWindow(); testNativeWindowGetColorSpaceFirst() local 1030 struct result result1 = InitNativeWindow(); testNativeWindowSetColorSpaceNormal() local 1084 struct result result1 = InitNativeWindow(); testNativeWindowSetColorSpaceAbnormal() local 1123 struct result result1 = InitNativeWindow(); testNativeWindowGetMetadataValueFirst() local 1286 struct result result1 = InitNativeWindow(); testNativeWindowSetDynamicMetadataValue() local 1323 struct result result1 = InitNativeWindow(); testNativeWindowSetMetadataValueTimes() local 1518 struct result result1 = InitNativeWindow(); testNativeWindowSetStaticMetadataValue() local 1702 struct result result1 = InitNativeWindow(); testNativeWindowSetMetadataValue() local 1739 struct result result1 = InitNativeWindow(); testNativeWindowSetNullMetadataValue() local 1761 struct result result1 = InitNativeWindow(); testNativeWindowSetMetadataValueNullptr() local 1787 struct result result1 = InitNativeWindow(); testNativeWindowGetMetadataValueAbnormal() local 1812 struct result result1 = InitNativeWindow(); testNativeWindowGetMetadataValueNullptr() local 1854 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetDesiredPresentTimeStampNormal() local 1876 struct result result1 = InitNativeWindow(); testNativeWindowNativeWindowHandleOptSetDesiredPresentTimeStampAbNormal() local [all...] |
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/test/ |
H A D | testLockFreeQueue.cpp | 65 int result1; member in TestLockFreeQueue 72 bool result = q.pop(result1); in TEST_F() 78 bool result = q.pop(result1); in TEST_F() 84 q.pop(result1); in TEST_F() 85 ASSERT_EQ(result1, 123); in TEST_F() 91 q.pop(result1); in TEST_F() 93 ASSERT_EQ(result1, 123); in TEST_F() 110 q.pop(result1); in TEST_F() 119 ASSERT_EQ(q.peek(result1), false); in TEST_F() 124 ASSERT_EQ(q.peek(result1), tru in TEST_F() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/ |
H A D | arpa_inet_test.cpp | 154 int result1 = inet_aton("", nullptr); in HWTEST_F() local 155 EXPECT_EQ(0, result1); in HWTEST_F() 170 int result1 = inet_aton(" ", nullptr); in HWTEST_F() local 175 EXPECT_EQ(0, result1); in HWTEST_F() 192 int result1 = inet_aton("9.8.7.6.5", &addr); in HWTEST_F() local 194 EXPECT_EQ(0, result1); in HWTEST_F() 208 int result1 = inet_aton("333.2.0.9", &addr); in HWTEST_F() local 212 EXPECT_EQ(0, result1); in HWTEST_F() 228 int result1 = inet_aton("260.0.0", &addr); in HWTEST_F() local 231 EXPECT_EQ(0, result1); in HWTEST_F() 246 int result1 = inet_aton("260.0", &addr); HWTEST_F() local 291 const char* result1 = inet_ntop(AF_INET, &ss0, s0, INET_ADDRSTRLEN); HWTEST_F() local 308 const char* result1 = inet_ntop(AF_INET6, &ss1, s1, INET_ADDRSTRLEN); HWTEST_F() local [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | fread.c | 180 char result1[READ_LENGTH + 1] = {}; in fread_0600() local 181 memset(result1, '3', READ_LENGTH); in fread_0600() 182 result1[READ_LENGTH] = '\0'; in fread_0600() 198 EXPECT_STREQ("fread_0600 point 1", buffer, result1); in fread_0600() 205 EXPECT_STREQ("fread_0600 point 2", buffer, result1); in fread_0600() 254 char result1[READ_LENGTH + 1] = {}; in fread_0700() local 255 memset(result1, '3', READ_LENGTH); in fread_0700() 256 result1[READ_LENGTH] = '\0'; in fread_0700() 272 EXPECT_STREQ("fread_0700 point 1", buffer, result1); in fread_0700() 279 EXPECT_STREQ("fread_0700 point 2", buffer, result1); in fread_0700() 328 char result1[READ_LENGTH + 1] = {}; fread_0800() local [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | TimerQueriesTest.cpp | 147 GLuint64 result1 = 0; in TEST_P() local 149 glGetQueryObjectui64vEXT(query1, GL_QUERY_RESULT_EXT, &result1); in TEST_P() 157 std::cout << "Elapsed time: " << result1 << " cheap quad" << std::endl; in TEST_P() 161 EXPECT_LT(0ul, result1); in TEST_P() 167 EXPECT_LT(result1, 1000000000ul); in TEST_P() 172 // EXPECT_LT(result1, result2); in TEST_P() 393 GLuint64 result1 = 0; in TEST_P() local 395 glGetQueryObjectui64vEXT(contexts[0].query, GL_QUERY_RESULT_EXT, &result1); in TEST_P() 412 std::cout << "Elapsed time: " << result1 << " cheap quad" << std::endl; in TEST_P() 414 EXPECT_LT(0ul, result1); in TEST_P() 469 GLuint64 result1 = 0; TEST_P() local 506 GLint64 result1 = 0; TEST_P() local [all...] |
/third_party/skia/tests/graphite/ |
H A D | UniformCacheTest.cpp | 51 sk_sp<UniformData> result1; in DEF_GRAPHITE_TEST_FOR_CONTEXTS() local 54 result1 = cache->findOrCreate(ud1); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 55 REPORTER_ASSERT(reporter, result1->id() != UniformData::kInvalidUniformID); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 56 REPORTER_ASSERT(reporter, ud1->id() == result1->id()); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 57 sk_sp<UniformData> lookup = cache->lookup(result1->id()); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 58 REPORTER_ASSERT(reporter, lookup->id() == result1->id()); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 69 REPORTER_ASSERT(reporter, result2->id() == result1->id()); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 82 REPORTER_ASSERT(reporter, result3->id() != result1->id()); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/misc_gtest/ |
H A D | misc_getpriority_test.cpp | 36 int result1 = setpriority(PRIO_PROCESS, getpid(), PRIORITY); in HWTEST_F() local 37 EXPECT_EQ(result1, 0); in HWTEST_F() 51 int result1 = setpriority(PRIO_PGRP, getpgid(getpid()), PRIORITY); in HWTEST_F() local 52 EXPECT_EQ(result1, 0); in HWTEST_F() 66 int result1 = setpriority(PRIO_USER, getuid(), PRIORITY); in HWTEST_F() local 67 EXPECT_EQ(result1, 0); in HWTEST_F()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/ |
H A D | 1-1.c | 24 int result1 = -1; in main() local 27 result1 = sched_getscheduler(getpid()); in main() 29 if (result0 == result1 && errno == 0) { in main() 34 if (result0 != result1) { in main()
|
/third_party/node/deps/v8/src/base/ |
H A D | ubsan.cc | 39 uint64_t result1 = r_low + (r_mid1 << 32); in __mulodi4() local 40 if (result1 < r_low) r_high++; in __mulodi4() 41 uint64_t result2 = result1 + (r_mid2 << 32); in __mulodi4() 42 if (result2 < result1) r_high++; in __mulodi4()
|
/test/xts/acts/graphic/nativeimage/entry/src/main/cpp/ |
H A D | nativeimage.cpp | 557 napi_value result1 = nullptr;
in OHNativeImageAttachContextNullptr() local 561 napi_create_int32(env, FAIL, &result1);
in OHNativeImageAttachContextNullptr() 563 napi_create_int32(env, SUCCESS, &result1);
in OHNativeImageAttachContextNullptr() 565 napi_set_element(env, result, ARR_NUMBER_0, result1);
in OHNativeImageAttachContextNullptr() 603 napi_value result1 = nullptr;
in OHNativeImageAttachContextNormal() local 607 napi_create_int32(env, SUCCESS, &result1);
in OHNativeImageAttachContextNormal() 609 napi_create_int32(env, FAIL, &result1);
in OHNativeImageAttachContextNormal() 611 napi_set_element(env, result, ARR_NUMBER_0, result1);
in OHNativeImageAttachContextNormal() 633 napi_value result1 = nullptr;
in OHNativeImageDetachContextNormal() local 638 napi_create_int32(env, FAIL, &result1);
in OHNativeImageDetachContextNormal() 669 napi_value result1 = nullptr; OHNativeImageGetSurfaceIdNullptr() local 742 napi_value result1 = nullptr; OHNativeImageGetTransformMatrixNullptr() local 770 napi_value result1 = nullptr; OHNativeImageGetTransformMatrixV2Nullptr() local 815 napi_value result1 = nullptr; OHNativeImageGetTimestampNormal() local 881 napi_value result1 = nullptr; OHNativeImageGetTransformMatrixNormal() local 915 napi_value result1 = nullptr; OHNativeImageGetTransformMatrixV2Normal() local 984 napi_value result1 = nullptr; OHNativeImageSetOnFrameAvailableListenerNormal() local 1040 napi_value result1 = nullptr; OHNativeImageUnsetOnFrameAvailableListenerNormal() local [all...] |
/third_party/icu/icu4c/source/samples/citer/ |
H A D | citer.cpp | 70 UnicodeString result1, result2; in TestUChariter() local 72 iter.getText(result1); in TestUChariter() 74 if (result1 != result2) { in TestUChariter() 135 UnicodeString result1, result2; in TestStringiter() local 137 iter.getText(result1); in TestStringiter() 139 if (result1 != result2) { in TestStringiter()
|
/third_party/skia/third_party/externals/icu/source/samples/citer/ |
H A D | citer.cpp | 70 UnicodeString result1, result2; in TestUChariter() local 72 iter.getText(result1); in TestUChariter() 74 if (result1 != result2) { in TestUChariter() 135 UnicodeString result1, result2; in TestStringiter() local 137 iter.getText(result1); in TestStringiter() 139 if (result1 != result2) { in TestStringiter()
|
/test/xts/acts/graphic/nativebuffer/entry/src/main/cpp/ |
H A D | nativebuffer.cpp | 425 napi_value result1 = nullptr;
in OHNativeBufferFromNativeWindowBufferNullptr() local 434 napi_create_int32(env, ret, &result1);
in OHNativeBufferFromNativeWindowBufferNullptr() 435 napi_set_element(env, result, NUMBER_0, result1);
in OHNativeBufferFromNativeWindowBufferNullptr() 452 napi_create_int32(env, ret, &result1);
in OHNativeBufferFromNativeWindowBufferNullptr() 453 napi_set_element(env, result, NUMBER_1, result1);
in OHNativeBufferFromNativeWindowBufferNullptr() 465 napi_value result1 = nullptr;
in OHNativeBufferFromNativeWindowBufferNormal() local 483 napi_create_int32(env, ret, &result1);
in OHNativeBufferFromNativeWindowBufferNormal() 484 napi_set_element(env, result, NUMBER_0, result1);
in OHNativeBufferFromNativeWindowBufferNormal() 488 napi_create_int32(env, SUCCESS, &result1);
in OHNativeBufferFromNativeWindowBufferNormal() 490 napi_create_int32(env, FAIL, &result1);
in OHNativeBufferFromNativeWindowBufferNormal() 612 napi_value result1 = nullptr; OHNativeBuffeMapPlanesNullptr() local 635 napi_value result1 = nullptr; OHNativeBufferMapPlanesNormal() local 820 napi_value result1 = nullptr; OHNativeBufferGetColorSpaceNullptr() local 1475 napi_value result1 = nullptr; OHNativeBufferSetMetadataValueNullptr() local 1499 napi_value result1 = nullptr; OHNativeBufferGetMetadataValueAbnormal() local 1523 napi_value result1 = nullptr; OHNativeBufferGetMetadataValueNullptr() local [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/ |
H A D | 2-1.c | 26 int result1; in main() local 32 result1 = sched_getparam(getpid(), ¶m1); in main() 34 if (result0 == result1 && in main()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cformtst.c | 75 UChar *result1=NULL; in myDateFormat() local 86 result1=(UChar*)ctst_malloc(sizeof(UChar) * resultlength); in myDateFormat() 87 udat_format(dat, d1, result1, resultlength, NULL, &status); in myDateFormat() 94 return result1; in myDateFormat()
|
H A D | spooftest.c | 485 int32_t result1, result2; in TestUSpoofCAPI() local 498 result1 = uspoof_check(sc, str, -1, NULL, &status); in TestUSpoofCAPI() 501 TEST_ASSERT_EQ(result1, result2); in TestUSpoofCAPI() 504 result1 = uspoof_check(sc, str, -1, NULL, &status); in TestUSpoofCAPI() 507 TEST_ASSERT_EQ(result1, result2); in TestUSpoofCAPI() 510 TEST_ASSERT_EQ(result1 & USPOOF_ALL_CHECKS, uspoof_getCheckResultChecks(checkResult, &status)); in TestUSpoofCAPI() 514 TEST_ASSERT_EQ(result1 & restrictionLevel, restrictionLevel); in TestUSpoofCAPI() 519 result1 = uspoof_checkUTF8(sc, utf8buf, -1, NULL, &status); in TestUSpoofCAPI() 522 TEST_ASSERT_EQ(result1, result2); in TestUSpoofCAPI()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/ |
H A D | 1-1.c | 28 int result1 = -1; in main() local 45 result1 = sched_rr_get_interval(getpid(), &interval1); in main() 47 if (result0 == result1 && in main()
|
/third_party/jerryscript/tests/unit-ext/ |
H A D | test-ext-module-canonical.c | 86 jerry_value_t result1 = jerryx_module_resolve (actual_name, &resolver, 1); in main() local 93 jerry_release_value (jerry_set_property (result1, prop_name, prop_value)); in main() 101 jerry_release_value (result1); in main()
|
/third_party/skia/tests/ |
H A D | PathOpsLineIntersectionTest.cpp | 90 SkDPoint result1 = line1.ptAtT(ts[0][i]); in check_results() local 92 if (nearAllowed && result1.roughlyEqual(result2)) { in check_results() 95 if (!result1.approximatelyEqual(result2) && !ts.nearlySame(i)) { in check_results() 98 if (!result1.approximatelyEqual(result2)) { in check_results() 101 REPORTER_ASSERT(reporter, result1.approximatelyEqual(result2)); in check_results() 102 REPORTER_ASSERT(reporter, result1.approximatelyEqual(ts.pt(i).asSkPoint())); in check_results()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | plusOperatorInvalidOperations.js | 6 var result1 = b+; //expect error variable 15 var result1 = b + ; //expect error
variable
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/ |
H A D | linux_init_module_test.cpp | 19 int result1 = init_module(reinterpret_cast<void*>(const_cast<char*>("example_module")), 0, nullptr); in HWTEST_F() local 21 EXPECT_EQ(-1, result1); in HWTEST_F()
|
/third_party/musl/libc-test/src/functionalext/supplement/prng/prng_gtest/ |
H A D | prng_rand_r_test.cpp | 23 int result1 = rand_r(&seed1); in HWTEST_F() local 25 EXPECT_NE(result1, result2); in HWTEST_F()
|
/test/xts/acts/multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/ |
H A D | nativeAVScreenCapturendk.cpp | 117 OH_AVSCREEN_CAPTURE_ErrCode result1 = OH_AVScreenCapture_Init(screenCapture, config_); in NormalAVScreenCaptureTest() local 126 if (result1 == AV_SCREEN_CAPTURE_ERR_OK) { in NormalAVScreenCaptureTest() 148 OH_AVSCREEN_CAPTURE_ErrCode result1 = OH_AVScreenCapture_Init(screenCapture, config_); in NormalAVScreenRecordTest() local 155 if (result1 == AV_SCREEN_CAPTURE_ERR_OK) { in NormalAVScreenRecordTest() 206 OH_AVSCREEN_CAPTURE_ErrCode result1 = OH_AVScreenCapture_Init(screenCapture, config_); in NormalAVScreenCaptureSurfaceTest() local 275 if (result1 == AV_SCREEN_CAPTURE_ERR_OK) { in NormalAVScreenCaptureSurfaceTest() 475 OH_AVSCREEN_CAPTURE_ErrCode result1 = OH_AVScreenCapture_Init(screenCapture, config_); in OriginAVScreenCaptureTest() local 484 if (result1 == AV_SCREEN_CAPTURE_ERR_OK) { in OriginAVScreenCaptureTest() 487 OH_LOG_INFO(LOG_APP, "init/start/stop failed, init: %d, start: %d", result1, result2); in OriginAVScreenCaptureTest()
|