/external/webkit/Source/WebCore/platform/graphics/transforms/ |
D | TransformationMatrix.cpp | 1059 bool TransformationMatrix::decompose(DecomposedType& decomp) const in decompose() 1062 memset(&decomp, 0, sizeof(decomp)); in decompose() 1063 decomp.perspectiveW = 1; in decompose() 1064 decomp.scaleX = 1; in decompose() 1065 decomp.scaleY = 1; in decompose() 1066 decomp.scaleZ = 1; in decompose() 1069 if (!WebCore::decompose(m_matrix, decomp)) in decompose() 1074 void TransformationMatrix::recompose(const DecomposedType& decomp) in recompose() argument 1079 m_matrix[0][3] = (float) decomp.perspectiveX; in recompose() 1080 m_matrix[1][3] = (float) decomp.perspectiveY; in recompose() [all …]
|
D | RotateTransformOperation.cpp | 72 TransformationMatrix::DecomposedType decomp; in blend() local 73 toT.decompose(decomp); in blend() 76 double x = -decomp.quaternionX; in blend() 77 double y = -decomp.quaternionY; in blend() 78 double z = -decomp.quaternionZ; in blend() 86 angle = rad2deg(acos(decomp.quaternionW) * 2); in blend()
|
D | PerspectiveTransformOperation.cpp | 55 TransformationMatrix::DecomposedType decomp; in blend() local 56 toT.decompose(decomp); in blend() 58 if (decomp.perspectiveZ) { in blend() 59 double val = -1.0 / decomp.perspectiveZ; in blend()
|
D | TransformationMatrix.h | 259 bool decompose(DecomposedType& decomp) const; 260 void recompose(const DecomposedType& decomp);
|
/external/bluetooth/glib/glib/ |
D | gunidecomp.c | 225 const gchar *decomp; in g_unicode_canonical_decomposition() local 236 else if ((decomp = find_decomposition (ch, FALSE)) != NULL) in g_unicode_canonical_decomposition() 241 *result_len = g_utf8_strlen (decomp, -1); in g_unicode_canonical_decomposition() 244 for (p = decomp, i = 0; *p != '\0'; p = g_utf8_next_char (p), i++) in g_unicode_canonical_decomposition() 366 const gchar *decomp; in _g_utf8_normalize_wc() local 377 decomp = find_decomposition (wc, do_compat); in _g_utf8_normalize_wc() 379 if (decomp) in _g_utf8_normalize_wc() 380 n_wc += g_utf8_strlen (decomp, -1); in _g_utf8_normalize_wc() 396 const gchar *decomp; in _g_utf8_normalize_wc() local 408 decomp = find_decomposition (wc, do_compat); in _g_utf8_normalize_wc() [all …]
|
D | guniprop.c | 837 gunichar *decomp; in real_toupper() local 839 decomp = g_unicode_canonical_decomposition (c, &decomp_len); in real_toupper() 842 if (decomp[i] != 0x307 /* COMBINING DOT ABOVE */) in real_toupper() 843 len += g_unichar_to_utf8 (g_unichar_toupper (decomp[i]), out_buffer ? out_buffer + len : NULL); in real_toupper() 845 g_free (decomp); in real_toupper()
|
/external/icu4c/i18n/ |
D | ucol_elm.cpp | 1624 const UChar *decomp; in _enumCategoryRangeClosureCategory() local 1632 decomp = ((enumStruct *)context)->nfcImpl-> in _enumCategoryRangeClosureCategory() 1636 if(decomp != NULL) in _enumCategoryRangeClosureCategory() 1640 if(ucol_strcoll(tempColl, comp, len, decomp, noOfDec) != UCOL_EQUAL) { in _enumCategoryRangeClosureCategory() 1646 U16_NEXT(decomp, i, noOfDec, c); in _enumCategoryRangeClosureCategory() 1658 ucol_setText(iter, decomp, noOfDec, status); in _enumCategoryRangeClosureCategory() 1669 el.cPoints = (UChar *)decomp; in _enumCategoryRangeClosureCategory() 1682 ucol_setText(colEl, decomp, noOfDec, status); in _enumCategoryRangeClosureCategory() 1747 UChar decomp[256], comp[256]; in uprv_uca_addFCD4AccentedContractions() local 1750 decLen = unorm_normalize(data, len, UNORM_NFD, 0, decomp, 256, status); in uprv_uca_addFCD4AccentedContractions() [all …]
|
D | ucol_elm.h | 124 UChar *decomp; member
|
/external/chromium/net/tools/spdyshark/ |
D | packet-spdy.c | 763 spdy_decompress_header_block(tvbuff_t *tvb, z_streamp decomp, in spdy_decompress_header_block() argument 771 decomp->next_in = (Bytef *)hptr; in spdy_decompress_header_block() 772 decomp->avail_in = length; in spdy_decompress_header_block() 773 decomp->next_out = uncomp_block; in spdy_decompress_header_block() 774 decomp->avail_out = bufsize; in spdy_decompress_header_block() 775 retcode = inflate(decomp, Z_SYNC_FLUSH); in spdy_decompress_header_block() 777 if (decomp->adler != dictionary_id) { in spdy_decompress_header_block() 779 (guint)decomp->adler, dictionary_id); in spdy_decompress_header_block() 781 retcode = inflateSetDictionary(decomp, in spdy_decompress_header_block() 785 retcode = inflate(decomp, Z_SYNC_FLUSH); in spdy_decompress_header_block() [all …]
|
/external/chromium/net/spdy/ |
D | spdy_framer.cc | 1233 z_stream* decomp = GetHeaderDecompressor(); in IncrementallyDecompressControlFrameHeaderData() local 1248 decomp->next_in = reinterpret_cast<Bytef*>(const_cast<char*>(payload)); in IncrementallyDecompressControlFrameHeaderData() 1249 decomp->avail_in = payload_length; in IncrementallyDecompressControlFrameHeaderData() 1253 decomp->next_out = reinterpret_cast<Bytef*>(buffer); in IncrementallyDecompressControlFrameHeaderData() 1254 decomp->avail_out = arraysize(buffer); in IncrementallyDecompressControlFrameHeaderData() 1255 int rv = DecompressHeaderBlockInZStream(decomp); in IncrementallyDecompressControlFrameHeaderData() 1261 DCHECK_GT(arraysize(buffer), decomp->avail_out); in IncrementallyDecompressControlFrameHeaderData() 1262 size_t len = arraysize(buffer) - decomp->avail_out; in IncrementallyDecompressControlFrameHeaderData() 1270 more = decomp->avail_in > 0; in IncrementallyDecompressControlFrameHeaderData() 1285 z_stream* decomp = GetHeaderDecompressor(); in IncrementallyDecompressControlFrameHeaderData() local [all …]
|
/external/icu4c/test/intltest/ |
D | canittst.cpp | 178 UnicodeString decomp, comp; in characterTest() local 183 Normalizer::decompose(s, FALSE, 0, decomp, status); in characterTest() 188 if (s == decomp && s == comp) { in characterTest() 198 if (item == decomp) gotDecomp = TRUE; in characterTest()
|
D | transrt.cpp | 133 UnicodeString decomp; in is() local 135 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); in is() 139 for (int i = 0; i < decomp.length(); ++i) { // don't worry about surrogates in is() 140 switch (getType(decomp.charAt(i))) { in is() 141 case 0: t = getType(decomp.charAt(i+1)); in is() 144 case 1: t = getType(decomp.charAt(i-1)); in is() 147 case 2: t = getType(decomp.charAt(i-1)); in is() 179 UnicodeString decomp; in is() local 181 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); in is() 190 for (int32_t i = 0; i < decomp.length(); ++i) { in is() [all …]
|
D | ucdtest.cpp | 356 UnicodeString decomp=nfd->normalize(UnicodeString(start), errorCode); in TestConsistency() local 357 if(decomp.length()>1 && decomp[0]==0x49) { in TestConsistency()
|
D | tstnorm.cpp | 271 UnicodeString decomp[1][3]; in TestTibetan() local 272 decomp[0][0] = str("\\u0f77"); in TestTibetan() 273 decomp[0][1] = str("\\u0f77"); in TestTibetan() 274 decomp[0][2] = str("\\u0fb2\\u0f71\\u0f80"); in TestTibetan() 281 staticTest(UNORM_NFD, 0, decomp, ARRAY_LENGTH(decomp), 1); in TestTibetan() 282 staticTest(UNORM_NFKD, 0, decomp, ARRAY_LENGTH(decomp), 2); in TestTibetan()
|
D | regcoll.cpp | 180 static const UChar decomp[][CollationRegressionTest::MAX_TOKEN_LEN] = in Test4054734() local 195 compareArray(*c, decomp, ARRAY_LENGTH(decomp)); in Test4054734()
|
/external/icu4c/test/cintltst/ |
D | cnormtst.c | 1476 UChar decomp[32]; in TestGetDecomposition() local 1486 length=unorm2_getDecomposition(n2, 0x20, decomp, LENGTHOF(decomp), &errorCode); in TestGetDecomposition() 1491 length=unorm2_getDecomposition(n2, 0xe4, decomp, LENGTHOF(decomp), &errorCode); in TestGetDecomposition() 1492 if(U_FAILURE(errorCode) || length!=2 || decomp[0]!=0x61 || decomp[1]!=0x308 || decomp[2]!=0) { in TestGetDecomposition() 1496 length=unorm2_getDecomposition(n2, 0xac01, decomp, LENGTHOF(decomp), &errorCode); in TestGetDecomposition() 1497 …if(U_FAILURE(errorCode) || length!=3 || decomp[0]!=0x1100 || decomp[1]!=0x1161 || decomp[2]!=0x11a… in TestGetDecomposition() 1506 length=unorm2_getDecomposition(n2, 0xac01, decomp, -1, &errorCode); in TestGetDecomposition()
|
/external/icu4c/common/ |
D | caniter.cpp | 510 const UChar *decomp=decompString.getBuffer(); in extract() local 518 U16_NEXT(decomp, decompPos, decompLen, decompCp); in extract() 533 U16_NEXT(decomp, decompPos, decompLen, decompCp); in extract()
|
D | normalizer2.cpp | 366 Norm2AllModes() : comp(impl, FALSE), decomp(impl), fcd(impl), fcc(impl, TRUE) {} in Norm2AllModes() 370 DecomposeNormalizer2 decomp; member 461 return allModes!=NULL ? &allModes->decomp : NULL; in getNFDInstance() 488 return allModes!=NULL ? &allModes->decomp : NULL; in getNFKDInstance() 622 return &allModes->decomp; in getInstance()
|
D | normalizer2impl.cpp | 543 const UChar *decomp=NULL; in getDecomposition() local 548 return decomp; in getDecomposition() 555 decomp=buffer; in getDecomposition()
|
/external/zlib/contrib/blast/ |
D | blast.c | 276 local int decomp(struct state *s) in decomp() function 399 err = decomp(&s); /* decompress */ in blast()
|