Searched refs:hex (Results 1 - 25 of 165) sorted by relevance

1234567

/external/icu4c/test/intltest/
H A Dtestutil.h24 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);
H A Dtestutil.cpp30 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
/external/webkit/Source/WebCore/inspector/front-end/
H A DColor.js45 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
[all...]
/external/webkit/LayoutTests/fast/encoding/resources/
H A Dchar-decoding-utils.js1 function hex(number) function
4 var hex = hexDigit.substr(number & 0xf, 1);
7 hex = hexDigit.substr(number & 15, 1) + hex;
9 return hex;
26 var code = hex(decodedText.charCodeAt(i));
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/
H A D15.1.2.5-2.js129 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];
H A D15.1.2.5-3.js152 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];
H A D15.1.2.4.js151 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];
H A D15.1.2.5-1.js117 // 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];
/external/qemu/telephony/
H A Dgsm.h34 /* 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 );
54 /* convert a 2-char hex valu
[all...]
H A Dgsm.c128 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, in argument
170 gsm_hex_from_short( char* hex, int val ) argument
181 gsm_hex_to_bytes0( cbytes_t hex, int hexlen, bytes_t dst ) argument
194 gsm_hex_to_bytes( cbytes_t hex, int hexlen, bytes_t dst ) argument
210 gsm_hex_from_bytes( char* hex, cbytes_t src, int srclen ) argument
[all...]
H A Dsms.h56 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/qemu/android/utils/
H A Dmisc.h59 /* 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 );
/external/v8/test/mjsunit/
H A Dunicode-test.js9138 function hex(x) { function
9155 out += "\\x" + hex(c >> 4) + hex(c);
9157 out += "\\u" + hex(c >> 12) + hex(c >> 8) + hex(c >> 4) + hex(c);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
H A DJavaScriptTarget.java40 String hex = Integer.toHexString(v|0x10000).substring(1,5);
41 return "\\u"+hex;
/external/llvm/test/Scripts/
H A Dcommon_dump.py2 """ Convert the raw data in 'd' to an hex string with a space every 4 bytes.
7 hex_byte = hex(byte)[2:]
16 """ Convert the raw data in 'd' to an hex string with a space every 4 bytes.
23 hex_byte = hex(byte)[2:]
/external/openssl/apps/
H A Dprime.c63 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");
H A Drand.c72 * -hex - hex encode output
85 int hex = 0; local
135 else if (strcmp(argv[i], "-hex") == 0)
137 if (!hex)
138 hex = 1;
157 if (hex && base64)
173 BIO_printf(bio_err, "-hex - hex encode output\n");
223 if (!hex)
[all...]
/external/chromium/chrome/browser/sync/util/
H A Dcrypto_helpers.cc47 string hex = base::HexEncode(reinterpret_cast<char*>(&bin_digest_.front()), local
49 StringToLowerASCII(&hex);
50 return hex;
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A Dspdhelper.cpp42 static char hex[] = "0123456789ABCDEF"; local
44 c[0] = hex[((b >> 4) & 0x0F)];
45 c[1] = hex[((b >> 0) & 0x0F)];
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
H A Dp2p_invite.py33 print "BSSID = ", hex(bssid[0]) , ":" , \
34 hex(bssid[1]) , ":" , hex(bssid[2]) , ":", \
35 hex(bssid[3]) , ":" , hex(bssid[4]) , ":" , \
36 hex(bssid[5])
/external/llvm/utils/obj2yaml/
H A Dobj2yaml.cpp32 const char *hex = "0123456789ABCDEF"; local
33 Out << " !hex \"";
38 Out << hex[(*iter >> 4) & 0x0F] << hex[(*iter & 0x0F)]; local
/external/ipsec-tools/src/racoon/
H A Dprsa_tok.l52 hex [0-9a-fA-F]
53 word6 {hex}{0,4}
/external/stlport/test/unit/
H A Dnum_put_get_test.cpp725 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, "ff439eb
1010 s << hex << 0; local
[all...]
/external/arduino/hardware/arduino/
H A Dboards.txt11 uno.bootloader.file=optiboot_atmega328.hex
30 atmega328.bootloader.file=ATmegaBOOT_168_atmega328.hex
50 diecimila.bootloader.file=ATmegaBOOT_168_diecimila.hex
70 mega2560.bootloader.file=stk500boot_v2_mega2560.hex
90 mega.bootloader.file=ATmegaBOOT_168_atmega1280.hex
110 mini.bootloader.file=ATmegaBOOT_168_ng.hex
130 fio.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex
151 bt328.bootloader.file=ATmegaBOOT_168_atmega328_bt.hex
172 bt.bootloader.file=ATmegaBOOT_168.hex
192 lilypad328.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex
[all...]
/external/tcpdump/
H A Dprint-esp.c103 static u_int hexdigit(netdissect_options *ndo, char hex) argument
105 if (hex >= '0' && hex <= '9')
106 return (hex - '0');
107 else if (hex >= 'A' && hex <= 'F')
108 return (hex - 'A' + 10);
109 else if (hex >= 'a' && hex <= 'f')
110 return (hex
[all...]

Completed in 1257 milliseconds

1234567