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

/freebsd-11.0-release/contrib/libarchive/cpio/test/
H A Dtest_format_newc.c36 is_hex(const char *p, size_t l) function
177 assert(is_hex(e, 110)); /* Entire header is octal digits. */
204 assert(is_hex(e + 78, 8)); /* rdevmajor */
205 assert(is_hex(e + 86, 8)); /* rdevminor */
217 assert(is_hex(e, 110));
219 assert(is_hex(e + 6, 8)); /* ino */
232 assert(is_hex(e + 78, 8)); /* rdevmajor */
233 assert(is_hex(e + 86, 8)); /* rdevminor */
244 assert(is_hex(e, 110));
246 assert(is_hex(
[all...]
/freebsd-11.0-release/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-11.0-release/contrib/ntp/ntpd/
H A Dntp_scanner.c512 int is_hex; local
517 is_hex = TRUE;
519 is_hex = FALSE;
524 if (is_hex && !isxdigit((u_char)lexeme[i]))
526 if (!is_hex && !isdigit((u_char)lexeme[i]))
/freebsd-11.0-release/contrib/libarchive/libarchive/
H A Darchive_read_support_format_cpio.c215 static int is_hex(const char *, size_t);
512 is_hex(const char *p, size_t len) function
543 && is_hex(p, newc_header_size))
555 && is_hex(p, newc_header_size)) {
676 if (!is_hex(h + afiol_dev_offset, afiol_ino_m_offset - afiol_dev_offset))
678 if (!is_hex(h + afiol_mode_offset, afiol_mtime_n_offset - afiol_mode_offset))
680 if (!is_hex(h + afiol_namesize_offset, afiol_xsize_s_offset - afiol_namesize_offset))
682 if (!is_hex(h + afiol_filesize_offset, afiol_filesize_size))
/freebsd-11.0-release/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-11.0-release/contrib/libucl/src/
H A Ducl_parser.c674 is_time = false, valid_start = false, is_hex = false, local
685 if (is_hex && isxdigit (*p)) {
692 else if (!is_hex && (*p == 'x' || *p == 'X')) {
693 is_hex = true;
759 if (is_hex) {
/freebsd-11.0-release/contrib/wpa/src/utils/
H A Dcommon.c688 int is_hex(const u8 *data, size_t len) function
H A Dcommon.h479 int is_hex(const u8 *data, size_t len);
/freebsd-11.0-release/contrib/wpa/src/ap/
H A Dwps_hostapd.c503 if (is_hex(cred->ssid, cred->ssid_len)) {
/freebsd-11.0-release/contrib/wpa/wpa_supplicant/
H A Dconfig.c152 if (is_hex(value, len))

Completed in 145 milliseconds