Home
last modified time | relevance | path

Searched refs:toHexString (Results 1 – 25 of 236) sorted by relevance

12345678910

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieTest.java167 + Integer.toHexString(c) + "): 0x" in _testTrieIteration()
168 + Integer.toHexString(value) + " instead of 0x" in _testTrieIteration()
169 + Integer.toHexString(values[i])); in _testTrieIteration()
180 + Integer.toHexString(c)); in _testTrieIteration()
190 + Integer.toHexString(c) + "): 0x" in _testTrieIteration()
191 + Integer.toHexString(value) + " instead of 0x" in _testTrieIteration()
192 + Integer.toHexString(values[i])); in _testTrieIteration()
236 + Integer.toHexString(start) + "]==0x" in _testTrieRanges()
237 + Integer.toHexString(newTrie.getValue(start)) in _testTrieRanges()
238 + " instead of 0x" + Integer.toHexString(value)); in _testTrieRanges()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieTest.java164 + Integer.toHexString(c) + "): 0x" in _testTrieIteration()
165 + Integer.toHexString(value) + " instead of 0x" in _testTrieIteration()
166 + Integer.toHexString(values[i])); in _testTrieIteration()
177 + Integer.toHexString(c)); in _testTrieIteration()
187 + Integer.toHexString(c) + "): 0x" in _testTrieIteration()
188 + Integer.toHexString(value) + " instead of 0x" in _testTrieIteration()
189 + Integer.toHexString(values[i])); in _testTrieIteration()
233 + Integer.toHexString(start) + "]==0x" in _testTrieRanges()
234 + Integer.toHexString(newTrie.getValue(start)) in _testTrieRanges()
235 + " instead of 0x" + Integer.toHexString(value)); in _testTrieRanges()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/
DExhaustiveTest.java212 logln("Exp. char: " + Integer.toHexString(s1[i])); in logDiffs()
213 logln("Got char : " + Integer.toHexString(s2[i])); in logDiffs()
377 log(Integer.toHexString(c)); in printChars()
405 log(Integer.toHexString((aByte) & 0xFF) + " "); in printBytes()
411 log(Integer.toHexString((byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
414 log(Integer.toHexString((byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
429 log(Integer.toHexString((byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
444 log(Integer.toHexString((byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
452 log(Integer.toHexString((byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
455 log(Integer.toHexString((byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/compression/
DExhaustiveTest.java215 logln("Exp. char: " + Integer.toHexString(s1[i])); in logDiffs()
216 logln("Got char : " + Integer.toHexString(s2[i])); in logDiffs()
380 log(Integer.toHexString(c)); in printChars()
408 log(Integer.toHexString((aByte) & 0xFF) + " "); in printBytes()
414 log(Integer.toHexString((byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
417 log(Integer.toHexString((byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
432 log(Integer.toHexString((byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
447 log(Integer.toHexString((byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
455 log(Integer.toHexString((byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
458 log(Integer.toHexString((byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
DStatusTest.java77 logWriter.println("=> Returned status value = 0x" + Integer.toHexString(returnedStatus)); in testStatus001()
109 ("## Expected status bit = 0x" + Integer.toHexString(expectedStatusBits[i])); in testStatus001()
111 ("## Returned status bit = 0x" + Integer.toHexString(returnedStatusBit)); in testStatus001()
115 ", Expected = 0x" + Integer.toHexString(expectedStatusBits[i]) + in testStatus001()
116 ", Returned = 0x" + Integer.toHexString(returnedStatusBit) + "; "; in testStatus001()
119 + "\" (0x" + Integer.toHexString(statusBitsValues[i]) + ") is returned: 0x" in testStatus001()
120 + Integer.toHexString(returnedStatusBit)); in testStatus001()
DFieldsTest.java116 … logWriter.println("=> Field modifiers = 0x" + Integer.toHexString(returnedFieldModifiers)); in testFields001()
149 ("## Expected modifiers = 0x" + Integer.toHexString(fieldModifiers[k])); in testFields001()
151 ("## Returned modifiers = 0x" + Integer.toHexString(returnedFieldModifiers)); in testFields001()
155 ", expected: 0x" + Integer.toHexString(fieldModifiers[k]) + in testFields001()
156 ", returned: 0x" + Integer.toHexString(returnedFieldModifiers); in testFields001()
166 ("## Field modifiers = 0x" + Integer.toHexString(returnedFieldModifiers)); in testFields001()
171 ", modifiers = 0x" + Integer.toHexString(returnedFieldModifiers); in testFields001()
DMethodsTest.java124 … logWriter.println("=> Method modifiers = 0x" + Integer.toHexString(returnedMethodModifiers)); in testMethods001()
159 ("## Expected modifiers = 0x" + Integer.toHexString(methodModifiers[k])); in testMethods001()
161 ("## Returned modifiers = 0x" + Integer.toHexString(returnedMethodModifiers)); in testMethods001()
166 ", Expected: 0x" + Integer.toHexString(methodModifiers[k]) + in testMethods001()
167 ", Returned: 0x" + Integer.toHexString(returnedMethodModifiers) + ";\n"; in testMethods001()
177 ("## Method modifiers = 0x" + Integer.toHexString(returnedMethodModifiers)); in testMethods001()
183 ", modifiers = 0x" + Integer.toHexString(returnedMethodModifiers) + ";\n"; in testMethods001()
DFieldsWithGenericTest.java130 … logWriter.println("=> Field modifiers = 0x" + Integer.toHexString(returnedFieldModifiers)); in testFieldsWithGeneric001()
175 ("## Expected modifiers = 0x" + Integer.toHexString(fieldModifiers[k])); in testFieldsWithGeneric001()
177 ("## Returned modifiers = 0x" + Integer.toHexString(returnedFieldModifiers)); in testFieldsWithGeneric001()
180 ", expected: 0x" + Integer.toHexString(fieldModifiers[k]) + in testFieldsWithGeneric001()
181 ", returned: 0x" + Integer.toHexString(returnedFieldModifiers); in testFieldsWithGeneric001()
192 ("## Field modifiers = 0x" + Integer.toHexString(returnedFieldModifiers)); in testFieldsWithGeneric001()
199 ", modifiers = 0x" + Integer.toHexString(returnedFieldModifiers); in testFieldsWithGeneric001()
DMethodsWithGenericTest.java134 … logWriter.println("=> Method modifiers = 0x" + Integer.toHexString(returnedMethodModifiers)); in testMethodsWithGeneric001()
183 ("## Expected modifiers = 0x" + Integer.toHexString(methodModifiers[k])); in testMethodsWithGeneric001()
185 ("## Returned modifiers = 0x" + Integer.toHexString(returnedMethodModifiers)); in testMethodsWithGeneric001()
190 ", Expected modifiers = 0x" + Integer.toHexString(methodModifiers[k]) + in testMethodsWithGeneric001()
191 … ", Returned modifiers = 0x" + Integer.toHexString(returnedMethodModifiers) + ";\n"; in testMethodsWithGeneric001()
202 ("## Method modifiers = 0x" + Integer.toHexString(returnedMethodModifiers)); in testMethodsWithGeneric001()
209 ", modifiers = 0x" + Integer.toHexString(returnedMethodModifiers) + ";\n"; in testMethodsWithGeneric001()
/external/antlr/tool/src/main/java/org/antlr/codegen/
DActionScriptTarget.java82 return "\\x"+ Integer.toHexString(v|0x100).substring(1,3); in encodeIntAsCharEscape()
85 String hex = Integer.toHexString(v|0x10000).substring(1,5); in encodeIntAsCharEscape()
93 buf.append(Integer.toHexString((v >> 8) | 0x100).substring(1, 3)); // high - order bits in encodeIntAsCharEscape()
95 buf.append(Integer.toHexString((v & 0xff) | 0x100).substring(1, 3)); // low -order bits in encodeIntAsCharEscape()
112 writeHexWithPadding(buf, Integer.toHexString((int)(word & 0x00000000ffffffffL))); in getTarget64BitStringFromValue()
114 writeHexWithPadding(buf, Integer.toHexString((int)(word >> 32))); in getTarget64BitStringFromValue()
DJavaScriptTarget.java41 String hex = Integer.toHexString(v|0x10000).substring(1,5); in encodeIntAsCharEscape()
60 writeHexWithPadding(buf, Integer.toHexString((int)(word & 0x00000000ffffffffL))); in getTarget64BitStringFromValue()
62 writeHexWithPadding(buf, Integer.toHexString((int)(word >> 32))); in getTarget64BitStringFromValue()
/external/proguard/src/proguard/classfile/attribute/annotation/target/
DTargetInfo.java71 …nsupportedOperationException("Unsupported type annotation [0x"+Integer.toHexString(u1targetType)+"… in accept()
79 …nsupportedOperationException("Unsupported type annotation [0x"+Integer.toHexString(u1targetType)+"… in accept()
87 …nsupportedOperationException("Unsupported type annotation [0x"+Integer.toHexString(u1targetType)+"… in accept()
95 …nsupportedOperationException("Unsupported type annotation [0x"+Integer.toHexString(u1targetType)+"… in accept()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DStatus002Test.java94 logWriter.println("\n=> Returned thread status = 0x" + Integer.toHexString(threadStatus) in testStatus003()
99 + Integer.toHexString(threadStatus) in testStatus003()
102 + Integer.toHexString(JDWPConstants.ThreadStatus.SLEEPING) in testStatus003()
109 ("\n=> Returned thread suspend status = 0x" + Integer.toHexString(suspendStatus) in testStatus003()
114 + Integer.toHexString(0) in testStatus003()
DStatus005Test.java93 logWriter.println("\n=> Returned thread status = 0x" + Integer.toHexString(threadStatus) in testStatus006()
99 + Integer.toHexString(JDWPConstants.ThreadStatus.MONITOR) in testStatus006()
106 ("\n=> Returned thread suspend status = 0x" + Integer.toHexString(suspendStatus) in testStatus006()
112 + Integer.toHexString(0) in testStatus006()
DStatus004Test.java92 logWriter.println("\n=> Returned thread status = 0x" + Integer.toHexString(threadStatus) in testStatus005()
98 + Integer.toHexString(JDWPConstants.ThreadStatus.WAIT) in testStatus005()
105 ("\n=> Returned thread suspend status = 0x" + Integer.toHexString(suspendStatus) in testStatus005()
111 + Integer.toHexString(0) in testStatus005()
DStatus006Test.java104 logWriter.println("\n=> Returned thread status = 0x" + Integer.toHexString(threadStatus) in testStatus007()
110 + Integer.toHexString(JDWPConstants.ThreadStatus.ZOMBIE) in testStatus007()
117 ("\n=> Returned thread suspend status = 0x" + Integer.toHexString(suspendStatus) in testStatus007()
123 + Integer.toHexString(0) in testStatus007()
DStatus003Test.java93 logWriter.println("\n=> Returned thread status = 0x" + Integer.toHexString(threadStatus) in testStatus004()
99 + Integer.toHexString(JDWPConstants.ThreadStatus.WAIT) in testStatus004()
106 ("\n=> Returned thread suspend status = 0x" + Integer.toHexString(suspendStatus) in testStatus004()
112 + Integer.toHexString(0) in testStatus004()
/external/nist-sip/java/gov/nist/javax/sip/
DUtils.java73 signature = toHexString(Integer.toString(Math.abs( rand.nextInt() % 1000 )).getBytes());
89 public static String toHexString(byte b[]) { in toHexString() method in Utils
141 String cidString = Utils.toHexString(cid); in generateCallIdentifier()
158 return Integer.toHexString(rand.nextInt()); in generateTag()
177 return SIPConstants.BRANCH_MAGIC_COOKIE + Utils.toHexString(bid) + this.signature; in generateBranchId()
/external/proguard/src/proguard/classfile/visitor/
DClassPrinter.java105 …println("Major version: 0x" + Integer.toHexString(ClassUtil.internalMajorClassVersion(programClass… in visitProgramClass()
106 …println("Minor version: 0x" + Integer.toHexString(ClassUtil.internalMinorClassVersion(programClass… in visitProgramClass()
108 println("Access flags: 0x" + Integer.toHexString(programClass.u2accessFlags)); in visitProgramClass()
160 println("Access flags: 0x" + Integer.toHexString(libraryClass.u2accessFlags)); in visitLibraryClass()
314 println("Access flags: 0x" + Integer.toHexString(programField.u2accessFlags)); in visitProgramField()
333 println("Access flags: 0x" + Integer.toHexString(programMethod.u2accessFlags)); in visitProgramMethod()
363 println("Access flags: 0x" + Integer.toHexString(libraryField.u2accessFlags)); in visitLibraryField()
380 println("Access flags: 0x" + Integer.toHexString(libraryMethod.u2accessFlags)); in visitLibraryMethod()
702 …println("Access flags: 0x" + Integer.toHexString(innerClassesInfo.u2innerClassAccessFlags) + " = … in visitInnerClassesInfo()
917 …println("p" + parameterIndex + ": Access flags: 0x" + Integer.toHexString(parameterInfo.u2accessF… in visitParameterInfo()
[all …]
/external/guava/guava-tests/benchmark/com/google/common/collect/
DInternersBenchmark.java30 interner.intern(Double.toHexString(Math.random())); in weakInterner()
38 interner.intern(Double.toHexString(Math.random())); in strongInterner()
46 Double.toHexString(Math.random()).intern(); in stringIntern()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCompare.java51 System.out.println("character \\u" + Integer.toHexString(i)); in main()
97 … trackDifference(p, i, "toLowerCase()", Integer.toHexString(UCharacter.toLowerCase(i)), Integer in main()
98 .toHexString(Character.toLowerCase(i))); in main()
102 … trackDifference(p, i, "toTitleCase()", Integer.toHexString(UCharacter.toTitleCase(i)), Integer in main()
103 .toHexString(Character.toTitleCase(i))); in main()
105 … trackDifference(p, i, "toUpperCase()", Integer.toHexString(UCharacter.toUpperCase(i)), Integer in main()
106 .toHexString(Character.toUpperCase(i))); in main()
216 String temp = Integer.toHexString(ch); in trackDifference()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterCompare.java54 System.out.println("character \\u" + Integer.toHexString(i)); in main()
100 … trackDifference(p, i, "toLowerCase()", Integer.toHexString(UCharacter.toLowerCase(i)), Integer in main()
101 .toHexString(Character.toLowerCase(i))); in main()
105 … trackDifference(p, i, "toTitleCase()", Integer.toHexString(UCharacter.toTitleCase(i)), Integer in main()
106 .toHexString(Character.toTitleCase(i))); in main()
108 … trackDifference(p, i, "toUpperCase()", Integer.toHexString(UCharacter.toUpperCase(i)), Integer in main()
109 .toHexString(Character.toUpperCase(i))); in main()
219 String temp = Integer.toHexString(ch); in trackDifference()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/mbcs/
DEUCTool.java192 System.out.println(i + " " + Integer.toHexString(c.charCode) + " " in processDir()
223 System.out.print("0x" + Integer.toHexString(cp)); in processDir()
356 …System.out.println("Error " + Integer.toHexString(firstByte) + " " + Integer.toHexString(secondByt… in nextChar()
357 … + " " + Integer.toHexString(thirdByte) + " " + Integer.toHexString(fourthByte)); in nextChar()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationIteratorTest.java92 errln("got 0x" + Integer.toHexString(e) + ", expected 0x" + Integer.toHexString(e0)); in TestClearBuffers()
144 errln("Failure at codepoint 0x" + Integer.toHexString(ch) in TestMaxExpansion()
156 errln("Failure at codepoint 0x" + Integer.toHexString(ch) in TestMaxExpansion()
166 errln("Failure at codepoint 0x" + Integer.toHexString(ch) in TestMaxExpansion()
175 errln("Failure at codepoint 0x" + Integer.toHexString(ch) in TestMaxExpansion()
187 errln("Failure at codepoint 0x" + Integer.toHexString(ch) in TestMaxExpansion()
205 errln("Failure at codepoint 0x" + Integer.toHexString(ch) in TestMaxExpansion()
313 Integer.toHexString(c1) + ") != strength(0x" + Integer.toHexString(c2) + ")"); in assertEqual()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationIteratorTest.java95 errln("got 0x" + Integer.toHexString(e) + ", expected 0x" + Integer.toHexString(e0)); in TestClearBuffers()
147 errln("Failure at codepoint 0x" + Integer.toHexString(ch) in TestMaxExpansion()
159 errln("Failure at codepoint 0x" + Integer.toHexString(ch) in TestMaxExpansion()
169 errln("Failure at codepoint 0x" + Integer.toHexString(ch) in TestMaxExpansion()
178 errln("Failure at codepoint 0x" + Integer.toHexString(ch) in TestMaxExpansion()
190 errln("Failure at codepoint 0x" + Integer.toHexString(ch) in TestMaxExpansion()
208 errln("Failure at codepoint 0x" + Integer.toHexString(ch) in TestMaxExpansion()
316 Integer.toHexString(c1) + ") != strength(0x" + Integer.toHexString(c2) + ")"); in assertEqual()

12345678910