Searched refs:glob (Results 1 - 10 of 10) sorted by relevance

/haiku/src/bin/
H A Drmattr.cpp16 #include <glob.h>
63 glob_t glob;
64 memset(&glob, 0, sizeof(glob_t));
66 glob.gl_closedir = (void (*)(void *))fs_close_attr_dir;
67 glob.gl_readdir = (dirent* (*)(void*))fs_read_attr_dir;
68 glob.gl_opendir = open_attr_dir;
69 glob.gl_lstat = stat_attr;
70 glob.gl_stat = stat_attr;
75 int result = ::glob(attribute, GLOB_ALTDIRFUNC, NULL, &glob);
[all...]
H A Drmindex.cpp17 #include <glob.h>
142 glob_t glob; local
143 memset(&glob, 0, sizeof(glob_t));
145 glob.gl_closedir = (void (*)(void *))fs_close_index_dir;
146 glob.gl_readdir = (dirent *(*)(void *))fs_read_index_dir;
147 glob.gl_opendir = open_index_dir;
148 glob.gl_lstat = stat_index;
149 glob.gl_stat = stat_index;
154 int result = ::glob(indexPattern, GLOB_ALTDIRFUNC, NULL, &glob);
[all...]
/haiku/headers/posix/
H A Dglob.h44 int gl_flags; /* Copy of flags parameter to glob. */
46 /* Copy of errfunc parameter to glob. */
50 * Alternate filesystem access methods for glob; replacement
69 /* Error values returned by glob(3) */
88 int glob(const char *, int, int (*)(const char *, int), glob_t *);
/haiku/src/bin/network/ftpd/
H A Dpopen.c51 #include <glob.h>
101 /* glob each piece */
110 if (glob(argv[argc], flags, NULL, &gl))
H A Dftpcmd.y61 #include <glob.h>
1100 * Expand ~user manually since glob(3)
1103 * doesn't exist yet. Using sole glob(3)
1749 * Expand glob(3) patterns possibly present in a pathname.
1770 if (glob(s, flags, NULL, &gl) == 0 && gl.gl_pathc != 0) {
H A Dftpd.c77 #include <glob.h>
202 * Limit number of pathnames that glob can return.
3186 if (glob(whichf, flags, 0, &gl)) {
/haiku/src/system/libroot/posix/
H A Dglob.c34 static char sccsid[] = "@(#)glob.c 8.3 (Berkeley) 10/13/93";
37 //__FBSDID("$FreeBSD: src/lib/libc/gen/glob.c,v 1.27 2008/06/26 07:12:35 mtm Exp $");
40 * glob(3) -- a superset of the one defined in POSIX 1003.2.
61 * Number of matches in the current invocation of glob.
80 #include <glob.h>
172 glob(const char *pattern, int flags, int (*errfunc)(const char *, int), glob_t *pglob) function
241 * Expand recursively a glob {} pattern. When there is no more expansion
242 * invoke the standard globbing routine to glob the rest of the magic
266 * If it fails then it tries to glob the rest of the pattern and returns.
304 /* Non matching braces; just glob th
[all...]
/haiku/src/kits/package/manager/
H A DPackageManager.cpp13 #include <glob.h>
577 if (glob(globPath.String(), GLOB_NOSORT, NULL, &globbuf) == 0) {
/haiku/src/system/libroot/stubbed/
H A Dlibroot_stubs.c1893 void glob() {} function
H A Dlibroot_stubs_legacy.c1850 void glob() {} function

Completed in 204 milliseconds