Home | History | Annotate | Download | only in squashfs-tools

Lines Matching defs:source

55 static char *cur_ptr, *source;
289 fprintf(stderr, "Failed to parse action \"%s\"\n", source);
456 cur_ptr = source = s;
1488 else if (strcmp(argv[0], "source") == 0)
1494 "argument containing \"all\", \"source\", or \"excluded\""
1631 struct dir_info *dest, *source = dir_ent->our_dir;
1648 dest = source;
1668 * rename source to
1685 * trying to move source to a subdirectory of
1724 if(dest != source) {
1748 static int subdirectory(struct dir_info *source, struct dir_info *dest)
1750 if(source == NULL)
1753 return strlen(source->subpath) <= strlen(dest->subpath) &&
1754 (dest->subpath[strlen(source->subpath)] == '/' ||
1755 dest->subpath[strlen(source->subpath)] == '\0') &&
1756 strncmp(source->subpath, dest->subpath,
1757 strlen(source->subpath)) == 0;
1876 struct dir_info *source = dir_ent->our_dir,
1893 /* Remove the file from source directory */
1894 for(comp_ent = source->list; comp_ent != dir_ent;
1900 source->list = comp_ent->next;
1902 source->count --;
1904 source->directory_count --;
2637 * SOURCE_PATHNAME: the pathname of the file in the source
2810 char *save_source = source;
2812 cur_ptr = source = atom->argv[argno];
2816 source = save_source;
2910 * exist in the source filestem (but not in the output filesystem then
2978 * exist in the source filestem (but not in the output filesystem then