/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | syn_filt.cpp | 260 Word32 s2; in Syn_filt() local 288 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_a++), 0x00000800L); in Syn_filt() 293 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2); 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() 315 s2 = amrnb_fxp_msu_16_by_16bb((Word32)a[1], (Word32)temp, s2); in Syn_filt() 323 if ((UWord32)(s2 - 0xf8000000L) < 0x0fffffffL) in Syn_filt() 325 temp = (Word16)(s2 >> 12); in Syn_filt() 327 else if (s2 > 0x07ffffffL) in Syn_filt() 347 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_a++), 0x00000800L); in Syn_filt() [all …]
|
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()
|
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()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
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()
|
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() 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 …]
|
D | pitch_fr.cpp | 329 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()
|
D | cor_h.cpp | 280 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/core/tests/coretests/src/android/text/ |
D | SpannedTest.java | 79 Spanned s2 = (Spanned) TextUtils.CHAR_SEQUENCE_CREATOR. in testWrapParcel() local 83 style = s2.getSpans(1, 2, StyleSpan.class); in testWrapParcel() 85 assertEquals(1, s2.getSpanStart(style[0])); in testWrapParcel() 86 assertEquals(2, s2.getSpanEnd(style[0])); in testWrapParcel() 88 style = s2.getSpans(3, 7, StyleSpan.class); in testWrapParcel() 90 assertEquals(3, s2.getSpanStart(style[0])); in testWrapParcel() 91 assertEquals(7, s2.getSpanEnd(style[0])); in testWrapParcel() 93 TextAppearanceSpan[] appearance = s2.getSpans(7, 8, in testWrapParcel() 96 assertEquals(7, s2.getSpanStart(appearance[0])); in testWrapParcel() 97 assertEquals(8, s2.getSpanEnd(appearance[0])); in testWrapParcel() [all …]
|
/frameworks/base/test-runner/src/junit/runner/ |
D | ClassPathTestCollector.java | 76 String s2= s.replace(File.separatorChar, '.'); in classNameFromFile() local 77 if (s2.startsWith(".")) in classNameFromFile() 78 return s2.substring(1); in classNameFromFile() 79 return s2; in classNameFromFile()
|
/frameworks/native/libs/utils/ |
D | Unicode.cpp | 212 int strcmp16(const char16_t *s1, const char16_t *s2) in strcmp16() argument 218 d = (int)(ch = *s1++) - (int)*s2++; in strcmp16() 226 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n) in strncmp16() argument 232 d = (int)(ch = *s1++) - (int)*s2++; in strncmp16() 293 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2) in strzcmp16() argument 296 const char16_t* e2 = s2+n2; in strzcmp16() 298 while (s1 < e1 && s2 < e2) { in strzcmp16() 299 const int d = (int)*s1++ - (int)*s2++; in strzcmp16() 306 ? (0 - (int)*s2) in strzcmp16()
|
/frameworks/base/libs/usb/src/com/android/future/usb/ |
D | UsbAccessory.java | 98 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/base/media/libdrm/mobile1/src/parser/ |
D | parser_dm.c | 32 static int drm_strnicmp(const uint8_t* s1, const uint8_t* s2, int32_t n) in drm_strnicmp() argument 34 if (n < 0 || NULL == s1 || NULL == s2) in drm_strnicmp() 40 while (n-- != 0 && tolower(*s1) == tolower(*s2)) in drm_strnicmp() 42 if (n == 0 || *s1 == '\0' || *s2 == '\0') in drm_strnicmp() 45 s2++; in drm_strnicmp() 48 return tolower(*s1) - tolower(*s2); in drm_strnicmp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AdnRecord.java | 167 private static boolean stringCompareNullEqualsEmpty(String s1, String s2) { in stringCompareNullEqualsEmpty() argument 168 if (s1 == s2) { in stringCompareNullEqualsEmpty() 174 if (s2 == null) { in stringCompareNullEqualsEmpty() 175 s2 = ""; in stringCompareNullEqualsEmpty() 177 return (s1.equals(s2)); in stringCompareNullEqualsEmpty()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbAccessory.java | 156 private static boolean compare(String s1, String s2) { in compare() argument 157 if (s1 == null) return (s2 == null); in compare() 158 return s1.equals(s2); in compare()
|
/frameworks/native/include/utils/ |
D | Unicode.h | 30 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n); 43 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2);
|
/frameworks/rs/cpu_ref/ |
D | rsCpuCore.cpp | 368 uint32_t s2 = 0; in launchThreads() local 373 s2 = targetByteChunk / mtls->fep.yStrideOut; in launchThreads() 375 s2 = targetByteChunk / mtls->fep.yStrideIn; in launchThreads() 377 mtls->mSliceSize = rsMin(s1, s2); in launchThreads() 387 uint32_t s2 = 0; in launchThreads() local 392 s2 = targetByteChunk / mtls->fep.eStrideOut; in launchThreads() 394 s2 = targetByteChunk / mtls->fep.eStrideIn; in launchThreads() 396 mtls->mSliceSize = rsMin(s1, s2); in launchThreads()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | SocketTest.java | 88 Socket s2 = new Socket(); in testWildcardAddress() local 89 s2.bind(new InetSocketAddress((InetAddress) null, 12345)); in testWildcardAddress() 90 byte[] addr = s2.getLocalAddress().getAddress(); in testWildcardAddress()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | AidlTest.java | 386 String[] s2 = new String[]{"s2[0]", "s2[1]", "s2[2]"}; in testArrays() local 387 String[] sr = mRemote.stringArray(s0, s1, s2); in testArrays() 395 assertEquals("s0[0]", s2[0]); in testArrays() 396 assertEquals("s2[1]", s2[1]); in testArrays() 397 assertEquals("s2[2]", s2[2]); in testArrays()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 1735 String s1, s2, s3; in toString() local 1738 s2 = mHeld ? "held; " : ""; in toString() 1744 return "WifiLock{ " + s1 + "; " + s2 + s3 + " }"; in toString() 1955 String s1, s2, s3; in toString() local 1958 s2 = mHeld ? "held; " : ""; in toString() 1964 return "MulticastLock{ " + s1 + "; " + s2 + s3 + " }"; in toString()
|
/frameworks/native/cmds/installd/ |
D | installd.h | 187 char *build_string2(char *s1, char *s2); 188 char *build_string3(char *s1, char *s2, char *s3);
|
D | utils.c | 962 char *build_string2(char *s1, char *s2) { in build_string2() argument 963 if (s1 == NULL || s2 == NULL) return NULL; in build_string2() 966 int len_s2 = strlen(s2); in build_string2() 972 strcpy(result + len_s1, s2); in build_string2() 977 char *build_string3(char *s1, char *s2, char *s3) { in build_string3() argument 978 if (s1 == NULL || s2 == NULL || s3 == NULL) return NULL; in build_string3() 981 int len_s2 = strlen(s2); in build_string3() 988 strcpy(result + len_s1, s2); in build_string3()
|
/frameworks/compile/mclinker/unittests/ |
D | NamePoolTest.cpp | 61 std::string s2(s1); in TEST_F() local 63 llvm::StringRef result2 = m_pTestee->insertString(s2.c_str()); in TEST_F() 65 EXPECT_STREQ(s2.c_str(), result2.data()); in TEST_F()
|
/frameworks/native/opengl/libagl/ |
D | primitives.cpp | 695 int32_t s0, int32_t t0, int32_t s1, int32_t t1, int32_t s2, int32_t t2) in compute_lod() argument 708 gglMulx(s2-s0, t1-t0, shift) )*w*h; in compute_lod() 730 int32_t s2 = v2->texture[i].S; in lerp_texcoords() local 735 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2); in lerp_texcoords() 745 s2 *= width; in lerp_texcoords() 753 itt[6] = -lerp.iteratorsScale(itt+0, s0, s1, s2); in lerp_texcoords() 787 int32_t s2 = v2->texture[i].S; in lerp_texcoords_w() local 792 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2); in lerp_texcoords_w() 802 s2 *= width; in lerp_texcoords_w() 815 s2 = gglMulx(s2, w2, wscale); in lerp_texcoords_w() [all …]
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ATSParser.cpp | 374 sp<Stream> s2 = mStreams.editValueAt(1); in parseProgramMap() local 377 info1.mPID == s1->pid() && info1.mType == s2->type() in parseProgramMap() 378 && info2.mPID == s2->pid() && info2.mType == s1->type(); in parseProgramMap() 381 info1.mPID == s2->pid() && info1.mType == s1->type() in parseProgramMap() 382 && info2.mPID == s1->pid() && info2.mType == s2->type(); in parseProgramMap() 386 unsigned pid2 = s2->pid(); in parseProgramMap() 388 s2->setPID(pid1); in parseProgramMap() 392 mStreams.add(s2->pid(), s2); in parseProgramMap()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | sad_inline.h | 370 register int32 s2 = src2; 384 "r"(s2), 395 register int32 s2 = src2; 408 "r"(s2),
|