/aosp12/art/test/660-checker-simd-sad/src/ |
H A D | SimdSadChar.java | 30 sad += Math.abs(s1[i] - s2[i]); in sadChar2Char() 40 char p = s2[i]; in sadChar2CharAlt() 51 char p = s2[i]; in sadChar2CharAlt2() 77 sad += Math.abs(s1[i] - s2[i]); in sadChar2Int() 101 char p = s2[i]; in sadChar2IntAlt() 126 char p = s2[i]; in sadChar2IntAlt2() 156 long y = s2[i]; in sadChar2Long() 184 long y = s2[i]; in sadChar2LongAt1() 225 s2 = new char[m]; in main() 230 s2[k] = interesting[j]; in main() [all …]
|
H A D | SimdSadShort2.java | 27 int min_length = Math.min(s1.length, s2.length); in sadCastedChar2Short() 36 int min_length = Math.min(s1.length, s2.length); in sadCastedChar2ShortAlt() 40 short p = (short) s2[i]; in sadCastedChar2ShortAlt() 51 short p = (short) s2[i]; in sadCastedChar2ShortAlt2() 168 short p = (short) s2[i]; in sadCastedChar2IntAlt() 227 short p = (short) s2[i]; in sadCastedChar2IntAlt2() 294 long y = (short) s2[i]; in sadCastedChar2Long() 359 long y = (short) s2[i]; in sadCastedChar2LongAt1() 400 s2 = new char[m]; in main() 405 s2[k] = interesting[j]; in main() [all …]
|
H A D | SimdSadShort.java | 32 sad += Math.abs(s1[i] - s2[i]); in sadShort2Short() 42 short p = s2[i]; in sadShort2ShortAlt() 53 short p = s2[i]; in sadShort2ShortAlt2() 96 sad += Math.abs(s1[i] - s2[i]); in sadShort2Int() 137 short p = s2[i]; in sadShort2IntAlt() 179 short p = s2[i]; in sadShort2IntAlt2() 350 long y = s2[i]; in sadShort2Long() 396 long y = s2[i]; in sadShort2LongAt1() 440 s2 = new short[m]; in main() 445 s2[k] = interesting[j]; in main() [all …]
|
/aosp12/frameworks/av/media/codecs/amrnb/common/src/ |
H A D | syn_filt.cpp | 262 Word32 s2; in Syn_filt() local 295 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2); in Syn_filt() 297 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2); in Syn_filt() 299 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2); in Syn_filt() 317 s2 = amrnb_fxp_msu_16_by_16bb((Word32)a[1], (Word32)temp, s2); in Syn_filt() 329 else if (s2 > 0x07ffffffL) in Syn_filt() 354 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2); in Syn_filt() 356 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2); in Syn_filt() 358 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2); in Syn_filt() 375 s2 = amrnb_fxp_msu_16_by_16bb((Word32)a[1], (Word32)temp, s2); in Syn_filt() [all …]
|
H A D | pred_lt.cpp | 278 Word32 s2; in Pred_lt_3or6() local 328 s2 = 0x00004000L; in Pred_lt_3or6() 332 s2 += ((Word32) * (pX3--)) * *(pC1); in Pred_lt_3or6() 335 s2 += ((Word32) * (pX2)) * *(pC1++); in Pred_lt_3or6() 336 s2 += ((Word32) * (pX3--)) * *(pC1); in Pred_lt_3or6() 339 s2 += ((Word32) * (pX2)) * *(pC1++); in Pred_lt_3or6() 344 *(p_exc++) = (Word16)(s2 >> 15); in Pred_lt_3or6()
|
H A D | residu.cpp | 207 Word32 s2; in Residu() local 221 s2 = 0x0000800L; in Residu() 233 s2 += ((Word32) * (p_coef) * *(p_input2++)); in Residu() 237 s2 += ((Word32) * (p_coef) * *(p_input2++)); in Residu() 243 s2 += (((Word32) * (p_coef)) * *(p_input2)); in Residu() 248 *(p_residual_ptr--) = (Word16)(s2 >> 12); in Residu()
|
/aosp12/system/extras/ioshark/ |
H A D | compile_ioshark.c | 161 s2++; in get_tracetype() 172 bcopy(s2, s, strlen(s2) + 1); in get_tracetype() 214 save = *s2; in get_pathname() 215 *s2 = '\0'; in get_pathname() 217 *s2 = save; in get_pathname() 238 *s2 = '\0'; in get_syscall() 240 *s2 = '('; in get_syscall() 328 *s2 = '\0'; in get_lseek_offset_action() 330 *s2 = ')'; in get_lseek_offset_action() 431 *s2 = '\0'; in get_openat_flags_mode() [all …]
|
/aosp12/system/bt/embdrv/sbc/decoder/include/ |
H A D | oi_string.h | 61 #define OI_MemCmp(s1, s2, n) memcmp((s1), (s2), (n)) argument 65 #define OI_Strcmp(s1, s2) strcmp((s1), (s2)) argument 66 #define OI_Strncmp(s1, s2, n) strncmp((s1), (s2), (n)) argument 103 OI_INT OI_MemCmp(void const* s1, void const* s2, uint32_t n); 141 OI_INT OI_Strcmp(OI_CHAR const* s1, OI_CHAR const* s2); 153 OI_INT OI_Strncmp(OI_CHAR const* s1, OI_CHAR const* s2, uint32_t len); 169 OI_INT OI_StrcmpInsensitive(OI_CHAR const* s1, OI_CHAR const* s2); 184 OI_INT OI_StrncmpInsensitive(OI_CHAR const* s1, OI_CHAR const* s2, OI_UINT len);
|
/aosp12/frameworks/av/media/codecs/amrnb/enc/src/ |
H A D | convolve.cpp | 216 Word32 s1, s2; in Convolve() local 224 s2 = ((Word32) * (x)) * *(h--); in Convolve() 229 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h--), s2); in Convolve() 231 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h--), s2); in Convolve() 235 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h), s2); in Convolve() 238 *(y++) = (Word16)(s2 >> 12); in Convolve()
|
H A D | calc_en.cpp | 278 Word32 s2; /* Intermediate energy accumulator */ in calc_unfilt_energies() local 293 s2 = 0; in calc_unfilt_energies() 310 …s2 = amrnb_fxp_mac_16_by_16bb((Word32) tmp2, (Word32) tmp2, s2); /* Compute ltp excitation energ… in calc_unfilt_energies() 322 s2 = s2 << 1; in calc_unfilt_energies() 344 if (s2 & MIN_32) in calc_unfilt_energies() 346 s2 = MAX_32; in calc_unfilt_energies() 350 exp = norm_l(s2); in calc_unfilt_energies() 626 s2 = 0L; in calc_filt_energies() 632 s2 = 1L; in calc_filt_energies() 646 s2 = L_mac(s2, xn[i], tmp, pOverflow); in calc_filt_energies() [all …]
|
/aosp12/art/test/684-checker-simd-dotprod/src/other/ |
H A D | TestVarious.java | 330 int s2 = 2; in testDotProdBothSignedUnsigned1() local 335 s2 += (a_val & 0xff) * (b_val & 0xff); in testDotProdBothSignedUnsigned1() 337 return s1 + s2; in testDotProdBothSignedUnsigned1() 397 int s2 = 2; in testDotProdBothSignedUnsigned2() local 401 s2 += (a_val & 0xff) * (b_val & 0xff); in testDotProdBothSignedUnsigned2() 404 return s1 + s2; in testDotProdBothSignedUnsigned2() 465 int s2 = 2; in testDotProdBothSignedUnsignedDoubleLoad() local 468 s2 += (a[i] & 0xff) * (b[i] & 0xff); in testDotProdBothSignedUnsignedDoubleLoad() 470 return s1 + s2; in testDotProdBothSignedUnsignedDoubleLoad() 517 int s2 = 2; in testDotProdBothSignedUnsignedChar() local [all …]
|
H A D | TestCharShort.java | 569 expectEquals(results[0], testDotProdSimple(s1, s2)); in testDotProd() 570 expectEquals(results[1], testDotProdComplex(s1, s2)); in testDotProd() 575 expectEquals(results[6], testDotProdSignedToInt(s1, s2)); in testDotProd() 576 expectEquals(results[7], testDotProdParamSigned(-32768, s2)); in testDotProd() 578 expectEquals(results[9], testDotProdIntParam(-32768, s2)); in testDotProd() 579 expectEquals(results[10], testDotProdSignedToChar(s1, s2)); in testDotProd() 584 expectEquals(results[15], testDotProdSimpleCastedToShort(s1, s2)); in testDotProd() 585 expectEquals(results[16], testDotProdSimpleCastedToChar(s1, s2)); in testDotProd() 589 expectEquals(results[20], testDotProdSignedNarrowerSigned(s1, s2)); in testDotProd() 590 expectEquals(results[21], testDotProdSignedNarrowerUnsigned(s1, s2)); in testDotProd() [all …]
|
/aosp12/packages/modules/Connectivity/tests/common/java/android/net/ |
H A D | StaticIpConfigurationTest.java | 88 assertEquals(s1, s2); in testCopyAndClear() 89 s2.clear(); in testCopyAndClear() 90 assertEquals(empty, s2); in testCopyAndClear() 124 assertEquals(s, s2); in testHashCodeAndEquals() 127 assertNotEquals(s, s2); in testHashCodeAndEquals() 131 assertNotEquals(s, s2); in testHashCodeAndEquals() 135 assertNotEquals(s, s2); in testHashCodeAndEquals() 139 assertNotEquals(s, s2); in testHashCodeAndEquals() 210 assertNotNull(s2); in passThroughParcel() 211 return s2; in passThroughParcel() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | SpannedTest.java | 93 style = s2.getSpans(1, 2, StyleSpan.class); in testWrapParcel() 95 assertEquals(1, s2.getSpanStart(style[0])); in testWrapParcel() 96 assertEquals(2, s2.getSpanEnd(style[0])); in testWrapParcel() 98 style = s2.getSpans(3, 7, StyleSpan.class); in testWrapParcel() 100 assertEquals(3, s2.getSpanStart(style[0])); in testWrapParcel() 101 assertEquals(7, s2.getSpanEnd(style[0])); in testWrapParcel() 103 TextAppearanceSpan[] appearance = s2.getSpans(7, 8, in testWrapParcel() 106 assertEquals(7, s2.getSpanStart(appearance[0])); in testWrapParcel() 107 assertEquals(8, s2.getSpanEnd(appearance[0])); in testWrapParcel() 111 assertEquals(8, s2.getSpanStart(tf[0])); in testWrapParcel() [all …]
|
/aosp12/packages/modules/DnsResolver/tests/ |
H A D | resolv_tls_unit_test.cpp | 796 EXPECT_TRUE(s2 == s2); in checkUnequal() 798 EXPECT_TRUE(isAddressEqual(s2, s2)); in checkUnequal() 800 EXPECT_TRUE(s1 < s2 ^ s2 < s1); in checkUnequal() 807 EXPECT_TRUE(s2 == s2); in checkEqual() 809 EXPECT_TRUE(isAddressEqual(s2, s2)); in checkEqual() 854 EXPECT_EQ(s1, s2); in TEST_F() 896 checkEqual(s1, s2); in TEST_F() 898 checkEqual(s1, s2); in TEST_F() 900 checkEqual(s1, s2); in TEST_F() 902 checkEqual(s1, s2); in TEST_F() [all …]
|
/aosp12/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
H A D | e_powl.c | 152 long double s2, s_h, s_l, t_h, t_l; in powl() local 332 s2 = s * s; in powl() 333 u = LN[0] + s2 * (LN[1] + s2 * (LN[2] + s2 * (LN[3] + s2 * LN[4]))); in powl() 334 v = LD[0] + s2 * (LD[1] + s2 * (LD[2] + s2 * (LD[3] + s2 * (LD[4] + s2)))); in powl() 335 r = s2 * s2 * u / v; in powl() 337 s2 = s_h * s_h; in powl() 338 t_h = 3.0 + s2 + r; in powl() 343 t_l = r - ((t_h - 3.0) - s2); in powl()
|
/aosp12/art/benchmark/stringbuilder-append/src/ |
H A D | StringBuilderAppendBenchmark.java | 26 String s2 = string2; in timeAppendStrings() local 29 String result = s1 + s2; in timeAppendStrings() 32 if (sum != count * (s1.length() + s2.length())) { in timeAppendStrings() 39 String s2 = longString2; in timeAppendLongStrings() local 42 String result = s1 + s2; in timeAppendLongStrings() 45 if (sum != count * (s1.length() + s2.length())) { in timeAppendLongStrings()
|
/aosp12/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | e_powf.c | 152 float s2,s_h,s_l,t_h,t_l; in __ieee754_powf() local 179 s2 = s*s; in __ieee754_powf() 180 r = s2*s2*(L1+s2*(L2+s2*(L3+s2*(L4+s2*(L5+s2*L6))))); in __ieee754_powf() 182 s2 = s_h*s_h; in __ieee754_powf() 183 t_h = 3+s2+r; in __ieee754_powf() 186 t_l = r-((t_h-3)-s2); in __ieee754_powf()
|
H A D | e_pow.c | 211 double ss,s2,s_h,s_l,t_h,t_l; in __ieee754_pow() local 237 s2 = ss*ss; in __ieee754_pow() 238 r = s2*s2*(L1+s2*(L2+s2*(L3+s2*(L4+s2*(L5+s2*L6))))); in __ieee754_pow() 240 s2 = s_h*s_h; in __ieee754_pow() 241 t_h = 3+s2+r; in __ieee754_pow() 243 t_l = r-((t_h-3)-s2); in __ieee754_pow()
|
/aosp12/art/runtime/arch/ |
H A D | memcmp16_test.cc | 56 uint16_t *s1, *s2; // Use raw pointers to simplify using clobbered addresses in CheckSeparate() local 96 s2 = new uint16_t[count2]; in CheckSeparate() 99 s2 = reinterpret_cast<uint16_t*>(0xebad2002); in CheckSeparate() 108 s2[i] = s1[i]; in CheckSeparate() 114 s2[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate() 121 s2[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate() 126 uint16_t* s2_pot_unaligned = s2; in CheckSeparate() 151 delete[] s2; in CheckSeparate()
|
/aosp12/system/netd/libnetdutils/ |
H A D | StatusTest.cpp | 67 Status s2(666, "EDAEMON"); in TEST() local 68 EXPECT_NE(s, s2); in TEST() 69 s = s2; // Invokes the move-assignment operator. in TEST() 72 EXPECT_EQ(s, s2); in TEST() 75 s2 = s; in TEST() 80 EXPECT_EQ(s, s2); in TEST()
|
/aosp12/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
H A D | CarUxRestrictionsConfigurationTest.java | 257 Builder.SpeedRange s2 = in testSpeedRangeComparison_DifferentMin() local 267 Builder.SpeedRange s2 = in testSpeedRangeComparison_SameMin() local 276 Builder.SpeedRange s2 = in testSpeedRangeComparison_SameMinDifferentMax() local 286 Builder.SpeedRange s2 = in testSpeedRangeComparison_MaxSpeed() local 295 Builder.SpeedRange s1, s2; in testSpeedRangeEquals() local 301 s2 = new Builder.SpeedRange(1f); in testSpeedRangeEquals() 303 assertThat(s2).isEqualTo(s1); in testSpeedRangeEquals() 307 assertThat(s2).isEqualTo(s1); in testSpeedRangeEquals() 311 assertThat(s2).isEqualTo(s1); in testSpeedRangeEquals() 314 s2 = new Builder.SpeedRange(1f); in testSpeedRangeEquals() [all …]
|
/aosp12/packages/apps/TV/src/com/android/tv/data/api/ |
H A D | BaseProgram.java | 33 static int numberCompare(String s1, String s2) { in numberCompare() argument 34 if (Objects.equals(s1, s2)) { in numberCompare() 38 } else if (s2 == null) { in numberCompare() 40 } else if (s1.equals(s2)) { in numberCompare() 44 return Integer.compare(Integer.parseInt(s1), Integer.parseInt(s2)); in numberCompare() 46 return s1.compareTo(s2); in numberCompare()
|
/aosp12/art/runtime/interpreter/mterp/armng/ |
H A D | floating_point.S | 20 $instr @ s2<- op 22 SET_VREG_FLOAT s2, r4, lr @ vAA<- s2 41 $instr @ s2<- op 43 SET_VREG_FLOAT_BY_ADDR s2, r4 @ vAA<- s2 No need to clear as it's 2addr
|
/aosp12/bionic/libc/bionic/ |
H A D | strings_l.cpp | 32 int strcasecmp_l(const char* s1, const char* s2, locale_t) { in strcasecmp_l() argument 33 return strcasecmp(s1, s2); in strcasecmp_l() 36 int strncasecmp_l(const char* s1, const char* s2, size_t n, locale_t) { in strncasecmp_l() argument 37 return strncasecmp(s1, s2, n); in strncasecmp_l()
|