Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 89) sorted by relevance

1234

/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dsyn_filt.cpp262 Word32 s2; in Syn_filt() local
290 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_a++), 0x00000800L); in Syn_filt()
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()
325 if ((UWord32)(s2 - 0xf8000000L) < 0x0fffffffL) in Syn_filt()
327 temp = (Word16)(s2 >> 12); in Syn_filt()
329 else if (s2 > 0x07ffffffL) in Syn_filt()
349 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_a++), 0x00000800L); in Syn_filt()
[all …]
Dpred_lt.cpp278 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()
Dresidu.cpp207 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()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dconvolve.cpp216 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()
Dcalc_en.cpp278 Word32 s2; /* Intermediate energy accumulator */ in calc_unfilt_energies() local
293 s2 = 0; in calc_unfilt_energies()
310s2 = 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()
351 frac_en[1] = (Word16)(L_shl(s2, exp, pOverflow) >> 16); in calc_unfilt_energies()
608 Word32 s2; /* Intermediate energy accumulator */ in calc_filt_energies() local
626 s2 = 0L; in calc_filt_energies()
[all …]
Dpitch_fr.cpp329 Word32 s2; in Norm_Corr() local
383 s = s2 = 0; in Norm_Corr()
391 s2 += ((Word32)(*(p_s_excf)) * (*(p_s_excf))); in Norm_Corr()
394 s2 += ((Word32)(*(p_s_excf)) * (*(p_s_excf))); in Norm_Corr()
398 s2 = s2 << 1; in Norm_Corr()
399 s2 = Inv_sqrt(s2, pOverflow); in Norm_Corr()
400 norm_h = (Word16)(s2 >> 16); in Norm_Corr()
401 norm_l = (Word16)((s2 >> 1) - (norm_h << 15)); in Norm_Corr()
Dcor_h.cpp280 Word32 s2; in cor_h() local
382 s2 = 0; in cor_h()
393 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_h2++), (Word32) * (p_h), s2); in cor_h()
396 tmp11 = (Word16)((s2 + 0x00004000L) >> 15); in cor_h()
/frameworks/base/tests/net/common/java/android/net/
DStaticIpConfigurationTest.java91 StaticIpConfiguration s2 = new StaticIpConfiguration(s1); in testCopyAndClear() local
92 assertEquals(s1, s2); in testCopyAndClear()
93 s2.clear(); in testCopyAndClear()
94 assertEquals(empty, s2); in testCopyAndClear()
127 StaticIpConfiguration s2 = new StaticIpConfiguration(s); in testHashCodeAndEquals() local
128 assertEquals(s, s2); in testHashCodeAndEquals()
131 assertNotEquals(s, s2); in testHashCodeAndEquals()
133 s2 = new StaticIpConfiguration(s); in testHashCodeAndEquals()
135 assertNotEquals(s, s2); in testHashCodeAndEquals()
137 s2 = new StaticIpConfiguration(s); in testHashCodeAndEquals()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DSpannedTest.java89 Spanned s2 = (Spanned) TextUtils.CHAR_SEQUENCE_CREATOR. in testWrapParcel() local
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()
[all …]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dlayered_filter_fast_d1new.rs89 x += g_image_size_i4.s2; // margin
90 y += g_image_size_i4.s2; // margin
118 x += g_image_size_i4.s2; // margin
119 y += g_image_size_i4.s2; // margin
243 x += g_image_size_i4.s2; // margin
244 y += g_image_size_i4.s2; // margin
289 x += g_image_size_i4.s2; // margin
290 y += g_image_size_i4.s2; // margin
334 y += g_image_size_i4.s2; // margin
370 y += g_image_size_i4.s2; // margin
[all …]
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.cpp564 bool EqualsTo(const DimensionsValue& s1, const DimensionsValue& s2) { in EqualsTo() argument
565 if (s1.field() != s2.field()) { in EqualsTo()
568 if (s1.value_case() != s2.value_case()) { in EqualsTo()
573 return (s1.value_str() == s2.value_str()); in EqualsTo()
575 return s1.value_int() == s2.value_int(); in EqualsTo()
577 return s1.value_long() == s2.value_long(); in EqualsTo()
579 return s1.value_bool() == s2.value_bool(); in EqualsTo()
581 return s1.value_float() == s2.value_float(); in EqualsTo()
584 s2.value_tuple().dimensions_value_size()) { in EqualsTo()
590 s2.value_tuple().dimensions_value(i)); in EqualsTo()
[all …]
/frameworks/base/tools/preload2/src/com/android/preload/actions/
DReloadListAction.java57 String s2 = o2.getClientData().getClientDescription(); in compare() local
59 if (s1 == null || s2 == null) { in compare()
64 return s1.compareTo(s2); in compare()
/frameworks/av/media/libstagefright/tests/
DMediaCodecListOverrides_test.cpp111 AString s2; in TEST_F() local
112 EXPECT_FALSE(splitString(s, delimiter, &s1, &s2)); in TEST_F()
114 EXPECT_TRUE(splitString(s, delimiter, &s1, &s2)); in TEST_F()
116 EXPECT_TRUE(s2 == "123"); in TEST_F()
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetActivityTest.java111 AnimatorSet s2 = new AnimatorSet(); in testGetChildAnimations() local
112 s2.playSequentially(a1, a2, a3); in testGetChildAnimations()
113 children = s2.getChildAnimations(); in testGetChildAnimations()
120 s3.play(a1).before(a2).after(s1).with(s2).after(a3); in testGetChildAnimations()
128 assertTrue(s3Children.contains(s2)); in testGetChildAnimations()
164 AnimatorSet s2 = new AnimatorSet(); in testTotalDuration() local
165 s2.playTogether(list); in testTotalDuration()
172 assertEquals(maxDuration, s2.getTotalDuration()); in testTotalDuration()
513 final AnimatorSet s2 = s1.clone(); in testClone() local
515 s2.addListener(l2); in testClone()
[all …]
/frameworks/base/cmds/statsd/src/
DHashableDimensionKey.cpp111 bool LessThan(const vector<FieldValue>& s1, const vector<FieldValue>& s2) { in LessThan() argument
112 if (s1.size() != s2.size()) { in LessThan()
113 return s1.size() < s2.size(); in LessThan()
118 if (s1[i] != s2[i]) { in LessThan()
119 return s1[i] < s2[i]; in LessThan()
/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbAccessory.java98 private static boolean compare(String s1, String s2) { in compare() argument
99 if (s1 == null) return (s2 == null); in compare()
100 return s1.equals(s2); in compare()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java113 int s2 = mVelocityBasedConnectedScore.generateScore(); in calculateAndReportScore() local
115 score = s2; in calculateAndReportScore()
159 logLinkMetrics(wifiInfo, millis, netId, s1, s2, score); in calculateAndReportScore()
246 int s1, int s2, int score) { in logLinkMetrics() argument
266 s1, s2, score); in logLinkMetrics()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecord.java198 private static boolean stringCompareNullEqualsEmpty(String s1, String s2) { in stringCompareNullEqualsEmpty() argument
199 if (s1 == s2) { in stringCompareNullEqualsEmpty()
205 if (s2 == null) { in stringCompareNullEqualsEmpty()
206 s2 = ""; in stringCompareNullEqualsEmpty()
208 return (s1.equals(s2)); in stringCompareNullEqualsEmpty()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs39 volatile short2 s2;
184 s2 = rsGetElementAt_short2(aShort2, 0);
185 rsSetElementAt_short2(aShort2, s2, 0);
186 s2 = rsGetElementAt_short2(aShort2, 0, 0);
187 rsSetElementAt_short2(aShort2, s2, 0, 0);
188 s2 = rsGetElementAt_short2(aShort2, 0, 0, 0);
189 rsSetElementAt_short2(aShort2, s2, 0, 0, 0);
418 c2 = convert_char2(s2);
440 uc2 = convert_uchar2(s2);
460 s2 = convert_short2(c2);
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dapitest.rs57 volatile short2 s2;
204 s2 = rsGetElementAt_short2(aShort2, 0);
205 rsSetElementAt_short2(aShort2, s2, 0);
206 s2 = rsGetElementAt_short2(aShort2, 0, 0);
207 rsSetElementAt_short2(aShort2, s2, 0, 0);
208 s2 = rsGetElementAt_short2(aShort2, 0, 0, 0);
209 rsSetElementAt_short2(aShort2, s2, 0, 0, 0);
438 c2 = convert_char2(s2);
460 uc2 = convert_uchar2(s2);
480 s2 = convert_short2(c2);
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rs55 volatile short2 s2;
202 s2 = rsGetElementAt_short2(aShort2, 0);
203 rsSetElementAt_short2(aShort2, s2, 0);
204 s2 = rsGetElementAt_short2(aShort2, 0, 0);
205 rsSetElementAt_short2(aShort2, s2, 0, 0);
206 s2 = rsGetElementAt_short2(aShort2, 0, 0, 0);
207 rsSetElementAt_short2(aShort2, s2, 0, 0, 0);
436 c2 = convert_char2(s2);
458 uc2 = convert_uchar2(s2);
478 s2 = convert_short2(c2);
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DApduSenderTest.java264 String s2 = new String(new char[0xFF]).replace("\0", "BB"); in testSendStoreDataLongDataLongResponse() local
266 String longData = s1 + s2 + s3; in testSendStoreDataLongDataLongResponse()
282 eq(1), eq(0xFF), eq(s2), any()); in testSendStoreDataLongDataLongResponse()
298 String s2 = new String(new char[0xFF]).replace("\0", "BB"); in testSendStoreDataLongDataMod0() local
299 String longData = s1 + s2; in testSendStoreDataLongDataMod0()
309 eq(1), eq(0xFF), eq(s2), any()); in testSendStoreDataLongDataMod0()
343 String s2 = new String(new char[0xFF]).replace("\0", "BB"); in testSendErrorResponseInMiddle() local
345 String longData = s1 + s2 + s3; in testSendErrorResponseInMiddle()
358 eq(1), eq(0xFF), eq(s2), any()); in testSendErrorResponseInMiddle()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstringpiece_unittest.cc104 string s2("bar"); in TEST() local
108 StringPiece p2(s2); in TEST()
585 string s2; in TEST() local
588 a.CopyToString(&s2); in TEST()
589 EXPECT_EQ(s2.size(), 6); in TEST()
590 EXPECT_EQ(s2, "foobar"); in TEST()
591 b.CopyToString(&s2); in TEST()
592 EXPECT_EQ(s2.size(), 7); in TEST()
593 EXPECT_EQ(s1, s2); in TEST()
594 e.CopyToString(&s2); in TEST()
[all …]
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dconcat_float16_2.mod.py33 input2_values = (lambda s1 = row1 * col, s2 = row2 * col:
34 [x + s1 for x in range(s2)])()
/frameworks/ml/nn/runtime/test/specs/V1_0/
Dconcat_float_2.mod.py33 input2_values = (lambda s1 = row1 * col, s2 = row2 * col:
34 [x + s1 for x in range(s2)])()

1234