Searched defs:s1 (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dconvolve.cpp216 Word32 s1, s2; local
225 s1 = ((Word32) * (x++)) * *(h);
230 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (x++), (Word32) * (h), s1);
232 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (x++), (Word32) * (h), s1);
237 *(y++) = (Word16)(s1 >> 12);
H A Dg_pitch.cpp316 Word32 s1; local
378 s1 = s;
379 s = s1 + L_temp;
381 if ((s1 ^ L_temp) > 0)
383 if ((s1 ^ s) < 0)
H A Dcalc_en.cpp277 Word32 s1; /* Intermediate energy accumulator */ local
292 s1 = 0;
309 s1 = amrnb_fxp_mac_16_by_16bb((Word32) tmp1, (Word32) tmp1, s1); /* Compute residual energy */
321 s1 = s1 << 1;
325 if (s1 & MIN_32)
327 s1 = MAX_32;
332 if (s1 < 400L)
339 exp = norm_l(s1);
607 Word32 s1; /* Intermediate energy accumulator */ local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dresidu.cpp206 Word32 s1; local
220 s1 = 0x0000800L;
232 s1 += ((Word32) * (p_coef) * *(p_input1++));
236 s1 += ((Word32) * (p_coef) * *(p_input1++));
242 s1 += (((Word32) * (p_coef)) * *(p_input1));
247 *(p_residual_ptr--) = (Word16)(s1 >> 12);
H A Dsyn_filt.cpp261 Word32 s1; local
289 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_a), 0x00000800L);
291 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1);
296 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1);
298 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1);
300 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1);
[all...]
H A Dpred_lt.cpp277 Word32 s1; local
327 s1 = 0x00004000L;
333 s1 += ((Word32) * (pX3)) * *(pC1++);
334 s1 += ((Word32) * (pX2++)) * *(pC1);
337 s1 += ((Word32) * (pX3)) * *(pC1++);
338 s1 += ((Word32) * (pX2++)) * *(pC1);
343 *(p_exc++) = (Word16)(s1 >> 15);
/frameworks/base/core/tests/coretests/src/android/net/
H A DStaticIpConfigurationTest.java56 private boolean isEqual(StaticIpConfiguration s1, StaticIpConfiguration s2) { argument
57 return s1.equals(s2);
60 private void assertEquals(StaticIpConfiguration s1, StaticIpConfiguration s2) { argument
61 assertTrue(isEqual(s1, s2));
64 private void assertNotEquals(StaticIpConfiguration s1, StaticIpConfiguration s2) { argument
65 assertFalse(isEqual(s1, s2));
90 StaticIpConfiguration s1 = makeTestObject();
91 StaticIpConfiguration s2 = new StaticIpConfiguration(s1);
92 assertEquals(s1, s2);
/frameworks/base/libs/usb/src/com/android/future/usb/
H A DUsbAccessory.java98 private static boolean compare(String s1, String s2) { argument
99 if (s1 == null) return (s2 == null);
100 return s1.equals(s2);
/frameworks/compile/mclinker/unittests/
H A DNamePoolTest.cpp47 const char* s1 = "Hello MCLinker"; local
48 llvm::StringRef result1 = m_pTestee->insertString(s1);
49 EXPECT_NE(s1, result1.data());
50 EXPECT_STREQ(s1, result1.data());
54 const char* s1 = "Hello MCLinker"; local
55 std::string s2(s1);
56 llvm::StringRef result1 = m_pTestee->insertString(s1);
58 EXPECT_STREQ(s1, result1.data());
/frameworks/av/media/libstagefright/tests/
H A DMediaCodecListOverrides_test.cpp108 AString s1; local
110 EXPECT_FALSE(splitString(s, delimiter, &s1, &s2));
112 EXPECT_TRUE(splitString(s, delimiter, &s1, &s2));
113 EXPECT_TRUE(s1 == "abc");
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dsad_inline.h369 register int32 s1 = src1; local
383 : "r"(s1),
394 register int32 s1 = src1; local
407 : "r"(s1),
/frameworks/base/core/java/android/hardware/usb/
H A DUsbAccessory.java154 private static boolean compare(String s1, String s2) { argument
155 if (s1 == null) return (s2 == null);
156 return s1.equals(s2);
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
H A DCredential.java207 private static boolean safeEquals(Object s1, Object s2) { argument
208 if (s1 == null) {
211 return s2 != null && s1.equals(s2);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
H A DCredential.java311 private static boolean safeEquals(Object s1, Object s2) { argument
312 if (s1 == null) {
316 return s2 != null && s1.equals(s2);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DAdnRecord.java179 private static boolean stringCompareNullEqualsEmpty(String s1, String s2) { argument
180 if (s1 == s2) {
183 if (s1 == null) {
184 s1 = "";
189 return (s1.equals(s2));
/frameworks/rs/cpp/
H A DElement.cpp435 const char *s1 = "#padding_"; local
437 size_t len = strlen(s1);
439 if (!memcmp(s1, s2, len)) {
/frameworks/av/media/libstagefright/
H A DMediaCodecListOverrides.cpp241 bool splitString(const AString &s, const AString &delimiter, AString *s1, AString *s2) { argument
246 *s1 = AString(s, 0, pos);
252 const AString &s, const AString &delimiter, AString *s1, AString *s2, AString *s3) {
254 if (!splitString(s, delimiter, s1, &temp)) {
251 splitString( const AString &s, const AString &delimiter, AString *s1, AString *s2, AString *s3) argument
/frameworks/base/core/java/android/webkit/
H A DWebViewFactory.java218 private static boolean signaturesEquals(Signature[] s1, Signature[] s2) { argument
219 if (s1 == null) {
225 for(Signature signature : s1) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DLayoutParserWrapper.java274 public void require(int i, String s, String s1) throws XmlPullParserException, IOException { argument
284 public void defineEntityReplacementText(String s, String s1) throws XmlPullParserException { argument
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DImageProcessingActivityJB.java517 spinner s1; field in class:ImageProcessingActivityJB.DVFSWorkaround
519 s1 = new spinner();
524 s1.go(t);
529 s1.mRun = false;
687 float s1 = (float)tw / (float)mScreenWidth;
690 if (s1 > s2) {
691 tw /= s1;
692 th /= s1;
/frameworks/native/opengl/libagl/
H A Dprimitives.cpp695 int32_t s0, int32_t t0, int32_t s1, int32_t t1, int32_t s2, int32_t t2)
707 int32_t texelArea = abs( gglMulx(s1-s0, t2-t0, shift) -
728 int32_t s1 = v1->texture[i].S; local
735 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2);
744 s1 *= width;
753 itt[6] = -lerp.iteratorsScale(itt+0, s0, s1, s2);
785 int32_t s1 = v1->texture[i].S; local
792 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2);
801 s1 *= width;
813 s1
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/rs/cpu_ref/
H A DrsCpuCore.cpp853 uint32_t s1 = mtls->fep.dim.y / ((mWorkers.mCount + 1) * 4); local
864 // Use s1 based only on the dimensions
865 s2 = s1;
867 mtls->mSliceSize = rsMin(s1, s2);
875 uint32_t s1 = mtls->fep.dim.x / ((mWorkers.mCount + 1) * 4); local
886 // Use s1 based only on the dimensions
887 s2 = s1;
889 mtls->mSliceSize = rsMin(s1, s2);
/frameworks/native/cmds/installd/
H A Dutils.cpp1131 char *build_string2(const char *s1, const char *s2) { argument
1132 if (s1 == NULL || s2 == NULL) return NULL;
1134 int len_s1 = strlen(s1);
1140 strcpy(result, s1);
1146 char *build_string3(const char *s1, const char *s2, const char *s3) { argument
1147 if (s1 == NULL || s2 == NULL || s3 == NULL) return NULL;
1149 int len_s1 = strlen(s1);
1156 strcpy(result, s1);
/frameworks/base/core/java/android/hardware/
H A DCamera.java4224 private boolean same(String s1, String s2) { argument
4225 if (s1 == null && s2 == null) return true;
4226 if (s1 != null && s1.equals(s2)) return true;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java3957 static boolean compareStrings(CharSequence s1, CharSequence s2) { argument
3958 if (s1 == null) {
3964 if (s1.getClass() != s2.getClass()) {
3967 return s1.equals(s2);
4558 Signature[] s1;
4563 s1 = ((SharedUserSetting)obj).signatures.mSignatures;
4565 s1 = ((PackageSetting)obj).signatures.mSignatures;
4584 return compareSignatures(s1, s2);
4624 static int compareSignatures(Signature[] s1, Signature[] s2) { argument
4625 if (s1
[all...]

Completed in 673 milliseconds

12