/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | syn_filt.cpp | 259 Word32 s1; in Syn_filt() local 287 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_a), 0x00000800L); in Syn_filt() 289 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1); in Syn_filt() 294 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1); in Syn_filt() 296 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1); in Syn_filt() 298 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1); in Syn_filt() 302 if ((UWord32)(s1 - 0xf8000000L) < 0x0fffffffL) in Syn_filt() 304 temp = (Word16)(s1 >> 12); in Syn_filt() 306 else if (s1 > 0x07ffffffL) in Syn_filt() 346 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_a), 0x00000800L); in Syn_filt() [all …]
|
D | pred_lt.cpp | 277 Word32 s1; in Pred_lt_3or6() local 327 s1 = 0x00004000L; in Pred_lt_3or6() 333 s1 += ((Word32) * (pX3)) * *(pC1++); in Pred_lt_3or6() 334 s1 += ((Word32) * (pX2++)) * *(pC1); in Pred_lt_3or6() 337 s1 += ((Word32) * (pX3)) * *(pC1++); in Pred_lt_3or6() 338 s1 += ((Word32) * (pX2++)) * *(pC1); in Pred_lt_3or6() 343 *(p_exc++) = (Word16)(s1 >> 15); in Pred_lt_3or6()
|
D | residu.cpp | 206 Word32 s1; in Residu() local 220 s1 = 0x0000800L; in Residu() 232 s1 += ((Word32) * (p_coef) * *(p_input1++)); in Residu() 236 s1 += ((Word32) * (p_coef) * *(p_input1++)); in Residu() 242 s1 += (((Word32) * (p_coef)) * *(p_input1)); in Residu() 247 *(p_residual_ptr--) = (Word16)(s1 >> 12); in Residu()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | calc_en.cpp | 277 Word32 s1; /* Intermediate energy accumulator */ in calc_unfilt_energies() local 292 s1 = 0; in calc_unfilt_energies() 309 … s1 = amrnb_fxp_mac_16_by_16bb((Word32) tmp1, (Word32) tmp1, s1); /* Compute residual energy */ in calc_unfilt_energies() 321 s1 = s1 << 1; in calc_unfilt_energies() 325 if (s1 & MIN_32) in calc_unfilt_energies() 327 s1 = MAX_32; in calc_unfilt_energies() 332 if (s1 < 400L) in calc_unfilt_energies() 339 exp = norm_l(s1); in calc_unfilt_energies() 340 frac_en[0] = (Word16)(L_shl(s1, exp, pOverflow) >> 16); in calc_unfilt_energies() 607 Word32 s1; /* Intermediate energy accumulator */ in calc_filt_energies() local [all …]
|
D | convolve.cpp | 216 Word32 s1, s2; in Convolve() local 225 s1 = ((Word32) * (x++)) * *(h); in Convolve() 230 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (x++), (Word32) * (h), s1); in Convolve() 232 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (x++), (Word32) * (h), s1); in Convolve() 237 *(y++) = (Word16)(s1 >> 12); in Convolve()
|
D | g_pitch.cpp | 316 Word32 s1; in G_pitch() local 378 s1 = s; in G_pitch() 379 s = s1 + L_temp; in G_pitch() 381 if ((s1 ^ L_temp) > 0) in G_pitch() 383 if ((s1 ^ s) < 0) in G_pitch()
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
D | fft_rx4_long.cpp | 210 Int32 s1; in fft_rx4_long() local 264 s1 = temp1 + temp2; in fft_rx4_long() 273 *pData1 = (s1 + t1); in fft_rx4_long() 274 *pData2 = (s1 - t1); in fft_rx4_long() 318 s1 = temp1 + temp2; in fft_rx4_long() 329 *pData1 = (s1 + t1); in fft_rx4_long() 330 s1 = (s1 - t1) << 1; in fft_rx4_long() 332 *pData2-- = cmplx_mul32_by_16(s1, -r1, exp_jw2); in fft_rx4_long() 334 *pData2 = cmplx_mul32_by_16(r1, s1, exp_jw2); in fft_rx4_long() 386 s1 = temp1 + temp2; in fft_rx4_long() [all …]
|
D | fft_rx4_short.cpp | 212 Int32 s1; in fft_rx4_short() local 290 s1 = temp1 + temp2; in fft_rx4_short() 301 *pData1 = (s1 + t1) >> exp; in fft_rx4_short() 302 *pData2 = (s1 - t1) >> exp; in fft_rx4_short() 350 s1 = temp1 + temp2; in fft_rx4_short() 364 *pData1 = (s1 + t1) >> exp; in fft_rx4_short() 365 s1 = (s1 - t1) >> exp; in fft_rx4_short() 368 *pData2-- = cmplx_mul32_by_16(s1, -r1, exp_jw2) << 1; in fft_rx4_short() 369 *pData2 = cmplx_mul32_by_16(r1, s1, exp_jw2) << 1; in fft_rx4_short() 428 s1 = temp1 + temp2; in fft_rx4_short() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | StrSymPoolTest.cpp | 48 const char *s1 = "Hello MCLinker"; in TEST_F() local 49 const char *result1 = m_pTestee->insertString(s1); in TEST_F() 50 EXPECT_NE(s1, result1); in TEST_F() 51 EXPECT_STREQ(s1, result1); in TEST_F() 55 const char *s1 = "Hello MCLinker"; in TEST_F() local 56 std::string s2(s1); in TEST_F() 57 const char *result1 = m_pTestee->insertString(s1); in TEST_F() 59 EXPECT_STREQ(s1, result1); in TEST_F()
|
/frameworks/base/cmds/installd/ |
D | utils.c | 466 char *build_string2(char *s1, char *s2) { in build_string2() argument 467 if (s1 == NULL || s2 == NULL) return NULL; in build_string2() 469 int len_s1 = strlen(s1); in build_string2() 475 strcpy(result, s1); in build_string2() 481 char *build_string3(char *s1, char *s2, char *s3) { in build_string3() argument 482 if (s1 == NULL || s2 == NULL || s3 == NULL) return NULL; in build_string3() 484 int len_s1 = strlen(s1); in build_string3() 491 strcpy(result, s1); in build_string3()
|
D | installd.h | 138 char *build_string2(char *s1, char *s2); 139 char *build_string3(char *s1, char *s2, char *s3);
|
/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 295 const char16_t* e1 = s1+n1; in strzcmp16() 298 while (s1 < e1 && s2 < e2) { in strzcmp16() 299 const int d = (int)*s1++ - (int)*s2++; in strzcmp16() 308 ? ((int)*s1 - 0) 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() 44 s1++; in drm_strnicmp() 48 return tolower(*s1) - tolower(*s2); in drm_strnicmp()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | AdnRecord.java | 162 private static boolean stringCompareNullEqualsEmpty(String s1, String s2) { in stringCompareNullEqualsEmpty() argument 163 if (s1 == s2) { in stringCompareNullEqualsEmpty() 166 if (s1 == null) { in stringCompareNullEqualsEmpty() 167 s1 = ""; in stringCompareNullEqualsEmpty() 172 return (s1.equals(s2)); in stringCompareNullEqualsEmpty()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | SocketTest.java | 52 Socket s, s1; in testSocketSimple() local 75 s1 = ss.accept(); in testSocketSimple() 79 assertEquals(0xa5, s1.getInputStream().read()); in testSocketSimple() 81 s1.getOutputStream().write(0x5a); in testSocketSimple()
|
/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/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 270 CharSequence s1 = "The quick brown fox jumps over \u00FEhe lazy dog."; in testEllipsize() local 271 CharSequence s2 = new Wrapper(s1); in testEllipsize() 272 Spannable s3 = new SpannableString(s1); in testEllipsize() 295 String out1 = TextUtils.ellipsize(s1, p, i, kind).toString(); in testEllipsize() 299 String keep1 = TextUtils.ellipsize(s1, p, i, kind, true, null).toString(); in testEllipsize() 317 assertEquals("wid " + i + " pass " + j, keep1.length(), s1.length()); in testEllipsize()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 1661 String s1, s2, s3; in toString() local 1663 s1 = Integer.toHexString(System.identityHashCode(this)); in toString() 1670 return "WifiLock{ " + s1 + "; " + s2 + s3 + " }"; in toString() 1881 String s1, s2, s3; in toString() local 1883 s1 = Integer.toHexString(System.identityHashCode(this)); in toString() 1890 return "MulticastLock{ " + s1 + "; " + s2 + s3 + " }"; in toString()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ATSParser.cpp | 348 sp<Stream> s1 = mStreams.editValueAt(0); in parseProgramMap() local 352 info1.mPID == s1->pid() && info1.mType == s2->type() in parseProgramMap() 353 && info2.mPID == s2->pid() && info2.mType == s1->type(); in parseProgramMap() 356 info1.mPID == s2->pid() && info1.mType == s1->type() in parseProgramMap() 357 && info2.mPID == s1->pid() && info2.mType == s2->type(); in parseProgramMap() 360 unsigned pid1 = s1->pid(); in parseProgramMap() 362 s1->setPID(pid2); in parseProgramMap() 366 mStreams.add(s1->pid(), s1); in parseProgramMap()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | AidlTest.java | 385 String[] s1 = new String[]{"s1[0]", "s1[1]"}; in testArrays() local 387 String[] sr = mRemote.stringArray(s0, s1, s2); in testArrays() 392 assertEquals("s0[0]", s1[0]); in testArrays() 393 assertNull(s1[1]); in testArrays()
|
/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 707 int32_t texelArea = abs( gglMulx(s1-s0, t2-t0, shift) - in compute_lod() 728 int32_t s1 = v1->texture[i].S; in lerp_texcoords() local 735 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2); in lerp_texcoords() 744 s1 *= width; in lerp_texcoords() 753 itt[6] = -lerp.iteratorsScale(itt+0, s0, s1, s2); in lerp_texcoords() 785 int32_t s1 = v1->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() 801 s1 *= width; in lerp_texcoords_w() 813 s1 = gglMulx(s1, w1, wscale); in lerp_texcoords_w() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | sad_inline.h | 369 register int32 s1 = src1; 383 : "r"(s1), 394 register int32 s1 = src1; 407 : "r"(s1),
|
/frameworks/rs/cpp/ |
D | Element.cpp | 386 const char *s1 = "#padding_"; in add() local 388 size_t len = strlen(s1); in add() 390 if (!memcmp(s1, s2, len)) { in add()
|