/freebsd/contrib/libarchive/cpio/test/ |
H A D | test_format_newc.c | 17 is_hex(const char *p, size_t l) in is_hex() function 175 assert(is_hex(e, 110)); /* Entire header is octal digits. */ in DEFINE_TEST() 206 assert(is_hex(e + 78, 8)); /* rdevmajor */ in DEFINE_TEST() 207 assert(is_hex(e + 86, 8)); /* rdevminor */ in DEFINE_TEST() 219 assert(is_hex(e, 110)); in DEFINE_TEST() 221 assert(is_hex(e + 6, 8)); /* ino */ in DEFINE_TEST() 240 assert(is_hex(e + 78, 8)); /* rdevmajor */ in DEFINE_TEST() 241 assert(is_hex(e + 86, 8)); /* rdevminor */ in DEFINE_TEST() 252 assert(is_hex(e, 110)); in DEFINE_TEST() 254 assert(is_hex(e + 6, 8)); /* ino */ in DEFINE_TEST() [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_cpio_newc.c | 28 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 D | ntp_scanner.c | 522 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 D | archive_read_support_format_cpio.c | 216 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 D | ucl_parser.c | 725 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 D | DisassemblerLLVMC.cpp | 800 bool is_hex = false; in ParseImmediate() 808 if (is_hex) { in ParseImmediate() 824 is_hex = true; in ParseImmediate() 781 bool is_hex = false; ParseImmediate() local
|
/freebsd/contrib/wpa/src/utils/ |
H A D | common.h | 530 int is_hex(const u8 *data, size_t len);
|
H A D | common.c | 699 int is_hex(const u8 *data, size_t len) in is_hex() function
|
/freebsd/contrib/wpa/src/ap/ |
H A D | wps_hostapd.c | 560 if (is_hex(cred->ssid, cred->ssid_len)) { in hapd_wps_cred_cb()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | config.c | 173 if (is_hex(value, len)) in wpa_config_write_string()
|