Lines Matching refs:gl_offs
181 pglob->gl_offs = 0;
187 if (pglob->gl_offs < 0 || pglob->gl_pathc < 0 ||
188 pglob->gl_offs >= INT_MAX || pglob->gl_pathc >= INT_MAX ||
189 pglob->gl_pathc >= INT_MAX - pglob->gl_offs - 1)
552 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
746 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
759 newn = 2 + pglob->gl_pathc + pglob->gl_offs;
760 if (pglob->gl_offs >= INT_MAX ||
766 for (i = pglob->gl_offs; i < (ssize_t)(newn - 2); i++) {
787 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) {
788 /* first time around -- clear initial gl_offs items */
789 pathv += pglob->gl_offs;
790 for (i = pglob->gl_offs; --i >= 0; )
799 if (pglob->gl_statv == NULL && pglob->gl_offs > 0) {
800 /* first time around -- clear initial gl_offs items */
801 statv += pglob->gl_offs;
802 for (i = pglob->gl_offs; --i >= 0; )
807 statv[pglob->gl_offs + pglob->gl_pathc] = NULL;
815 if ((statv[pglob->gl_offs + pglob->gl_pathc] =
818 memcpy(statv[pglob->gl_offs + pglob->gl_pathc], sb,
821 statv[pglob->gl_offs + pglob->gl_pathc + 1] = NULL;
833 pathv[pglob->gl_offs + pglob->gl_pathc++] = copy;
835 pathv[pglob->gl_offs + pglob->gl_pathc] = NULL;
914 pp = pglob->gl_pathv + pglob->gl_offs;