Searched refs:is_octal (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.0-release/contrib/libarchive/cpio/test/
H A Dtest_option_c.c29 is_octal(const char *p, size_t l) function
124 assert(is_octal(e, 76)); /* Entire header is octal digits. */
126 assert(is_octal(e + 6, 6)); /* dev */
128 assert(is_octal(e + 12, 6)); /* ino */
139 assert(is_octal(e + 30, 6)); /* gid */
156 assert(is_octal(e, 76)); /* Entire header is octal digits. */
182 assert(is_octal(e, 76));
185 assert(is_octal(e + 6, 6)); /* dev */
188 assert(is_octal(e + 12, 6)); /* ino */
200 assert(is_octal(
[all...]
/freebsd-10.0-release/usr.bin/tr/
H A Dstr.c62 int is_octal; local
78 s->lastch = backslash(s, &is_octal);
89 is_octal = 0;
96 if (s->str[0] == '-' && genrange(s, is_octal))
343 backslash(STR *s, int *is_octal) argument
347 if (is_octal != NULL)
348 *is_octal = 0;
360 if (is_octal != NULL)
361 *is_octal = 1;
/freebsd-10.0-release/contrib/libarchive/libarchive/test/
H A Dtest_write_format_cpio_odc.c30 is_octal(const char *p, size_t l) function
149 assert(is_octal(e, 76)); /* Entire header is octal digits. */
166 assert(is_octal(e, 76)); /* Entire header is octal digits. */
183 assert(is_octal(e, 76));
199 assert(is_octal(e, 76)); /* Entire header is octal digits. */
219 assert(is_octal(e, 76));
/freebsd-10.0-release/contrib/libarchive/libarchive/
H A Darchive_read_support_format_cpio.c214 static int is_octal(const char *, size_t);
649 is_octal(const char *p, size_t len) function
696 if (memcmp("070707", p, 6) == 0 && is_octal(p, odc_header_size))
711 && is_octal(p, odc_header_size))

Completed in 131 milliseconds