Home
last modified time | relevance | path

Searched refs:a_hex (Results 1 – 3 of 3) sorted by relevance

/third_party/gettext/libtextstyle/gnulib-local/lib/libcroco/
Dcr-rgb.c511 cr_rgb_set_from_hex_str (CRRgb * a_this, const guchar * a_hex) in cr_rgb_set_from_hex_str() argument
517 g_return_val_if_fail (a_this && a_hex, CR_BAD_PARAM_ERROR); in cr_rgb_set_from_hex_str()
519 if (strlen ((const char *) a_hex) == 3) { in cr_rgb_set_from_hex_str()
521 if (a_hex[i] >= '0' && a_hex[i] <= '9') { in cr_rgb_set_from_hex_str()
522 colors[i] = a_hex[i] - '0'; in cr_rgb_set_from_hex_str()
524 } else if (a_hex[i] >= 'a' && a_hex[i] <= 'z') { in cr_rgb_set_from_hex_str()
525 colors[i] = 10 + a_hex[i] - 'a'; in cr_rgb_set_from_hex_str()
527 } else if (a_hex[i] >= 'A' && a_hex[i] <= 'Z') { in cr_rgb_set_from_hex_str()
528 colors[i] = 10 + a_hex[i] - 'A'; in cr_rgb_set_from_hex_str()
534 } else if (strlen ((const char *) a_hex) == 6) { in cr_rgb_set_from_hex_str()
[all …]
/third_party/ltp/tools/sparse/sparse-src/validation/
Descapes.c8 static char a_hex[3] = "\x61\x62\x63"; variable
/third_party/openssl/test/
Dsm2_internal_test.c80 static EC_GROUP *create_EC_group(const char *p_hex, const char *a_hex, in create_EC_group() argument
97 || !TEST_true(BN_hex2bn(&a, a_hex)) in create_EC_group()