Searched refs:gl_pathv (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-10-stable/usr.sbin/sesutil/
H A Dsesutil.c212 if (strspn(g.gl_pathv[i] + 8, "0123456789") !=
213 strlen(g.gl_pathv[i] + 8)) {
216 if ((fd = open(g.gl_pathv[i], O_RDWR)) < 0) {
224 warn("unable to access SES device: %s", g.gl_pathv[i]);
333 if (strspn(g.gl_pathv[i] + 8, "0123456789") !=
334 strlen(g.gl_pathv[i] + 8)) {
337 if ((fd = open(g.gl_pathv[i], O_RDWR)) < 0) {
345 warn("unable to access SES device: %s", g.gl_pathv[i]);
365 printf("%s:\n", g.gl_pathv[i] + 5);
461 if (strspn(g.gl_pathv[
[all...]
/freebsd-10-stable/include/
H A Dglob.h51 size_t gl_offs; /* Reserved at beginning of gl_pathv. */
53 char **gl_pathv; /* List of paths matching pattern. */ member in struct:__anon5563
/freebsd-10-stable/contrib/tcsh/
H A Dglob.h43 int gl_offs; /* Reserved at beginning of gl_pathv. */
45 char **gl_pathv; /* List of paths matching pattern. */ member in struct:__anon372
H A Dglob.c304 pglob->gl_pathv = NULL;
456 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
658 * Extend the gl_pathv member of a glob_t structure to accomodate a new item,
668 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
669 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
679 pathv = xrealloc(pglob->gl_pathv, newsize);
681 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) {
687 pglob->gl_pathv = pathv;
769 if (pglob->gl_pathv != NULL) {
770 pp = pglob->gl_pathv
[all...]
H A Dsh.glob.c444 globv.gl_pathv = 0;
473 NULL : blk2short(globv.gl_pathv);
/freebsd-10-stable/crypto/openssh/openbsd-compat/
H A Dglob.c192 pglob->gl_pathv = NULL;
576 path_stat[i].gps_path = pglob->gl_pathv[o + i];
581 pglob->gl_pathv[o + i] = path_stat[i].gps_path;
586 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
782 * Extend the gl_pathv member of a glob_t structure to accommodate a new item,
792 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
793 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
814 if (pglob->gl_pathv && pglob->gl_pathv[i])
815 free(pglob->gl_pathv[
[all...]
H A Dglob.h58 int gl_offs; /* Reserved at beginning of gl_pathv. */
60 char **gl_pathv; /* List of paths matching pattern. */ member in struct:__anon8
61 struct stat **gl_statv; /* Stat entries corresponding to gl_pathv */
/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Dglob.hin60 int gl_offs; /* Reserved at beginning of gl_pathv. */
62 char **gl_pathv; /* List of paths matching pattern. */
H A Dglob.c180 pglob->gl_pathv = NULL;
482 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
635 * Extend the gl_pathv member of a glob_t structure to accomodate a new item,
645 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
646 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
658 pathv = pglob->gl_pathv ?
659 realloc(pglob->gl_pathv, newsize) :
664 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) {
670 pglob->gl_pathv = pathv;
748 if (pglob->gl_pathv !
[all...]
/freebsd-10-stable/crypto/openssh/
H A Dsftp.c625 for (i = 0; g.gl_pathv[i] && !interrupted; i++) {
626 tmp = xstrdup(g.gl_pathv[i]);
650 g.gl_pathv[i], abs_dst);
653 g.gl_pathv[i], abs_dst);
654 if (pathname_is_dir(g.gl_pathv[i]) && (rflag || global_rflag)) {
655 if (download_dir(conn, g.gl_pathv[i], abs_dst, NULL,
660 if (do_download(conn, g.gl_pathv[i], abs_dst, NULL,
712 for (i = 0; g.gl_pathv[i] && !interrupted; i++) {
713 if (stat(g.gl_pathv[i], &sb) == -1) {
715 error("stat %s: %s", g.gl_pathv[
[all...]
H A Dreadconf.c1521 gl.gl_pathv[i], depth,
1523 r = read_config_file_depth(gl.gl_pathv[i],
/freebsd-10-stable/usr.bin/login/
H A Dlogin_fbtab.c132 path = gl.gl_pathv[i];
/freebsd-10-stable/lib/libc/gen/
H A Dglob.c201 pglob->gl_pathv = NULL;
615 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
835 * Extend the gl_pathv member of a glob_t structure to accommodate a new item,
845 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
846 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
865 pathv = realloc((void *)pglob->gl_pathv, newsize);
869 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) {
875 pglob->gl_pathv = pathv;
970 if (pglob->gl_pathv != NULL) {
971 pp = pglob->gl_pathv
[all...]
/freebsd-10-stable/contrib/less/
H A Dlglob.h40 #define INIT_GLOB_LIST(list,p) p = list.gl_pathv[i]
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_glob.c212 DPRINTF(("%s\n", gl.gl_pathv[i]));
216 ATF_CHECK_STREQ(gl.gl_pathv[i], res[i]);
/freebsd-10-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dpopen.c154 for (pop = gl.gl_pathv;
H A Dftpcmd.y851 $$ = strdup(gl.gl_pathv[0]);
/freebsd-10-stable/libexec/ftpd/
H A Dpopen.c110 for (pop = gl.gl_pathv; *pop && gargc < (MAXGLOBARGS-1);
/freebsd-10-stable/contrib/unbound/util/
H A Dconfiglexer.lex146 config_start_include(g.gl_pathv[i]);
H A Dconfig_file.c838 if(!config_read(cfg, g.gl_pathv[i], chroot)) {
840 "include: %s", g.gl_pathv[i]);
/freebsd-10-stable/sbin/restore/
H A Dinteractive.c383 strncpy(name, ap->glob.gl_pathv[ap->glob.gl_pathc - ap->argcnt], size);
/freebsd-10-stable/contrib/unbound/validator/
H A Dval_anchor.c834 if(!anchor_read_bind_file(anchors, buffer, g.gl_pathv[i])) {
836 "trusted-keys-file: %s", g.gl_pathv[i]);
/freebsd-10-stable/crypto/heimdal/appl/ftp/ftp/
H A Dcmds.c544 for (cpp = gl.gl_pathv; cpp && *cpp != NULL; cpp++) {
1578 *cpp = strdup(gl.gl_pathv[0]); /* XXX - wasted memory */
/freebsd-10-stable/usr.sbin/newsyslog/
H A Dnewsyslog.c1008 mfname = pglob.gl_pathv[i];
1136 add_to_queue(pglob.gl_pathv[i],
/freebsd-10-stable/contrib/tnftp/src/
H A Dutil.c648 p = ftp_strdup(gl.gl_pathv[0]);

Completed in 185 milliseconds

12