/external/icu4c/test/intltest/ |
H A D | 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);
|
H A D | testutil.cpp | 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
|
/external/webkit/Source/WebCore/inspector/front-end/ |
H A D | 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 [all...] |
/external/webkit/LayoutTests/fast/encoding/resources/ |
H A D | char-decoding-utils.js | 1 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 D | 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];
|
H A D | 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];
|
H A D | 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];
|
H A D | 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];
|
/external/qemu/telephony/ |
H A D | gsm.h | 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 ); 54 /* convert a 2-char hex valu [all...] |
H A D | 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, 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 D | 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/qemu/android/utils/ |
H A D | 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 );
|
/external/v8/test/mjsunit/ |
H A D | unicode-test.js | 9138 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 D | JavaScriptTarget.java | 40 String hex = Integer.toHexString(v|0x10000).substring(1,5); 41 return "\\u"+hex;
|
/external/llvm/test/Scripts/ |
H A D | common_dump.py | 2 """ 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 D | 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");
|
H A D | rand.c | 72 * -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 D | crypto_helpers.cc | 47 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 D | spdhelper.cpp | 42 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 D | p2p_invite.py | 33 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 D | obj2yaml.cpp | 32 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 D | prsa_tok.l | 52 hex [0-9a-fA-F] 53 word6 {hex}{0,4}
|
/external/stlport/test/unit/ |
H A D | 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, "ff439eb 1010 s << hex << 0; local [all...] |
/external/arduino/hardware/arduino/ |
H A D | boards.txt | 11 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 D | print-esp.c | 103 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...] |