Lines Matching refs:gl_pathc

452 	      pglob->gl_pathc = 0;
455 firstc = pglob->gl_pathc;
498 if (pglob->gl_pathc != firstc)
604 pglob->gl_pathc = 0;
608 oldcount = pglob->gl_pathc;
813 (pglob->gl_pathc +
822 while (pglob->gl_pathc < pglob->gl_offs)
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)
841 pglob->gl_pathv[++pglob->gl_pathc] = NULL;
869 for (i = 0; i < dirs.gl_pathc; ++i)
887 old_pathc = pglob->gl_pathc;
906 pglob->gl_pathc - old_pathc))
920 if (pglob->gl_pathc == oldcount)
932 (pglob->gl_pathc +
935 dirs.gl_pathc + 1) *
944 while (pglob->gl_pathc < pglob->gl_offs)
945 pglob->gl_pathv[pglob->gl_pathc++] = NULL;
947 for (i = 0; i < dirs.gl_pathc; ++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],
979 ++pglob->gl_pathc;
982 pglob->gl_pathv[pglob->gl_pathc] = NULL;
987 ((pglob->gl_pathc + 1)
1014 pglob->gl_pathc - ignore))
1027 for (i = oldcount; i < pglob->gl_pathc; ++i)
1054 pglob->gl_pathc - non_sort,
1070 for (i = 0; i < pglob->gl_pathc; ++i)
1378 (pglob->gl_pathc +
1386 while (pglob->gl_pathc < pglob->gl_offs)
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;