Home
last modified time | relevance | path

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

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