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

/freebsd-11-stable/contrib/libarchive/cpio/test/
H A Dtest_option_c.c29 is_octal(const char *p, size_t l) function
120 assert(is_octal(e, 76)); /* Entire header is octal digits. */
122 assert(is_octal(e + 6, 6)); /* dev */
124 assert(is_octal(e + 12, 6)); /* ino */
135 assert(is_octal(e + 30, 6)); /* gid */
152 assert(is_octal(e, 76)); /* Entire header is octal digits. */
178 assert(is_octal(e, 76));
181 assert(is_octal(e + 6, 6)); /* dev */
184 assert(is_octal(e + 12, 6)); /* ino */
196 assert(is_octal(
[all...]
/freebsd-11-stable/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-11-stable/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-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_cpio.c216 static int is_octal(const char *, size_t);
670 is_octal(const char *p, size_t len) function
717 if (memcmp("070707", p, 6) == 0 && is_octal(p, odc_header_size))
732 && is_octal(p, odc_header_size))

Completed in 136 milliseconds