/external/chromium_org/mojo/apps/js/test/ |
H A D | hexdump.js | 7 var hex = value.toString(16); 8 while (hex.length < length) 9 hex = "0" + hex; 10 return hex;
|
/external/chromium_org/third_party/icu/source/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/icu/icu4c/source/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/libcxx/test/input.output/iostreams.base/std.ios.manip/basefield.manip/ |
H A D | 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/libcxx/test/input.output/iostreams.base/ios.base/fmtflags.state/ |
H A D | flags_fmtflags.pass.cpp | 33 test::fmtflags f = t.flags(test::hex | test::right); 35 assert(t.flags() == (test::hex | test::right));
|
H A D | 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/ |
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/chromium_org/tools/grit/grit/format/ |
H A D | 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/chromium_org/net/spdy/ |
H A D | spdy_test_utils.cc | 35 std::string hex; local 42 hex += mark ? '*' : ' '; 43 hex += kHexChars[(*p & 0xf0) >> 4]; 44 hex += kHexChars[*p & 0x0f]; 45 hex += mark ? '*' : ' '; 47 hex += " "; 50 hex = hex + " "; 53 hex += (*p >= 0x20 && *p <= 0x7f) ? (*p) : '.'; 55 hex [all...] |
/external/qemu/android/utils/ |
H A D | misc.h | 63 /* decodes a sequence of 'len' hexadecimal chars from 'hex' into 66 extern int hex2int( const uint8_t* hex, int len ); 68 /* encodes an integer 'val' into 'len' hexadecimal charaters into 'hex' */ 69 extern void int2hex( uint8_t* hex, int len, int val );
|
/external/chromium_org/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/ltrace/etc/ |
H A D | syscalls.conf | 21 int open(string, hex(uint), oct(uint)); 121 int openat(at_dirfd_t, string, hex(uint), oct(uint)); 124 int unlinkat(at_dirfd_t, string, hex(uint)); 126 int linkat(at_dirfd_t, string, at_dirfd_t, string, hex(uint)); 128 int faccessat(at_dirfd_t, string, oct(uint), hex(uint)); 129 int fchmodat(at_dirfd_t, string, oct(uint), hex(uint)); 130 int fchownat(at_dirfd_t, string, int, int, hex(uint)); 132 int fstatat(at_dirfd_t, string, addr, hex(uint)); 133 int utimensat(at_dirfd_t, string, addr, hex(uint)); 136 addr shmat(int, addr, hex(uin [all...] |
/external/okhttp/okio/src/main/java/okio/ |
H A D | ByteString.java | 92 public String hex() { method in class:ByteString 102 /** Decodes the hex-encoded bytes and returns their value a byte string. */ 103 public static ByteString decodeHex(String hex) { argument 104 if (hex.length() % 2 != 0) throw new IllegalArgumentException("Unexpected hex string: " + hex); 106 byte[] result = new byte[hex.length() / 2]; 108 int d1 = decodeHexDigit(hex.charAt(i * 2)) << 4; 109 int d2 = decodeHexDigit(hex.charAt(i * 2 + 1)); 119 throw new IllegalArgumentException("Unexpected hex digi [all...] |
/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/chromium_org/third_party/sqlite/src/test/ |
H A D | collate1.test | 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 ASC 104 SELECT c2 COLLATE hex FROM collate1t1 ORDER BY 1 DESC 126 SELECT c1, c2 FROM collate1t1 ORDER BY 1 COLLATE numeric, 2 COLLATE hex; [all...] |
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
H A D | HttpParsingTest.java | 14 String hex = Integer.toHexString(i); 15 String input = "%" + hex;
|
/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");
|
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
H A D | 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/google-tv-pairing-protocol/cpp/src/polo/util/ |
H A D | poloutil.cc | 26 char* hex = BN_bn2hex(bn); local 27 std::string hex_string(hex); 29 OPENSSL_free(hex);
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
H A D | spdhelper.cpp | 61 static char hex[] = "0123456789ABCDEF"; local 63 c[0] = hex[((b >> 4) & 0x0F)]; 64 c[1] = hex[((b >> 0) & 0x0F)];
|
/external/libvpx/libvpx/test/ |
H A D | md5_helper.h | 44 static const char hex[16] = { local 53 res_[i * 2 + 0] = hex[tmp[i] >> 4]; 54 res_[i * 2 + 1] = hex[tmp[i] & 0xf];
|