Lines Matching refs:gl_pathv

453 	      pglob->gl_pathv = NULL;
605 pglob->gl_pathv = NULL;
811 pglob->gl_pathv
812 = (char **) realloc (pglob->gl_pathv,
818 if (pglob->gl_pathv == NULL)
823 pglob->gl_pathv[pglob->gl_pathc++] = NULL;
826 pglob->gl_pathv[pglob->gl_pathc] = strdup (dirname);
832 pglob->gl_pathv[pglob->gl_pathc] = memcpy (dircopy, dirname,
836 if (pglob->gl_pathv[pglob->gl_pathc] == NULL)
838 free (pglob->gl_pathv);
841 pglob->gl_pathv[++pglob->gl_pathc] = NULL;
888 status = glob_in_dir (filename, dirs.gl_pathv[i],
904 if (prefix_array (dirs.gl_pathv[i],
905 &pglob->gl_pathv[old_pathc],
930 pglob->gl_pathv
931 = (char **) realloc (pglob->gl_pathv,
937 if (pglob->gl_pathv == NULL)
945 pglob->gl_pathv[pglob->gl_pathc++] = NULL;
949 const char *dir = dirs.gl_pathv[i];
959 pglob->gl_pathv[pglob->gl_pathc] = malloc (dir_len + 1
961 if (pglob->gl_pathv[pglob->gl_pathc] == NULL)
969 mempcpy (mempcpy (mempcpy (pglob->gl_pathv[pglob->gl_pathc],
974 memcpy (pglob->gl_pathv[pglob->gl_pathc], dir, dir_len);
975 pglob->gl_pathv[pglob->gl_pathc][dir_len] = '/';
976 memcpy (&pglob->gl_pathv[pglob->gl_pathc][dir_len + 1],
982 pglob->gl_pathv[pglob->gl_pathc] = NULL;
986 new_pathv = (char **) realloc (pglob->gl_pathv,
990 pglob->gl_pathv = new_pathv;
1013 &pglob->gl_pathv[ignore],
1029 ? (*pglob->gl_stat) (pglob->gl_pathv[i], &st)
1030 : __stat (pglob->gl_pathv[i], &st)) == 0
1033 size_t len = strlen (pglob->gl_pathv[i]) + 2;
1034 char *new = realloc (pglob->gl_pathv[i], len);
1041 pglob->gl_pathv[i] = new;
1053 qsort ((__ptr_t) &pglob->gl_pathv[non_sort],
1067 if (pglob->gl_pathv != NULL)
1071 if (pglob->gl_pathv[i] != NULL)
1072 free ((__ptr_t) pglob->gl_pathv[i]);
1073 free ((__ptr_t) pglob->gl_pathv);
1376 pglob->gl_pathv
1377 = (char **) realloc (pglob->gl_pathv,
1382 if (pglob->gl_pathv == NULL)
1387 pglob->gl_pathv[pglob->gl_pathc++] = NULL;
1390 pglob->gl_pathv[pglob->gl_pathc++] = names->name;
1391 pglob->gl_pathv[pglob->gl_pathc] = NULL;