Searched refs:is_hex (Results 1 – 6 of 6) sorted by relevance
| /freebsd-9-stable/contrib/libarchive/cpio/test/ |
| D | test_format_newc.c | 36 is_hex(const char *p, size_t l) in is_hex() function 142 assert(is_hex(e, 110)); /* Entire header is octal digits. */ in DEFINE_TEST() 169 assert(is_hex(e + 78, 8)); /* rdevmajor */ in DEFINE_TEST() 170 assert(is_hex(e + 86, 8)); /* rdevminor */ in DEFINE_TEST() 182 assert(is_hex(e, 110)); in DEFINE_TEST() 184 assert(is_hex(e + 6, 8)); /* ino */ in DEFINE_TEST() 197 assert(is_hex(e + 78, 8)); /* rdevmajor */ in DEFINE_TEST() 198 assert(is_hex(e + 86, 8)); /* rdevminor */ in DEFINE_TEST() 209 assert(is_hex(e, 110)); in DEFINE_TEST() 211 assert(is_hex(e + 6, 8)); /* ino */ in DEFINE_TEST() [all …]
|
| /freebsd-9-stable/contrib/libarchive/libarchive/test/ |
| D | test_write_format_cpio_newc.c | 30 is_hex(const char *p, size_t l) in is_hex() function 128 assert(is_hex(e, 110)); /* Entire header is hex digits. */ in DEFINE_TEST() 149 assert(is_hex(e, 110)); in DEFINE_TEST() 169 assert(is_hex(e, 110)); /* Entire header is hex digits. */ in DEFINE_TEST() 192 assert(is_hex(e, 76)); in DEFINE_TEST()
|
| /freebsd-9-stable/contrib/ntp/ntpd/ |
| D | ntp_scanner.c | 512 int is_hex; in is_u_int() local 517 is_hex = TRUE; in is_u_int() 519 is_hex = FALSE; in is_u_int() 524 if (is_hex && !isxdigit((u_char)lexeme[i])) in is_u_int() 526 if (!is_hex && !isdigit((u_char)lexeme[i])) in is_u_int()
|
| /freebsd-9-stable/contrib/libarchive/libarchive/ |
| D | archive_read_support_format_cpio.c | 141 static int is_hex(const char *, size_t); 330 is_hex(const char *p, size_t len) in is_hex() function 361 && is_hex(p, sizeof(struct cpio_newc_header))) in find_newc_header() 373 && is_hex(p, sizeof(struct cpio_newc_header))) { in find_newc_header()
|
| /freebsd-9-stable/contrib/libucl/src/ |
| D | ucl_parser.c | 574 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-9-stable/contrib/wpa/wpa_supplicant/ |
| D | config.c | 156 static int is_hex(const u8 *data, size_t len) in is_hex() function 202 if (is_hex(value, len)) in wpa_config_write_string()
|