Home
last modified time | relevance | path

Searched refs:hexchars (Results 1 – 6 of 6) sorted by relevance

/third_party/e2fsprogs/misc/
De4crypt.c106 static const unsigned char *hexchars = (const unsigned char *) "0123456789abcdef"; variable
164 h = memchr(hexchars, hex[x], hexchars_size); in hex2byte()
167 l = memchr(hexchars, hex[x + 1], hexchars_size); in hex2byte()
172 bytes[x >> 1] = (((unsigned char)(h - hexchars) << 4) + in hex2byte()
173 (unsigned char)(l - hexchars)); in hex2byte()
324 h = memchr(hexchars, *cp++, hexchars_size); in parse_salt()
325 l = memchr(hexchars, *cp++, hexchars_size); in parse_salt()
329 (((unsigned char)(h - hexchars) << 4) + in parse_salt()
330 (unsigned char)(l - hexchars)); in parse_salt()
/third_party/f2fs-tools/tools/
Df2fscrypt.c155 static const unsigned char *hexchars = (const unsigned char *) "0123456789abcdef"; variable
210 h = memchr(hexchars, hex[x], hexchars_size); in hex2byte()
213 l = memchr(hexchars, hex[x + 1], hexchars_size); in hex2byte()
218 bytes[x >> 1] = (((unsigned char)(h - hexchars) << 4) + in hex2byte()
219 (unsigned char)(l - hexchars)); in hex2byte()
369 h = memchr(hexchars, *cp++, hexchars_size); in parse_salt()
370 l = memchr(hexchars, *cp++, hexchars_size); in parse_salt()
374 (((unsigned char)(h - hexchars) << 4) + in parse_salt()
375 (unsigned char)(l - hexchars)); in parse_salt()
/third_party/lwip/src/netif/ppp/
Dutils.c148 static char hexchars[] = "0123456789abcdef"; in ppp_vslprintf() local
316 OUTCHAR(hexchars[c >> 4]); in ppp_vslprintf()
317 OUTCHAR(hexchars[c & 0xf]); in ppp_vslprintf()
348 OUTCHAR(hexchars[(c >> 4) & 0xf]); in ppp_vslprintf()
349 OUTCHAR(hexchars[c & 0xf]); in ppp_vslprintf()
363 *--str = hexchars[val % base]; in ppp_vslprintf()
/third_party/abseil-cpp/absl/strings/
Dnumbers.h231 auto hexchars = _mm_shuffle_epi8(kHexDigits, m); // hex chars in FastHexToBufferZeroPad16() local
232 _mm_storeu_si128(reinterpret_cast<__m128i*>(out), hexchars); in FastHexToBufferZeroPad16()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dnumbers.h233 auto hexchars = _mm_shuffle_epi8(kHexDigits, m); // hex chars in FastHexToBufferZeroPad16() local
234 _mm_storeu_si128(reinterpret_cast<__m128i*>(out), hexchars); in FastHexToBufferZeroPad16()
/third_party/python/Modules/
D_tkinter.c1032 const char *hexchars; in asBignumObj() local
1039 hexchars = PyUnicode_AsUTF8(hexstr); in asBignumObj()
1040 if (hexchars == NULL) { in asBignumObj()
1044 hexchars += neg + 2; /* skip sign and "0x" */ in asBignumObj()
1046 if (mp_read_radix(&bigValue, hexchars, 16) != MP_OKAY) { in asBignumObj()