/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
D | ustring.h | 64 inline string (const_pointer s1, const_pointer s2); 92 inline void append (const_wpointer s1, const_wpointer s2) { insert (size(), s1, s2); } in append() argument 99 inline void assign (const_wpointer s1, const_wpointer s2) { clear(); append (s1, s2); } in assign() argument 100 inline void assign (const_wpointer s1) { clear(); append (s1); } in assign() argument 199 inline string::string (const_pointer s1, const_pointer s2) in string() argument 202 assert (s1 <= s2 && "Negative ranges result in memory allocation errors."); in string() 203 assign (s1, s2); in string() 232 inline bool op (const char* s1, const string& s2) { return impl; } 233 PTR_STRING_CMP (operator==, (s2 == s1)) 234 PTR_STRING_CMP (operator!=, (s2 != s1)) [all …]
|
/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/wifi/java/android/net/wifi/ |
D | WifiManager.java | 805 String s1, s2, s3; in toString() local 807 s1 = Integer.toHexString(System.identityHashCode(this)); in toString() 814 return "WifiLock{ " + s1 + "; " + s2 + s3 + " }"; in toString() 1024 String s1, s2, s3; in toString() local 1026 s1 = Integer.toHexString(System.identityHashCode(this)); in toString() 1033 return "MulticastLock{ " + s1 + "; " + s2 + s3 + " }"; in toString()
|
/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()
|
D | InputStreamReaderTest.java | 99 String s1 = new String(ba, enc[i]); in testStringy() local 108 assertEquals(s1, s2); in testStringy()
|
/frameworks/base/libs/utils/ |
D | String16.cpp | 54 int strcmp16(const char16_t *s1, const char16_t *s2) in strcmp16() argument 60 d = (int)(ch = *s1++) - (int)*s2++; in strcmp16() 68 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n) in strncmp16() argument 74 d = (int)(ch = *s1++) - (int)*s2++; in strncmp16() 135 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2) in strzcmp16() argument 137 const char16_t* e1 = s1+n1; in strzcmp16() 140 while (s1 < e1 && s2 < e2) { in strzcmp16() 141 const int d = (int)*s1++ - (int)*s2++; in strzcmp16() 150 ? ((int)*s1 - 0) in strzcmp16()
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/ |
D | TextUtilsTest.java | 274 CharSequence s1 = "The quick brown fox jumps over \u00FEhe lazy dog."; in testEllipsize() local 275 CharSequence s2 = new Wrapper(s1); in testEllipsize() 276 Spannable s3 = new SpannableString(s1); in testEllipsize() 299 String out1 = TextUtils.ellipsize(s1, p, i, kind).toString(); in testEllipsize() 303 String keep1 = TextUtils.ellipsize(s1, p, i, kind, true, null).toString(); in testEllipsize() 321 assertEquals("wid " + i + " pass " + j, keep1.length(), s1.length()); in testEllipsize()
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/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/base/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/base/test-runner/android/test/ |
D | TestListActivity.java | 72 String s1 = makeCompareName(a); 75 return s1.compareToIgnoreCase(s2);
|
/frameworks/base/include/utils/ |
D | String16.h | 34 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n); 47 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2);
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | binding.jd | 53 Spinner s1 = (Spinner) findViewById(R.id.spinner1); 57 s1.setAdapter(adapter);
|
/frameworks/base/media/libdrm/mobile1/src/jni/ |
D | drm1_jni.c | 53 #define int64_add(dst, s1, s2) ((void)((dst) = (s1) + (s2))) argument 54 #define int64_mul(dst, s1, s2) ((void)((dst) = (int64_t)(s1) * (int64_t)(s2))) argument
|
/frameworks/base/tools/aapt/ |
D | XMLNode.h | 162 XMLNode(const String8& filename, const String16& s1, const String16& s2, bool isNamespace);
|
D | XMLNode.cpp | 476 XMLNode::XMLNode(const String8& filename, const String16& s1, const String16& s2, bool isNamespace) in XMLNode() argument 483 mNamespacePrefix = s1; in XMLNode() 486 mNamespaceUri = s1; in XMLNode()
|
/frameworks/base/libs/surfaceflinger/ |
D | SurfaceFlinger.cpp | 1528 uint32_t w1=0, h1=0, s1=0; in dump() local 1537 s1 = buf1->getStride(); in dump() 1544 w0, h0, s0, w1, h1, s1, in dump()
|
/frameworks/base/awt/java/awt/ |
D | BasicStroke.java | 752 double s1 = x1 * x10 + y1 * y10; in addJoin() local 754 double x3 = (s1 * y20 - s2 * y10) / sin0; in addJoin() 755 double y3 = (s2 * x10 - s1 * x20) / sin0; in addJoin()
|
/frameworks/base/services/java/com/android/server/ |
D | PackageManagerService.java | 1307 Signature[] s1; in checkUidSignatures() local 1312 s1 = ((SharedUserSetting)obj).signatures.mSignatures; in checkUidSignatures() 1314 s1 = ((PackageSetting)obj).signatures.mSignatures; in checkUidSignatures() 1333 return checkSignaturesLP(s1, s2); in checkUidSignatures() 1337 int checkSignaturesLP(Signature[] s1, Signature[] s2) { in checkSignaturesLP() argument 1338 if (s1 == null) { in checkSignaturesLP() 1346 final int N1 = s1.length; in checkSignaturesLP() 1351 if (s1[i].equals(s2[j])) { in checkSignaturesLP()
|