HomeSort by relevance Sort by last modified time
    Searched refs:hex (Results 1 - 25 of 151) sorted by null

1 2 3 4 5 6 7

  /external/chromium/third_party/icu/source/test/intltest/
testutil.h 23 static UnicodeString hex(UChar ch);
25 static UnicodeString hex(const UnicodeString& s);
27 static UnicodeString hex(const UnicodeString& s, UChar sep);
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...]
  /external/icu4c/test/intltest/
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);
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...]
  /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...]
  /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/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 );
misc.c 173 hex2int( const uint8_t* hex, int len )
177 int c = hexdigit(*hex++);
188 int2hex( uint8_t* hex, int len, int val )
192 *hex++ = hexchars[(val >> (len*4)) & 15];
  /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...]
gsm.c 128 gsm_hex2_to_byte( const char* hex )
130 int hi = gsm_hexchar_to_int(hex[0]);
131 int lo = gsm_hexchar_to_int(hex[1]);
140 gsm_hex4_to_short( const char* hex )
142 int hi = gsm_hex2_to_byte(hex);
143 int lo = gsm_hex2_to_byte(hex+2);
152 gsm_hex2_to_byte0( const char* hex )
154 int hi = gsm_hexchar_to_int0(hex[0]);
155 int lo = gsm_hexchar_to_int0(hex[1]);
161 gsm_hex_from_byte( char* hex, int val
    [all...]
sms.h 56 extern int sms_address_from_hex ( SmsAddress address, const char* hex, int hexlen );
57 extern int sms_address_to_hex ( SmsAddress address, char* hex, int hexsize );
71 extern SmsPDU smspdu_create_from_hex( const char* hex, int hexlen );
73 extern int smspdu_to_hex( SmsPDU pdu, char* hex, int hexsize );
  /external/bluetooth/glib/tests/
gen-casefold-txt.pl 69 my $code = hex ($raw_code);
80 @values = map { hex ($_) } split /\s+/, $fields[$FOLDING_MAPPING];
  /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();
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/GlobalObject/
15.1.2.5-2.js 129 var hex = new Array();
136 hex[index] = Math.floor( n / Math.pow(16,mag) );
140 hex[hex.length] = n % 16;
144 for ( var index = 0 ; index < hex.length ; index++ ) {
145 switch ( hex[index] ) {
165 string += hex[index];
15.1.2.4.js 151 var hex = new Array();
158 hex[index] = Math.floor( n / Math.pow(16,mag) );
162 hex[hex.length] = n % 16;
166 for ( var index = 0 ; index < hex.length ; index++ ) {
167 switch ( hex[index] ) {
187 string += hex[index];
15.1.2.5-1.js 117 // unicode chars represented by two hex digits
151 var hex = new Array();
158 hex[index] = Math.floor( n / Math.pow(16,mag) );
162 hex[hex.length] = n % 16;
166 for ( var index = 0 ; index < hex.length ; index++ ) {
167 switch ( hex[index] ) {
187 string += hex[index];
15.1.2.5-3.js 152 var hex = new Array();
159 hex[index] = Math.floor( n / Math.pow(16,mag) );
163 hex[hex.length] = n % 16;
167 for ( var index = 0 ; index < hex.length ; index++ ) {
168 switch ( hex[index] ) {
188 string += hex[index];
  /external/openssl/apps/
prime.c 63 int hex=0; local
81 if(!strcmp(*argv,"-hex"))
82 hex=1;
134 s=hex ? BN_bn2hex(bn) : BN_bn2dec(bn);
140 if(hex)
157 BIO_printf(bio_err,"%-14s hex\n","-hex");
rand.c 72 * -hex - hex encode output
88 int hex = 0; local
138 else if (strcmp(argv[i], "-hex") == 0)
140 if (!hex)
141 hex = 1;
160 if (hex && base64)
176 BIO_printf(bio_err, "-hex - hex encode output\n");
226 if (!hex)
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/
ChunkedOutputStream.java 35 /** Scratch space for up to 8 hex digits, and then a constant CRLF */
36 private final byte[] hex = { 0, 0, 0, 0, 0, 0, 0, 0, '\r', '\n' }; field in class:ChunkedOutputStream
99 hex[--cursor] = HEX_DIGITS[i & 0xf];
101 socketOut.write(hex, cursor, hex.length - cursor);
  /packages/apps/Email/src/com/android/email/mail/transport/
DiscourseLogger.java 73 final String hex = "00" + Integer.toHexString(b); local
74 mReceivingLine.append("\\x" + hex.substring(hex.length() - 2, hex.length()));
  /external/ipsec-tools/src/racoon/
prsa_tok.l 52 hex [0-9a-fA-F]
53 word6 {hex}{0,4}
67 return HEX;
  /external/stlport/test/unit/
num_put_get_test.cpp 725 CHECK(short, 0, hex, "0")
726 CHECK(short, 12345, hex, "3039")
728 CHECK(short, -1, hex, "ffff")
729 CHECK(short, -12345, hex, "cfc7")
732 CHECK(unsigned short, 0, hex, "0")
733 CHECK(unsigned short, 12345, hex, "3039")
735 CHECK(int, 0, hex, "0")
736 CHECK(int, 12345678, hex, "bc614e")
738 CHECK(int, -1, hex, "ffffffff")
739 CHECK(int, -12345678, hex, "ff439eb2"
1010 s << hex << 0; local
    [all...]
  /ndk/tests/device/test-gnustl-full/unit/
num_put_get_test.cpp 725 CHECK(short, 0, hex, "0")
726 CHECK(short, 12345, hex, "3039")
728 CHECK(short, -1, hex, "ffff")
729 CHECK(short, -12345, hex, "cfc7")
732 CHECK(unsigned short, 0, hex, "0")
733 CHECK(unsigned short, 12345, hex, "3039")
735 CHECK(int, 0, hex, "0")
736 CHECK(int, 12345678, hex, "bc614e")
738 CHECK(int, -1, hex, "ffffffff")
739 CHECK(int, -12345678, hex, "ff439eb2"
1010 s << hex << 0; local
    [all...]
  /ndk/tests/device/test-stlport/unit/
num_put_get_test.cpp 725 CHECK(short, 0, hex, "0")
726 CHECK(short, 12345, hex, "3039")
728 CHECK(short, -1, hex, "ffff")
729 CHECK(short, -12345, hex, "cfc7")
732 CHECK(unsigned short, 0, hex, "0")
733 CHECK(unsigned short, 12345, hex, "3039")
735 CHECK(int, 0, hex, "0")
736 CHECK(int, 12345678, hex, "bc614e")
738 CHECK(int, -1, hex, "ffffffff")
739 CHECK(int, -12345678, hex, "ff439eb2"
1010 s << hex << 0; local
    [all...]

Completed in 351 milliseconds

1 2 3 4 5 6 7