/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/zlib/ |
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/python/cpython2/Demo/zlib/ |
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/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
NormalizerData.java | 65 String decomp = decompose.get(ch); local 66 if (decomp != null && !(canonical && isCompatibility.get(ch))) { 67 for (int i = 0; i < decomp.length(); i+=UTF16Util.codePointLength(ch)) { 68 ch = UTF16Util.nextCodePoint(decomp, i); 71 } else { // if no decomp, append
|
TestDeprecatedNormalizerAPI.java | 103 errln("ERROR: " + hex(ch) + " has identical decomp"); 106 errln("ERROR: Normalizer decomp for " + hex(ch) + " (" + hex(normDecomp) + ")" 107 + " != iter decomp (" + hex(iterDecomp) + ")" ); 117 String decomp = Normalizer.decompose(xString, compat); local 118 if (!decomp.equals(xString)) { 119 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")" 136 String decomp = iter.decomposition(); local 137 String comp = Normalizer.compose(decomp, compat); 145 if (decomp.length() == 4) continue; 148 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp) [all...] |
NormalizerBuilder.java | 166 end = line.indexOf(';',start=end+1); // decomp 168 // decomp requires more processing. 170 // store the decomp in one table, and the reverse mapping (from pairs) in another 176 String decomp = fromHex(segment); local 184 + "\"\\u" + hex(decomp, "\\u") + "\", " 191 int decompLen = UTF16Util.countCodePoint(decomp); 193 System.err.println("Bad decomp at: " + line); 195 decompose.put(value, decomp); 202 int second = UTF16Util.nextCodePoint(decomp, 0); 205 second = UTF16Util.nextCodePoint(decomp, 419 String decomp = decomposeData[i+1]; local [all...] |
TestCanonicalIterator.java | 201 String decomp = Normalizer.decompose(s, false); local 204 // skip characters that don't have either decomp. 206 if (s.equals(decomp) && s.equals(comp)) return; 214 if (item.equals(decomp)) gotDecomp = true; 223 + (item.equals(decomp) ? "\t(*decomp*)" : "") 255 errln("FAIL CanonicalIterator: " + s + " decomp: " +decomp+" comp: "+comp);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
NormalizerData.java | 64 String decomp = decompose.get(ch); local 65 if (decomp != null && !(canonical && isCompatibility.get(ch))) { 66 for (int i = 0; i < decomp.length(); i+=UTF16Util.codePointLength(ch)) { 67 ch = UTF16Util.nextCodePoint(decomp, i); 70 } else { // if no decomp, append
|
TestDeprecatedNormalizerAPI.java | 102 errln("ERROR: " + hex(ch) + " has identical decomp"); 105 errln("ERROR: Normalizer decomp for " + hex(ch) + " (" + hex(normDecomp) + ")" 106 + " != iter decomp (" + hex(iterDecomp) + ")" ); 116 String decomp = Normalizer.decompose(xString, compat); local 117 if (!decomp.equals(xString)) { 118 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")" 135 String decomp = iter.decomposition(); local 136 String comp = Normalizer.compose(decomp, compat); 144 if (decomp.length() == 4) continue; 147 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp) [all...] |
NormalizerBuilder.java | 165 end = line.indexOf(';',start=end+1); // decomp 167 // decomp requires more processing. 169 // store the decomp in one table, and the reverse mapping (from pairs) in another 175 String decomp = fromHex(segment); local 183 + "\"\\u" + hex(decomp, "\\u") + "\", " 190 int decompLen = UTF16Util.countCodePoint(decomp); 192 System.err.println("Bad decomp at: " + line); 194 decompose.put(value, decomp); 201 int second = UTF16Util.nextCodePoint(decomp, 0); 204 second = UTF16Util.nextCodePoint(decomp, 418 String decomp = decomposeData[i+1]; local [all...] |
TestCanonicalIterator.java | 200 String decomp = Normalizer.decompose(s, false); local 203 // skip characters that don't have either decomp. 205 if (s.equals(decomp) && s.equals(comp)) return; 213 if (item.equals(decomp)) gotDecomp = true; 222 + (item.equals(decomp) ? "\t(*decomp*)" : "") 254 errln("FAIL CanonicalIterator: " + s + " decomp: " +decomp+" comp: "+comp);
|
/external/python/cpython2/Lib/plat-irix5/ |
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/python/cpython2/Lib/plat-irix6/ |
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/ |
DecompTable.java | 27 private int[] decomp; field in class:DecompTable.DecompEntry 34 decomp = new int[decompCount]; 40 decomp[out++] = cp; 51 return decomp; 56 return decomp.length; 61 if (i >= 0 && i < decomp.length) { 62 return decomp[i];
|
/external/syslinux/codepage/ |
cptable.pl | 23 %decomp = (); 38 $decomp{$n} = []; 40 push(@{$decomp{$n}}, hex $dch); 106 } elsif (defined($tabx{${$decomp{$uuc}}[0]})) { 108 $u = $tabx{${$decomp{$uuc}}[0]}; 133 } elsif (defined($l = $tabx{${$decomp{$llc}}[0]}) && $uctab[$l] == $i) {
|
/external/curl/lib/ |
content_encoding.c | 99 char *decomp; /* Put the decompressed data here. */ local 103 decomp = malloc(DSIZ); 104 if(decomp == NULL) { 112 z->next_out = (Bytef *)decomp; 119 result = Curl_client_write(conn, CLIENTWRITE_BODY, decomp, 123 free(decomp); 130 free(decomp); 141 free(decomp); 151 free(decomp); 160 free(decomp); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
Normalizer2.java | 127 return Norm2AllModes.getNFCInstance().decomp; 147 return Norm2AllModes.getNFKCInstance().decomp; 194 case DECOMPOSE: return all2Modes.decomp;
|
CanonicalIterator.java | 54 nfd = allModes.decomp; 264 String attempt = Normalizer.normalize(possible, Normalizer.DECOMP, 0); 368 String decomp = nfcImpl.getDecomposition(comp); local 369 if (decomp == null) { 370 decomp = UTF16.valueOf(comp); 377 int decompCp = UTF16.charAt(decomp,0); 384 if (cp == decompCp) { // if equal, eat another cp from decomp 386 if (decompPos == decomp.length()) { // done, have all decomp characters! 391 decompCp = UTF16.charAt(decomp, decompPos) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
Normalizer2.java | 134 return Norm2AllModes.getNFCInstance().decomp; 156 return Norm2AllModes.getNFKCInstance().decomp; 205 case DECOMPOSE: return all2Modes.decomp;
|
CanonicalIterator.java | 54 nfd = allModes.decomp; 268 String attempt = Normalizer.normalize(possible, Normalizer.DECOMP, 0); 372 String decomp = nfcImpl.getDecomposition(comp); local 373 if (decomp == null) { 374 decomp = UTF16.valueOf(comp); 381 int decompCp = UTF16.charAt(decomp,0); 388 if (cp == decompCp) { // if equal, eat another cp from decomp 390 if (decompPos == decomp.length()) { // done, have all decomp characters! 395 decompCp = UTF16.charAt(decomp, decompPos) [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cnormtst.c | 1478 UChar decomp[32]; local 1521 UChar decomp[32]; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
canittst.cpp | 179 UnicodeString decomp, comp; local 184 Normalizer::decompose(s, FALSE, 0, decomp, status); 187 // skip characters that don't have either decomp. 189 if (s == decomp && s == comp) { 199 if (item == decomp) gotDecomp = TRUE;
|
transrt.cpp | 136 UnicodeString decomp; local 138 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); 142 for (int i = 0; i < decomp.length(); ++i) { // don't worry about surrogates 143 switch (getType(decomp.charAt(i))) { 144 case 0: t = getType(decomp.charAt(i+1)); 147 case 1: t = getType(decomp.charAt(i-1)); 150 case 2: t = getType(decomp.charAt(i-1)); 182 UnicodeString decomp; local 184 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); 193 for (int32_t i = 0; i < decomp.length(); ++i) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
RoundTripTest.java | 273 String decomp = Normalizer.decompose(charStr, false); local 274 if (decomp.length() != leng) { 277 if (decomp.startsWith("\u110B ") != noFirstConsonant) { 280 if (!notYetSeen.containsAll(decomp)) { 282 notYetSeen.addAll(decomp); 929 String decomp = Normalizer.normalize(sourceString, Normalizer.NFD); local 1028 String decomp = Normalizer.normalize(sourceString, Normalizer.NFD); local [all...] |
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
RoundTripTest.java | 272 String decomp = Normalizer.decompose(charStr, false); local 273 if (decomp.length() != leng) { 276 if (decomp.startsWith("\u110B ") != noFirstConsonant) { 279 if (!notYetSeen.containsAll(decomp)) { 281 notYetSeen.addAll(decomp); 928 String decomp = Normalizer.normalize(sourceString, Normalizer.NFD); local 1027 String decomp = Normalizer.normalize(sourceString, Normalizer.NFD); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/ |
makeunicodedata.py | 15 # 2001-01-21 fl added decomp compression; dynamic phrasebook threshold
147 decomp = record[5].split()
148 if len(decomp) > 19:
151 if decomp[0][0] == "<":
152 prefix = decomp.pop(0)
163 decomp = [prefix + (len(decomp)<<8)] + [int(s, 16) for s in decomp]
165 if not prefix and len(decomp) == 3 and \
167 unicode.table[decomp[1]][3] == "0": [all...] |