Searched defs:hex (Results 76 - 100 of 153) sorted by relevance

1234567

/external/skia/gm/
H A Dmultipicturedraw.cpp31 SkPath hex; local
32 hex.moveTo(originX-kHexSide, originY);
33 hex.rLineTo(SkScalarHalf(kHexSide), kRoot3Over2 * kHexSide);
34 hex.rLineTo(SkIntToScalar(kHexSide), 0);
35 hex.rLineTo(SkScalarHalf(kHexSide), -kHexSide * kRoot3Over2);
36 hex.rLineTo(-SkScalarHalf(kHexSide), -kHexSide * kRoot3Over2);
37 hex.rLineTo(-SkIntToScalar(kHexSide), 0);
38 hex.close();
39 return hex;
48 SkPath hex local
93 SkPath hex = make_hex_path(0, 0); local
305 SkPath hex = make_hex_path((kNumHexX / 2.0f) * kHexSide, kNumHexY * kHexSide * kRoot3Over2); local
317 SkPath hex = make_hex_path((kNumHexX / 2.0f) * kHexSide, kNumHexY * kHexSide * kRoot3Over2); local
[all...]
/external/skia/src/core/
H A DSkString.cpp539 void SkString::insertHex(size_t offset, uint32_t hex, int minDigits) { argument
548 *--p = gHex[hex & 0xF];
549 hex >>= 4;
551 } while (hex != 0);
H A DSkStream.cpp91 bool SkWStream::writeHexAsText(uint32_t hex, int digits) argument
94 tmp.appendHex(hex, digits);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Ddrv_callbacks.c860 char *hex = os_malloc(hex_len); local
862 if (hex) {
863 wpa_snprintf_hex(hex, hex_len, rx_mgmt->frame,
865 wpa_msg(hapd->msg_ctx, MSG_INFO, "MGMT-RX %s", hex);
866 os_free(hex);
H A Dieee802_1x.c77 char *hex = os_malloc(hex_len); local
79 if (hex) {
80 wpa_snprintf_hex(hex, hex_len, buf, len);
83 MAC2STR(sta->addr), hex);
84 os_free(hex);
/external/wpa_supplicant_8/src/ap/
H A Ddrv_callbacks.c860 char *hex = os_malloc(hex_len); local
862 if (hex) {
863 wpa_snprintf_hex(hex, hex_len, rx_mgmt->frame,
865 wpa_msg(hapd->msg_ctx, MSG_INFO, "MGMT-RX %s", hex);
866 os_free(hex);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dconfig_file.c657 char hex[32 * 2 + 1]; local
660 wpa_snprintf_hex(hex, sizeof(hex), psk->psk, sizeof(psk->psk));
662 psk->p2p ? "P2P-" : "", MAC2STR(psk->addr), hex);
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Ddrv_callbacks.c860 char *hex = os_malloc(hex_len); local
862 if (hex) {
863 wpa_snprintf_hex(hex, hex_len, rx_mgmt->frame,
865 wpa_msg(hapd->msg_ctx, MSG_INFO, "MGMT-RX %s", hex);
866 os_free(hex);
/external/ImageMagick/coders/
H A Dps.c528 Initialize hex values.
1155 *hex;
1157 hex=hex_digits[pixel];
1158 *pixels++=(unsigned char) (*hex++);
1159 *pixels++=(unsigned char) (*hex);
1432 " % hex color packets.",
1147 *hex; local
/external/e2fsprogs/misc/
H A De4crypt.c154 static int hex2byte(const char *hex, size_t hex_size, unsigned char *bytes, argument
163 h = memchr(hexchars, hex[x], hexchars_size);
166 l = memchr(hexchars, hex[x + 1], hexchars_size);
/external/icu/icu4c/source/test/intltest/
H A Dtstnorm.cpp325 errln("FAIL: " + hex(a) + " x DECOMP_COMPAT => " +
326 hex(b) + " x COMPOSE => " +
327 hex(c));
329 logln("Ok: " + hex(a) + " x DECOMP_COMPAT => " +
330 hex(b) + " x COMPOSE => " +
331 hex(c));
369 logln((UnicodeString)"Ok: " + hex(a) + " x COMPOSE_COMPAT => " + hex(b));
371 errln((UnicodeString)"FAIL: " + hex(a) + " x COMPOSE_COMPAT => " + hex(
488 UnicodeString BasicNormalizerTest::hex(UChar ch) { function in class:BasicNormalizerTest
493 UnicodeString BasicNormalizerTest::hex(const UnicodeString& s) { function in class:BasicNormalizerTest
[all...]
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
H A DDumbTextComponent.java188 + hex((char)code) + ", " + hex((char)e.getModifiers()));
323 + hex((char)code) + ", " + hex((char)e.getModifiers()));
329 + hex((char)ch) + ", " + hex((char)e.getModifiers()));
812 add = hex(ch);
817 add = hex(ch) + add;
824 public static String hex(char ch) { method in class:DumbTextComponent
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
H A DDemo.java279 + "To get a character from its control point, type the hex, then hit CTL Q"
316 "[^\\u0000-\\u00FF] hex"
575 static String hexAndNameRules = " ([:c:]) > \\u200E &hex/unicode($1) ' ( ) ' &name($1) \\u200E ' ';"
576 + "([:mark:]) > \\u200E &hex/unicode($1) ' ( ' \\u200E \u25CC $1 \\u200E ' ) ' &name($1) \\u200E ' ';"
577 + "(.) > \\u200E &hex/unicode($1) ' ( ' \\u200E $1 \\u200E ' ) ' &name($1) ' ' \\u200E;";
688 //System.out.println("Core: " + hex.transliterate(coreSentence));
700 //System.out.println("Sentence: " + hex.transliterate(coreSentence));
940 //System.out.println("flattening '" + hex.transliterate(it.string) + "'");
1064 static Transliterator hex = Transliterator.getInstance("[^\\u0020-\\u007E] hex"); field in class:Demo
[all...]
/external/libcups/cups/
H A Dhttp-support.c2029 * Grab a hex-encoded character...
2049 * Bad hex-encoded character...
2083 static const char hex[] = "0123456789ABCDEF"; local
2102 *dst++ = hex[(*src >> 4) & 15];
2103 *dst++ = hex[*src & 15];
/external/libvpx/libvpx/vp8/encoder/
H A Dmcomp.c843 MV hex[6] = { local
907 /* hex search */
912 this_mv.as_mv.row = br + hex[i].row;
913 this_mv.as_mv.col = bc + hex[i].col;
921 this_mv.as_mv.row = br + hex[i].row;
922 this_mv.as_mv.col = bc + hex[i].col;
934 br += hex[best_site].row;
935 bc += hex[best_site].col;
/external/tcpdump/
H A Daddrtoname.c317 static const char hex[] = "0123456789abcdef"; variable
499 *cp++ = hex[*ep >> 4 ];
500 *cp++ = hex[*ep++ & 0xf];
503 *cp++ = hex[*ep >> 4 ];
504 *cp++ = hex[*ep++ & 0xf];
531 *cp++ = hex[*(ep + i - 1) >> 4];
532 *cp++ = hex[*(ep + i - 1) & 0xf];
567 *cp++ = hex[*ep >> 4];
568 *cp++ = hex[*ep++ & 0xf];
571 *cp++ = hex[*e
[all...]
/external/valgrind/coregrind/m_gdbserver/
H A Dremote-utils.c594 /* Convert hex digit A to a number. */
604 error ("Reply contains invalid hex digit 0x%x\n", (unsigned)a);
608 int unhexify (char *bin, const char *hex, int count) argument
613 if (hex[0] == 0 || hex[1] == 0) {
618 *bin++ = fromhex (hex[0]) * 16 + fromhex (hex[1]);
619 hex += 2;
639 /* Convert number NIB to a hex digit. */
650 int hexify (char *hex, cons argument
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dcommon.c27 int hex2byte(const char *hex) argument
30 a = hex2num(*hex++);
33 b = hex2num(*hex++);
163 * hexstr2bin - Convert ASCII hex string into binary data
164 * @hex: ASCII hex string (e.g., "01ab")
166 * @len: Length of the text to convert in bytes (of buf); hex will be double
168 * Returns: 0 on success, -1 on failure (invalid hex string)
170 int hexstr2bin(const char *hex, u8 *buf, size_t len) argument
174 const char *ipos = hex;
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dcommon.c27 int hex2byte(const char *hex) argument
30 a = hex2num(*hex++);
33 b = hex2num(*hex++);
163 * hexstr2bin - Convert ASCII hex string into binary data
164 * @hex: ASCII hex string (e.g., "01ab")
166 * @len: Length of the text to convert in bytes (of buf); hex will be double
168 * Returns: 0 on success, -1 on failure (invalid hex string)
170 int hexstr2bin(const char *hex, u8 *buf, size_t len) argument
174 const char *ipos = hex;
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dcommon.c27 int hex2byte(const char *hex) argument
30 a = hex2num(*hex++);
33 b = hex2num(*hex++);
163 * hexstr2bin - Convert ASCII hex string into binary data
164 * @hex: ASCII hex string (e.g., "01ab")
166 * @len: Length of the text to convert in bytes (of buf); hex will be double
168 * Returns: 0 on success, -1 on failure (invalid hex string)
170 int hexstr2bin(const char *hex, u8 *buf, size_t len) argument
174 const char *ipos = hex;
[all...]
/external/ipsec-tools/src/racoon/
H A Dcrypto_openssl.c238 * convert the hex string of the subject name into DER
241 eay_hex2asn1dn(const char *hex, int len) argument
249 len = strlen(hex);
251 if (BN_hex2bn(&bn, hex) != len) {
2571 * hex value of "0x3ffe050104" is represented as follows:
/external/libxml2/
H A Dxmlwriter.c1683 static char hex[16] = local
1695 (const char *) &hex[data[i] >> 4]);
1701 (const char *) &hex[data[i] & 0xF]);
/external/protobuf/src/google/protobuf/stubs/
H A Dstrutil.cc301 // The implementation of \x parses any positive number of hex digits,
366 "\\x cannot be followed by non-hex digit: \\" << *p << p[1];
372 while (isxdigit(p[1])) // arbitrarily many hex digits
382 // \uhhhh => convert 4 hex digits to UTF-8
390 << "\\u must be followed by 4 hex digits: \\"
399 // \Uhhhhhhhh => convert 8 hex digits to UTF-8
418 << "\\U must be followed by 8 hex digits: \\"
501 // Note that if we emit \xNN and the src character after that is a hex
1401 AlphaNum::AlphaNum(strings::Hex hex) { argument
1404 uint64 value = hex
[all...]
/external/valgrind/coregrind/
H A Dvgdb.c544 /* Convert hex digit A to a number. */
554 XERROR(0, "Reply contains invalid hex digit %c\n", a);
947 char hex[3]; local
990 sprintf(hex, "%02x", (unsigned char) commands[nc][i]);
992 strcat (hexcommand, hex);
999 sprintf(hex, "%02x", cksum);
1000 strcat(hexcommand, hex);
1002 "writing hex command to pid", /* notify */ True);
1038 /* must be here an O packet with hex encoded string reply
/external/wpa_supplicant_8/hostapd/
H A Dctrl_iface.c1241 char hex[PMK_LEN * 2 + 1]; local
1242 wpa_snprintf_hex(hex, sizeof(hex),
1244 ret = os_snprintf(pos, end - pos, "psk=%s\n", hex);
1997 /* cmd: <vendor id> <subcommand id> [<hex formatted data>] */

Completed in 571 milliseconds

1234567