/external/icu4c/test/intltest/ |
testutil.cpp | 14 static const UChar HEX[16]={48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70}; 19 buf.append(HEX[0xF&(ch>>20)]); 21 buf.append(HEX[0xF&(ch>>16)]); 23 buf.append(HEX[0xF&(ch>>12)]); 24 buf.append(HEX[0xF&(ch>>8)]); 25 buf.append(HEX[0xF&(ch>>4)]); 26 buf.append(HEX[0xF&ch]); 30 UnicodeString TestUtility::hex(UChar32 ch) { function in class:TestUtility 36 UnicodeString TestUtility::hex(const UnicodeString& s) { function in class:TestUtility 37 return hex(s, 44 /*,*/) 40 UnicodeString TestUtility::hex(const UnicodeString& s, UChar sep) { function in class:TestUtility 54 UnicodeString TestUtility::hex(const uint8_t* bytes, int32_t len) { function in class:TestUtility [all...] |
testutil.h | 24 static UnicodeString hex(UChar32 ch); 26 static UnicodeString hex(const UnicodeString& s); 28 static UnicodeString hex(const UnicodeString& s, UChar sep); 30 static UnicodeString hex(const uint8_t* bytes, int32_t len);
|
/external/dbus/test/data/auth/ |
invalid-hex-encoding.auth-script | 1 ## this tests an invalid hex encoding followed by successful authentication
|
/external/chromium/third_party/icu/source/test/intltest/ |
testutil.cpp | 14 static const UChar HEX[16]={48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70}; 16 UnicodeString TestUtility::hex(UChar ch) { function in class:TestUtility 18 buf.append(HEX[0xF&(ch>>12)]); 19 buf.append(HEX[0xF&(ch>>8)]); 20 buf.append(HEX[0xF&(ch>>4)]); 21 buf.append(HEX[0xF&ch]); 25 UnicodeString TestUtility::hex(const UnicodeString& s) { function in class:TestUtility 26 return hex(s, 44 /*,*/); 29 UnicodeString TestUtility::hex(const UnicodeString& s, UChar sep) { function in class:TestUtility 31 UnicodeString result = hex(s.charAt(0)) [all...] |
testutil.h | 23 static UnicodeString hex(UChar ch); 25 static UnicodeString hex(const UnicodeString& s); 27 static UnicodeString hex(const UnicodeString& s, UChar sep);
|
/external/bouncycastle/src/main/java/org/bouncycastle/util/encoders/ |
Hex.java | 7 public class Hex 12 * encode the input data producing a Hex encoded byte array. 14 * @return a byte array containing the Hex encoded data. 23 * encode the input data producing a Hex encoded byte array. 25 * @return a byte array containing the Hex encoded data. 40 throw new RuntimeException("exception encoding Hex string: " + e); 47 * Hex encode the byte data writing it to the given output stream. 60 * Hex encode the byte data writing it to the given output stream. 75 * decode the Hex encoded input data. It is assumed the input data is valid. 90 throw new RuntimeException("exception decoding Hex string: " + e) [all...] |
/development/tools/jdwpspy/ |
Main.c | 17 * Print a hex dump. Just hands control off to the fancy version. 29 * Print a hex dump in this format: 39 char* hex; local 58 hex = out; 62 *hex++ = gHexDigit[lineOffset >> 28]; 65 hex++; 66 hex++; 74 hex += gap * 3; 79 *hex++ = gHexDigit[*addr >> 4]; 80 *hex++ = gHexDigit[*addr & 0x0f] [all...] |
/external/chromium/third_party/icu/source/data/translit/ |
en.txt | 19 "%Translit%Hex" { "Hex Escape" }
|
/external/icu4c/data/translit/ |
en.txt | 19 "%Translit%Hex" { "Hex Escape" }
|
/dalvik/dx/src/com/android/dx/util/ |
Hex.java | 22 public final class Hex { 26 private Hex() { 31 * Formats a {@code long} as an 8-byte unsigned hex value. 47 * Formats an {@code int} as a 4-byte unsigned hex value. 63 * Formats an {@code int} as a 3-byte unsigned hex value. 79 * Formats an {@code int} as a 2-byte unsigned hex value. 95 * Formats an {@code int} as either a 2-byte unsigned hex value 96 * (if the value is small enough) or a 4-byte unsigned hex value (if 111 * Formats an {@code int} as a 1-byte unsigned hex value. 127 * Formats an {@code int} as a 4-bit unsigned hex nibble [all...] |
HexParser.java | 31 * Parses the given text as hex, returning a {@code byte[]} 33 * start with a hex offset followed by a colon (which is verified 35 * hex digits freely interspersed with whitespace. If a pound sign 106 "offset " + Hex.u4(outAt)); 128 Hex.u4(outAt)); 133 "offset " + Hex.u4(outAt));
|
/external/qemu/telephony/ |
gsm.h | 31 /** HEX 34 /* try to convert a hex string into a byte string, assumes 'dst' is properly sized, and hexlen is even. 36 extern int gsm_hex_to_bytes ( cbytes_t hex, int hexlen, bytes_t dst ); 38 /* convert a hex string into a byte string, assumes 'dst' is properly sized, and hexlen is even. 40 extern void gsm_hex_to_bytes0 ( cbytes_t hex, int hexlen, bytes_t dst ); 42 /* convert a byte string into a hex string, assumes 'hex' is properly sized */ 43 extern void gsm_hex_from_bytes( char* hex, cbytes_t src, int srclen ); 51 /* convert a 2-char hex value into an int, returns -1 on error */ 52 extern int gsm_hex2_to_byte( const char* hex ); [all...] |
/external/chromium/third_party/icu/source/i18n/ |
esctrn.cpp | 36 // Unicode: "U+10FFFF" hex, min=4, max=6 40 // Java: "\\uFFFF" hex, min=4, max=4 44 // C: "\\uFFFF" hex, min=4, max=4; \\U0010FFFF hex, min=8, max=8 49 // XML: "" hex, min=1, max=6 53 // XML10: "&1114111;" dec, min=1, max=7 (not really "Any-Hex") 57 // Perl: "\\x{263A}" hex, min=1, max=6 68 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-Hex/Unicode"), _createEscUnicode, t); 70 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-Hex/Java"), _createEscJava, t); 72 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-Hex/C"), _createEscC, t) [all...] |
unesctrn.cpp | 28 // Unicode: "U+10FFFF" hex, min=4, max=6 34 // Java: "\\uFFFF" hex, min=4, max=4 40 // C: "\\uFFFF" hex, min=4, max=4; \\U0010FFFF hex, min=8, max=8 47 // XML: "" hex, min=1, max=6 53 // XML10: "" dec, min=1, max=7 (not really "Hex-Any") 59 // Perl: "\\x{263A}" hex, min=1, max=6 124 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Hex-Any/Unicode"), _createUnicode, t); 126 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Hex-Any/Java"), _createJava, t); 128 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Hex-Any/C"), _createC, t) [all...] |
/external/icu4c/i18n/ |
esctrn.cpp | 36 // Unicode: "U+10FFFF" hex, min=4, max=6 40 // Java: "\\uFFFF" hex, min=4, max=4 44 // C: "\\uFFFF" hex, min=4, max=4; \\U0010FFFF hex, min=8, max=8 49 // XML: "" hex, min=1, max=6 53 // XML10: "&1114111;" dec, min=1, max=7 (not really "Any-Hex") 57 // Perl: "\\x{263A}" hex, min=1, max=6 68 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-Hex/Unicode"), _createEscUnicode, t); 70 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-Hex/Java"), _createEscJava, t); 72 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-Hex/C"), _createEscC, t) [all...] |
unesctrn.cpp | 28 // Unicode: "U+10FFFF" hex, min=4, max=6 34 // Java: "\\uFFFF" hex, min=4, max=4 40 // C: "\\uFFFF" hex, min=4, max=4; \\U0010FFFF hex, min=8, max=8 47 // XML: "" hex, min=1, max=6 53 // XML10: "" dec, min=1, max=7 (not really "Hex-Any") 59 // Perl: "\\x{263A}" hex, min=1, max=6 124 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Hex-Any/Unicode"), _createUnicode, t); 126 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Hex-Any/Java"), _createJava, t); 128 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Hex-Any/C"), _createC, t) [all...] |
/external/iptables/extensions/ |
libipt_string.man | 14 .BI "--hex-string " "pattern" 15 Matches the given pattern in hex notation.
|
libipt_string.c | 13 * that contain space chars, and hex strings that 15 * strings in hex mode if any non-printable char 43 "--hex-string [!] string Match a hex string in a packet\n", 52 { "hex-string", 1, 0, '5' }, 105 "Cannot include literals in hex data"); 132 "Odd number of hex digits"); 136 exit_error(PARAMETER_PROBLEM, "Invalid hex block"); 138 if (! isxdigit(s[i])) /* check for valid hex char */ 139 exit_error(PARAMETER_PROBLEM, "Invalid hex char `%c'", s[i]) [all...] |
libipt_DSCP.man | 6 Set the DSCP field to a numerical value (can be decimal or hex)
|
/external/clearsilver/cs/ |
test_numbers.cs.gold | 26 CORRECT: 0x15 (hex) == 21
|
/external/qemu/android/utils/ |
misc.h | 59 /* decodes a sequence of 'len' hexadecimal chars from 'hex' into 62 extern int hex2int( const uint8_t* hex, int len ); 64 /* encodes an integer 'val' into 'len' hexadecimal charaters into 'hex' */ 65 extern void int2hex( uint8_t* hex, int len, int val );
|
/frameworks/base/tests/CoreTests/android/core/ |
Sha1Test.java | 57 StringBuffer hex = new StringBuffer(bytes.length * 2); local 61 hex.append("0"); 63 hex.append(Integer.toString((int) bytes[i] & 0xff, 16)); 66 return hex.toString();
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
CodeObserver.java | 32 import com.android.dx.util.Hex; 80 String idxStr = (length <= 3) ? Hex.u1(idx) : Hex.u2(idx); 86 ((length <= 3) ? Hex.s1(value) : Hex.s2(value)); 135 valueStr += Hex.u1(value); 137 valueStr += Hex.u2(value); 148 String targetStr = (length <= 3) ? Hex.u2(target) : Hex.u4(target); 161 sb.append(" // padding: " + Hex.u4(padding)) [all...] |
/external/webkit/WebCore/inspector/front-end/ |
Color.js | 45 var hex = this.hex; 46 if (hex.charAt(0) === hex.charAt(1) && hex.charAt(2) === hex.charAt(3) && hex.charAt(4) === hex.charAt(5)) 47 this._short = hex.charAt(0) + hex.charAt(2) + hex.charAt(4) [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
HeaderItem.java | 21 import com.android.dx.util.Hex; 79 Hex.u4(file.getFileSize())); 80 out.annotate(4, "header_size: " + Hex.u4(HEADER_SIZE)); 81 out.annotate(4, "endian_tag: " + Hex.u4(ENDIAN_TAG)); 84 out.annotate(4, "map_off: " + Hex.u4(mapOff)); 116 out.annotate(4, "data_size: " + Hex.u4(dataSize)); 117 out.annotate(4, "data_off: " + Hex.u4(dataOff));
|