Lines Matching defs:file
49 char *buff, *e, *file;
66 /* "file" with 10 bytes of content */
69 archive_entry_set_pathname(entry, "file");
81 /* Hardlink to "file" with 10 bytes of content */
108 /* "symlink" pointing to "file" */
114 archive_entry_set_symlink(entry,"file");
147 /* "file" */
148 file = e; /* Remember where this starts... */
161 assertEqualMem(e + 76, "file\0", 5); /* Name contents */
165 /* hardlink to "file" */
169 assertEqualMem(e + 12, file + 12, 6); /* ino must match above */
198 /* "symlink" pointing to "file" */
202 assert(memcmp(e + 12, file + 12, 6) != 0); /* ino must != file ino */
213 assertEqualMem(e + 84, "file", 4); /* File contents == link target */