Lines Matching refs:directory
32 static string_list_ty *directory /* = NULL */; variable
39 if (directory == NULL) in dir_list_append()
40 directory = string_list_alloc (); in dir_list_append()
41 string_list_append_unique (directory, s); in dir_list_append()
50 if (directory == NULL) in dir_list_nth()
53 if (n < 0 || n >= directory->nitems) in dir_list_nth()
55 return directory->item[n]; in dir_list_nth()
64 void *saved_value = directory; in dir_list_save_reset()
66 directory = NULL; in dir_list_save_reset()
77 if (directory != NULL) in dir_list_restore()
79 if (directory->item != NULL) in dir_list_restore()
80 free (directory->item); in dir_list_restore()
81 free (directory); in dir_list_restore()
84 directory = (string_list_ty *) saved_value; in dir_list_restore()