/external/libcups/examples/ |
D | ppdx.c | 56 z_stream decomp; /* Decompressor stream */ in ppdxReadData() local 85 memset(&decomp, 0, sizeof(decomp)); in ppdxReadData() 86 decomp.next_out = data; in ppdxReadData() 87 decomp.avail_out = 256; in ppdxReadData() 89 inflateInit(&decomp); in ppdxReadData() 107 decomp.next_in = decoded; in ppdxReadData() 108 decomp.avail_in = len; in ppdxReadData() 118 if ((error = inflate(&decomp, Z_NO_FLUSH)) < Z_OK) in ppdxReadData() 120 fprintf(stderr, "ERROR: inflate returned %d (%s)\n", error, decomp.msg); in ppdxReadData() 127 if (decomp.avail_out == 0) in ppdxReadData() [all …]
|
/external/python/cpython2/Demo/zlib/ |
D | zlibdemo.py | 22 decomp = zlib.decompress(comptext) 26 print 'Uncompressed:', len(decomp) 33 comptext = decomp = '' 40 decomp = decomp + decompressor.decompress(comptext[i:i+chunk]) 41 decomp=decomp+decompressor.flush() 45 print 'Uncompressed:', len(decomp)
|
/external/llvm-project/clang/test/SemaTemplate/ |
D | cxx1z-decomposition.cpp | 17 template<typename T> int decomp(T &t) { in decomp() function 28 decomp(a); in test() 29 decomp(b); in test() 30 decomp(c); in test() 31 decomp(d); // expected-note {{in instantiation of}} in test() 32 decomp(e); // expected-note {{in instantiation of}} in test()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
D | TestDeprecatedNormalizerAPI.java | 119 String decomp = Normalizer.decompose(xString, compat); in assertNoDecomp() local 120 if (!decomp.equals(xString)) { in assertNoDecomp() 121 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")" in assertNoDecomp() 138 String decomp = iter.decomposition(); in TestRoundTrip() local 139 String comp = Normalizer.compose(decomp, compat); in TestRoundTrip() 147 if (decomp.length() == 4) continue; in TestRoundTrip() 150 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp) in TestRoundTrip() 153 errln(" char decomp is '" + decomp + "'"); in TestRoundTrip()
|
D | NormalizerBuilder.java | 175 String decomp = fromHex(segment); in buildDecompositionTables() local 190 int decompLen = UTF16Util.countCodePoint(decomp); in buildDecompositionTables() 194 decompose.put(value, decomp); in buildDecompositionTables() 201 int second = UTF16Util.nextCodePoint(decomp, 0); in buildDecompositionTables() 204 second = UTF16Util.nextCodePoint(decomp, in buildDecompositionTables() 216 System.out.println("Excluding: " + decomp); in buildDecompositionTables() 418 String decomp = decomposeData[i+1]; in setMinimalDecomp() local 421 decompose.put(value, decomp); in setMinimalDecomp() 424 int second = UTF16Util.nextCodePoint(decomp, 0); in setMinimalDecomp() 425 if (decomp.length() > 1) { in setMinimalDecomp() [all …]
|
D | NormalizerData.java | 64 String decomp = decompose.get(ch); in getRecursiveDecomposition() local 65 if (decomp != null && !(canonical && isCompatibility.get(ch))) { in getRecursiveDecomposition() 66 for (int i = 0; i < decomp.length(); i+=UTF16Util.codePointLength(ch)) { in getRecursiveDecomposition() 67 ch = UTF16Util.nextCodePoint(decomp, i); in getRecursiveDecomposition()
|
D | TestCanonicalIterator.java | 203 String decomp = Normalizer.decompose(s, false); in characterTest() local 208 if (s.equals(decomp) && s.equals(comp)) return; in characterTest() 216 if (item.equals(decomp)) gotDecomp = true; in characterTest() 225 + (item.equals(decomp) ? "\t(*decomp*)" : "") in characterTest() 257 errln("FAIL CanonicalIterator: " + s + " decomp: " +decomp+" comp: "+comp); in characterTest()
|
/external/python/cpython2/Lib/plat-irix6/ |
D | jpeg.py | 17 decomp = None variable 43 global decomp 45 if decomp is None: decomp = cl.OpenDecompressor(cl.JPEG) 46 headersize = decomp.ReadHeader(jpegdata) 48 decomp.GetParams(params) 60 decomp.SetParams(params) 61 imgdata = decomp.Decompress(1, jpegdata)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
D | TestDeprecatedNormalizerAPI.java | 122 String decomp = Normalizer.decompose(xString, compat); in assertNoDecomp() local 123 if (!decomp.equals(xString)) { in assertNoDecomp() 124 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")" in assertNoDecomp() 141 String decomp = iter.decomposition(); in TestRoundTrip() local 142 String comp = Normalizer.compose(decomp, compat); in TestRoundTrip() 150 if (decomp.length() == 4) continue; in TestRoundTrip() 153 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp) in TestRoundTrip() 156 errln(" char decomp is '" + decomp + "'"); in TestRoundTrip()
|
D | NormalizerBuilder.java | 176 String decomp = fromHex(segment); in buildDecompositionTables() local 191 int decompLen = UTF16Util.countCodePoint(decomp); in buildDecompositionTables() 195 decompose.put(value, decomp); in buildDecompositionTables() 202 int second = UTF16Util.nextCodePoint(decomp, 0); in buildDecompositionTables() 205 second = UTF16Util.nextCodePoint(decomp, in buildDecompositionTables() 217 System.out.println("Excluding: " + decomp); in buildDecompositionTables() 419 String decomp = decomposeData[i+1]; in setMinimalDecomp() local 422 decompose.put(value, decomp); in setMinimalDecomp() 425 int second = UTF16Util.nextCodePoint(decomp, 0); in setMinimalDecomp() 426 if (decomp.length() > 1) { in setMinimalDecomp() [all …]
|
D | NormalizerData.java | 67 String decomp = decompose.get(ch); in getRecursiveDecomposition() local 68 if (decomp != null && !(canonical && isCompatibility.get(ch))) { in getRecursiveDecomposition() 69 for (int i = 0; i < decomp.length(); i+=UTF16Util.codePointLength(ch)) { in getRecursiveDecomposition() 70 ch = UTF16Util.nextCodePoint(decomp, i); in getRecursiveDecomposition()
|
D | TestCanonicalIterator.java | 206 String decomp = Normalizer.decompose(s, false); in characterTest() local 211 if (s.equals(decomp) && s.equals(comp)) return; in characterTest() 219 if (item.equals(decomp)) gotDecomp = true; in characterTest() 228 + (item.equals(decomp) ? "\t(*decomp*)" : "") in characterTest() 260 errln("FAIL CanonicalIterator: " + s + " decomp: " +decomp+" comp: "+comp); in characterTest()
|
/external/python/cpython2/Lib/plat-irix5/ |
D | jpeg.py | 17 decomp = None variable 43 global decomp 45 if decomp is None: decomp = cl.OpenDecompressor(cl.JPEG) 46 headersize = decomp.ReadHeader(jpegdata) 48 decomp.GetParams(params) 60 decomp.SetParams(params) 61 imgdata = decomp.Decompress(1, jpegdata)
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | DecompTable.java | 27 private int[] decomp; field in DecompTable.DecompEntry 34 decomp = new int[decompCount]; in DecompEntry() 40 decomp[out++] = cp; in DecompEntry() 51 return decomp; in getDecomposition() 56 return decomp.length; in getDecompositionCount() 61 if (i >= 0 && i < decomp.length) { in getDecomposedCharacter() 62 return decomp[i]; in getDecomposedCharacter()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnormtst.c | 1488 UChar decomp[32]; in TestGetDecomposition() local 1498 length=unorm2_getDecomposition(n2, 0x20, decomp, UPRV_LENGTHOF(decomp), &errorCode); in TestGetDecomposition() 1503 length=unorm2_getDecomposition(n2, 0xe4, decomp, UPRV_LENGTHOF(decomp), &errorCode); in TestGetDecomposition() 1504 if(U_FAILURE(errorCode) || length!=2 || decomp[0]!=0x61 || decomp[1]!=0x308 || decomp[2]!=0) { in TestGetDecomposition() 1508 length=unorm2_getDecomposition(n2, 0xac01, decomp, UPRV_LENGTHOF(decomp), &errorCode); in TestGetDecomposition() 1509 …if(U_FAILURE(errorCode) || length!=3 || decomp[0]!=0x1100 || decomp[1]!=0x1161 || decomp[2]!=0x11a… in TestGetDecomposition() 1518 length=unorm2_getDecomposition(n2, 0xac01, decomp, -1, &errorCode); in TestGetDecomposition() 1531 UChar decomp[32]; in TestGetRawDecomposition() local 1545 length=unorm2_getRawDecomposition(n2, 0x20, decomp, UPRV_LENGTHOF(decomp), &errorCode); in TestGetRawDecomposition() 1550 length=unorm2_getRawDecomposition(n2, 0xe4, decomp, UPRV_LENGTHOF(decomp), &errorCode); in TestGetRawDecomposition() [all …]
|
/external/curl/lib/ |
D | content_encoding.c | 170 char *decomp; /* Put the decompressed data here. */ in inflate_stream() local 181 decomp = malloc(DSIZ); in inflate_stream() 182 if(decomp == NULL) in inflate_stream() 192 z->next_out = (Bytef *) decomp; in inflate_stream() 207 result = Curl_unencode_write(conn, writer->downstream, decomp, in inflate_stream() 250 free(decomp); in inflate_stream() 648 char *decomp; in brotli_unencode_write() local 657 decomp = malloc(DSIZ); in brotli_unencode_write() 658 if(!decomp) in brotli_unencode_write() 663 dst = (uint8_t *) decomp; in brotli_unencode_write() [all …]
|
/external/rust/crates/unicode-normalization/scripts/ |
D | unicode.py | 106 char, category, cc, decomp = pieces[0], pieces[2], pieces[3], pieces[5] 115 if decomp.startswith('<'): 116 self.compat_decomp[char_int] = [int(c, 16) for c in decomp.split()[1:]] 117 elif decomp != '': 118 self.canon_decomp[char_int] = [int(c, 16) for c in decomp.split()] 201 for char_int, decomp in self.canon_decomp.items(): 205 assert len(decomp) == 2 206 assert (decomp[0], decomp[1]) not in canon_comp 207 canon_comp[(decomp[0], decomp[1])] = char_int 239 decomp = self.canon_decomp.get(char_int) [all …]
|
/external/llvm-project/clang/test/PCH/ |
D | cxx1z-decomposition.cpp | 14 template<typename T> auto decomp(const T &t) { in decomp() function 30 int k = decomp(arr); 35 int z = decomp(10); // expected-note {{instantiation of}}
|
/external/rust/crates/unicode-normalization/src/ |
D | quick_check.rs | 50 let decomp = stream_safe::classify_nonstarters(ch); in quick_check() localVariable 54 if nonstarter_count + decomp.leading_nonstarters > stream_safe::MAX_NONSTARTERS { in quick_check() 57 if decomp.leading_nonstarters == decomp.decomposition_len { in quick_check() 58 nonstarter_count += decomp.decomposition_len; in quick_check() 60 nonstarter_count = decomp.trailing_nonstarters; in quick_check()
|
D | stream_safe.rs | 87 let decomp = compatibility_fully_decomposed(c).or_else(|| canonical_fully_decomposed(c)); in classify_nonstarters() localVariable 88 match decomp { in classify_nonstarters() 89 Some(decomp) => Decomposition { in classify_nonstarters() 92 decomposition_len: decomp.len(), in classify_nonstarters()
|
/external/libwebsockets/lib/roles/http/compression/deflate/ |
D | deflate.c | 28 lcs_init_compression_deflate(lws_comp_ctx_t *ctx, int decomp) in lcs_init_compression_deflate() argument 32 ctx->is_decompression = decomp; in lcs_init_compression_deflate() 40 if (!decomp && in lcs_init_compression_deflate() 49 if (decomp && in lcs_init_compression_deflate()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CanonicalIterator.java | 54 nfd = allModes.decomp; in CanonicalIterator() 372 String decomp = nfcImpl.getDecomposition(comp); in extract() local 373 if (decomp == null) { in extract() 374 decomp = UTF16.valueOf(comp); in extract() 381 int decompCp = UTF16.charAt(decomp,0); in extract() 390 if (decompPos == decomp.length()) { // done, have all decomp characters! in extract() 395 decompCp = UTF16.charAt(decomp, decompPos); in extract()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CanonicalIterator.java | 54 nfd = allModes.decomp; in CanonicalIterator() 368 String decomp = nfcImpl.getDecomposition(comp); in extract() local 369 if (decomp == null) { in extract() 370 decomp = UTF16.valueOf(comp); in extract() 377 int decompCp = UTF16.charAt(decomp,0); in extract() 386 if (decompPos == decomp.length()) { // done, have all decomp characters! in extract() 391 decompCp = UTF16.charAt(decomp, decompPos); in extract()
|
/external/libwebsockets/lib/roles/http/compression/ |
D | stream.c | 62 unsigned char **p, unsigned char *end, char decomp) in lws_http_compression_apply() argument 74 if (!decomp && !(wsi->http.comp_accept_mask & (1 << n))) in lws_http_compression_apply() 84 lcs_available[n]->init_compression(&wsi->http.comp_ctx, decomp); in lws_http_compression_apply() 94 wsi->http.comp_ctx.is_decompression = decomp; in lws_http_compression_apply()
|
/external/libwebsockets/lib/roles/http/compression/brotli/ |
D | brotli.c | 28 lcs_init_compression_brotli(lws_comp_ctx_t *ctx, int decomp) in lcs_init_compression_brotli() argument 30 ctx->is_decompression = decomp; in lcs_init_compression_brotli() 32 if (!decomp) { in lcs_init_compression_brotli()
|