Lines Matching defs:table

423 static void add_file_to_table(file_list_t *table[], char *str);
427 static void build_table(file_list_t *table[], char *file);
479 static int is_in_table(file_list_t *table[], char *str);
5488 * A hash table of file names to be {in,ex}cluded is built.
5496 build_table(file_list_t *table[], char *file)
5506 /* Only add to table if line has something in it */
5508 add_file_to_table(table, buf);
5515 * Add a file name to the the specified table, if the file name has any
5516 * trailing '/'s then delete them before inserting into the table
5520 add_file_to_table(file_list_t *table[], char *str)
5535 "tar: out of memory, exclude/include table(entry)\n"));
5541 "tar: out of memory, exclude/include table(file name)\n"));
5545 exp->next = table[h];
5546 table[h] = exp;
5552 * specified table, if the file name has any trailing '/'s then delete
5553 * them before searching the table
5557 is_in_table(file_list_t *table[], char *str)
5573 exp = table[h];
5587 exp = table[h];
5754 * a file from an archive (as opposed to doing a table of
5766 * generating a table of contents, or if both -@ and -/ were
6151 * If we are printing a table of contents or extracting an archive,
6262 hash_lookup_byval(cachenode_t *table[], int val)
6267 for (c = table[h & (HASHSIZE - 1)]; c != NULL; c = c->next) {
6275 hash_lookup_byname(cachenode_t *table[], char *name)
6280 for (c = table[h & (HASHSIZE - 1)]; c != NULL; c = c->next) {
6288 hash_insert(cachenode_t *table[], char *name, int value)
6303 if (table == uids || table == gids)
6307 c->next = table[signature & (HASHSIZE - 1)];
6308 table[signature & (HASHSIZE - 1)] = c;
6547 static timestruc_t modtimes[PATH_MAX+1]; /* hash table */
6690 * 't' function letter to display table