/external/chromium_org/third_party/icu/source/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/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...] |
/art/jdwpspy/ |
Main.cpp | 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 56 char* hex = out; local 60 *hex++ = gHexDigit[lineOffset >> 28]; 63 hex++; 64 hex++; 72 hex += gap * 3; 78 *hex++ = gHexDigit[*addr >> 4]; 79 *hex++ = gHexDigit[*addr & 0x0f] [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++/libcxx/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);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_future_builtins.py | 4 from future_builtins import hex, oct, map, zip, filter namespace 8 self.assertEqual(hex(0), '0x0') 9 self.assertEqual(hex(16), '0x10') 10 self.assertEqual(hex(16L), '0x10') 11 self.assertEqual(hex(-16), '-0x10') 12 self.assertEqual(hex(-16L), '-0x10') 13 self.assertRaises(TypeError, hex, {})
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_future_builtins.py | 4 from future_builtins import hex, oct, map, zip, filter namespace 8 self.assertEqual(hex(0), '0x0') 9 self.assertEqual(hex(16), '0x10') 10 self.assertEqual(hex(16L), '0x10') 11 self.assertEqual(hex(-16), '-0x10') 12 self.assertEqual(hex(-16L), '-0x10') 13 self.assertRaises(TypeError, hex, {})
|
/external/chromium_org/net/spdy/ |
spdy_test_utils.cc | 30 std::string hex; local 37 hex += mark ? '*' : ' '; 38 hex += kHexChars[(*p & 0xf0) >> 4]; 39 hex += kHexChars[*p & 0x0f]; 40 hex += mark ? '*' : ' '; 42 hex += " "; 45 hex = hex + " "; 48 hex += (*p >= 0x20 && *p <= 0x7f) ? (*p) : '.'; 50 hex = hex + '\n' [all...] |
/external/chromium_org/third_party/JSON/JSON-2.59/t/ |
e09_encode.t | 32 is($json->encode(chr hex 3042 ), q|"\u3042"|); 33 is($json->encode(chr hex 12345 ), q|"\ud808\udf45"|); 36 is($json->encode(chr hex 3042 ), $json->encode(chr 66)); 37 is($json->encode(chr hex 12345 ), $json->encode(chr 69));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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...] |
/external/libvpx/libvpx/test/ |
md5_helper.h | 46 static const char hex[16] = { local 55 res_[i * 2 + 0] = hex[tmp[i] >> 4]; 56 res_[i * 2 + 1] = hex[tmp[i] & 0xf];
|
/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 );
|
/art/runtime/base/ |
logging.cc | 194 char* hex = out; local 198 *hex++ = gHexDigit[line_offset >> 28]; 201 hex++; 202 hex++; 210 hex += gap * 3; 216 *hex++ = gHexDigit[*addr >> 4]; 217 *hex++ = gHexDigit[*addr & 0x0f]; 218 hex++; 228 *hex++ = ' '; 229 *hex++ = ' ' [all...] |
/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/chromium_org/tools/grit/grit/format/ |
c_format.py | 52 "Return the octal form of the hex numbers" 53 hex = match.group("hex") 55 while len(hex): 56 next_num = int(hex[2:4], 16) 58 hex = hex[4:] 76 r"(?P<escaped_backslashes>%s)(?P<hex>%s)"
|
/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/chromium_org/chrome/browser/metro_utils/ |
metro_chrome_win.cc | 41 << std::showbase << std::hex << hr; 52 << std::showbase << std::hex << hr;
|
/external/chromium_org/media/webm/ |
webm_info_parser.cc | 53 DVLOG(1) << "Multiple values for id " << std::hex << id << " specified"; 63 DVLOG(1) << "Unexpected float for id" << std::hex << id;
|
/external/chromium_org/third_party/sqlite/src/test/ |
collate1.test | 31 # Collation type 'HEX'. If an argument can be interpreted as a hexadecimal 36 db collate HEX hex_collate 55 db function hex {format 0x%X} 67 INSERT INTO collate1t1 VALUES(45, hex(45)); 69 INSERT INTO collate1t1 VALUES(281, hex(281)); 79 SELECT c2 FROM collate1t1 ORDER BY 1 COLLATE hex; 84 SELECT c2 FROM collate1t1 ORDER BY 1 COLLATE hex DESC; 89 SELECT c2 FROM collate1t1 ORDER BY 1 COLLATE hex ASC; 94 SELECT c2 COLLATE hex FROM collate1t1 ORDER BY 1 99 SELECT c2 COLLATE hex FROM collate1t1 ORDER BY 1 AS [all...] |