Home
last modified time | relevance | path

Searched refs:val2 (Results 1 - 25 of 125) sorted by relevance

12345

/third_party/node/lib/internal/util/
H A Dcomparisons.js96 function isEqualBoxedPrimitive(val1, val2) {
98 return isNumberObject(val2) &&
100 NumberPrototypeValueOf(val2));
103 return isStringObject(val2) &&
104 StringPrototypeValueOf(val1) === StringPrototypeValueOf(val2);
107 return isBooleanObject(val2) &&
108 BooleanPrototypeValueOf(val1) === BooleanPrototypeValueOf(val2);
111 return isBigIntObject(val2) &&
112 BigIntPrototypeValueOf(val1) === BigIntPrototypeValueOf(val2);
115 return isSymbolObject(val2)
[all...]
/third_party/typescript/tests/baselines/reference/
H A DnarrowingAssignmentReadonlyRespectsAssertion.js6 readonly val2: 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 }) => {
36 console.log(val2);
47 { val1: "a", val2: ["a", "b", "c"] },
48 { val1: 2, val2: [1, 2, 3] },
49 { val1: ["a", "z"], val2
[all...]
H A DnamespaceDisambiguationInUnion.js14 const val2: [Foo.Yep, Bar.Yep] = y;
21 var val2 = y; variable
/third_party/gn/src/base/
H A Dlogging.h407 #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, val2) CHECK_O
[all...]
/third_party/mesa3d/src/gtest/include/gtest/
H A Dgtest.h1586 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)
1762 double val2,
2027 #define EXPECT_EQ(val1, val2) \
2028 EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
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 Dgtest.h1433 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, val2) \
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 Dgtest.h1428 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, val2) \
1427 CmpHelperOpFailure(const char* expr1, const char* expr2, const T1& val1, const T2& val2, const char* op) CmpHelperOpFailure() argument
[all...]
/third_party/skia/src/gpu/tessellate/
H A DCullTest.h58 auto val2 = fMatY * p[2].fY; in areVisible3() local
61 val2 = fMatX*p[2].fX + val2; in areVisible3()
66 val0 = skvx::max(val0, val2); in areVisible3()
79 auto val2 = fMatY * p[2].fY; in areVisible4() local
83 val2 = fMatX*p[2].fX + val2; in areVisible4()
89 val2 = skvx::max(val2, val3); in areVisible4()
90 val0 = skvx::max(val0, val2); in areVisible4()
[all...]
/third_party/ffmpeg/tests/checkasm/
H A Daudiodsp.c90 int32_t val1, val2, min, max; in checkasm_check_audiodsp() local
98 val2 = ((int32_t)rnd()); in checkasm_check_audiodsp()
99 val2 = FFSIGN(val2) * (val2 & ((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
127 val2 = (float)rnd() / (UINT_MAX >> 1) - 1.0f; in checkasm_check_audiodsp()
129 min = FFMIN(val1, val2); in checkasm_check_audiodsp()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dunordered_map_modifiers_test.h54 T val2 = {val.first, hash_internal::Generator<V>()()}; in TYPED_TEST_P() local
55 p = m.insert(val2); in TYPED_TEST_P()
68 T val2 = {val.first, hash_internal::Generator<V>()()}; in TYPED_TEST_P() local
69 it = m.insert(it, val2); in TYPED_TEST_P()
93 T val2 = {val.first, hash_internal::Generator<V>()()}; in TYPED_TEST_P() local
94 m.insert(val2); in TYPED_TEST_P()
128 V val2 = hash_internal::Generator<V>()(); in TYPED_TEST_P() local
129 p = m.insert_or_assign(k, val2); in TYPED_TEST_P()
132 EXPECT_EQ(val2, get<1>(*p.first)); in TYPED_TEST_P()
148 V val2 in TYPED_TEST_P() local
165 T val2 = {val.first, hash_internal::Generator<V>()()}; TYPED_TEST_P() local
180 T val2 = {val.first, hash_internal::Generator<V>()()}; TYPED_TEST_P() local
196 T val2 = {val.first, hash_internal::Generator<V>()()}; TYPED_TEST_P() local
213 T val2 = {val.first, hash_internal::Generator<V>()()}; TYPED_TEST_P() local
338 T val2 = {val.first, hash_internal::Generator<V>()()}; TYPED_TEST_P() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_exp2.c26 BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE]; in BN_mod_exp2_mont() local
52 val2[0] = BN_CTX_get(ctx); in BN_mod_exp2_mont()
53 if (val2[0] == NULL) in BN_mod_exp2_mont()
98 * Build table for a2: val2[i] := a2^(2*i + 1) mod m for i = 0 .. 2^(window2-1) in BN_mod_exp2_mont()
101 if (!BN_mod(val2[0], a2, m, ctx)) in BN_mod_exp2_mont()
103 a_mod_m = val2[0]; in BN_mod_exp2_mont()
111 if (!BN_to_montgomery(val2[0], a_mod_m, mont, ctx)) in BN_mod_exp2_mont()
114 if (!BN_mod_mul_montgomery(d, val2[0], val2[0], mont, ctx)) in BN_mod_exp2_mont()
119 if (((val2[ in BN_mod_exp2_mont()
[all...]
/third_party/openssl/crypto/bn/
H A Dbn_exp2.c26 BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE]; in BN_mod_exp2_mont() local
52 val2[0] = BN_CTX_get(ctx); in BN_mod_exp2_mont()
53 if (val2[0] == NULL) in BN_mod_exp2_mont()
98 * Build table for a2: val2[i] := a2^(2*i + 1) mod m for i = 0 .. 2^(window2-1) in BN_mod_exp2_mont()
101 if (!BN_mod(val2[0], a2, m, ctx)) in BN_mod_exp2_mont()
103 a_mod_m = val2[0]; in BN_mod_exp2_mont()
111 if (!BN_to_montgomery(val2[0], a_mod_m, mont, ctx)) in BN_mod_exp2_mont()
114 if (!BN_mod_mul_montgomery(d, val2[0], val2[0], mont, ctx)) in BN_mod_exp2_mont()
119 if (((val2[ in BN_mod_exp2_mont()
[all...]
/third_party/elfutils/libdwfl/
H A Dframe_unwind.c155 Dwarf_Addr val1, val2; in expr_eval() local
271 if (! pop (&val1) || ! pop (&val2) in expr_eval()
272 || ! push (val2) || ! push (val1) || ! push (val2)) in expr_eval()
279 if (! pop (&val1) || ! pop (&val2) || ! push (val1) || ! push (val2)) in expr_eval()
288 if (! pop (&val1) || ! pop (&val2) || ! pop (&val3) in expr_eval()
289 || ! push (val1) || ! push (val3) || ! push (val2)) in expr_eval()
358 if (! pop (&val2) || ! pop (&val1) || ! push (val1 op val2)) \ in expr_eval()
[all...]
/third_party/cups-filters/filter/
H A Dtexttotext.c90 const char *val, *val2; /* Option value */ in main() local
282 if ((val2 = cupsGetOption(buffer + 7, num_options, options)) != NULL || in main()
284 if (val2 == NULL) in main()
285 val2 = ppd_attr->value; in main()
286 if (!strncasecmp(val2, "Custom.", 7)) in main()
287 val2 += 7; in main()
288 num_lines = atoi(val2); in main()
291 if ((val2 = cupsGetOption(buffer + 7, num_options, options)) != NULL || in main()
293 if (val2 == NULL) in main()
294 val2 in main()
[all...]
/third_party/mesa3d/src/egl/main/
H A Deglconfig.c605 EGLint val1, val2; in _eglCompareConfigs() local
625 val1 = val2 = 0; in _eglCompareConfigs()
629 val2 += conf2->RedSize; in _eglCompareConfigs()
633 val2 += conf2->GreenSize; in _eglCompareConfigs()
637 val2 += conf2->BlueSize; in _eglCompareConfigs()
643 val2 += conf2->LuminanceSize; in _eglCompareConfigs()
648 val2 += conf2->AlphaSize; in _eglCompareConfigs()
653 val1 = val2 = 0; in _eglCompareConfigs()
657 if (val1 != val2) in _eglCompareConfigs()
658 return (val2 in _eglCompareConfigs()
[all...]
/third_party/libcoap/src/
H A Dcoap_async.c22 #define SEARCH_PAIR(head,out,field1,val1,field2,val2,field3,val3) \
23 SEARCH_PAIR3(head,out,field1,val1,field2,val2,field3,val3,next)
25 #define SEARCH_PAIR3(head,out,field1,val1,field2,val2,field3,val3,next) \
28 if ((out)->field1 == (val1) && (out)->field2 == (val2) && \
29 ((val2) == 0 || memcmp((out)->field3, (val3), (val2)) == 0)) break; \
/third_party/openssl/test/
H A Dv3ext.c45 ASN1_INTEGER *val1 = NULL, *val2 = NULL; in test_asid() local
63 if (!TEST_ptr(val2 = ASN1_INTEGER_new()) in test_asid()
64 || !TEST_true(ASN1_INTEGER_set_int64(val2, 64497))) in test_asid()
67 if (!TEST_true(X509v3_asid_add_id_or_range(asid2, V3_ASID_ASNUM, val2, NULL))) in test_asid()
70 val2 = NULL; in test_asid()
73 || !TEST_ptr(val2 = ASN1_INTEGER_new()) in test_asid()
74 || !TEST_true(ASN1_INTEGER_set_int64(val2, 64497))) 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()
112 ASN1_INTEGER_free(val2); in test_asid()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dvfscanf.c113 int val2 = 0; in vfscanf_0300() local
127 int result = readFile(fp, "%d %d", val1, val2); in vfscanf_0300()
134 if (val2 != 0) { in vfscanf_0300()
135 t_error("%s vfscanf get is %d are not 0\n", __func__, val2); in vfscanf_0300()
/third_party/ffmpeg/tests/
H A Drefcmp-metadata.awk9 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 DUCharacterSurrogateTest.java246 int val2 = UCharacter.codePointCount(s, start, limit); in TestCodePointCount()
250 } else if (val2 != expected) { in TestCodePointCount()
251 errln("String " + str(s, start, limit) + "(" + val2 in TestCodePointCount()
308 int val2 = UCharacter.offsetByCodePoints(string, index - start, in TestOffsetByCodePoints()
315 } else if (val2 != expected) { in TestOffsetByCodePoints()
317 + val2 + ") != " + expected); in TestOffsetByCodePoints()
326 val2 = UCharacter.offsetByCodePoints(string, expected in TestOffsetByCodePoints()
333 } else if (val2 != index) { in TestOffsetByCodePoints()
336 + val2 + ") != " + index); in TestOffsetByCodePoints()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
H A DUCharacterSurrogateTest.java254 int val2 = UCharacter.codePointCount(s, start, limit); in TestCodePointCount()
258 } else if (val2 != expected) { in TestCodePointCount()
259 errln("String " + str(s, start, limit) + "(" + val2 in TestCodePointCount()
316 int val2 = UCharacter.offsetByCodePoints(string, index - start, in TestOffsetByCodePoints()
323 } else if (val2 != expected) { in TestOffsetByCodePoints()
325 + val2 + ") != " + expected); in TestOffsetByCodePoints()
334 val2 = UCharacter.offsetByCodePoints(string, expected in TestOffsetByCodePoints()
341 } else if (val2 != index) { in TestOffsetByCodePoints()
344 + val2 + ") != " + index); in TestOffsetByCodePoints()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dccp_pass.cpp105 uint32_t CCPPass::ComputeLatticeMeet(Instruction* instr, uint32_t val2) { in ComputeLatticeMeet() argument
106 // Given two values val1 and val2, the meet operation in the constant in ComputeLatticeMeet()
111 // meet(val1, val2) = val1 if val1 == val2 in ComputeLatticeMeet()
112 // meet(val1, val2) = VARYING if val1 != val2 in ComputeLatticeMeet()
119 return val2; in ComputeLatticeMeet()
125 } else if (IsVaryingValue(val2)) { in ComputeLatticeMeet()
126 return val2; in ComputeLatticeMeet()
127 } else if (val1 != val2) { in ComputeLatticeMeet()
[all...]
/third_party/spirv-tools/source/opt/
H A Dccp_pass.cpp101 uint32_t CCPPass::ComputeLatticeMeet(Instruction* instr, uint32_t val2) { in ComputeLatticeMeet() argument
102 // Given two values val1 and val2, the meet operation in the constant in ComputeLatticeMeet()
107 // meet(val1, val2) = val1 if val1 == val2 in ComputeLatticeMeet()
108 // meet(val1, val2) = VARYING if val1 != val2 in ComputeLatticeMeet()
115 return val2; in ComputeLatticeMeet()
121 } else if (IsVaryingValue(val2)) { in ComputeLatticeMeet()
122 return val2; in ComputeLatticeMeet()
123 } else if (val1 != val2) { in ComputeLatticeMeet()
[all...]
/third_party/node/test/parallel/
H A Dtest-primordials-promise.js66 const val2 = Symbol();
68 SafePromiseAllReturnArrayLike([Promise.resolve(val1), { then(resolve) { resolve(val2); } }]),
71 const expected = [val1, val2];
/third_party/ffmpeg/libavcodec/mips/
H A Dmpegaudiodsp_mips_float.c287 float val0 , val1 , val2 , val3 , val4 , val5 , val6 , val7, in ff_dct32_mips_float() local
548 "add.s %[val2], %[fTmp5], %[fTmp6] \n\t" in ff_dct32_mips_float()
565 "sub.s %[fTmp2], %[val2], %[val5] \n\t" in ff_dct32_mips_float()
569 "add.s %[val2], %[val2], %[val5] \n\t" in ff_dct32_mips_float()
585 [val2] "=&f" (val2), [val5] "=&f" (val5), in ff_dct32_mips_float()
596 "sub.s %[fTmp2], %[val1], %[val2] \n\t" in ff_dct32_mips_float()
597 "add.s %[val1], %[val1], %[val2] \n\t" in ff_dct32_mips_float()
601 "mul.s %[val2], in ff_dct32_mips_float()
[all...]

Completed in 21 milliseconds

12345