HomeSort by relevance Sort by last modified time
    Searched defs:hex (Results 51 - 75 of 856) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/ltp/testcases/kernel/syscalls/gethostid/
gethostid01.c 145 hostid2[HOSTIDLEN], *hostid3, hex[2] = "0x"; local
192 if (name[0] == hex[0] && name[1] == hex[1])
  /frameworks/native/services/surfaceflinger/tests/hwc2/
Hwc2TestPixelComparator.cpp 91 stream << std::hex; member in class:std
  /hardware/interfaces/keymaster/4.0/support/
Keymaster.cpp 44 os << std::setw(2) << std::setfill('0') << std::hex; member in class:android::hardware::std
53 os << std::setw(2) << std::setfill('0') << std::hex; member in class:android::hardware::std
  /libcore/luni/src/test/java/libcore/java/nio/file/
FileSystemExceptionTest.java 43 String hex = "ACED0005737200216A6176612E6E696F2E66696C652E46696C6553797374656D4578636570746" local
78 .deserializeHex(hex);
81 assertEquals(hex, hex1);
  /libcore/luni/src/test/java/libcore/java/util/
InvalidPropertiesFormatExceptionTest.java 46 String hex = "aced00057372002a6a6176612e7574696c2e496e76616c696450726f" local
94 Object obj = SerializationTester.deserializeHex(hex);
  /prebuilts/go/darwin-x86/src/encoding/hex/
hex.go 5 // Package hex implements hexadecimal encoding and decoding.
6 package hex package
37 var ErrLength = errors.New("encoding/hex: odd length hex string")
39 // InvalidByteError values describe errors resulting from an invalid byte in a hex string.
43 return fmt.Sprintf("encoding/hex: invalid byte: %#U", rune(e))
81 // fromHexChar converts a hex character into its value and a success flag.
116 // Dump returns a string that contains a hex dump of the given data. The format
117 // of the hex dump matches the output of `hexdump -C` on the command line.
201 // Dumper returns a WriteCloser that writes a hex dump of all written data t
    [all...]
  /prebuilts/go/darwin-x86/src/runtime/
print.go 15 type hex uint64 type
254 // hexdumpWords prints a word-oriented hex dump of [p, end).
  /prebuilts/go/linux-x86/src/encoding/hex/
hex.go 5 // Package hex implements hexadecimal encoding and decoding.
6 package hex package
37 var ErrLength = errors.New("encoding/hex: odd length hex string")
39 // InvalidByteError values describe errors resulting from an invalid byte in a hex string.
43 return fmt.Sprintf("encoding/hex: invalid byte: %#U", rune(e))
81 // fromHexChar converts a hex character into its value and a success flag.
116 // Dump returns a string that contains a hex dump of the given data. The format
117 // of the hex dump matches the output of `hexdump -C` on the command line.
201 // Dumper returns a WriteCloser that writes a hex dump of all written data t
    [all...]
  /prebuilts/go/linux-x86/src/runtime/
print.go 15 type hex uint64 type
254 // hexdumpWords prints a word-oriented hex dump of [p, end).
  /developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/
SecurityHelper.java 184 String hex = Integer.toHexString(bytes[i]); local
185 int length = hex.length();
187 hex = "0" + hex;
190 hex = hex.substring(length - 2, length);
192 builder.append(hex.toUpperCase());
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
Asn1DecoderTest.java 40 String hex = "e30c5a0a98102100000000000000"; local
41 Asn1Decoder decoder = new Asn1Decoder(hex);
46 assertEquals(hex.length() / 2, decoder.getPosition());
65 assertEquals(hex.length() / 2, decoder.getPosition());
71 String hex = "bf370c5a0a98102100000000000000"; local
72 Asn1Decoder decoder = new Asn1Decoder(hex);
88 String hex = "e30c5a0a98102100000000000000e30c5a0a98102100000000000001"; local
90 Asn1Decoder decoder = new Asn1Decoder(hex);
95 assertEquals(hex.length() / 4, decoder.getPosition());
108 assertEquals(hex.length() / 2, decoder.getPosition())
126 String hex = "e30c5a0a98102100000000000000e30c5a0a98102100000000"; local
155 String hex = "e3025a00e3025a00"; local
190 String hex = "bf37075a820003010203"; local
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
Target.java 187 String hex = Integer.toHexString(c|0x10000).toUpperCase().substring(1,5); local
189 buf.append(hex);
321 * with bitsets. I.e., convert bytes to hex string.
342 String hex = Integer.toHexString(v|0x10000).substring(1,5); local
343 return "\\u"+hex;
  /external/apache-commons-math/src/main/java/org/apache/commons/math/random/
