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

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /device/asus/flo/conn_init/
conn_init.c 26 char hex[7]; local
28 memset(hex, 0, 7);
45 wfc_util_atoh( macAddress, 12, (unsigned char *)hex, 6);
46 wfc_util_qcom_check_config((unsigned char *)hex);
  /device/lge/mako/conn_init/
conn_init.c 26 char hex[7]; local
28 memset(hex, 0, 7);
45 wfc_util_atoh( macAddress, 12, (unsigned char *)hex, 6);
46 wfc_util_qcom_check_config((unsigned char *)hex);
  /ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostreams.base/std.ios.manip/basefield.manip/
hex.pass.cpp 14 // ios_base& hex(ios_base& str);
26 std::ios_base& r = std::hex(ios);
28 assert(ios.flags() & std::ios::hex);
  /external/webkit/Source/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.cpp 18 * Print a hex dump. Just hands control off to the fancy version.
30 * Print a hex dump in this format:
40 char* hex; local
57 char* hex = out; local
61 *hex++ = gHexDigit[lineOffset >> 28];
64 hex++;
65 hex++;
73 hex += gap * 3;
79 *hex++ = gHexDigit[*addr >> 4];
80 *hex++ = gHexDigit[*addr & 0x0f]
    [all...]
  /external/webkit/LayoutTests/fast/encoding/resources/
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));
  /ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostreams.base/ios.base/fmtflags.state/
flags_fmtflags.pass.cpp 33 test::fmtflags f = t.flags(test::hex | test::right);
35 assert(t.flags() == (test::hex | test::right));
setf_fmtflags.pass.cpp 33 test::fmtflags f = t.setf(test::hex | test::right);
35 assert(t.flags() == (test::skipws | test::dec | test::hex | test::right));
  /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/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();
  /external/webkit/Source/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];
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
JavaScriptTarget.java 40 String hex = Integer.toHexString(v|0x10000).substring(1,5); local
41 return "\\u"+hex;
  /external/llvm/test/Scripts/
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/
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");
  /libcore/luni/src/main/java/libcore/net/http/
ChunkedOutputStream.java 36 /** Scratch space for up to 8 hex digits, and then a constant CRLF */
37 private final byte[] hex = { 0, 0, 0, 0, 0, 0, 0, 0, '\r', '\n' }; field in class:ChunkedOutputStream
100 hex[--cursor] = HEX_DIGITS[i & 0xf];
102 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/chromium/chrome/browser/sync/util/
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/
spdhelper.cpp 43 static char hex[] = "0123456789ABCDEF"; local
45 c[0] = hex[((b >> 4) & 0x0F)];
46 c[1] = hex[((b >> 0) & 0x0F)];
  /external/smack/src/org/xbill/DNS/utils/
hexdump.java 6 * A routine to produce a nice looking hex dump
13 private static final char [] hex = "0123456789ABCDEF".toCharArray(); field in class:hexdump
16 * Dumps a byte array into hex format.
43 sb.append(hex[(value >> 4)]);
44 sb.append(hex[(value & 0xF)]);

Completed in 2332 milliseconds

1 2 3 4 5 6 7 8 91011>>