Home
last modified time | relevance | path

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

/freebsd/contrib/libarchive/cpio/test/
H A Dtest_format_newc.c35 is_hex(const char *p, size_t l) in is_hex() function
224 assert(is_hex(e + 78, 8)); /* rdevmajor */ in DEFINE_TEST()
225 assert(is_hex(e + 86, 8)); /* rdevminor */ in DEFINE_TEST()
237 assert(is_hex(e, 110)); in DEFINE_TEST()
239 assert(is_hex(e + 6, 8)); /* ino */ in DEFINE_TEST()
270 assert(is_hex(e, 110)); in DEFINE_TEST()
272 assert(is_hex(e + 6, 8)); /* ino */ in DEFINE_TEST()
294 assert(is_hex(e + 78, 8)); /* rdevmajor */ in DEFINE_TEST()
295 assert(is_hex(e + 86, 8)); /* rdevminor */ in DEFINE_TEST()
306 assert(is_hex(e, 110)); 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) in is_hex() function
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()
/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/contrib/libarchive/libarchive/
H A Darchive_read_support_format_cpio.c216 static int is_hex(const char *, size_t);
518 is_hex(const char *p, size_t len) in is_hex() function
549 && is_hex(p, newc_header_size)) in find_newc_header()
561 && is_hex(p, newc_header_size)) { in find_newc_header()
689 if (!is_hex(h + afiol_dev_offset, afiol_ino_m_offset - afiol_dev_offset)) in is_afio_large()
691 if (!is_hex(h + afiol_mode_offset, afiol_mtime_n_offset - afiol_mode_offset)) in is_afio_large()
693 if (!is_hex(h + afiol_namesize_offset, afiol_xsize_s_offset - afiol_namesize_offset)) in is_afio_large()
695 if (!is_hex(h + afiol_filesize_offset, afiol_filesize_size)) in is_afio_large()
/freebsd/contrib/libucl/src/
H A Ducl_parser.c725 is_time = false, valid_start = false, is_hex = false, in ucl_maybe_parse_number() local
736 if (is_hex && isxdigit (*p)) { in ucl_maybe_parse_number()
743 else if (!is_hex && (*p == 'x' || *p == 'X')) { in ucl_maybe_parse_number()
744 is_hex = true; in ucl_maybe_parse_number()
810 if (is_hex) { in ucl_maybe_parse_number()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Disassembler/LLVMC/
H A DDisassemblerLLVMC.cpp800 bool is_hex = false; in ParseImmediate() local
808 if (is_hex) { in ParseImmediate()
824 is_hex = true; in ParseImmediate()
/freebsd/contrib/wpa/src/utils/
H A Dcommon.h510 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/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()