/third_party/node/lib/internal/util/ |
H A D | comparisons.js | 96 function isEqualBoxedPrimitive(val1, val2) { 97 if (isNumberObject(val1)) { 99 ObjectIs(NumberPrototypeValueOf(val1), 102 if (isStringObject(val1)) { 104 StringPrototypeValueOf(val1) === StringPrototypeValueOf(val2); 106 if (isBooleanObject(val1)) { 108 BooleanPrototypeValueOf(val1) === BooleanPrototypeValueOf(val2); 110 if (isBigIntObject(val1)) { 112 BigIntPrototypeValueOf(val1) === BigIntPrototypeValueOf(val2); 114 if (isSymbolObject(val1)) { [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | narrowingAssignmentReadonlyRespectsAssertion.js | 5 readonly val1: T | ReadonlyArray<T>; 15 { val1: "a", val2: ["a", "b", "c"] }, 16 { val1: 2, val2: [1, 2, 3] }, 17 { val1: ["a", "z"], val2: ["x", "y", "z"] }, 18 { val1: [5, 10], val2: [10, 100, 1000] }, 28 fixture.cases.forEach(({ val1, val2 }) => { 29 if (Array.isArray(val1)) { 30 // This should retain val1 as being an array 31 const reversedVal1 = val1.slice().reverse(); 34 console.log(val1); [all...] |
H A D | namespaceDisambiguationInUnion.js | 11 const val1: Foo.Yep | Bar.Yep = x; 19 var val1 = x;
variable
|
/third_party/elfutils/libdwfl/ |
H A D | frame_unwind.c | 155 Dwarf_Addr val1, val2; in expr_eval() local 203 if (INTUSE (dwfl_frame_reg) (state, op->atom - DW_OP_reg0, &val1) != 0 in expr_eval() 204 || ! push (val1)) in expr_eval() 211 if (INTUSE (dwfl_frame_reg) (state, op->number, &val1) != 0 || ! push (val1)) in expr_eval() 218 if (INTUSE (dwfl_frame_reg) (state, op->atom - DW_OP_breg0, &val1) != 0) in expr_eval() 223 val1 += op->number; in expr_eval() 224 if (! push (val1)) in expr_eval() 231 if (INTUSE (dwfl_frame_reg) (state, op->number, &val1) != 0) in expr_eval() 236 val1 in expr_eval() [all...] |
/third_party/gn/src/base/ |
H A D | logging.h | 407 #define CHECK_OP(name, op, val1, val2) CHECK((val1)op(val2)) 446 #define CHECK_OP(name, op, val1, val2) \ 451 ::logging::Check##name##Impl((val1), (val2), \ 452 #val1 " " #op " " #val2)) \ 567 #define CHECK_EQ(val1, val2) CHECK_OP(EQ, ==, val1, val2) 568 #define CHECK_NE(val1, val2) CHECK_OP(NE, !=, val1, val2) 569 #define CHECK_LE(val1, val [all...] |
/third_party/mesa3d/src/gtest/include/gtest/ |
H A D | gtest.h | 1586 const T1& val1, const T2& val2, in CmpHelperOpFailure() 1590 << "), actual: " << FormatForComparisonFailureMessage(val1, val2) in CmpHelperOpFailure() 1591 << " vs " << FormatForComparisonFailureMessage(val2, val1); in CmpHelperOpFailure() 1608 const T1& val1, const T2& val2) {\ 1609 if (val1 op val2) {\ 1612 return CmpHelperOpFailure(expr1, expr2, val1, val2, #op);\ 1616 const char* expr1, const char* expr2, BiggestInt val1, BiggestInt val2) 1761 double val1, 2027 #define EXPECT_EQ(val1, val2) \ 2028 EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val 1585 CmpHelperOpFailure(const char* expr1, const char* expr2, const T1& val1, const T2& val2, const char* op) CmpHelperOpFailure() argument [all...] |
/third_party/googletest/googletest/include/gtest/ |
H A D | gtest.h | 1433 const T1& val1, const T2& val2, in CmpHelperOpFailure() 1437 << "), actual: " << FormatForComparisonFailureMessage(val1, val2) in CmpHelperOpFailure() 1438 << " vs " << FormatForComparisonFailureMessage(val2, val1); in CmpHelperOpFailure() 1450 const T1& val1, const T2& val2) { \ 1451 if (val1 op val2) { \ 1454 return CmpHelperOpFailure(expr1, expr2, val1, val2, #op); \ 1599 double val1, double val2, 1872 #define EXPECT_EQ(val1, val2) \ 1873 EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) 1874 #define EXPECT_NE(val1, val 1432 CmpHelperOpFailure(const char* expr1, const char* expr2, const T1& val1, const T2& val2, const char* op) CmpHelperOpFailure() argument [all...] |
/third_party/node/deps/googletest/include/gtest/ |
H A D | gtest.h | 1428 const T1& val1, const T2& val2, in CmpHelperOpFailure() 1432 << "), actual: " << FormatForComparisonFailureMessage(val1, val2) in CmpHelperOpFailure() 1433 << " vs " << FormatForComparisonFailureMessage(val2, val1); in CmpHelperOpFailure() 1445 const T1& val1, const T2& val2) { \ 1446 if (val1 op val2) { \ 1449 return CmpHelperOpFailure(expr1, expr2, val1, val2, #op); \ 1594 double val1, double val2, 1867 #define EXPECT_EQ(val1, val2) \ 1868 EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) 1869 #define EXPECT_NE(val1, val 1427 CmpHelperOpFailure(const char* expr1, const char* expr2, const T1& val1, const T2& val2, const char* op) CmpHelperOpFailure() argument [all...] |
/third_party/ffmpeg/tests/checkasm/ |
H A D | audiodsp.c | 90 int32_t val1, val2, min, max; in checkasm_check_audiodsp() local 96 val1 = ((int32_t)rnd()); in checkasm_check_audiodsp() 97 val1 = FFSIGN(val1) * (val1 & ((1 << 24) - 1)); in checkasm_check_audiodsp() 101 min = FFMIN(val1, val2); in checkasm_check_audiodsp() 102 max = FFMAX(val1, val2); in checkasm_check_audiodsp() 120 float val1, val2, min, max; in checkasm_check_audiodsp() local 126 val1 = (float)rnd() / (UINT_MAX >> 1) - 1.0f; in checkasm_check_audiodsp() 129 min = FFMIN(val1, val in checkasm_check_audiodsp() [all...] |
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_exp2.c | 26 BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE]; in BN_mod_exp2_mont() local 51 val1[0] = BN_CTX_get(ctx); in BN_mod_exp2_mont() 69 * Build table for a1: val1[i] := a1^(2*i + 1) mod m for i = 0 .. 2^(window1-1) in BN_mod_exp2_mont() 72 if (!BN_mod(val1[0], a1, m, ctx)) in BN_mod_exp2_mont() 74 a_mod_m = val1[0]; in BN_mod_exp2_mont() 83 if (!BN_to_montgomery(val1[0], a_mod_m, mont, ctx)) in BN_mod_exp2_mont() 86 if (!BN_mod_mul_montgomery(d, val1[0], val1[0], mont, ctx)) in BN_mod_exp2_mont() 91 if (((val1[i] = BN_CTX_get(ctx)) == NULL) || in BN_mod_exp2_mont() 92 !BN_mod_mul_montgomery(val1[ in BN_mod_exp2_mont() [all...] |
/third_party/openssl/crypto/bn/ |
H A D | bn_exp2.c | 26 BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE]; in BN_mod_exp2_mont() local 51 val1[0] = BN_CTX_get(ctx); in BN_mod_exp2_mont() 69 * Build table for a1: val1[i] := a1^(2*i + 1) mod m for i = 0 .. 2^(window1-1) in BN_mod_exp2_mont() 72 if (!BN_mod(val1[0], a1, m, ctx)) in BN_mod_exp2_mont() 74 a_mod_m = val1[0]; in BN_mod_exp2_mont() 83 if (!BN_to_montgomery(val1[0], a_mod_m, mont, ctx)) in BN_mod_exp2_mont() 86 if (!BN_mod_mul_montgomery(d, val1[0], val1[0], mont, ctx)) in BN_mod_exp2_mont() 91 if (((val1[i] = BN_CTX_get(ctx)) == NULL) || in BN_mod_exp2_mont() 92 !BN_mod_mul_montgomery(val1[ in BN_mod_exp2_mont() [all...] |
/third_party/skia/src/gpu/tessellate/ |
H A D | CullTest.h | 57 auto val1 = fMatY * p[1].fY; in areVisible3() local 60 val1 = fMatX*p[1].fX + val1; in areVisible3() 65 val0 = skvx::max(val0, val1); in areVisible3() 78 auto val1 = fMatY * p[1].fY; in areVisible4() local 82 val1 = fMatX*p[1].fX + val1; in areVisible4() 88 val0 = skvx::max(val0, val1); in areVisible4()
|
/third_party/mesa3d/src/egl/main/ |
H A D | eglconfig.c | 605 EGLint val1, val2; in _eglCompareConfigs() local 614 val1 = conf1->ConfigCaveat - conf2->ConfigCaveat; in _eglCompareConfigs() 615 if (val1) in _eglCompareConfigs() 616 return val1; in _eglCompareConfigs() 620 val1 = conf1->ColorBufferType - conf2->ColorBufferType; in _eglCompareConfigs() 621 if (val1) in _eglCompareConfigs() 622 return val1; in _eglCompareConfigs() 625 val1 = val2 = 0; in _eglCompareConfigs() 628 val1 += conf1->RedSize; in _eglCompareConfigs() 632 val1 in _eglCompareConfigs() [all...] |
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
H A D | protocol_core_test.cc | 172 auto val1 = std::make_unique<TestTypeBasic>(); in TEST() local 173 val1->SetValue("bazzzz"); in TEST() 174 obj1.SetTestTypeBasicField(std::move(val1)); in TEST() 335 auto val1 = std::make_unique<TestTypeBasic>(); in TEST_F() local 336 val1->SetValue("bazzzz"); in TEST_F() 338 vec1.emplace_back(std::move(val1)); in TEST_F() 408 auto val1 = std::make_unique<TestTypeBasic>(); in TEST() local 409 val1->SetValue("bar"); in TEST() 410 obj1.SetTestTypeBasicField(std::move(val1)); in TEST() 456 auto val1 in TEST() local [all...] |
/third_party/openssl/test/ |
H A D | v3ext.c | 45 ASN1_INTEGER *val1 = NULL, *val2 = NULL; in test_asid() local 55 if (!TEST_ptr(val1 = ASN1_INTEGER_new()) in test_asid() 56 || !TEST_true(ASN1_INTEGER_set_int64(val1, 64496))) in test_asid() 59 if (!TEST_true(X509v3_asid_add_id_or_range(asid1, V3_ASID_ASNUM, val1, NULL))) in test_asid() 62 val1 = NULL; in test_asid() 71 if (!TEST_ptr(val1 = ASN1_INTEGER_new()) in test_asid() 72 || !TEST_true(ASN1_INTEGER_set_int64(val1, 64496)) in test_asid() 81 if (!TEST_true(X509v3_asid_add_id_or_range(asid3, V3_ASID_ASNUM, val1, val2))) in test_asid() 83 val1 = val2 = NULL; in test_asid() 111 ASN1_INTEGER_free(val1); in test_asid() [all...] |
H A D | cmp_ctx_test.c | 347 TYPE val1 = val1_to_free; \ 358 if ((*set_fn)(NULL, val1) || ERR_peek_error() == 0) { \ 376 if (!(*set_fn)(ctx, val1)) { \ 387 if (val1_read != val1) { \ 392 if (DUP && val1_read == val1) { \ 424 if (val2 == val1) { \ 626 TYPE val1 = val1_to_free; \ 635 if ((*push_fn)(NULL, val1) || ERR_peek_error() == 0) { \ 648 if (!(*push_fn)(ctx, val1)) { \ 661 if (val1_read != val1) { \ [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | vfscanf.c | 112 int val1 = 0; in vfscanf_0300() local 127 int result = readFile(fp, "%d %d", val1, val2); in vfscanf_0300() 131 if (val1 != 0) { in vfscanf_0300() 132 t_error("%s vfscanf get is %d are not 0\n", __func__, val1); in vfscanf_0300()
|
/third_party/ffmpeg/tests/ |
H A D | refcmp-metadata.awk | 9 function max(val1, val2) { 10 return ((val1 >= val2) ? val1 : val2);
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
H A D | UCharacterSurrogateTest.java | 244 int val1 = UCharacter.codePointCount(s.toCharArray(), start, in TestCodePointCount() 247 if (val1 != expected) { in TestCodePointCount() 248 errln("char[] " + str(s, start, limit) + "(" + val1 in TestCodePointCount() 306 int val1 = UCharacter.offsetByCodePoints(chars, start, count, in TestOffsetByCodePoints() 312 if (val1 != expected) { in TestOffsetByCodePoints() 314 + val1 + ") != " + expected); in TestOffsetByCodePoints() 324 val1 = UCharacter.offsetByCodePoints(chars, start, count, in TestOffsetByCodePoints() 329 if (val1 != index) { in TestOffsetByCodePoints() 332 + val1 + ") != " + index); in TestOffsetByCodePoints()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
H A D | UCharacterSurrogateTest.java | 252 int val1 = UCharacter.codePointCount(s.toCharArray(), start, in TestCodePointCount() 255 if (val1 != expected) { in TestCodePointCount() 256 errln("char[] " + str(s, start, limit) + "(" + val1 in TestCodePointCount() 314 int val1 = UCharacter.offsetByCodePoints(chars, start, count, in TestOffsetByCodePoints() 320 if (val1 != expected) { in TestOffsetByCodePoints() 322 + val1 + ") != " + expected); in TestOffsetByCodePoints() 332 val1 = UCharacter.offsetByCodePoints(chars, start, count, in TestOffsetByCodePoints() 337 if (val1 != index) { in TestOffsetByCodePoints() 340 + val1 + ") != " + index); in TestOffsetByCodePoints()
|
/third_party/rust/crates/once_cell/tests/ |
H A D | it.rs | 739 let val1 = NonZeroUsize::new(92).unwrap(); in once_non_zero_usize_set() 744 assert!(cell.set(val1).is_ok()); in once_non_zero_usize_set() 745 assert_eq!(cell.get(), Some(val1)); in once_non_zero_usize_set() 748 assert_eq!(cell.get(), Some(val1)); in once_non_zero_usize_set() 754 let val1 = NonZeroUsize::new(92).unwrap(); in once_non_zero_usize_first_wins() 767 val1 in once_non_zero_usize_first_wins() 769 assert_eq!(r1, val1); in once_non_zero_usize_first_wins() 779 assert_eq!(r2, val1); in once_non_zero_usize_first_wins() 784 assert_eq!(cell.get(), Some(val1)); in once_non_zero_usize_first_wins() 929 let val1 in once_box_first_wins() [all...] |
/third_party/ltp/testcases/kernel/syscalls/setsockopt/ |
H A D | setsockopt06.c | 67 int val1 = TPACKET_V1, val3 = TPACKET_V3; in run() local 85 setsockopt(sock, SOL_PACKET, PACKET_VERSION, &val1, in run() 86 sizeof(val1)); in run()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
H A D | PropertiesTest.java | 128 Object val1 = getSampleValueForType(field.getType(), 1); in testFieldCoverage() 130 assertNotEquals(val0, val1); in testFieldCoverage() 137 assertNotEquals(getter.invoke(p1), val1); in testFieldCoverage() 139 setter.invoke(p1, val1); in testFieldCoverage() 143 assertEquals(getter.invoke(p1), val1); in testFieldCoverage() 148 setter.invoke(p1, val1); in testFieldCoverage() 149 setter.invoke(p2, val1); in testFieldCoverage() 154 setter.invoke(p1, val1); in testFieldCoverage()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
H A D | PropertiesTest.java | 125 Object val1 = getSampleValueForType(field.getType(), 1); in testFieldCoverage() 127 assertNotEquals(val0, val1); in testFieldCoverage() 134 assertNotEquals(getter.invoke(p1), val1); in testFieldCoverage() 136 setter.invoke(p1, val1); in testFieldCoverage() 140 assertEquals(getter.invoke(p1), val1); in testFieldCoverage() 145 setter.invoke(p1, val1); in testFieldCoverage() 146 setter.invoke(p2, val1); in testFieldCoverage() 151 setter.invoke(p1, val1); in testFieldCoverage()
|
/third_party/ffmpeg/libavcodec/mips/ |
H A D | mpegaudiodsp_mips_float.c | 287 float val0 , val1 , val2 , val3 , val4 , val5 , val6 , val7, in ff_dct32_mips_float() local 485 "add.s %[val1], %[fTmp5], %[fTmp6] \n\t" in ff_dct32_mips_float() 502 "sub.s %[fTmp2], %[val1], %[val6] \n\t" in ff_dct32_mips_float() 503 "add.s %[val1], %[val1], %[val6] \n\t" in ff_dct32_mips_float() 522 [val1] "=&f" (val1), [val6] "=&f" (val6), in ff_dct32_mips_float() 596 "sub.s %[fTmp2], %[val1], %[val2] \n\t" in ff_dct32_mips_float() 597 "add.s %[val1], %[val1], in ff_dct32_mips_float() [all...] |