Lines Matching defs:as

375 		 * in this case, 4096 seems excessive so I picked 10 as
431 /* Handle UTF-8 filenames as libarchive 2.x */
528 tar->realsize = -1; /* Mark this as "unset" */
737 /* Try to consume a second all-null record, as well. */
798 case 'X': /* Used by SUN tar; same as 'x'. */
848 /* We return warnings or success as-is. Anything else is fatal. */
878 * this situation as an empty archive */
1131 struct archive_string *as, const void *h, size_t *unconsumed)
1147 if (archive_string_ensure(as, (size_t)size+1) == NULL) {
1162 memcpy(as->s, src, (size_t)size);
1163 as->s[size] = '\0';
1164 as->length = (size_t)size;
1171 * This would be the same as header_old_tar, except that the
1327 * As far as I can tell, this is just like a regular file
1356 * treated as regular files.
1438 /* Read the body as a Mac OS metadata blob. */
1450 * entry as-is, without consuming the body here.
1526 struct archive_string *as;
1532 as = &(tar->entry_pathname);
1534 archive_strncpy(as, header->prefix, sizeof(header->prefix));
1535 if (as->s[archive_strlen(as) - 1] != '/')
1536 archive_strappend_char(as, '/');
1537 archive_strncat(as, header->name, sizeof(header->name));
1539 archive_strncpy(as, header->name, sizeof(header->name));
1541 if (archive_entry_copy_pathname_l(entry, as->s, archive_strlen(as),
1596 struct archive_string *as;
1683 * PAX format uses UTF-8 as default charset for its metadata
1724 * Some extensions (such as the GNU sparse file extensions)
1732 as = NULL;
1734 as = &(tar->entry_pathname_override);
1736 as = &(tar->entry_pathname);
1737 if (as != NULL) {
1738 if (archive_entry_copy_pathname_l(entry, as->s,
1739 archive_strlen(as), sconv) != 0) {
1744 archive_entry_copy_pathname(entry, as->s);
2218 * filename is stored as in old-style archives.
2335 * format as 'size' field in ustart header). These are
2337 * as needed. Extending the header in this way is a pretty
2458 * The idea: The offset/size data is stored as a series of base-10
2474 * Read the next line from the input, and parse it as a decimal
2928 /* Else fall through and treat '%' as normal char */