Home
last modified time | relevance | path

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

12345678

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieTest.java159 + Integer.toHexString(c) + "): 0x" in _testTrieIteration()
160 + Integer.toHexString(value) + " instead of 0x" in _testTrieIteration()
161 + Integer.toHexString(values[i])); in _testTrieIteration()
172 + Integer.toHexString(c)); in _testTrieIteration()
182 + Integer.toHexString(c) + "): 0x" in _testTrieIteration()
183 + Integer.toHexString(value) + " instead of 0x" in _testTrieIteration()
184 + Integer.toHexString(values[i])); in _testTrieIteration()
228 + Integer.toHexString(start) + "]==0x" in _testTrieRanges()
229 + Integer.toHexString(newTrie.getValue(start)) in _testTrieRanges()
230 + " instead of 0x" + Integer.toHexString(value)); in _testTrieRanges()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieTest.java158 + Integer.toHexString(c) + "): 0x" in _testTrieIteration()
159 + Integer.toHexString(value) + " instead of 0x" in _testTrieIteration()
160 + Integer.toHexString(values[i])); in _testTrieIteration()
171 + Integer.toHexString(c)); in _testTrieIteration()
181 + Integer.toHexString(c) + "): 0x" in _testTrieIteration()
182 + Integer.toHexString(value) + " instead of 0x" in _testTrieIteration()
183 + Integer.toHexString(values[i])); in _testTrieIteration()
227 + Integer.toHexString(start) + "]==0x" in _testTrieRanges()
228 + Integer.toHexString(newTrie.getValue(start)) in _testTrieRanges()
229 + " instead of 0x" + Integer.toHexString(value)); in _testTrieRanges()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/
DExhaustiveTest.java209 logln("Exp. char: " + Integer.toHexString(s1[i])); in logDiffs()
210 logln("Got char : " + Integer.toHexString(s2[i])); in logDiffs()
374 log(Integer.toHexString(c)); in printChars()
402 log(Integer.toHexString(((int) aByte) & 0xFF) + " "); in printBytes()
408 … log(Integer.toHexString(((int) byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
411 … log(Integer.toHexString(((int) byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
426 … log(Integer.toHexString(((int) byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
441 … log(Integer.toHexString(((int) byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
449 … log(Integer.toHexString(((int) byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
452 … log(Integer.toHexString(((int) byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/compression/
DExhaustiveTest.java210 logln("Exp. char: " + Integer.toHexString(s1[i])); in logDiffs()
211 logln("Got char : " + Integer.toHexString(s2[i])); in logDiffs()
375 log(Integer.toHexString(c)); in printChars()
403 log(Integer.toHexString(((int) aByte) & 0xFF) + " "); in printBytes()
409 … log(Integer.toHexString(((int) byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
412 … log(Integer.toHexString(((int) byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
427 … log(Integer.toHexString(((int) byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
442 … log(Integer.toHexString(((int) byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
450 … log(Integer.toHexString(((int) byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
453 … log(Integer.toHexString(((int) byteBuffer[curByteIndex++]) & 0xFF) + " "); in printBytes()
[all …]
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
DHexDump.java36 result.append(toHexString(offset)); in dumpHexString()
57 result.append(toHexString(i)); in dumpHexString()
94 public static String toHexString(byte b) in toHexString() method in HexDump
96 return toHexString(toByteArray(b)); in toHexString()
99 public static String toHexString(byte[] array) in toHexString() method in HexDump
101 return toHexString(array, 0, array.length); in toHexString()
104 public static String toHexString(byte[] array, int offset, int length) in toHexString() method in HexDump
119 public static String toHexString(int i) in toHexString() method in HexDump
121 return toHexString(toByteArray(i)); in toHexString()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
DStatusTest.java78 logWriter.println("=> Returned status value = 0x" + Integer.toHexString(returnedStatus)); in testStatus001()
110 ("## Expected status bit = 0x" + Integer.toHexString(expectedStatusBits[i])); in testStatus001()
112 ("## Returned status bit = 0x" + Integer.toHexString(returnedStatusBit)); in testStatus001()
116 ", Expected = 0x" + Integer.toHexString(expectedStatusBits[i]) + in testStatus001()
117 ", Returned = 0x" + Integer.toHexString(returnedStatusBit) + "; "; in testStatus001()
120 + "\" (0x" + Integer.toHexString(statusBitsValues[i]) + ") is returned: 0x" in testStatus001()
121 + Integer.toHexString(returnedStatusBit)); in testStatus001()
DMethodsTest.java125 … logWriter.println("=> Method modifiers = 0x" + Integer.toHexString(returnedMethodModifiers)); in testMethods001()
160 ("## Expected modifiers = 0x" + Integer.toHexString(methodModifiers[k])); in testMethods001()
162 ("## Returned modifiers = 0x" + Integer.toHexString(returnedMethodModifiers)); in testMethods001()
167 ", Expected: 0x" + Integer.toHexString(methodModifiers[k]) + in testMethods001()
168 ", Returned: 0x" + Integer.toHexString(returnedMethodModifiers) + ";\n"; in testMethods001()
178 ("## Method modifiers = 0x" + Integer.toHexString(returnedMethodModifiers)); in testMethods001()
184 ", modifiers = 0x" + Integer.toHexString(returnedMethodModifiers) + ";\n"; in testMethods001()
DFieldsTest.java117 … logWriter.println("=> Field modifiers = 0x" + Integer.toHexString(returnedFieldModifiers)); in testFields001()
150 ("## Expected modifiers = 0x" + Integer.toHexString(fieldModifiers[k])); in testFields001()
152 ("## Returned modifiers = 0x" + Integer.toHexString(returnedFieldModifiers)); in testFields001()
156 ", expected: 0x" + Integer.toHexString(fieldModifiers[k]) + in testFields001()
157 ", returned: 0x" + Integer.toHexString(returnedFieldModifiers); in testFields001()
167 ("## Field modifiers = 0x" + Integer.toHexString(returnedFieldModifiers)); in testFields001()
172 ", modifiers = 0x" + Integer.toHexString(returnedFieldModifiers); in testFields001()
DFieldsWithGenericTest.java131 … logWriter.println("=> Field modifiers = 0x" + Integer.toHexString(returnedFieldModifiers)); in testFieldsWithGeneric001()
176 ("## Expected modifiers = 0x" + Integer.toHexString(fieldModifiers[k])); in testFieldsWithGeneric001()
178 ("## Returned modifiers = 0x" + Integer.toHexString(returnedFieldModifiers)); in testFieldsWithGeneric001()
181 ", expected: 0x" + Integer.toHexString(fieldModifiers[k]) + in testFieldsWithGeneric001()
182 ", returned: 0x" + Integer.toHexString(returnedFieldModifiers); in testFieldsWithGeneric001()
193 ("## Field modifiers = 0x" + Integer.toHexString(returnedFieldModifiers)); in testFieldsWithGeneric001()
200 ", modifiers = 0x" + Integer.toHexString(returnedFieldModifiers); in testFieldsWithGeneric001()
DMethodsWithGenericTest.java135 … logWriter.println("=> Method modifiers = 0x" + Integer.toHexString(returnedMethodModifiers)); in testMethodsWithGeneric001()
184 ("## Expected modifiers = 0x" + Integer.toHexString(methodModifiers[k])); in testMethodsWithGeneric001()
186 ("## Returned modifiers = 0x" + Integer.toHexString(returnedMethodModifiers)); in testMethodsWithGeneric001()
191 ", Expected modifiers = 0x" + Integer.toHexString(methodModifiers[k]) + in testMethodsWithGeneric001()
192 … ", Returned modifiers = 0x" + Integer.toHexString(returnedMethodModifiers) + ";\n"; in testMethodsWithGeneric001()
203 ("## Method modifiers = 0x" + Integer.toHexString(returnedMethodModifiers)); in testMethodsWithGeneric001()
210 ", modifiers = 0x" + Integer.toHexString(returnedMethodModifiers) + ";\n"; in testMethodsWithGeneric001()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DActionScriptTarget.java80 return "\\x"+ Integer.toHexString(v|0x100).substring(1,3); in encodeIntAsCharEscape()
83 String hex = Integer.toHexString(v|0x10000).substring(1,5); in encodeIntAsCharEscape()
91 buf.append(Integer.toHexString((v >> 8) | 0x100).substring(1, 3)); // high - order bits in encodeIntAsCharEscape()
93 buf.append(Integer.toHexString((v & 0xff) | 0x100).substring(1, 3)); // low -order bits in encodeIntAsCharEscape()
109 writeHexWithPadding(buf, Integer.toHexString((int)(word & 0x00000000ffffffffL))); in getTarget64BitStringFromValue()
111 writeHexWithPadding(buf, Integer.toHexString((int)(word >> 32))); in getTarget64BitStringFromValue()
DJavaScriptTarget.java40 String hex = Integer.toHexString(v|0x10000).substring(1,5); in encodeIntAsCharEscape()
58 writeHexWithPadding(buf, Integer.toHexString((int)(word & 0x00000000ffffffffL))); in getTarget64BitStringFromValue()
60 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()
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()
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()
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()
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()
/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/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/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/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.java52 System.out.println("character \\u" + Integer.toHexString(i)); in main()
98 … trackDifference(p, i, "toLowerCase()", Integer.toHexString(UCharacter.toLowerCase(i)), Integer in main()
99 .toHexString(Character.toLowerCase(i))); in main()
103 … trackDifference(p, i, "toTitleCase()", Integer.toHexString(UCharacter.toTitleCase(i)), Integer in main()
104 .toHexString(Character.toTitleCase(i))); in main()
106 … trackDifference(p, i, "toUpperCase()", Integer.toHexString(UCharacter.toUpperCase(i)), Integer in main()
107 .toHexString(Character.toUpperCase(i))); in main()
217 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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowTypedValue.java175 return "0x" + Integer.toHexString(data); in coerceToString()
181 return "#" + Integer.toHexString(data); in coerceToString()
204 sb.append("TypedValue{t=0x").append(Integer.toHexString(typedValue.type)); in toString()
205 sb.append("/d=0x").append(Integer.toHexString(typedValue.data)); in toString()
213 sb.append(" r=0x").append(Integer.toHexString(typedValue.resourceId)); in toString()

12345678