HomeSort by: relevance | last modified time | path
    Searched refs:destdir_len (Results 1 - 2 of 2) sorted by relevancy

  /src/external/bsd/libarchive/dist/cpio/
cpio.h 48 size_t destdir_len; member in struct:cpio
cpio.c 747 len = cpio->destdir_len + strlen(srcpath) + 8;
1244 cpio->destdir_len = strlen(destdir);
1245 cpio->destdir = malloc(cpio->destdir_len + 8);
1246 memcpy(cpio->destdir, destdir, cpio->destdir_len);
1247 if (cpio->destdir_len == 0 || destdir[cpio->destdir_len - 1] != '/')
1248 cpio->destdir[cpio->destdir_len++] = '/';
1249 cpio->destdir[cpio->destdir_len] = '\0';

Completed in 18 milliseconds