/frameworks/minikin/libs/minikin/ |
D | GraphemeBreak.cpp | 41 uint32_t c2 = 0; in isGraphemeBreak() local 44 U16_NEXT(buf, offset, count, c2); in isGraphemeBreak() 46 int32_t p2 = u_getIntPropertyValue(c2, UCHAR_GRAPHEME_CLUSTER_BREAK); in isGraphemeBreak() 58 if (c2 == 0x00ad in isGraphemeBreak() 59 || (c2 >= 0x200b && c2 <= 0x200f) in isGraphemeBreak() 60 || (c2 >= 0x2028 && c2 <= 0x202e) in isGraphemeBreak() 61 || (c2 >= 0x2060 && c2 <= 0x206f)) { in isGraphemeBreak() 84 if (c2 == 0xe33) { in isGraphemeBreak() 93 && u_getIntPropertyValue(c2, UCHAR_GENERAL_CATEGORY) == U_OTHER_LETTER) { in isGraphemeBreak()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | omxVCM4P10_TransformDequantLumaDCFromPair.c | 89 int c2 = pData[i+2]; in InvTransformDC4x4() local 91 pData[i+0] = (OMX_S16)(c0+c1+c2+c3); in InvTransformDC4x4() 92 pData[i+1] = (OMX_S16)(c0+c1-c2-c3); in InvTransformDC4x4() 93 pData[i+2] = (OMX_S16)(c0-c1-c2+c3); in InvTransformDC4x4() 94 pData[i+3] = (OMX_S16)(c0-c1+c2-c3); in InvTransformDC4x4() 102 int c2 = pData[i+8]; in InvTransformDC4x4() local 104 pData[i+0] = (OMX_S16)(c0+c1+c2+c3); in InvTransformDC4x4() 105 pData[i+4] = (OMX_S16)(c0+c1-c2-c3); in InvTransformDC4x4() 106 pData[i+8] = (OMX_S16)(c0-c1-c2+c3); in InvTransformDC4x4() 107 pData[i+12] = (OMX_S16)(c0-c1+c2-c3); in InvTransformDC4x4()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 49 char[] c2 = new char[7]; in testArray() local 50 ((GetChars) newText).getChars(1, 4, c2, 2); in testArray() 51 assertEquals('\0', c2[1]); in testArray() 52 assertEquals(' ', c2[2]); in testArray() 53 assertEquals('W', c2[3]); in testArray() 54 assertEquals('o', c2[4]); in testArray() 55 assertEquals('\0', c2[5]); in testArray()
|
D | SimpleCursorAdapterTest.java | 119 Cursor c2 = createCursor(mFrom, data2); in testChangeCursorLive() local 120 ca.changeCursor(c2); in testChangeCursorLive() 160 Cursor c2 = createCursor(swappedFrom, mData2x2); in testChangeCursorColumns() local 161 ca.changeCursor(c2); in testChangeCursorColumns()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Watermark.java | 70 int c2 = mTokens[0].charAt(i+1); in Watermark() local 74 if (c2 >= 'a' && c2 <= 'f') c2 = c2 - 'a' + 10; in Watermark() 75 else if (c2 >= 'A' && c2 <= 'F') c2 = c2 - 'A' + 10; in Watermark() 76 else c2 -= '0'; in Watermark() 77 builder.append((char)(255-((c1*16)+c2))); in Watermark()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Gradient_Delegate.java | 196 private int computeColor(int c1, int c2, float percent) { in computeColor() argument 197 int a = computeChannel((c1 >> 24) & 0xFF, (c2 >> 24) & 0xFF, percent); in computeColor() 198 int r = computeChannel((c1 >> 16) & 0xFF, (c2 >> 16) & 0xFF, percent); in computeColor() 199 int g = computeChannel((c1 >> 8) & 0xFF, (c2 >> 8) & 0xFF, percent); in computeColor() 200 int b = computeChannel((c1 ) & 0xFF, (c2 ) & 0xFF, percent); in computeColor() 208 private int computeChannel(int c1, int c2, float percent) { in computeChannel() argument 209 return c1 + (int)((percent * (c2-c1)) + .5); in computeChannel()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | HbpcdUtils.java | 52 Cursor c2 = resolver.query(ArbitraryMccSidMatch.CONTENT_URI, projection2, in getMcc() local 55 if (c2 != null) { in getMcc() 56 int c2Counter = c2.getCount(); in getMcc() 62 Log.d(LOG_TAG, "Query Unresolved arbitrary returned the cursor " + c2 ); in getMcc() 64 c2.moveToFirst(); in getMcc() 65 tmpMcc = c2.getInt(0); in getMcc() 69 c2.close(); in getMcc() 72 c2.close(); in getMcc()
|
/frameworks/rs/ |
D | rsMatrix4x4.cpp | 46 int c2 = (i+3) % 4; in inverse() local 52 (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r1])) in inverse() 53 - (m[c0 + 4*r1] * (m[c1 + 4*r0] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r0])) in inverse() 54 + (m[c0 + 4*r2] * (m[c1 + 4*r0] * m[c2 + 4*r1] - m[c1 + 4*r1] * m[c2 + 4*r0])); in inverse() 88 int c2 = (i+3) % 4; in inverseTranspose() local 93 … float minor = (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r1])) in inverseTranspose() 94 … - (m[c0 + 4*r1] * (m[c1 + 4*r0] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r0])) in inverseTranspose() 95 … + (m[c0 + 4*r2] * (m[c1 + 4*r0] * m[c2 + 4*r1] - m[c1 + 4*r1] * m[c2 + 4*r0])); in inverseTranspose()
|
/frameworks/compile/libbcc/tests/debuginfo/host-tests/ |
D | parameters.cpp | 24 char c2[2]; member 41 s.c2[0] = '0'; in main() 42 s.c2[1] = '1'; in main()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsics_x86.c | 83 __m128i c0, c2, c4, c6, c8; in rsdIntrinsicConvolve3x3_K() local 91 c2 = _mm_shuffle_epi32(x, 0x55); in rsdIntrinsicConvolve3x3_K() 116 o0 = _mm_add_epi32(o0, _mm_madd_epi16(_mm_unpacklo_epi16(p2, p4), c2)); in rsdIntrinsicConvolve3x3_K() 117 o1 = _mm_add_epi32(o1, _mm_madd_epi16(_mm_unpacklo_epi16(p3, p5), c2)); in rsdIntrinsicConvolve3x3_K() 151 __m128i c0, c1, c2, c3; in rsdIntrinsicColorMatrix4x4_K() local 161 c2 = _mm_loadl_epi64((const __m128i *)(coef+8)); in rsdIntrinsicColorMatrix4x4_K() 163 c2 = _mm_unpacklo_epi16(c2, c3); in rsdIntrinsicColorMatrix4x4_K() 175 x2 = _mm_add_epi32(x2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0x00))); in rsdIntrinsicColorMatrix4x4_K() 176 y2 = _mm_add_epi32(y2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0x55))); in rsdIntrinsicColorMatrix4x4_K() 177 z2 = _mm_add_epi32(z2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0xaa))); in rsdIntrinsicColorMatrix4x4_K() [all …]
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcTestLib.cpp | 166 << this->c2() << ", " in operator string() 311 float c1, c2, c3; in hwcTestParseColor() local 329 in >> c2; in hwcTestParseColor() 331 if ((c2 < 0.0) || (c2 > 1.0)) { return color; } in hwcTestParseColor() 348 || (c2 < 0.0) || (c2 > 1.0) in hwcTestParseColor() 354 return ColorFract(c1, c2, c3); in hwcTestParseColor() 584 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2())) in hwcTestColor2Pixel() 712 startColor.c2() + (endColor.c2() - startColor.c2()) in hwcTestFillColorHBlend() 847 + ((float) (fromAttrib->c2Max - fromAttrib->c2Min) * color.c2()); in hwcTestColorConvert() 874 float r = color.c1(), g = color.c2(), b = color.c3(); in hwcTestColorConvert() [all …]
|
D | hwcTestLib.h | 56 ColorFract(float c1, float c2, float c3): _c1(c1), _c2(c2), _c3(c3) {}; in ColorFract() argument 58 float c2(void) const { return _c2; } in c2() function
|
/frameworks/base/rs/java/android/renderscript/ |
D | Matrix4f.java | 406 int c2 = (i+3) % 4; in computeCofactor() local 411 float minor = (mMat[c0 + 4*r0] * (mMat[c1 + 4*r1] * mMat[c2 + 4*r2] - in computeCofactor() 412 mMat[c1 + 4*r2] * mMat[c2 + 4*r1])) in computeCofactor() 413 - (mMat[c0 + 4*r1] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r2] - in computeCofactor() 414 mMat[c1 + 4*r2] * mMat[c2 + 4*r0])) in computeCofactor() 415 + (mMat[c0 + 4*r2] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r1] - in computeCofactor() 416 mMat[c1 + 4*r1] * mMat[c2 + 4*r0])); in computeCofactor()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | Matrix4f.java | 407 int c2 = (i+3) % 4; in computeCofactor() local 412 float minor = (mMat[c0 + 4*r0] * (mMat[c1 + 4*r1] * mMat[c2 + 4*r2] - in computeCofactor() 413 mMat[c1 + 4*r2] * mMat[c2 + 4*r1])) in computeCofactor() 414 - (mMat[c0 + 4*r1] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r2] - in computeCofactor() 415 mMat[c1 + 4*r2] * mMat[c2 + 4*r0])) in computeCofactor() 416 + (mMat[c0 + 4*r2] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r1] - in computeCofactor() 417 mMat[c1 + 4*r1] * mMat[c2 + 4*r0])); in computeCofactor()
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | apitest.rs | 31 volatile char2 c2; 134 c2 = rsGetElementAt_char2(aChar2, 0); 135 rsSetElementAt_char2(aChar2, c2, 0); 136 c2 = rsGetElementAt_char2(aChar2, 0, 0); 137 rsSetElementAt_char2(aChar2, c2, 0, 0); 138 c2 = rsGetElementAt_char2(aChar2, 0, 0, 0); 139 rsSetElementAt_char2(aChar2, c2, 0, 0, 0); 416 c2 = convert_char2(c2); 417 c2 = convert_char2(uc2); 418 c2 = convert_char2(s2); [all …]
|
/frameworks/av/include/media/stagefright/ |
D | Utils.h | 30 #define FOURCC(c1, c2, c3, c4) \ argument 31 (c1 << 24 | c2 << 16 | c3 << 8 | c4)
|
/frameworks/base/core/jni/ |
D | android_text_AndroidCharacter.cpp | 166 int c2 = u_charMirror(c1); in mirror() local 168 if (c1 != c2) { in mirror() 169 data[i] = c2; in mirror()
|
/frameworks/minikin/include/minikin/ |
D | MinikinFont.h | 98 static uint32_t MakeTag(char c1, char c2, char c3, char c4) { in MakeTag() argument 99 return ((uint32_t)c1 << 24) | ((uint32_t)c2 << 16) | in MakeTag()
|
/frameworks/native/include/binder/ |
D | IBinder.h | 26 #define B_PACK_CHARS(c1, c2, c3, c4) \ argument 27 ((((c1)<<24)) | (((c2)<<16)) | (((c3)<<8)) | (c4))
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | AidlTest.java | 306 char[] c2 = new char[]{'d', 'e', 'f'}; in testArrays() local 307 char[] cr = mRemote.charArray(c0, c1, c2); in testArrays() 315 assertEquals('a', c2[0]); in testArrays() 316 assertEquals('e', c2[1]); in testArrays() 317 assertEquals('f', c2[2]); in testArrays()
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
D | HttpResponseCacheTest.java | 126 URLConnection c2 = server.getUrl("/").openConnection(); in testStatisticsTracking() local 127 assertEquals('A', c2.getInputStream().read()); in testStatisticsTracking()
|
/frameworks/native/opengl/libagl/ |
D | primitives.cpp | 31 int32_t* it, int32_t c0, int32_t c1, int32_t c2); 304 int32_t c0, int32_t c1, int32_t c2) const in iteratorsScale() 307 int32_t dc02 = c2 - c0; in iteratorsScale() 332 GGLfixed c0, GGLfixed c1, GGLfixed c2) const in iterators1616() 335 const GGLfixed dc02 = c2 - c0; in iterators1616() 348 int32_t c0, int32_t c1, int32_t c2) const in iterators0032() 352 int32_t dc02 = (c2 - c0)>>s; in iterators0032() 363 int32_t c0, int32_t c1, int32_t c2) const in iterators0032() 365 ::iterators0032(this, it, c0, c1, c2); in iterators0032() 369 int32_t c0, int32_t c1, int32_t c2) const in iterators0032() [all …]
|
D | context.h | 554 int32_t c0, int32_t c1, int32_t c2) const; 557 GGLfixed c0, GGLfixed c1, GGLfixed c2) const; 560 int32_t c0, int32_t c1, int32_t c2) const; 563 int32_t c0, int32_t c1, int32_t c2) const;
|
/frameworks/base/core/java/android/net/ |
D | UrlQuerySanitizer.java | 861 char c2 = string.charAt(i + 2); in unescape() local 862 if (isHexDigit(c1) && isHexDigit(c2)) { in unescape() 863 c = (char) (decodeHexDigit(c1) * 16 + decodeHexDigit(c2)); in unescape()
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | BitmapTest.java | 199 int c2 = bm2.getPixel(i % 16, i / 16); in testSetPixelsWithNonOpaqueAlpha() local 202 assertEquals("getPixel", c1, c2); in testSetPixelsWithNonOpaqueAlpha()
|