Lines Matching refs:gl_offs
194 pglob->gl_offs = 0;
200 if (pglob->gl_offs < 0 || pglob->gl_pathc < 0 ||
201 pglob->gl_offs >= INT_MAX || pglob->gl_pathc >= INT_MAX ||
202 pglob->gl_pathc >= INT_MAX - pglob->gl_offs - 1)
570 int o = pglob->gl_offs + oldpathc;
585 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
792 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
805 newn = 2 + pglob->gl_pathc + pglob->gl_offs;
806 if (pglob->gl_offs >= INT_MAX ||
812 for (i = pglob->gl_offs; i < (ssize_t)(newn - 2); i++) {
833 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) {
834 /* first time around -- clear initial gl_offs items */
835 pathv += pglob->gl_offs;
836 for (i = pglob->gl_offs; --i >= 0; )
845 if (pglob->gl_statv == NULL && pglob->gl_offs > 0) {
846 /* first time around -- clear initial gl_offs items */
847 statv += pglob->gl_offs;
848 for (i = pglob->gl_offs; --i >= 0; )
853 statv[pglob->gl_offs + pglob->gl_pathc] = NULL;
861 if ((statv[pglob->gl_offs + pglob->gl_pathc] =
864 memcpy(statv[pglob->gl_offs + pglob->gl_pathc], sb,
867 statv[pglob->gl_offs + pglob->gl_pathc + 1] = NULL;
879 pathv[pglob->gl_offs + pglob->gl_pathc++] = copy;
881 pathv[pglob->gl_offs + pglob->gl_pathc] = NULL;
965 pp = pglob->gl_pathv + pglob->gl_offs;