Lines Matching refs:dirs
48 add_dir(struct vect *dirs, const char *str1, const char *str2)
52 && VECT_PUSHBACK(dirs, &dir) < 0)
61 struct vect *dirs = data;
63 add_dir(dirs, entry->pathname, "/ltrace");
82 static struct vect dirs;
92 *retp = VECT_ELEMENT(&dirs, const char *, 0);
94 *retp = VECT_ELEMENT(&dirs, const char *,
101 VECT_INIT(&dirs, char *);
132 add_dir(&dirs, xdg_home, "/ltrace");
134 add_dir(&dirs, home, "/.ltrace");
137 if (VECT_PUSHBACK(&dirs, &delim) < 0) {
143 VECT_DESTROY(&dirs, const char *, dict_dtor_string, NULL);
147 sys_start = vect_size(&dirs);
159 add_dir_component_cb, &dirs) != NULL)
169 add_dir(&dirs, pkgdatadir, "");
171 if (VECT_PUSHBACK(&dirs, &delim) < 0)