/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CompactStringByteConverter.java | 12 import com.ibm.icu.impl.Utility; 99 System.out.println("\t\t" + Utility.hex(last)); in fromBytes() 108 System.out.println("\t\t" + Utility.hex(last)); in fromBytes() 129 System.out.println(Utility.hex(source)); in writeInt() 142 System.out.println(Utility.hex(output[bytePosition - 1] & 0xFF, 2)); in writeInt() 148 System.out.println(Utility.hex(output[bytePosition - 1] & 0xFF, 2)); in writeInt() 163 … System.out.println(Utility.hex(nextByte & 0xFF, 2) + ", " + Utility.hex(result)); in readInt() 172 … System.out.println(Utility.hex(nextByte & 0xFF, 2) + ", " + Utility.hex(result)); in readInt() 182 System.out.println(Utility.hex(source)); in writeUnsignedInt() 195 System.out.println(Utility.hex(output[bytePosition - 1] & 0xFF, 2)); in writeUnsignedInt() [all …]
|
D | IsoCurrencyParser.java | 13 import com.ibm.icu.impl.Utility; 41 .put(Utility.unescape("\u00C5LAND ISLANDS"), "AX") 49 .put(Utility.unescape("C\u00D4TE D\u2019IVOIRE"), "CI") 52 .put(Utility.unescape("CURA\u00C7AO"), "CW") 64 .put(Utility.unescape("KOREA (THE DEMOCRATIC PEOPLE\u2019S REPUBLIC OF)"), "KP") 67 .put(Utility.unescape("LAO PEOPLE\u2019S DEMOCRATIC REPUBLIC (THE)"), "LA") 77 .put(Utility.unescape("R\u00C9UNION"), "RE") 91 .put(Utility.unescape("INTERNATIONAL MONETARY FUND (IMF)\u00A0"), "ZZ")
|
D | Pair.java | 14 import com.ibm.icu.impl.Utility; 72 return Utility.checkHash(first) * 37 + Utility.checkHash(second); in hashCode() 87 int trial = Utility.checkCompare(first, that.first); in compareTo() 89 return Utility.checkCompare(second, that.second); in compareTo()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | UtilityTest.java | 29 import com.ibm.icu.impl.Utility; 48 String result = Utility.unescape(input); in TestUnescape() 70 + Utility.LINE_SEPARATOR + " \"t?\"" in TestFormat() 81 result[i], Utility.formatForSource(data[i])); in TestFormat() 85 result1[i], Utility.format1ForSource(data[i])); in TestFormat() 95 if (Utility.highBit(data[i]) != result[i]) { in TestHighBit() 110 if (Utility.compareUnsigned(data[i], data[j]) in TestCompareUnsigned() 267 assertTrue(message, Utility.charSequenceEquals(a, a)); in TestCharSequenceEqualsAndHashCode() 268 assertFalse(message, Utility.charSequenceEquals(a, c)); in TestCharSequenceEqualsAndHashCode() 269 assertTrue(message, Utility.charSequenceEquals(b, b)); in TestCharSequenceEqualsAndHashCode() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | UtilityTest.java | 30 import android.icu.impl.Utility; 51 String result = Utility.unescape(input); in TestUnescape() 73 + Utility.LINE_SEPARATOR + " \"t?\"" in TestFormat() 84 result[i], Utility.formatForSource(data[i])); in TestFormat() 88 result1[i], Utility.format1ForSource(data[i])); in TestFormat() 98 if (Utility.highBit(data[i]) != result[i]) { in TestHighBit() 113 if (Utility.compareUnsigned(data[i], data[j]) in TestCompareUnsigned() 270 assertTrue(message, Utility.charSequenceEquals(a, a)); in TestCharSequenceEqualsAndHashCode() 271 assertFalse(message, Utility.charSequenceEquals(a, c)); in TestCharSequenceEqualsAndHashCode() 272 assertTrue(message, Utility.charSequenceEquals(b, b)); in TestCharSequenceEqualsAndHashCode() [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl3cClipDistance.cpp | 243 …gl3cts::ClipDistance::Utility::Program program(gl, vertex_shader, fragment_shader, transform_feedb… in MaxClipDistancesValueInVertexShaderTest() 260 gl3cts::ClipDistance::Utility::VertexArrayObject vertex_array_object(gl, GL_POINTS); in MaxClipDistancesValueInVertexShaderTest() 263 …gl3cts::ClipDistance::Utility::VertexBufferObject<glw::GLint> vertex_buffer_object(gl, GL_TRANSFOR… in MaxClipDistancesValueInVertexShaderTest() 310 gl3cts::ClipDistance::Utility::Framebuffer framebuffer(gl, 1, 1); in MaxClipDistancesValueInFragmentShaderTest() 326 gl3cts::ClipDistance::Utility::Program program(gl, vertex_shader, fragment_shader); in MaxClipDistancesValueInFragmentShaderTest() 343 gl3cts::ClipDistance::Utility::VertexArrayObject vertex_array_object(gl, GL_POINTS); in MaxClipDistancesValueInFragmentShaderTest() 398 gl3cts::ClipDistance::Utility::Framebuffer framebuffer(gl, 1, 1); in ClipDistancesValuePassing() 414 gl3cts::ClipDistance::Utility::Program program(gl, vertex_shader, fragment_shader); in ClipDistancesValuePassing() 431 gl3cts::ClipDistance::Utility::VertexArrayObject vertex_array_object(gl, GL_POINTS); in ClipDistancesValuePassing() 590 gl3cts::ClipDistance::Utility::Framebuffer framebuffer(gl, framebuffer_size, in iterate() [all …]
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/classfile/ |
D | UtilityTestCase.java | 28 Utility.signatureToString("Ljava/util/Map<TX;Ljava/util/List<TY;>;>;")); in testSignatureToStringWithGenerics() 31 , Utility.signatureToString("Ljava/util/Set<+Ljava/nio/file/OpenOption;>;")); in testSignatureToStringWithGenerics() 34 Utility.signatureToString("[Ljava/nio/file/attribute/FileAttribute<*>;")); in testSignatureToStringWithGenerics() 38 …Utility.signatureToString("Lboofcv/alg/tracker/tld/TldTracker<Lboofcv/struct/image/ImageGray<Lboof… in testSignatureToStringWithGenerics() 41 Utility.signatureToString("Ljava/util/Map<**>;")); in testSignatureToStringWithGenerics() 44 Utility.signatureToString("Lcom/jme3/util/IntMap<TT;>.IntMapIterator;")); in testSignatureToStringWithGenerics()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationTest.java | 27 import com.ibm.icu.impl.Utility; 141 + Utility.hex(orders[index]) + " vs 0x" + Utility.hex(o)); in backAndForth() 159 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() 165 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() 222 TestFmwk.errln("Comparing \"" + Utility.hex(source) + "\" with \"" in doTestVariant() 223 + Utility.hex(target) + "\" expected " + result in doTestVariant() 230 TestFmwk.errln("Comparing CollationKeys of \"" + Utility.hex(source) in doTestVariant() 231 + "\" with \"" + Utility.hex(target) in doTestVariant() 242 + Utility.hex(source) in doTestVariant() 243 + "\" with \"" + Utility.hex(target) in doTestVariant() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationTest.java | 28 import android.icu.impl.Utility; 144 + Utility.hex(orders[index]) + " vs 0x" + Utility.hex(o)); in backAndForth() 162 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() 168 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() 225 TestFmwk.errln("Comparing \"" + Utility.hex(source) + "\" with \"" in doTestVariant() 226 + Utility.hex(target) + "\" expected " + result in doTestVariant() 233 TestFmwk.errln("Comparing CollationKeys of \"" + Utility.hex(source) in doTestVariant() 234 + "\" with \"" + Utility.hex(target) in doTestVariant() 245 + Utility.hex(source) in doTestVariant() 246 + "\" with \"" + Utility.hex(target) in doTestVariant() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | FilterCharacterFallbacks.java | 48 … + com.ibm.icu.impl.Utility.escape(srcChar) + ") Substitute \"" + subChars in main() 49 + "\" (" + com.ibm.icu.impl.Utility.escape(subChars) in main() 55 … + com.ibm.icu.impl.Utility.escape(srcChar) + ") Substitute \"" + subChars in main() 56 … + "\" (" + com.ibm.icu.impl.Utility.escape(subChars) + ") - a toNFKC form."); in main() 59 … + com.ibm.icu.impl.Utility.escape(srcChar) + ") Substitute \"" + subChars in main() 60 + "\" (" + com.ibm.icu.impl.Utility.escape(subChars) + ")"); in main()
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/ |
D | MethodHTML.java | 31 import org.apache.bcel.classfile.Utility; 78 final String type = Utility.signatureToString(field.getSignature()); in writeField() 80 String access = Utility.accessToString(field.getAccessFlags()); in writeField() 82 access = Utility.replace(access, " ", " "); in writeField() 108 final String[] args = Utility.methodSignatureArgumentTypes(signature, false); in writeMethod() 110 final String type = Utility.methodSignatureReturnType(signature, false); in writeMethod() 115 String access = Utility.accessToString(method.getAccessFlags()); in writeMethod() 121 access = Utility.replace(access, " ", " "); in writeMethod()
|
D | ConstantHTML.java | 34 import org.apache.bcel.classfile.Utility; 117 … String short_method_class = Utility.compactClassName(method_class); // I.e., remove java.lang. in writeConstant() 118 short_method_class = Utility.compactClassName(short_method_class, class_package in writeConstant() 126 final String[] args = Utility.methodSignatureArgumentTypes(signature, false); in writeConstant() 128 final String type = Utility.methodSignatureReturnType(signature, false); in writeConstant() 164 … String short_field_class = Utility.compactClassName(field_class); // I.e., remove java.lang. in writeConstant() 165 short_field_class = Utility.compactClassName(short_field_class, in writeConstant() 189 … String short_class_name = Utility.compactClassName(class_name2); // I.e., remove java.lang. in writeConstant() 190 short_class_name = Utility.compactClassName(short_class_name, class_package + ".", in writeConstant()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
D | WriteIndicCharts.java | 15 import com.ibm.icu.impl.Utility; 152 …dth=9% bgcolor=#BBBBFF align=center title=\""+name+"\">"+" <br><tt>"+Utility.hex(str)+"</tt>"+… in writeIICharts() 154 …dth=9% bgcolor=#BBBBFF align=center title=\""+name+"\">"+ str+"<br><tt>"+Utility.hex(str)+"</tt>"+… in writeIICharts() 157 … <td bgcolor=#FF9999 align=center title=\""+name+"\">"+" <br><tt>"+Utility.hex(str)+"</tt>"+… in writeIICharts() 160 …dth=9% bgcolor=#00FFFF align=center title=\""+name+"\">"+" <br><tt>"+Utility.hex(str)+"</tt>"+… in writeIICharts() 162 …dth=9% bgcolor=#00FFFF align=center title=\""+name+"\">"+ str+"<br><tt>"+Utility.hex(str)+"</tt>"+… in writeIICharts() 166 …dth=9% bgcolor=#FFFF55 align=center title=\""+name+"\">"+" <br><tt>"+Utility.hex(str)+"</tt>"+… in writeIICharts() 168 …width=9% bgcolor=#FFFF55 align=center title=\""+""+"\">"+" <br><tt>"+Utility.hex(str)+"</tt>"+… in writeIICharts() 172 …th=9% bgcolor=#FFBBBB align=center title=\""+name+"\">"+" <br><tt>"+Utility.hex(str)+"</tt>"+… in writeIICharts() 179 … <td width=9% align=center title=\""+name+"\">"+ str+"<br><tt>"+Utility.hex(str)+"</tt>"+… in writeIICharts() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | StringReplacer.java | 15 import android.icu.impl.Utility; 279 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern() 286 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern() 292 Utility.appendToRule(rule, c, false, escapeUnprintable, quoteBuf); in toReplacerPattern() 297 Utility.appendToRule(rule, buf.toString(), in toReplacerPattern() 308 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern() 310 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern() 313 Utility.appendToRule(rule, -1, in toReplacerPattern()
|
D | TransliterationRule.java | 12 import android.icu.impl.Utility; 511 Utility.appendToRule(rule, anteContext, escapeUnprintable, quoteBuf); in toRule() 514 Utility.appendToRule(rule, '{', true, escapeUnprintable, quoteBuf); in toRule() 517 Utility.appendToRule(rule, key, escapeUnprintable, quoteBuf); in toRule() 520 Utility.appendToRule(rule, '}', true, escapeUnprintable, quoteBuf); in toRule() 523 Utility.appendToRule(rule, postContext, escapeUnprintable, quoteBuf); in toRule() 530 Utility.appendToRule(rule, " > ", true, escapeUnprintable, quoteBuf); in toRule() 534 Utility.appendToRule(rule, output.toReplacerPattern(escapeUnprintable), in toRule() 537 Utility.appendToRule(rule, ';', true, escapeUnprintable, quoteBuf); in toRule()
|
D | DateFormatSymbols.java | 33 import android.icu.impl.Utility; 1446 return (Utility.arrayEquals(eras, that.eras) in equals() 1447 && Utility.arrayEquals(eraNames, that.eraNames) in equals() 1448 && Utility.arrayEquals(narrowEras, that.narrowEras) in equals() 1449 && Utility.arrayEquals(months, that.months) in equals() 1450 && Utility.arrayEquals(shortMonths, that.shortMonths) in equals() 1451 && Utility.arrayEquals(narrowMonths, that.narrowMonths) in equals() 1452 && Utility.arrayEquals(standaloneMonths, that.standaloneMonths) in equals() 1453 && Utility.arrayEquals(standaloneShortMonths, that.standaloneShortMonths) in equals() 1454 && Utility.arrayEquals(standaloneNarrowMonths, that.standaloneNarrowMonths) in equals() [all …]
|
D | CanonicalIterator.java | 20 import android.icu.impl.Utility; 269 … if (PROGRESS) System.out.println("Adding Permutation: " + Utility.hex(possible)); in getEquivalents() 273 … if (PROGRESS) System.out.println("-Skipping Permutation: " + Utility.hex(possible)); in getEquivalents() 289 if (PROGRESS) System.out.println("Adding: " + Utility.hex(segment)); in getEquivalents2() 365 if (PROGRESS) System.out.println(" extract: " + Utility.hex(UTF16.valueOf(comp)) in extract() 366 + ", " + Utility.hex(segment.substring(segmentPos))); in extract() 385 if (PROGRESS) System.out.println(" matches: " + Utility.hex(UTF16.valueOf(cp))); in extract() 395 if (PROGRESS) System.out.println(" buffer: " + Utility.hex(UTF16.valueOf(cp))); in extract()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | ScriptRunModuleWriter.java | 13 import com.ibm.icu.impl.Utility; 36 output.print(Utility.hex(scriptData.getRecord(record).startChar(), 6)); in writeScriptRuns() 38 output.print(Utility.hex(scriptData.getRecord(record).endChar(), 6)); in writeScriptRuns() 49 int power = 1 << Utility.highBit(recordCount); in writeScriptRuns() 53 output.print(Utility.hex(power, 4)); in writeScriptRuns() 58 output.print(Utility.hex(extra, 4)); in writeScriptRuns()
|
D | LigatureTree.java | 20 import com.ibm.icu.impl.Utility; 84 result.append(Utility.hex(chars[i], 6)); in ligatureString() 87 result.append(" => " + Utility.hex(chars[len], 6)); in ligatureString() 100 ": already have " + Utility.hex(ligature, 6)); in insert() 177 w.write(Utility.hex(target, 6)); in dump() 183 w.write(Utility.hex(ligature, 6)); in dump()
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | StringReplacer.java | 14 import com.ibm.icu.impl.Utility; 278 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern() 285 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern() 291 Utility.appendToRule(rule, c, false, escapeUnprintable, quoteBuf); in toReplacerPattern() 296 Utility.appendToRule(rule, buf.toString(), in toReplacerPattern() 307 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern() 309 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern() 312 Utility.appendToRule(rule, -1, in toReplacerPattern()
|
D | TransliterationRule.java | 11 import com.ibm.icu.impl.Utility; 510 Utility.appendToRule(rule, anteContext, escapeUnprintable, quoteBuf); in toRule() 513 Utility.appendToRule(rule, '{', true, escapeUnprintable, quoteBuf); in toRule() 516 Utility.appendToRule(rule, key, escapeUnprintable, quoteBuf); in toRule() 519 Utility.appendToRule(rule, '}', true, escapeUnprintable, quoteBuf); in toRule() 522 Utility.appendToRule(rule, postContext, escapeUnprintable, quoteBuf); in toRule() 529 Utility.appendToRule(rule, " > ", true, escapeUnprintable, quoteBuf); in toRule() 533 Utility.appendToRule(rule, output.toReplacerPattern(escapeUnprintable), in toRule() 536 Utility.appendToRule(rule, ';', true, escapeUnprintable, quoteBuf); in toRule()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestStringByteConverter.java | 20 import com.ibm.icu.impl.Utility; 120 System.out.println(counter++ + ": " + Utility.hex(test) + ", \t" in testString() 138 + Utility.hex(test) + ">, <" + (lastPosition + j) in testString() 158 throw new IllegalArgumentException("Fails: <" + Utility.hex(test) in testString() 174 System.out.println(Utility.hex(test) + "\t" + i + "\t" in checkUtf8() 175 + Utility.hex(output1[i] & 0xFF, 2) + "\t" in checkUtf8() 176 + Utility.hex(output2[i] & 0xFF, 2)); in checkUtf8() 191 System.out.println(counter++ + ": " + Utility.hex(test)); in testInt() 232 result.append(Utility.hex(bytes[i] & 0xFF, 2)); in hex()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateFormatSymbols.java | 32 import com.ibm.icu.impl.Utility; 1488 return (Utility.arrayEquals(eras, that.eras) in equals() 1489 && Utility.arrayEquals(eraNames, that.eraNames) in equals() 1490 && Utility.arrayEquals(narrowEras, that.narrowEras) in equals() 1491 && Utility.arrayEquals(months, that.months) in equals() 1492 && Utility.arrayEquals(shortMonths, that.shortMonths) in equals() 1493 && Utility.arrayEquals(narrowMonths, that.narrowMonths) in equals() 1494 && Utility.arrayEquals(standaloneMonths, that.standaloneMonths) in equals() 1495 && Utility.arrayEquals(standaloneShortMonths, that.standaloneShortMonths) in equals() 1496 && Utility.arrayEquals(standaloneNarrowMonths, that.standaloneNarrowMonths) in equals() [all …]
|
D | CanonicalIterator.java | 19 import com.ibm.icu.impl.Utility; 273 … if (PROGRESS) System.out.println("Adding Permutation: " + Utility.hex(possible)); in getEquivalents() 277 … if (PROGRESS) System.out.println("-Skipping Permutation: " + Utility.hex(possible)); in getEquivalents() 293 if (PROGRESS) System.out.println("Adding: " + Utility.hex(segment)); in getEquivalents2() 369 if (PROGRESS) System.out.println(" extract: " + Utility.hex(UTF16.valueOf(comp)) in extract() 370 + ", " + Utility.hex(segment.substring(segmentPos))); in extract() 389 if (PROGRESS) System.out.println(" matches: " + Utility.hex(UTF16.valueOf(cp))); in extract() 399 if (PROGRESS) System.out.println(" buffer: " + Utility.hex(UTF16.valueOf(cp))); in extract()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
D | BasicTest.java | 23 import com.ibm.icu.impl.Utility; 809 String input = Utility.unescape(tests[i][0]); in staticTest() 810 String expect = Utility.unescape(tests[i][outCol]); in staticTest() 825 char[] input = Utility.unescape(tests[i][0]).toCharArray(); in staticTest() 826 String expect =Utility.unescape( tests[i][outCol]); in staticTest() 854 String input = Utility.unescape(tests[i][0]); in decomposeTest() 855 String expect = Utility.unescape(tests[i][outCol]); in decomposeTest() 870 char[] input = Utility.unescape(tests[i][0]).toCharArray(); in decomposeTest() 871 String expect = Utility.unescape(tests[i][outCol]); in decomposeTest() 897 char[] input = Utility.unescape(tests[i][0]).toCharArray(); in decomposeTest() [all …]
|