/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/test/unittest/common/ |
H A D | jsi_interface_tdd_test.cpp | 166 bool res2 = JSI::ValueIsArray(undefined); in JSIInterfaceTest004() local 173 * @tc.expected: step2-step4. res1 = true, res2 = false and length = 10 in JSIInterfaceTest004() 175 if (res1 && !res2 && (length == initLength)) { in JSIInterfaceTest004() 180 EXPECT_TRUE(res1 && !res2 && (length == initLength)); in JSIInterfaceTest004() 202 bool res2 = JSI::ValueIsFunction(undefined); in JSIInterfaceTest005() local 209 * @tc.expected: step2-step4. res1 = true, res2 = false and Function was called in JSIInterfaceTest005() 211 if (res1 && !res2) { in JSIInterfaceTest005() 216 EXPECT_TRUE(res1 && !res2); in JSIInterfaceTest005() 239 bool res2 = JSI::ValueIsNumber(undefined); in JSIInterfaceTest006() local 246 * @tc.expected: step2-step4. res1 = true, res2 in JSIInterfaceTest006() 275 bool res2 = JSI::ValueIsString(undefined); JSIInterfaceTest007() local 312 bool res2 = JSI::ValueIsBoolean(undefined); JSIInterfaceTest008() local 348 bool res2 = JSI::ValueIsUndefined(obj); JSIInterfaceTest009() local 379 bool res2 = JSI::ValueIsNull(obj); JSIInterfaceTest010() local 412 bool res2 = JSI::ValueIsSymbol(undef); JSIInterfaceTest011() local 444 bool res2 = JSI::ValueIsObject(undef); JSIInterfaceTest012() local 643 bool res2 = JSI::ValueIsArrayBuffer(undef); JSIInterfaceTest018() local 703 bool res2 = JSI::ValueIsTypedArray(undef); JSIInterfaceTest019() local 891 bool res2 = JSI::ValueIsString(undefined); JSIInterfaceTest024() local 929 bool res2 = JSI::ValueIsNumber(undefined); JSIInterfaceTest025() local 966 bool res2 = JSI::ValueIsBoolean(undefined); JSIInterfaceTest026() local 1002 bool res2 = JSI::ValueIsObject(undefined); JSIInterfaceTest027() local 1040 bool res2 = JSI::ValueIsArray(undefined); JSIInterfaceTest028() local 1082 bool res2 = JSI::ValueIsFunction(undefined); JSIInterfaceTest029() local [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_frame_trace_impl_test.cpp | 44 bool res2 = trace_->AccessFrameTrace(); in HWTEST_F() local 45 ASSERT_EQ(res2, true); in HWTEST_F() 62 bool res2 = trace_->AccessFrameTrace(); in HWTEST_F() local 64 ASSERT_EQ(res2, true); in HWTEST_F() 81 bool res2 = trace_->AccessFrameTrace(); in HWTEST_F() local 84 ASSERT_EQ(res2, true); in HWTEST_F()
|
/third_party/ltp/testcases/kernel/syscalls/getcwd/ |
H A D | getcwd03.c | 36 char *res2 = NULL; in verify_getcwd() local 50 res2 = getcwd(NULL, 0); in verify_getcwd() 51 if (!res2) { in verify_getcwd() 57 if (strcmp(res1, res2)) { in verify_getcwd() 60 res1, res2); in verify_getcwd() 77 free(res2); in verify_getcwd()
|
/third_party/ffmpeg/libavcodec/mips/ |
H A D | vp8_idct_msa.c | 52 v4i32 res0, res1, res2, res3; in ff_vp8_idct_add_msa() local 70 res0, res1, res2, res3); in ff_vp8_idct_add_msa() 71 ILVR_H4_SW(zero, res0, zero, res1, zero, res2, zero, res3, in ff_vp8_idct_add_msa() 72 res0, res1, res2, res3); in ff_vp8_idct_add_msa() 73 ADD4(res0, vt0, res1, vt1, res2, vt2, res3, vt3, res0, res1, res2, res3); in ff_vp8_idct_add_msa() 74 CLIP_SW4_0_255(res0, res1, res2, res3); in ff_vp8_idct_add_msa() 75 VSHF_B2_SB(res0, res1, res2, res3, mask, mask, dest0, dest1); in ff_vp8_idct_add_msa() 85 v8i16 res0, res1, res2, res3; in ff_vp8_idct_dc_add_msa() local 94 res0, res1, res2, res in ff_vp8_idct_dc_add_msa() [all...] |
H A D | iirfilter_mips.c | 95 float res1, res2, res3, res4; in iir_filter_flt_mips() local 138 "add.s %[res2], $f5, %[in2] \n\t" in iir_filter_flt_mips() 145 "madd.s %[res2], %[res2], $f0, %[four] \n\t" in iir_filter_flt_mips() 150 "add.s %[res2], %[res2], $f10 \n\t" in iir_filter_flt_mips() 158 [res1]"=&f"(res1), [res2]"=&f"(res2), in iir_filter_flt_mips() 171 dst0[sstep ] = res2; in iir_filter_flt_mips()
|
H A D | h264chroma_msa.c | 155 v8u16 res0, res1, res2, res3; in avc_chroma_hz_4x8_msa() local 166 DOTP_UB2_UH(src4, src6, coeff_vec, coeff_vec, res2, res3); in avc_chroma_hz_4x8_msa() 167 SLLI_4V(res0, res1, res2, res3, 3); in avc_chroma_hz_4x8_msa() 168 SRARI_H4_UH(res0, res1, res2, res3, 6); in avc_chroma_hz_4x8_msa() 169 SAT_UH4_UH(res0, res1, res2, res3, 7); in avc_chroma_hz_4x8_msa() 170 PCKEV_B2_UB(res1, res0, res3, res2, out0, out1); in avc_chroma_hz_4x8_msa() 191 v8u16 res0, res1, res2, res3; in avc_chroma_hz_8x4_msa() local 202 coeff_vec, res0, res1, res2, res3); in avc_chroma_hz_8x4_msa() 203 SLLI_4V(res0, res1, res2, res3, 3); in avc_chroma_hz_8x4_msa() 204 SRARI_H4_UH(res0, res1, res2, res in avc_chroma_hz_8x4_msa() 215 v8u16 res0, res1, res2, res3, res4, res5, res6, res7; avc_chroma_hz_8x8_msa() local 249 v8u16 res0, res1, res2, res3; avc_chroma_hz_nonmult_msa() local 429 v8u16 res0, res1, res2, res3; avc_chroma_vt_4x8_msa() local 469 v8u16 res0, res1, res2, res3; avc_chroma_vt_8x4_msa() local 491 v8u16 res0, res1, res2, res3, res4, res5, res6, res7; avc_chroma_vt_8x8_msa() local 1006 v8u16 res0, res1, res2, res3; avc_chroma_hz_and_aver_dst_4x8_msa() local 1050 v8u16 res0, res1, res2, res3; avc_chroma_hz_and_aver_dst_8x4_msa() local 1081 v8u16 res0, res1, res2, res3, res4, res5, res6, res7; avc_chroma_hz_and_aver_dst_8x8_msa() local 1288 v8u16 res0, res1, res2, res3; avc_chroma_vt_and_aver_dst_4x8_msa() local 1336 v8u16 res0, res1, res2, res3; avc_chroma_vt_and_aver_dst_8x4_msa() local 1366 v8u16 res0, res1, res2, res3, res4, res5, res6, res7; avc_chroma_vt_and_aver_dst_8x8_msa() local [all...] |
/third_party/ltp/testcases/kernel/fs/fs_perms/ |
H A D | fs_perms.c | 185 int res1, res2 = 1; in main() local 213 res2 = testfperm(TEST_FILE_NAME2, 1, user_id, group_id, fperm); in main() 215 if (res2 == exp_res) in main() 216 res2 = 1; in main() 218 res2 = 0; in main() 223 tst_resm((exp_res == res1) && res2 ? TPASS : TFAIL, in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | op_classes.c | 166 enum chan_allowed res, res2; in verify_channel() local 168 res2 = res = allow_channel(mode, channel, &flag); in verify_channel() 172 res2 = allow_channel(mode, channel - 4, NULL); in verify_channel() 176 res2 = allow_channel(mode, channel + 4, NULL); in verify_channel() 183 res2 = res = verify_80mhz(mode, channel); in verify_channel() 190 res2 = res = verify_160mhz(mode, channel); in verify_channel() 197 res2 = res = verify_80mhz(mode, channel); in verify_channel() 200 if (res == NOT_ALLOWED || res2 == NOT_ALLOWED) in verify_channel() 203 if (res == NO_IR || res2 == NO_IR) in verify_channel()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | utils_module_tests.c | 299 char *res2; in base64_tests() local 304 res2 = base64_encode("", ~0, &res_len); in base64_tests() 305 if (res2) { in base64_tests() 307 os_free(res2); in base64_tests() 310 res2 = base64_encode("=", 1, &res_len); in base64_tests() 311 if (!res2 || res_len != 5 || res2[0] != 'P' || res2[1] != 'Q' || in base64_tests() 312 res2[2] != '=' || res2[ in base64_tests() [all...] |
/third_party/node/test/parallel/ |
H A D | test-async-wrap-tlssocket-asyncreset.js | 51 common.mustCall((res2) => { 53 res2.on('error', (err) => assert.fail(err)); 54 res2.socket.on('error', (err) => assert.fail(err)); 56 res2.destroy();
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tchcfmt.cpp | 51 UnicodeString res1, res2; in TestSimpleExample() local 68 res2 = " ??? "; in TestSimpleExample() 69 it_logln(UnicodeString("") + ix + UnicodeString(" -> ") + res1 + UnicodeString(" -> ") + res2); in TestSimpleExample() 174 UnicodeString res1, res2; in TestComplexExample() local 212 res2 = pattform->format(testArgs, 3, str, fpos, status ); in TestComplexExample() 219 it_logln(i + UnicodeString(" -> ") + res2); in TestComplexExample() 220 if (res2 != checkstr[i - start]) { in TestComplexExample() 222 it_errln(UnicodeString("*** ") + i + UnicodeString(" -> '") + res2 + UnicodeString("' unlike '") + checkstr[i] + UnicodeString("' ! ")); in TestComplexExample() 278 res2 = pattform->format(testArgs, 3, str, fpos, status ); in TestComplexExample() 285 it_logln(UnicodeString() + i + UnicodeString(" -> ") + res2); in TestComplexExample() [all...] |
H A D | nmfmapts.cpp | 124 UnicodeString res1, res2, res3, res4, res5, res6; in testAPI() local 130 res2 = cur_fr->format(l, res2); in testAPI() 131 logln((UnicodeString) "" + (int32_t) l + " formatted to " + res2); in testAPI() 332 UnicodeString res0, res1, res2, res3, res4, res5; in testRegistration() local 339 f2->format(n, res2); in testRegistration() 350 logln((UnicodeString)"f2 src cur: " + res2); in testRegistration() 371 if (res5 != res2) { in testRegistration() 381 if (res2 != ures5) { in testRegistration()
|
/third_party/json/docs/examples/ |
H A D | emplace.cpp | 23 auto res2 = null.emplace("B", "c"); in main() local 30 std::cout << *res2.first << " " << std::boolalpha << res2.second << '\n'; in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | op_classes.c | 203 enum chan_allowed res, res2; in verify_channel() local 205 res2 = res = allow_channel(mode, op_class, channel, &flag); in verify_channel() 209 res2 = allow_channel(mode, op_class, channel - 4, NULL); in verify_channel() 213 res2 = allow_channel(mode, op_class, channel + 4, NULL); in verify_channel() 216 res2 = allow_channel(mode, op_class, channel - 4, NULL); in verify_channel() 218 res2 = allow_channel(mode, op_class, channel + 4, NULL); in verify_channel() 225 res2 = res = verify_80mhz(mode, op_class, channel); in verify_channel() 232 res2 = res = verify_160mhz(mode, op_class, channel); in verify_channel() 239 res2 = res = verify_80mhz(mode, op_class, channel); in verify_channel() 242 if (res == NOT_ALLOWED || res2 in verify_channel() [all...] |
/third_party/mesa3d/src/gallium/tests/graw/ |
H A D | occlusion-query.c | 162 union pipe_query_result res1, res2; in draw() local 190 info.ctx->get_query_result(info.ctx, q2, TRUE, &res2); in draw() 192 printf("result1 = %" PRIu64 " result2 = %" PRIu64 "\n", res1.u64, res2.u64); in draw() 195 if (res2.u64 < expected2_min || res2.u64 > expected2_max) in draw()
|
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | profile_utils_test.cpp | 382 int32_t res2 = ProfileUtils::EntriesToTrustDeviceProfile(values, outProfile); in HWTEST_F() local 383 EXPECT_EQ(DP_SUCCESS, res2); in HWTEST_F() 438 int32_t res2 = ProfileUtils::EntriesToAccessControlProfile(values, outProfile); in HWTEST_F() local 439 EXPECT_EQ(DP_SUCCESS, res2); in HWTEST_F() 488 int32_t res2 = ProfileUtils::EntriesToAccessControlProfile(values, outProfile); in HWTEST_F() local 489 EXPECT_EQ(DP_SUCCESS, res2); in HWTEST_F() 544 int32_t res2 = ProfileUtils::EntriesToAccesser(values, outAccesser); in HWTEST_F() local 545 EXPECT_EQ(DP_SUCCESS, res2); in HWTEST_F() 600 int32_t res2 = ProfileUtils::EntriesToAccessee(values, outAccessee); in HWTEST_F() local 601 EXPECT_EQ(DP_SUCCESS, res2); in HWTEST_F() 624 int32_t res2 = ProfileUtils::EntriesToDeviceProfile(entries, outDeviceProfile); HWTEST_F() local 646 int32_t res2 = ProfileUtils::EntriesToServiceProfile(entries, outServiceProfile); HWTEST_F() local 696 int32_t res2 = ProfileUtils::EntriesToAccesser(values, outAccesser); HWTEST_F() local 746 int32_t res2 = ProfileUtils::EntriesToAccessee(values, outAccessee); HWTEST_F() local 770 int32_t res2 = ProfileUtils::EntriesToCharProfile(entries, outCharProfile); HWTEST_F() local 1168 bool res2 = ProfileUtils::IsPropertyValid(propertyMap, property, minValue, maxValue); HWTEST_F() local 1199 bool res2 = ProfileUtils::IsPropertyValid(propertyMap, property, maxValue); HWTEST_F() local 1230 bool res2 = ProfileUtils::IsPropertyValid(propertyMap, property, minValue, maxValue); HWTEST_F() local 1261 bool res2 = ProfileUtils::IsPropertyValid(propertyMap, property, minValue, maxValue); HWTEST_F() local 1292 bool res2 = ProfileUtils::IsPropertyValid(propertyMap, property, minValue, maxValue); HWTEST_F() local 1345 bool res2 = ProfileUtils::GetIntValue(values, property, outValue); HWTEST_F() local 1386 bool res2 = ProfileUtils::GetStringValue(values, property, outValue); HWTEST_F() local 1428 bool res2 = ProfileUtils::GetLongValue(values, property, outValue); HWTEST_F() local [all...] |
/third_party/ffmpeg/libavcodec/loongarch/ |
H A D | h264idct_lasx.c | 86 __m256i res0, res1, res2, res3, res4, res5, res6, res7; in ff_h264_idct8_addblk_lasx() local 142 res0, res1, res2, res3, res4, res5, res6, res7); in ff_h264_idct8_addblk_lasx() 143 LASX_TRANSPOSE8x8_H(res0, res1, res2, res3, res4, res5, res6, res7, in ff_h264_idct8_addblk_lasx() 144 res0, res1, res2, res3, res4, res5, res6, res7); in ff_h264_idct8_addblk_lasx() 146 DUP4_ARG1(__lasx_vext2xv_w_h, res0, res1, res2, res3, in ff_h264_idct8_addblk_lasx() 193 LASX_BUTTERFLY_4_W(tmp4, tmp6, tmp1, tmp3, res2, res3, res4, res5); in ff_h264_idct8_addblk_lasx() 195 DUP4_ARG2(__lasx_xvsrai_w, res0, 6, res1, 6, res2, 6, res3, 6, in ff_h264_idct8_addblk_lasx() 196 res0, res1, res2, res3); in ff_h264_idct8_addblk_lasx() 199 DUP4_ARG2(__lasx_xvpickev_h, res1, res0, res3, res2, res5, res4, res7, in ff_h264_idct8_addblk_lasx() 200 res6, res0, res1, res2, res in ff_h264_idct8_addblk_lasx() [all...] |
H A D | h264_intrapred_lasx.c | 28 int32_t res0, res1, res2, res3, cnt; \ 68 res2 = (src0[stride_15] + src[15 - stride] + 1) << 4; \ 70 res2 -= res3; \ 73 reg2 = __lasx_xvreplgr2vr_w(res2); \
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | IntlTestSimpleDateFormatAPI.java | 83 StringBuffer res2 = new StringBuffer(); in TestAPI() 90 res2 = cust1.format(d, res2, pos2); in TestAPI() 91 logln("" + d.getTime() + " formatted to " + res2); in TestAPI()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | IntlTestSimpleDateFormatAPI.java | 86 StringBuffer res2 = new StringBuffer(); in TestAPI() 93 res2 = cust1.format(d, res2, pos2); in TestAPI() 94 logln("" + d.getTime() + " formatted to " + res2); in TestAPI()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
H A D | aiocp.c | 99 static void async_write_done(LTP_ATTRIBUTE_UNUSED io_context_t ctx, struct iocb *iocb, long res, long res2) in async_write_done() argument 106 if (res2 != 0) in async_write_done() 107 tst_brk(TBROK, "Write error: %s", tst_strerrno(-res2)); in async_write_done() 121 static void async_copy(io_context_t ctx, struct iocb *iocb, long res, long res2) in async_copy() argument 131 if (res2 != 0) in async_copy() 132 tst_brk(TBROK, "Read error: %s", tst_strerrno(-res2)); in async_copy() 156 cb(ctx, iocb, ep->res, ep->res2); in io_wait_run()
|
/third_party/pulseaudio/src/tests/ |
H A D | utf8-test.c | 34 char res2[] = { 0x68, 0xc3, 0xbc, 0x70, 0x66, 0x62, 0x75, 0x72, 0x67, '\0' }; in START_TEST() local 36 fail_unless(pa_streq(c, res2)); in START_TEST() 37 pa_log_debug("%s %s", res2, c); in START_TEST()
|
/third_party/lzma/C/ |
H A D | Threads.c | 58 WRes res2 = Thread_Close(p);
in Thread_Wait_Close() local 59 return (res != 0 ? res : res2);
in Thread_Wait_Close() 377 int res2 = pthread_mutex_unlock(&p->_mutex);
in Event_Set() local 378 return (res2 ? res2 : res1);
in Event_Set() 412 int res2 = pthread_cond_destroy(&p->_cond);
in Event_Close() local 413 return (res1 ? res1 : res2);
in Event_Close() 491 int res2 = pthread_cond_destroy(&p->_cond);
in Semaphore_Close() local 492 return (res1 ? res1 : res2);
in Semaphore_Close()
|
/third_party/littlefs/bd/ |
H A D | lfs_filebd.c | 90 ssize_t res2 = read(bd->fd, buffer, size); in lfs_filebd_read() local 91 if (res2 < 0) { in lfs_filebd_read() 123 ssize_t res2 = write(bd->fd, buffer, size); in lfs_filebd_prog() local 124 if (res2 < 0) { in lfs_filebd_prog()
|
/third_party/ltp/testcases/kernel/io/aio/ |
H A D | aio02.c | 67 static void work_done(io_context_t ctx, struct iocb *iocb, long res, long res2) in work_done() argument 71 if (res2 != 0) in work_done() 72 io_error("aio write", res2); in work_done() 101 cb(ctx, iocb, ep->res, ep->res2); in io_wait_run()
|