Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/
Dwinbind.c173 const char *hexchars = "0123456789ABCDEF"; in strhex_to_str() local
177 if (strncmp(hexchars, "0x", 2) == 0) { in strhex_to_str()
182 if (!(p1 = strchr(hexchars, toupper(strhex[i])))) in strhex_to_str()
187 if (!(p2 = strchr(hexchars, toupper(strhex[i])))) in strhex_to_str()
191 hinybble = (p1 - hexchars); in strhex_to_str()
192 lonybble = (p2 - hexchars); in strhex_to_str()
/external/e2fsprogs/misc/
De4crypt.c105 static const unsigned char *hexchars = (const unsigned char *) "0123456789abcdef"; variable
163 h = memchr(hexchars, hex[x], hexchars_size); in hex2byte()
166 l = memchr(hexchars, hex[x + 1], hexchars_size); in hex2byte()
171 bytes[x >> 1] = (((unsigned char)(h - hexchars) << 4) + in hex2byte()
172 (unsigned char)(l - hexchars)); in hex2byte()
323 h = memchr(hexchars, *cp++, hexchars_size); in parse_salt()
324 l = memchr(hexchars, *cp++, hexchars_size); in parse_salt()
328 (((unsigned char)(h - hexchars) << 4) + in parse_salt()
329 (unsigned char)(l - hexchars)); in parse_salt()
/external/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()
/external/ppp/pppd/
Dutils.c171 static char hexchars[] = "0123456789abcdef"; local
338 OUTCHAR(hexchars[c >> 4]);
339 OUTCHAR(hexchars[c & 0xf]);
368 OUTCHAR(hexchars[(c >> 4) & 0xf]);
369 OUTCHAR(hexchars[c & 0xf]);
383 *--str = hexchars[val % base];
/external/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()
/external/libtextclassifier/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()
/external/rust/crates/grpcio-sys/grpc/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()
/external/webrtc/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()
/external/angle/third_party/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()
/external/openscreen/third_party/abseil/src/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()
/external/mdnsresponder/mDNSPosix/
DNetMonitor.c505 static const char hexchars[16] = "0123456789ABCDEF"; in DisplayResourceRecord() local
537 *p++ = hexchars[t[i] >> 4]; in DisplayResourceRecord()
538 *p++ = hexchars[t[i] & 0xF]; in DisplayResourceRecord()
575 *p++ = hexchars[*s >> 4]; in DisplayResourceRecord()
576 *p++ = hexchars[*s & 0xF]; in DisplayResourceRecord()
/external/libcups/cgi-bin/
Dipp-var.c812 static const char hexchars[] = "0123456789ABCDEF"; in cgiRewriteURL() local
877 *resptr++ = hexchars[(*rawptr >> 4) & 15]; in cgiRewriteURL()
878 *resptr++ = hexchars[*rawptr & 15]; in cgiRewriteURL()
/external/python/cpython3/Modules/
D_tkinter.c975 const char *hexchars; in asBignumObj() local
982 hexchars = PyUnicode_AsUTF8(hexstr); in asBignumObj()
983 if (hexchars == NULL) { in asBignumObj()
987 hexchars += neg + 2; /* skip sign and "0x" */ in asBignumObj()
989 if (mp_read_radix(&bigValue, hexchars, 16) != MP_OKAY) { in asBignumObj()
/external/python/cpython2/Modules/
D_tkinter.c1055 char *hexchars; in asBignumObj() local
1062 hexchars = PyString_AsString(hexstr); in asBignumObj()
1063 if (hexchars == NULL) { in asBignumObj()
1067 hexchars += neg + 2; /* skip sign and "0x" */ in asBignumObj()
1069 if (mp_read_radix(&bigValue, hexchars, 16) != MP_OKAY) { in asBignumObj()