/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | convolve.cpp | 216 Word32 s1, s2; local 224 s2 = ((Word32) * (x)) * *(h--); 229 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h--), s2); 231 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h--), s2); 235 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h), s2); 238 *(y++) = (Word16)(s2 >> 12);
|
H A D | calc_en.cpp | 278 Word32 s2; /* Intermediate energy accumulator */ local 293 s2 = 0; 310 s2 = amrnb_fxp_mac_16_by_16bb((Word32) tmp2, (Word32) tmp2, s2); /* Compute ltp excitation energy */ 322 s2 = s2 << 1; 344 if (s2 & MIN_32) 346 s2 = MAX_32; 350 exp = norm_l(s2); 351 frac_en[1] = (Word16)(L_shl(s2, ex 608 Word32 s2; /* Intermediate energy accumulator */ local [all...] |
H A D | cor_h.cpp | 280 Word32 s2; local 382 s2 = 0; 393 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_h2++), (Word32) * (p_h), s2); 396 tmp11 = (Word16)((s2 + 0x00004000L) >> 15);
|
H A D | pitch_fr.cpp | 329 Word32 s2; local 383 s = s2 = 0; 391 s2 += ((Word32)(*(p_s_excf)) * (*(p_s_excf))); 394 s2 += ((Word32)(*(p_s_excf)) * (*(p_s_excf))); 398 s2 = s2 << 1; 399 s2 = Inv_sqrt(s2, pOverflow); 400 norm_h = (Word16)(s2 >> 16); 401 norm_l = (Word16)((s2 >> [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | syn_filt.cpp | 260 Word32 s2; local 288 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_a++), 0x00000800L); 293 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2); 295 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2); 297 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2); 315 s2 = amrnb_fxp_msu_16_by_16bb((Word32)a[1], (Word32)temp, s2); [all...] |
H A D | residu.cpp | 207 Word32 s2; local 221 s2 = 0x0000800L; 233 s2 += ((Word32) * (p_coef) * *(p_input2++)); 237 s2 += ((Word32) * (p_coef) * *(p_input2++)); 243 s2 += (((Word32) * (p_coef)) * *(p_input2)); 248 *(p_residual_ptr--) = (Word16)(s2 >> 12);
|
H A D | pred_lt.cpp | 278 Word32 s2; local 328 s2 = 0x00004000L; 332 s2 += ((Word32) * (pX3--)) * *(pC1); 335 s2 += ((Word32) * (pX2)) * *(pC1++); 336 s2 += ((Word32) * (pX3--)) * *(pC1); 339 s2 += ((Word32) * (pX2)) * *(pC1++); 344 *(p_exc++) = (Word16)(s2 >> 15);
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | SpannedTest.java | 79 Spanned s2 = (Spanned) TextUtils.CHAR_SEQUENCE_CREATOR. 83 style = s2.getSpans(1, 2, StyleSpan.class); 85 assertEquals(1, s2.getSpanStart(style[0])); 86 assertEquals(2, s2.getSpanEnd(style[0])); 88 style = s2.getSpans(3, 7, StyleSpan.class); 90 assertEquals(3, s2.getSpanStart(style[0])); 91 assertEquals(7, s2.getSpanEnd(style[0])); 93 TextAppearanceSpan[] appearance = s2.getSpans(7, 8, 96 assertEquals(7, s2.getSpanStart(appearance[0])); 97 assertEquals(8, s2 [all...] |
/frameworks/base/test-runner/src/junit/runner/ |
H A D | ClassPathTestCollector.java | 76 String s2= s.replace(File.separatorChar, '.'); 77 if (s2.startsWith(".")) 78 return s2.substring(1); 79 return s2;
|
/frameworks/base/libs/usb/src/com/android/future/usb/ |
H A D | UsbAccessory.java | 98 private static boolean compare(String s1, String s2) { argument 99 if (s1 == null) return (s2 == null); 100 return s1.equals(s2);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | AdnRecord.java | 167 private static boolean stringCompareNullEqualsEmpty(String s1, String s2) { argument 168 if (s1 == s2) { 174 if (s2 == null) { 175 s2 = ""; 177 return (s1.equals(s2));
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbAccessory.java | 154 private static boolean compare(String s1, String s2) { argument 155 if (s1 == null) return (s2 == null); 156 return s1.equals(s2);
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | SocketTest.java | 88 Socket s2 = new Socket(); 89 s2.bind(new InetSocketAddress((InetAddress) null, 12345)); 90 byte[] addr = s2.getLocalAddress().getAddress();
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 420 uint32_t s2 = 0; local 425 s2 = targetByteChunk / mtls->fep.yStrideOut; 427 s2 = targetByteChunk / mtls->fep.yStrideIn; 429 mtls->mSliceSize = rsMin(s1, s2); 439 uint32_t s2 = 0; local 444 s2 = targetByteChunk / mtls->fep.eStrideOut; 446 s2 = targetByteChunk / mtls->fep.eStrideIn; 448 mtls->mSliceSize = rsMin(s1, s2); 492 uint32_t s2 = 0; local 497 s2 511 uint32_t s2 = 0; local [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | IntentResolver.java | 74 int s2 = f2.countActions(); 75 if (s1 != s2) { 84 s2 = f2.countCategories(); 85 if (s1 != s2) { 94 s2 = f2.countDataTypes(); 95 if (s1 != s2) { 104 s2 = f2.countDataSchemes(); 105 if (s1 != s2) { 114 s2 = f2.countDataAuthorities(); 115 if (s1 != s2) { [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | AidlTest.java | 386 String[] s2 = new String[]{"s2[0]", "s2[1]", "s2[2]"}; 387 String[] sr = mRemote.stringArray(s0, s1, s2); 395 assertEquals("s0[0]", s2[0]); 396 assertEquals("s2[1]", s2[1]); 397 assertEquals("s2[2]", s2[ [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | LLand.java | 536 final Obstacle s2 = new Stem(getContext(), 539 addView(s2, new LayoutParams( 541 (int) s2.h, 543 s2.setTranslationX(mWidth+inset); 544 s2.setTranslationY(mHeight+yinset); 545 s2.setTranslationZ(PARAMS.OBSTACLE_Z*0.75f); 546 s2.animate() 547 .translationY(mHeight-s2.h) 550 mObstaclesInPlay.add(s2); 563 .translationY(mHeight-s2 [all...] |
/frameworks/compile/mclinker/unittests/ |
H A D | NamePoolTest.cpp | 61 std::string s2(s1); 63 llvm::StringRef result2 = m_pTestee->insertString(s2.c_str()); 65 EXPECT_STREQ(s2.c_str(), result2.data());
|
/frameworks/native/opengl/libagl/ |
H A D | primitives.cpp | 695 int32_t s0, int32_t t0, int32_t s1, int32_t t1, int32_t s2, int32_t t2) 708 gglMulx(s2-s0, t1-t0, shift) )*w*h; 730 int32_t s2 = v2->texture[i].S; local 735 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2); 745 s2 *= width; 753 itt[6] = -lerp.iteratorsScale(itt+0, s0, s1, s2); 787 int32_t s2 = v2->texture[i].S; local 792 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2); 802 s2 *= width; 815 s2 694 compute_lod(ogles_context_t* c, int i, int32_t s0, int32_t t0, int32_t s1, int32_t t1, int32_t s2, int32_t t2) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | sad_inline.h | 370 register int32 s2 = src2; local 384 "r"(s2), 395 register int32 s2 = src2; local 408 "r"(s2),
|
/frameworks/native/cmds/installd/ |
H A D | installd.h | 194 char *build_string2(char *s1, char *s2); 195 char *build_string3(char *s1, char *s2, char *s3);
|
H A D | utils.c | 1069 char *build_string2(char *s1, char *s2) { argument 1070 if (s1 == NULL || s2 == NULL) return NULL; 1073 int len_s2 = strlen(s2); 1079 strcpy(result + len_s1, s2); 1084 char *build_string3(char *s1, char *s2, char *s3) { argument 1085 if (s1 == NULL || s2 == NULL || s3 == NULL) return NULL; 1088 int len_s2 = strlen(s2); 1095 strcpy(result + len_s1, s2);
|
/frameworks/rs/tests/typecheck/ |
H A D | kernels.rs | 42 short2 s2;
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ATSParser.cpp | 382 sp<Stream> s2 = mStreams.editValueAt(1); local 385 info1.mPID == s1->pid() && info1.mType == s2->type() 386 && info2.mPID == s2->pid() && info2.mType == s1->type(); 389 info1.mPID == s2->pid() && info1.mType == s1->type() 390 && info2.mPID == s1->pid() && info2.mType == s2->type(); 394 unsigned pid2 = s2->pid(); 396 s2->setPID(pid1); 400 mStreams.add(s2->pid(), s2);
|
/frameworks/rs/cpp/ |
H A D | Element.cpp | 370 const char *s2 = name.c_str(); local 372 if (strlen(s2) >= len) { 373 if (!memcmp(s1, s2, len)) {
|