Searched refs:is_hex (Results 1 - 10 of 10) sorted by relevance

/freebsd-10-stable/contrib/libarchive/cpio/test/
H A Dtest_format_newc.c36 is_hex(const char *p, size_t l) function
194 assert(is_hex(e, 110)); /* Entire header is octal digits. */
225 assert(is_hex(e + 78, 8)); /* rdevmajor */
226 assert(is_hex(e + 86, 8)); /* rdevminor */
238 assert(is_hex(e, 110));
240 assert(is_hex(e + 6, 8)); /* ino */
259 assert(is_hex(e + 78, 8)); /* rdevmajor */
260 assert(is_hex(e + 86, 8)); /* rdevminor */
271 assert(is_hex(e, 110));
273 assert(is_hex(
[all...]
/freebsd-10-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_format_cpio_newc.c30 is_hex(const char *p, size_t l) function
123 assert(is_hex(e, 110)); /* Entire header is hex digits. */
144 assert(is_hex(e, 110));
164 assert(is_hex(e, 110)); /* Entire header is hex digits. */
187 assert(is_hex(e, 76));
/freebsd-10-stable/contrib/ntp/ntpd/
H A Dntp_scanner.c513 int is_hex; local
518 is_hex = TRUE;
520 is_hex = FALSE;
525 if (is_hex && !isxdigit((u_char)lexeme[i]))
527 if (!is_hex && !isdigit((u_char)lexeme[i]))
/freebsd-10-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_cpio.c215 static int is_hex(const char *, size_t);
513 is_hex(const char *p, size_t len) function
544 && is_hex(p, newc_header_size))
556 && is_hex(p, newc_header_size)) {
684 if (!is_hex(h + afiol_dev_offset, afiol_ino_m_offset - afiol_dev_offset))
686 if (!is_hex(h + afiol_mode_offset, afiol_mtime_n_offset - afiol_mode_offset))
688 if (!is_hex(h + afiol_namesize_offset, afiol_xsize_s_offset - afiol_namesize_offset))
690 if (!is_hex(h + afiol_filesize_offset, afiol_filesize_size))
/freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/
H A Dgpg_agent.c107 #define is_hex(c) (((c) >= '0' && (c) <= '9') || ((c) >= 'A' && (c) <= 'F'))
120 if (s[0] == '%' && is_hex(s[1]) && is_hex(s[2]))
106 #define is_hex macro
/freebsd-10-stable/contrib/libucl/src/
H A Ducl_parser.c574 is_time = false, valid_start = false, is_hex = false, local
585 if (is_hex && isxdigit (*p)) {
592 else if (!is_hex && (*p == 'x' || *p == 'X')) {
593 is_hex = true;
659 if (is_hex) {
/freebsd-10-stable/contrib/wpa/src/utils/
H A Dcommon.c571 int is_hex(const u8 *data, size_t len) function
H A Dcommon.h450 int is_hex(const u8 *data, size_t len);
/freebsd-10-stable/contrib/wpa/src/ap/
H A Dwps_hostapd.c375 if (is_hex(cred->ssid, cred->ssid_len)) {
/freebsd-10-stable/contrib/wpa/wpa_supplicant/
H A Dconfig.c150 if (is_hex(value, len))

Completed in 219 milliseconds