Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dsyn_filt.cpp259 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 …]
Dpred_lt.cpp277 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()
Dresidu.cpp206 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/
Dcalc_en.cpp277 Word32 s1; /* Intermediate energy accumulator */ in calc_unfilt_energies() local
292 s1 = 0; in calc_unfilt_energies()
309s1 = 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 …]
Dconvolve.cpp216 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()
Dg_pitch.cpp316 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/base/services/core/java/com/android/server/
DIntentResolver.java73 int s1 = f1.countActions(); in filterEquals() local
75 if (s1 != s2) { in filterEquals()
78 for (int i=0; i<s1; i++) { in filterEquals()
83 s1 = f1.countCategories(); in filterEquals()
85 if (s1 != s2) { in filterEquals()
88 for (int i=0; i<s1; i++) { in filterEquals()
93 s1 = f1.countDataTypes(); in filterEquals()
95 if (s1 != s2) { in filterEquals()
98 for (int i=0; i<s1; i++) { in filterEquals()
103 s1 = f1.countDataSchemes(); in filterEquals()
[all …]
/frameworks/compile/mclinker/unittests/
DNamePoolTest.cpp53 const char *s1 = "Hello MCLinker"; in TEST_F() local
54 llvm::StringRef result1 = m_pTestee->insertString(s1); in TEST_F()
55 EXPECT_NE(s1, result1.data()); in TEST_F()
56 EXPECT_STREQ(s1, result1.data()); in TEST_F()
60 const char *s1 = "Hello MCLinker"; in TEST_F() local
61 std::string s2(s1); in TEST_F()
62 llvm::StringRef result1 = m_pTestee->insertString(s1); in TEST_F()
64 EXPECT_STREQ(s1, result1.data()); in TEST_F()
/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/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecord.java167 private static boolean stringCompareNullEqualsEmpty(String s1, String s2) { in stringCompareNullEqualsEmpty() argument
168 if (s1 == s2) { in stringCompareNullEqualsEmpty()
171 if (s1 == null) { in stringCompareNullEqualsEmpty()
172 s1 = ""; in stringCompareNullEqualsEmpty()
177 return (s1.equals(s2)); in stringCompareNullEqualsEmpty()
/frameworks/base/tests/CoreTests/android/core/
DSocketTest.java52 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/
DUsbAccessory.java154 private static boolean compare(String s1, String s2) { in compare() argument
155 if (s1 == null) return (s2 == null); in compare()
156 return s1.equals(s2); in compare()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java360 spinner s1; field in ImageProcessingActivityJB.DVFSWorkaround
362 s1 = new spinner(); in DVFSWorkaround()
367 s1.go(t); in go()
372 s1.mRun = false; in destroy()
546 float s1 = (float)tw / (float)mScreenWidth; in onResume() local
549 if (s1 > s2) { in onResume()
550 tw /= s1; in onResume()
551 th /= s1; in onResume()
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java270 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/rs/cpu_ref/
DrsCpuCore.cpp419 uint32_t s1 = mtls->fep.dimY / ((mWorkers.mCount + 1) * 4); in launchThreads() local
429 mtls->mSliceSize = rsMin(s1, s2); in launchThreads()
438 uint32_t s1 = mtls->fep.dimX / ((mWorkers.mCount + 1) * 4); in launchThreads() local
448 mtls->mSliceSize = rsMin(s1, s2); in launchThreads()
491 uint32_t s1 = mtls->fep.dimY / ((mWorkers.mCount + 1) * 4); in launchThreads() local
501 mtls->mSliceSize = rsMin(s1, s2); in launchThreads()
510 uint32_t s1 = mtls->fep.dimX / ((mWorkers.mCount + 1) * 4); in launchThreads() local
520 mtls->mSliceSize = rsMin(s1, s2); in launchThreads()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DLLand.java469 final Obstacle s1 = new Stem(getContext(), obstacley - yinset, false);
470 addView(s1, new LayoutParams(
472 (int) s1.h,
474 s1.setTranslationX(mWidth+inset);
475 s1.setTranslationY(-s1.h-yinset);
476 s1.setTranslationZ(PARAMS.OBSTACLE_Z*0.75f);
477 s1.animate()
481 mObstaclesInPlay.add(s1);
494 .translationY(s1.h-inset)
/frameworks/native/cmds/installd/
Dinstalld.h194 char *build_string2(char *s1, char *s2);
195 char *build_string3(char *s1, char *s2, char *s3);
Dutils.c1069 char *build_string2(char *s1, char *s2) { in build_string2() argument
1070 if (s1 == NULL || s2 == NULL) return NULL; in build_string2()
1072 int len_s1 = strlen(s1); in build_string2()
1078 strcpy(result, s1); in build_string2()
1084 char *build_string3(char *s1, char *s2, char *s3) { in build_string3() argument
1085 if (s1 == NULL || s2 == NULL || s3 == NULL) return NULL; in build_string3()
1087 int len_s1 = strlen(s1); in build_string3()
1094 strcpy(result, s1); in build_string3()
/frameworks/base/core/tests/coretests/src/android/os/
DAidlTest.java385 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/
Dprimitives.cpp695 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/mpeg2ts/
DATSParser.cpp375 sp<Stream> s1 = mStreams.editValueAt(0); in parseProgramMap() local
379 info1.mPID == s1->pid() && info1.mType == s2->type() in parseProgramMap()
380 && info2.mPID == s2->pid() && info2.mType == s1->type(); in parseProgramMap()
383 info1.mPID == s2->pid() && info1.mType == s1->type() in parseProgramMap()
384 && info2.mPID == s1->pid() && info2.mType == s2->type(); in parseProgramMap()
387 unsigned pid1 = s1->pid(); in parseProgramMap()
389 s1->setPID(pid2); in parseProgramMap()
393 mStreams.add(s1->pid(), s1); in parseProgramMap()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dsad_inline.h369 register int32 s1 = src1;
383 : "r"(s1),
394 register int32 s1 = src1;
407 : "r"(s1),
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java2179 String s1, s2, s3; in toString() local
2181 s1 = Integer.toHexString(System.identityHashCode(this)); in toString()
2188 return "WifiLock{ " + s1 + "; " + s2 + s3 + " }"; in toString()
2399 String s1, s2, s3; in toString() local
2401 s1 = Integer.toHexString(System.identityHashCode(this)); in toString()
2408 return "MulticastLock{ " + s1 + "; " + s2 + s3 + " }"; in toString()
/frameworks/base/docs/html/guide/topics/ui/
Dbinding.jd21 Spinner s1 = (Spinner) findViewById(R.id.spinner1);
25 s1.setAdapter(adapter);
/frameworks/rs/cpp/
DElement.cpp369 const char *s1 = "#padding_"; in add() local
371 size_t len = strlen(s1); in add()
373 if (!memcmp(s1, s2, len)) { in add()

12