Home
last modified time | relevance | path

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

/freebsd/contrib/libarchive/cpio/test/
H A Dtest_format_newc.c24 is_hex(const char *p, size_t l) in is_hex() function
182 assert(is_hex(e, 110)); /* Entire header is octal digits. */ in DEFINE_TEST()
213 assert(is_hex(e + 78, 8)); /* rdevmajor */ in DEFINE_TEST()
214 assert(is_hex(e + 86, 8)); /* rdevminor */ in DEFINE_TEST()
226 assert(is_hex(e, 110)); in DEFINE_TEST()
228 assert(is_hex(e + 6, 8)); /* ino */ in DEFINE_TEST()
247 assert(is_hex(e + 78, 8)); /* rdevmajor */ in DEFINE_TEST()
248 assert(is_hex(e + 86, 8)); /* rdevminor */ in DEFINE_TEST()
259 assert(is_hex(e, 110)); in DEFINE_TEST()
261 assert(is_hex(e + 6, 8)); /* ino */ in DEFINE_TEST()
[all …]
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_format_cpio_newc.c28 is_hex(const char *p, size_t l)
121 assert(is_hex(e, 110)); /* Entire header is hex digits. */ in DEFINE_TEST()
142 assert(is_hex(e, 110)); in DEFINE_TEST()
162 assert(is_hex(e, 110)); /* Entire header is hex digits. */ in DEFINE_TEST()
185 assert(is_hex(e, 76)); in DEFINE_TEST()
30 is_hex(const char *p, size_t l) is_hex() function
/freebsd/contrib/ntp/ntpd/
H A Dntp_scanner.c522 int is_hex; in is_u_int() local
527 is_hex = TRUE; in is_u_int()
529 is_hex = FALSE; in is_u_int()
534 if (is_hex && !isxdigit((u_char)lexeme[i])) in is_u_int()
536 if (!is_hex && !isdigit((u_char)lexeme[i])) in is_u_int()
/freebsd/crypto/openssl/apps/
H A Dprime.c26 static int check_num(const char *s, const int is_hex) in check_num() argument
33 if (is_hex) { in check_num()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_cpio.c217 static int is_hex(const char *, size_t);
519 is_hex(const char *p, size_t len) in is_hex() function
550 && is_hex(p, newc_header_size)) in find_newc_header()
562 && is_hex(p, newc_header_size)) { in find_newc_header()
690 if (!is_hex(h + afiol_dev_offset, afiol_ino_m_offset - afiol_dev_offset)) in is_afio_large()
692 if (!is_hex(h + afiol_mode_offset, afiol_mtime_n_offset - afiol_mode_offset)) in is_afio_large()
694 if (!is_hex(h + afiol_namesize_offset, afiol_xsize_s_offset - afiol_namesize_offset)) in is_afio_large()
696 if (!is_hex(h + afiol_filesize_offset, afiol_filesize_size)) in is_afio_large()
/freebsd/contrib/pam-krb5/tests/tap/
H A Dbasic.h103 int is_hex(unsigned long, unsigned long, const char *format, ...)
H A Dbasic.c608 is_hex(unsigned long left, unsigned long right, const char *format, ...) in is_hex() function
/freebsd/contrib/libucl/src/
H A Ducl_parser.c754 is_time = false, valid_start = false, is_hex = false; in ucl_maybe_parse_number() local
765 if (is_hex && isxdigit(*p)) { in ucl_maybe_parse_number()
772 else if (!is_hex && (*p == 'x' || *p == 'X')) { in ucl_maybe_parse_number()
773 is_hex = true; in ucl_maybe_parse_number()
860 if (is_hex) { in ucl_maybe_parse_number()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Disassembler/LLVMC/
H A DDisassemblerLLVMC.cpp807 bool is_hex = false; in ParseImmediate() local
815 if (is_hex) { in ParseImmediate()
831 is_hex = true; in ParseImmediate()
/freebsd/contrib/wpa/src/utils/
H A Dcommon.h530 int is_hex(const u8 *data, size_t len);
H A Dcommon.c699 int is_hex(const u8 *data, size_t len) in is_hex() function
/freebsd/contrib/pam-krb5/tests/
H A DREADME112 test should use is_int(), is_string(), is_double(), or is_hex() as
/freebsd/contrib/wpa/src/ap/
H A Dwps_hostapd.c560 if (is_hex(cred->ssid, cred->ssid_len)) { in hapd_wps_cred_cb()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dconfig.c173 if (is_hex(value, len)) in wpa_config_write_string()