Searched refs:is_octal (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/libarchive/cpio/test/ |
H A D | test_option_c.c | 10 is_octal(const char *p, size_t l) in is_octal() function 101 assert(is_octal(e, 76)); /* Entire header is octal digits. */ in DEFINE_TEST() 103 assert(is_octal(e + 6, 6)); /* dev */ in DEFINE_TEST() 105 assert(is_octal(e + 12, 6)); /* ino */ in DEFINE_TEST() 116 assert(is_octal(e + 30, 6)); /* gid */ in DEFINE_TEST() 133 assert(is_octal(e, 76)); /* Entire header is octal digits. */ in DEFINE_TEST() 159 assert(is_octal(e, 76)); in DEFINE_TEST() 162 assert(is_octal(e + 6, 6)); /* dev */ in DEFINE_TEST() 165 assert(is_octal(e + 12, 6)); /* ino */ in DEFINE_TEST() 177 assert(is_octal(e + 30, 6)); /* gid */ in DEFINE_TEST() [all …]
|
/freebsd/usr.bin/tr/ |
H A D | str.c | 58 int is_octal; in next() local 74 s->lastch = backslash(s, &is_octal); in next() 85 is_octal = 0; in next() 92 if (s->str[0] == '-' && genrange(s, is_octal)) in next() 339 backslash(STR *s, int *is_octal) in backslash() argument 343 if (is_octal != NULL) in backslash() 344 *is_octal = 0; in backslash() 356 if (is_octal != NULL) in backslash() 357 *is_octal = 1; in backslash()
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_cpio_odc.c | 28 is_octal(const char *p, size_t l) 147 assert(is_octal(e, 76)); /* Entire header is octal digits. */ in DEFINE_TEST() 164 assert(is_octal(e, 76)); /* Entire header is octal digits. */ in DEFINE_TEST() 181 assert(is_octal(e, 76)); in DEFINE_TEST() 197 assert(is_octal(e, 76)); /* Entire header is octal digits. */ in DEFINE_TEST() 217 assert(is_octal(e, 76)); in DEFINE_TEST() 30 is_octal(const char *p, size_t l) is_octal() function
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_cpio.c | 215 static int is_octal(const char *, size_t); 669 is_octal(const char *p, size_t len) in is_octal() function 716 if (memcmp("070707", p, 6) == 0 && is_octal(p, odc_header_size)) in find_odc_header() 731 && is_octal(p, odc_header_size)) in find_odc_header()
|