Searched defs:hex (Results 1 - 25 of 51) sorted by relevance

123

/external/icu4c/test/intltest/
H A Dtestutil.cpp16 UnicodeString TestUtility::hex(UChar ch) { function in class:TestUtility
25 UnicodeString TestUtility::hex(const UnicodeString& s) { function in class:TestUtility
26 return hex(s, 44 /*,*/);
29 UnicodeString TestUtility::hex(const UnicodeString& s, UChar sep) { function in class:TestUtility
31 UnicodeString result = hex(s.charAt(0));
34 result.append(hex(s.charAt(i)));
/external/openssl/apps/
H A Dprime.c63 int hex=0; local
78 if(!strcmp(*argv,"-hex"))
79 hex=1;
111 if(hex)
127 BIO_printf(bio_err,"%-14s hex\n","-hex");
H A Drand.c72 * -hex - hex encode output
88 int hex = 0; local
138 else if (strcmp(argv[i], "-hex") == 0)
140 if (!hex)
141 hex = 1;
160 if (hex && base64)
176 BIO_printf(bio_err, "-hex - hex encode output\n");
226 if (!hex)
[all...]
/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/openssl/crypto/x509/
H A Dx509_obj.c75 static char hex[17]="0123456789ABCDEF"; local
190 *(p++)=hex[(n>>4)&0x0f];
191 *(p++)=hex[n&0x0f];
202 *(p++)=hex[(n>>4)&0x0f];
203 *(p++)=hex[n&0x0f];
/external/bluetooth/bluez/common/
H A Dsdp-xml.c48 int i, hex; local
240 hex = 0;
245 hex = 1;
261 if (hex) {
262 appender(data, "encoding=\"hex\" ");
269 hex encoded data */
/external/dbus/dbus/
H A Ddbus-address.c291 DBusString hex; local
299 "In D-Bus address, percent character was not followed by two hex digits");
308 _dbus_string_init_const (&hex, buf);
310 if (!_dbus_string_hex_decode (&hex, 0, &hex_end,
318 "In D-Bus address, percent character was followed by characters other than hex digits");
/external/ppp/pppd/plugins/radius/
H A Davpair.c164 unsigned char hex[3]; /* For hex string conversion. */ local
199 sprintf (hex, "%2.2X", *x_ptr);
200 strcat (buffer, hex);
/external/qemu/android/utils/
H A Dmisc.c173 hex2int( const uint8_t* hex, int len ) argument
177 int c = hexdigit(*hex++);
188 int2hex( uint8_t* hex, int len, int val ) argument
192 *hex++ = hexchars[(val >> (len*4)) & 15];
/external/skia/src/animator/
H A DSkMemberInfo.cpp220 char hex = poundPos[4]; local
221 if (is_hex(hex) == false) {
/external/skia/src/xml/
H A DSkParseColor.cpp465 uint32_t hex; local
466 const char* end = SkParse::FindHex(value + 1, &hex);
472 unsigned a = len == 4 ? nib2byte(hex >> 12) : oldAlpha;
473 unsigned r = nib2byte((hex >> 8) & 0xF);
474 unsigned g = nib2byte((hex >> 4) & 0xF);
475 unsigned b = nib2byte(hex & 0xF);
480 hex |= oldAlpha << 24;
481 *colorPtr = hex;
/external/stlport/src/
H A Dios.cpp48 const ios_base::fmtflags ios_base::hex; member in class:ios_base
213 ptr = __write_integer(buffer+strlen(buffer), ios_base::hex, __STATIC_CAST(unsigned long,_M_iostate));
215 ptr = __write_integer(buffer+strlen(buffer), ios_base::hex, __STATIC_CAST(unsigned long,_M_exception_mask));
/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/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...]
/external/wpa_supplicant/wpa_gui/
H A Dnetworkconfig.ui.h110 "or 64 hex digit PSK");
259 bool hex; local
267 * Assume hex key if only hex characters are present and length matches
277 hex = true;
281 hex = false;
286 if (hex && len != 10 && len != 26 && len != 32)
287 hex = false;
289 setNetworkParam(network_id, buf, txt, !hex);
/external/wpa_supplicant/wpa_gui-qt4/
H A Dnetworkconfig.cpp141 "or 64 hex digit PSK");
297 bool hex; local
305 * Assume hex key if only hex characters are present and length matches
315 hex = true;
320 hex = false;
325 if (hex && len != 10 && len != 26 && len != 32)
326 hex = false;
328 setNetworkParam(network_id, buf, txt, !hex);
/external/wpa_supplicant_6/wpa_supplicant/src/utils/
H A Dcommon.c32 static int hex2byte(const char *hex) argument
35 a = hex2num(*hex++);
38 b = hex2num(*hex++);
74 * hexstr2bin - Convert ASCII hex string into binary data
75 * @hex: ASCII hex string (e.g., "01ab")
77 * @len: Length of the text to convert in bytes (of buf); hex will be double
79 * Returns: 0 on success, -1 on failure (invalid hex string)
81 int hexstr2bin(const char *hex, u8 *buf, size_t len) argument
85 const char *ipos = hex;
[all...]
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui/
H A Dnetworkconfig.ui.h110 "or 64 hex digit PSK");
262 bool hex; local
270 * Assume hex key if only hex characters are present and length matches
280 hex = true;
284 hex = false;
289 if (hex && len != 10 && len != 26 && len != 32)
290 hex = false;
292 setNetworkParam(network_id, buf, txt, !hex);
/external/astl/include/
H A Dios_base.h109 // hex: Convert integer input or generates integer output in
133 static const fmtflags hex = android::ios_baseflags_hex; member in class:std::ios_base
/external/bluetooth/hcidump/parser/
H A Dsdp.c370 int i, hex = 0; local
377 hex = 1;
383 if (hex) {
/external/skia/src/core/
H A DSkString.cpp443 void SkString::insertHex(size_t offset, uint32_t hex, int minDigits) argument
453 *--p = gHex[hex & 0xF];
454 hex >>= 4;
456 } while (hex != 0);
/external/webkit/WebCore/rendering/
H A DRenderTreeAsText.cpp170 String hex = String::format("\\x{%X}", u); local
171 unsigned len = hex.length();
173 result.append(hex[i]);
/external/wpa_supplicant/
H A Dcommon.c40 static int hex2byte(const char *hex) argument
43 a = hex2num(*hex++);
46 b = hex2num(*hex++);
82 * hexstr2bin - Convert ASCII hex string into binary data
83 * @hex: ASCII hex string (e.g., "01ab")
85 * @len: Length of the text to convert in bytes (of buf); hex will be double
87 * Returns: 0 on success, -1 on failure (invalid hex string)
89 int hexstr2bin(const char *hex, u8 *buf, size_t len) argument
93 const char *ipos = hex;
[all...]
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui-qt4/
H A Dnetworkconfig.cpp195 "or 64 hex digit PSK");
447 bool hex; local
455 * Assume hex key if only hex characters are present and length matches
465 hex = true;
470 hex = false;
475 if (hex && len != 10 && len != 26 && len != 32)
476 hex = false;
478 setNetworkParam(network_id, buf, txt, !hex);
/external/bluetooth/glib/gio/
H A Dgdummyfile.c697 static const gchar hex[16] = "0123456789ABCDEF"; local
711 g_string_append_c (string, hex[((guchar)c) >> 4]);
712 g_string_append_c (string, hex[((guchar)c) & 0xf]);

Completed in 474 milliseconds

123