/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...] |
/kernel/linux/linux-6.6/drivers/iio/common/hid-sensors/ |
H A D | hid-sensor-attributes.c | 93 static void split_micro_fraction(unsigned int no, int exp, int *val1, int *val2) in split_micro_fraction() argument 97 *val1 = no / divisor; in split_micro_fraction() 110 int *val1, int *val2) in convert_from_vtf_format() 120 *val1 = sign * value * int_pow(10, exp); in convert_from_vtf_format() 123 split_micro_fraction(value, -exp, val1, val2); in convert_from_vtf_format() 124 if (*val1) in convert_from_vtf_format() 125 *val1 = sign * (*val1); in convert_from_vtf_format() 131 static u32 convert_to_vtf_format(int size, int exp, int val1, int val2) in convert_to_vtf_format() argument 137 if (val1 < in convert_to_vtf_format() 109 convert_from_vtf_format(u32 value, int size, int exp, int *val1, int *val2) convert_from_vtf_format() argument 174 hid_sensor_read_samp_freq_value(struct hid_sensor_common *st, int *val1, int *val2) hid_sensor_read_samp_freq_value() argument 201 hid_sensor_write_samp_freq_value(struct hid_sensor_common *st, int val1, int val2) hid_sensor_write_samp_freq_value() argument 236 hid_sensor_read_raw_hyst_value(struct hid_sensor_common *st, int *val1, int *val2) hid_sensor_read_raw_hyst_value() argument 259 hid_sensor_read_raw_hyst_rel_value(struct hid_sensor_common *st, int *val1, int *val2) hid_sensor_read_raw_hyst_rel_value() argument 282 hid_sensor_write_raw_hyst_value(struct hid_sensor_common *st, int val1, int val2) hid_sensor_write_raw_hyst_value() argument 313 hid_sensor_write_raw_hyst_rel_value(struct hid_sensor_common *st, int val1, int val2) hid_sensor_write_raw_hyst_rel_value() argument 355 adjust_exponent_nano(int *val0, int *val1, int scale0, int scale1, int exp) adjust_exponent_nano() argument 402 hid_sensor_format_scale(u32 usage_id, struct hid_sensor_hub_attribute_info *attr_info, int *val0, int *val1) hid_sensor_format_scale() argument 559 int val0, val1; hid_sensor_parse_common_attributes() local [all...] |
/kernel/linux/linux-5.10/drivers/iio/common/hid-sensors/ |
H A D | hid-sensor-attributes.c | 98 static void split_micro_fraction(unsigned int no, int exp, int *val1, int *val2) in split_micro_fraction() argument 102 *val1 = no / divisor; in split_micro_fraction() 115 int *val1, int *val2) in convert_from_vtf_format() 125 *val1 = sign * value * int_pow(10, exp); in convert_from_vtf_format() 128 split_micro_fraction(value, -exp, val1, val2); in convert_from_vtf_format() 129 if (*val1) in convert_from_vtf_format() 130 *val1 = sign * (*val1); in convert_from_vtf_format() 136 static u32 convert_to_vtf_format(int size, int exp, int val1, int val2) in convert_to_vtf_format() argument 142 if (val1 < in convert_to_vtf_format() 114 convert_from_vtf_format(u32 value, int size, int exp, int *val1, int *val2) convert_from_vtf_format() argument 179 hid_sensor_read_samp_freq_value(struct hid_sensor_common *st, int *val1, int *val2) hid_sensor_read_samp_freq_value() argument 206 hid_sensor_write_samp_freq_value(struct hid_sensor_common *st, int val1, int val2) hid_sensor_write_samp_freq_value() argument 241 hid_sensor_read_raw_hyst_value(struct hid_sensor_common *st, int *val1, int *val2) hid_sensor_read_raw_hyst_value() argument 264 hid_sensor_write_raw_hyst_value(struct hid_sensor_common *st, int val1, int val2) hid_sensor_write_raw_hyst_value() argument 306 adjust_exponent_nano(int *val0, int *val1, int scale0, int scale1, int exp) adjust_exponent_nano() argument 353 hid_sensor_format_scale(u32 usage_id, struct hid_sensor_hub_attribute_info *attr_info, int *val0, int *val1) hid_sensor_format_scale() argument 483 int val0, val1; hid_sensor_parse_common_attributes() local [all...] |
/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...] |
/kernel/linux/linux-5.10/arch/ia64/lib/ |
H A D | copy_user.S | 80 .rotr val1[PIPE_DEPTH],val2[PIPE_DEPTH] 115 EX(.failure_in_pipe1,(p16) ld1 val1[0]=[src1],1) 116 EX(.failure_out,(EPI) st1 [dst1]=val1[PIPE_DEPTH-1],1) 197 EX(.failure_in_pipe2,(p16) ld1 val1[0]=[src1],1) 198 EX(.failure_out,(EPI) st1 [dst1]=val1[PIPE_DEPTH-1],1) 229 // To make it simple, use at least 2 (p16) loops to set up val1[n] 230 // because we need 2 back-to-back val1[] to get tmp. 242 (EPI_1) shrp tmp=val1[PIPE_DEPTH-2],val1[PIPE_DEPTH-1],rshift; \ 243 EX(3f,(p16) ld8 val1[ [all...] |
H A D | strlen.S | 66 // was in val1. 80 #define val1 r22 define 115 czx1.r val1=v[1] // search 0 byte from right 119 cmp.eq.and p6,p0=8,val1 // p6 = p6 and val1==8 125 // val1_is_nat || (val1==8 && val2_is_nat) 130 cmp.eq p8,p9=8,val1 // p6 = val1 had zero (disambiguate) 131 tnat.nz p6,p7=val1 // test NaT on val1 [all...] |
/kernel/linux/linux-6.6/arch/ia64/lib/ |
H A D | copy_user.S | 80 .rotr val1[PIPE_DEPTH],val2[PIPE_DEPTH] 115 EX(.failure_in_pipe1,(p16) ld1 val1[0]=[src1],1) 116 EX(.failure_out,(EPI) st1 [dst1]=val1[PIPE_DEPTH-1],1) 197 EX(.failure_in_pipe2,(p16) ld1 val1[0]=[src1],1) 198 EX(.failure_out,(EPI) st1 [dst1]=val1[PIPE_DEPTH-1],1) 229 // To make it simple, use at least 2 (p16) loops to set up val1[n] 230 // because we need 2 back-to-back val1[] to get tmp. 242 (EPI_1) shrp tmp=val1[PIPE_DEPTH-2],val1[PIPE_DEPTH-1],rshift; \ 243 EX(3f,(p16) ld8 val1[ [all...] |
H A D | strlen.S | 66 // was in val1. 80 #define val1 r22 define 115 czx1.r val1=v[1] // search 0 byte from right 119 cmp.eq.and p6,p0=8,val1 // p6 = p6 and val1==8 125 // val1_is_nat || (val1==8 && val2_is_nat) 130 cmp.eq p8,p9=8,val1 // p6 = val1 had zero (disambiguate) 131 tnat.nz p6,p7=val1 // test NaT on val1 [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_core_autosize.c | 14 unsigned long long val1; member 23 unsigned long val1; member 33 long val1; member 43 unsigned long long val1; member 52 .val1 = 0x1020304050607080, 93 val1_samesized = in->val1; in handle_samesize() 99 out->val1 = in->val1; in handle_samesize() 114 val1_downsized = in->val1; in handle_downsize() 120 out->val1 in handle_downsize() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_core_autosize.c | 14 unsigned long long val1; member 23 unsigned long val1; member 33 long val1; member 43 unsigned long long val1; member 52 .val1 = 0x1020304050607080, 93 val1_samesized = in->val1; in handle_samesize() 99 out->val1 = in->val1; in handle_samesize() 114 val1_downsized = in->val1; in handle_downsize() 120 out->val1 in handle_downsize() [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...] |
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/ |
H A D | hgm_lru_cache_test.cpp | 45 constexpr int32_t val1 = 1; in HWTEST_F() local 54 cache.Put(val1); in HWTEST_F() 56 ASSERT_TRUE(cache.Existed(val1)); in HWTEST_F() 60 ASSERT_TRUE(cache.Existed(val1)); in HWTEST_F() 65 ASSERT_TRUE(cache.Existed(val1)); in HWTEST_F() 70 ASSERT_TRUE(cache.Existed(val1)); in HWTEST_F() 74 cache.Put(val1); in HWTEST_F() 75 ASSERT_TRUE(cache.Existed(val1)); in HWTEST_F() 81 ASSERT_TRUE(cache.Existed(val1)); in HWTEST_F()
|
/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...] |
/kernel/linux/linux-5.10/arch/sh/boards/mach-dreamcast/ |
H A D | rtc.c | 35 unsigned long val1, val2; in aica_rtc_gettimeofday() local 39 val1 = ((__raw_readl(AICA_RTC_SECS_H) & 0xffff) << 16) | in aica_rtc_gettimeofday() 44 } while (val1 != val2); in aica_rtc_gettimeofday() 47 t = (u32)(val1 - TWENTY_YEARS); in aica_rtc_gettimeofday() 63 unsigned long val1, val2; in aica_rtc_settimeofday() local 71 val1 = ((__raw_readl(AICA_RTC_SECS_H) & 0xffff) << 16) | in aica_rtc_settimeofday() 76 } while (val1 != val2); in aica_rtc_settimeofday()
|
/kernel/linux/linux-6.6/arch/sh/boards/mach-dreamcast/ |
H A D | rtc.c | 35 unsigned long val1, val2; in aica_rtc_gettimeofday() local 39 val1 = ((__raw_readl(AICA_RTC_SECS_H) & 0xffff) << 16) | in aica_rtc_gettimeofday() 44 } while (val1 != val2); in aica_rtc_gettimeofday() 47 t = (u32)(val1 - TWENTY_YEARS); in aica_rtc_gettimeofday() 63 unsigned long val1, val2; in aica_rtc_settimeofday() local 71 val1 = ((__raw_readl(AICA_RTC_SECS_H) & 0xffff) << 16) | in aica_rtc_settimeofday() 76 } while (val1 != val2); in aica_rtc_settimeofday()
|
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/ |
H A D | test-core.h | 238 #define TEST_RR(code1, reg1, val1, code2, reg2, val2, code3) \ 240 TEST_ARG_REG(reg1, val1) \ 246 #define TEST_RRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4)\ 248 TEST_ARG_REG(reg1, val1) \ 255 #define TEST_RRRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4, reg4, val4) \ 257 TEST_ARG_REG(reg1, val1) \ 265 #define TEST_P(code1, reg1, val1, code2) \ 267 TEST_ARG_PTR(reg1, val1) \ 272 #define TEST_PR(code1, reg1, val1, code2, reg2, val2, code3) \ 274 TEST_ARG_PTR(reg1, val1) \ [all...] |
/kernel/linux/linux-6.6/arch/arm/probes/kprobes/ |
H A D | test-core.h | 239 #define TEST_RR(code1, reg1, val1, code2, reg2, val2, code3) \ 241 TEST_ARG_REG(reg1, val1) \ 247 #define TEST_RRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4)\ 249 TEST_ARG_REG(reg1, val1) \ 256 #define TEST_RRRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4, reg4, val4) \ 258 TEST_ARG_REG(reg1, val1) \ 266 #define TEST_P(code1, reg1, val1, code2) \ 268 TEST_ARG_PTR(reg1, val1) \ 273 #define TEST_PR(code1, reg1, val1, code2, reg2, val2, code3) \ 275 TEST_ARG_PTR(reg1, val1) \ [all...] |
/kernel/linux/linux-5.10/sound/pcmcia/pdaudiocf/ |
H A D | pdaudiocf_irq.c | 51 register u16 val1, val2; in pdacf_transfer_mono32() local 54 val1 = inw(rdp_port); in pdacf_transfer_mono32() 57 *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; in pdacf_transfer_mono32() 71 register u16 val1, val2, val3; in pdacf_transfer_stereo32() local 74 val1 = inw(rdp_port); in pdacf_transfer_stereo32() 77 *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; in pdacf_transfer_stereo32() 92 register u16 val1, val2; in pdacf_transfer_mono32sw() local 95 val1 = inw(rdp_port); in pdacf_transfer_mono32sw() 98 *dst++ = swab32((((val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor); in pdacf_transfer_mono32sw() 112 register u16 val1, val in pdacf_transfer_stereo32sw() local 125 register u16 val1, val2; pdacf_transfer_mono24le() local 141 register u16 val1, val2; pdacf_transfer_mono24be() local 157 register u16 val1, val2, val3; pdacf_transfer_stereo24le() local 177 register u16 val1, val2, val3; pdacf_transfer_stereo24be() local [all...] |
/kernel/linux/linux-6.6/sound/pcmcia/pdaudiocf/ |
H A D | pdaudiocf_irq.c | 51 register u16 val1, val2; in pdacf_transfer_mono32() local 54 val1 = inw(rdp_port); in pdacf_transfer_mono32() 57 *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; in pdacf_transfer_mono32() 71 register u16 val1, val2, val3; in pdacf_transfer_stereo32() local 74 val1 = inw(rdp_port); in pdacf_transfer_stereo32() 77 *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; in pdacf_transfer_stereo32() 92 register u16 val1, val2; in pdacf_transfer_mono32sw() local 95 val1 = inw(rdp_port); in pdacf_transfer_mono32sw() 98 *dst++ = swab32((((val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor); in pdacf_transfer_mono32sw() 112 register u16 val1, val in pdacf_transfer_stereo32sw() local 125 register u16 val1, val2; pdacf_transfer_mono24le() local 141 register u16 val1, val2; pdacf_transfer_mono24be() local 157 register u16 val1, val2, val3; pdacf_transfer_stereo24le() local 177 register u16 val1, val2, val3; pdacf_transfer_stereo24be() local [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...] |
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_netfirewall_test/ |
H A D | suffix_match_trie_test.cpp | 52 int val1 = 101; in HWTEST_F() local 53 trie.Insert(TEST_SUFFIX1, val1); in HWTEST_F() 67 int val1 = 101; in HWTEST_F() local 68 trie.Insert(TEST_SUFFIX1, val1); in HWTEST_F() 79 int val1 = 101; in HWTEST_F() local 81 trie.Insert(TEST_SUFFIX1, val1); in HWTEST_F() 100 int val1 = 101; in HWTEST_F() local 103 trie.Insert(TEST_SUFFIX1, val1); in HWTEST_F()
|
/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()
|