Home
last modified time | relevance | path

Searched refs:n_dirs (Results 1 – 2 of 2) sorted by relevance

/third_party/e2fsprogs/lib/ss/
Dhelp.c137 int n_dirs; in ss_add_info_dir() local
151 for (n_dirs = 0; dirs[n_dirs] != (char *)NULL; n_dirs++) in ss_add_info_dir()
154 (unsigned)(n_dirs + 2)*sizeof(char *)); in ss_add_info_dir()
160 dirs[n_dirs + 1] = (char *)NULL; in ss_add_info_dir()
161 dirs[n_dirs] = malloc((unsigned)strlen(info_dir)+1); in ss_add_info_dir()
162 if (dirs[n_dirs] == (char *)NULL) { in ss_add_info_dir()
166 strcpy(dirs[n_dirs], info_dir); in ss_add_info_dir()
/third_party/glib/gio/xdgmime/
Dxdgmime.c228 size_t n_dirs = 0; in xdg_init_dirs() local
242 n_dirs++; in xdg_init_dirs()
243 n_dirs++; /* initial entry in @xdg_data_dirs */ in xdg_init_dirs()
246 n_dirs++; in xdg_init_dirs()
248 xdg_dirs = calloc (n_dirs + 1 /* NULL terminator */, sizeof (char *)); in xdg_init_dirs()