RandomDataImpl.java 138 * <strong>Algorithm Description:</strong> hex strings are generated using a
144 * Each binary byte is translated into 2 hex digits</li>
168 // Convert each byte to 2 hex digits
173 * Add 128 to byte value to make interval 0-255 before doing hex
174 * conversion. This guarantees <= 2 hex digits from toHexString()
177 String hex = Integer.toHexString(c.intValue() + 128); local
179 // Make sure we add 2 hex digits for each byte
180 if (hex.length() == 1) {
181 hex = "0" + hex;
286 String hex = Integer.toHexString(c.intValue() + 128); local
    [all...]
  /external/cn-cbor/test/
cbor_test.c 208 char *hex; member in struct:_cbor_failure
233 ASSERT_TRUE(parse_hex(tests[i].hex, &b));
  /external/guava/guava/src/com/google/common/base/
CharMatcher.java 229 String hex = "0123456789ABCDEF"; local
232 tmp[5 - i] = hex.charAt(c & 0xF);
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
CharMatcher.java 227 String hex = "0123456789ABCDEF"; local
230 tmp[5 - i] = hex.charAt(c & 0xF);
    [all...]
  /external/icu/icu4c/source/test/intltest/
testutil.cpp 23 static const UChar HEX[] = u"0123456789ABCDEF";
28 buf.append(HEX[0xF&(ch>>20)]);
30 buf.append(HEX[0xF&(ch>>16)]);
32 buf.append(HEX[0xF&(ch>>12)]);
33 buf.append(HEX[0xF&(ch>>8)]);
34 buf.append(HEX[0xF&(ch>>4)]);
35 buf.append(HEX[0xF&ch]);
39 UnicodeString TestUtility::hex(UChar32 ch) { function in class:TestUtility
45 UnicodeString TestUtility::hex(const UnicodeString& s) { function in class:TestUtility
46 return hex(s, u',')
49 UnicodeString TestUtility::hex(const UnicodeString& s, UChar sep) { function in class:TestUtility
63 UnicodeString TestUtility::hex(const uint8_t* bytes, int32_t len) { function in class:TestUtility
    [all...]
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
ScriptRunModuleWriter.java 36 output.print(Utility.hex(scriptData.getRecord(record).startChar(), 6));
38 output.print(Utility.hex(scriptData.getRecord(record).endChar(), 6));
53 output.print(Utility.hex(power, 4));
58 output.print(Utility.hex(extra, 4));
  /external/libese/apps/boot/
ese_boot_tool.cpp 76 std::string hex; local
77 hex.push_back(*it++);
78 hex.push_back(*it);
79 output->push_back(static_cast<uint8_t>(std::stoi(hex, nullptr, 16)));
172 // Read in the hex unlockToken and hope for the best.
241 // Read in the hex unlockToken and hope for the best.
249 fprintf(stderr, "verify-key: format is as follows (in hex):\n");
348 // Read in the hex unlockToken and hope for the best.
  /external/okhttp/okio/okio/src/main/java/okio/
SegmentedByteString.java 92 @Override public String hex() { method in class:SegmentedByteString
93 return toByteString().hex();
  /external/wpa_supplicant_8/hostapd/hidl/1.0/
hostapd.cpp 96 ss << std::hex; member in class:__anon44558::std
172 // for use as a SSID. In this case, we're giving it a hex
  /frameworks/base/core/java/android/service/carrier/
CarrierIdentifier.java 76 String hex = IccUtils.bytesToHexString(mccMnc); local
77 mMcc = new String(new char[] {hex.charAt(1), hex.charAt(0), hex.charAt(3)});
78 if (hex.charAt(2) == 'F') {
79 mMnc = new String(new char[] {hex.charAt(5), hex.charAt(4)});
81 mMnc = new String(new char[] {hex.charAt(5), hex.charAt(4), hex.charAt(2)})
    [all...]
  /hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
HidReport.cpp 86 ret << std::hex << std::setfill('0') << std::setw(2) << mUnit.get(0);
126 << "usage: " << std::hex << h.getFullUsage() << std::dec << ", ";
142 os << "map: (" << std::hex; member in class:HidUtil::std
  /packages/apps/Dialer/java/com/android/incallui/
Log.java 129 StringBuffer hex = new StringBuffer(bytes.length * 2); local
134 hex.append("0");
136 hex.append(Integer.toString(byteIntValue, 16));
139 return hex.toString();
  /packages/apps/Email/provider_src/com/android/email/mail/transport/
DiscourseLogger.java 72 final String hex = "00" + Integer.toHexString(b); local
73 mReceivingLine.append("\\x" + hex.substring(hex.length() - 2, hex.length()));

Completed in 1327 milliseconds

1 23 4 5 6 7 8 91011>>