Home
last modified time | relevance | path

Searched refs:pglob (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/sox/git/src/win32/
H A Dglob.c67 glob_t *pglob) in glob() argument
77 if (!pattern || flags != (flags & GLOB_FLAGS) || unused || !pglob) in glob()
118 pglob->gl_pathv = malloc((entries + 1) * sizeof(char*)); in glob()
119 if (pglob->gl_pathv) in glob()
121 pglob->gl_pathc = entries; in glob()
122 pglob->gl_pathv[entries] = NULL; in glob()
124 pglob->gl_pathv[entries - 1] = (char*)head; in glob()
125 qsort(pglob->gl_pathv, pglob->gl_pathc, sizeof(char*), entry_comparer); in glob()
129 pglob->gl_pathc = 0; in glob()
133 else if (pglob) in glob()
[all …]
H A Dglob.h39 glob_t *pglob);
43 glob_t* pglob);
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd/
H A D0007-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch44 int safe_glob(const char *path, int flags, glob_t *pglob) {
51 @@ -32,9 +39,14 @@ int safe_glob(const char *path, int flags, glob_t *pglob) {
52 pglob->gl_lstat = lstat;
53 if (!pglob->gl_stat)
54 pglob->gl_stat = stat;
59 k = glob(path, flags | GLOB_ALTDIRFUNC, NULL, pglob);
61 + k = glob(path, flags, NULL, pglob);
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0007-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch42 int safe_glob(const char *path, int flags, glob_t *pglob) {
50 pglob->gl_lstat = lstat;
51 if (!pglob->gl_stat)
52 pglob->gl_stat = stat;
57 k = glob(path, flags | GLOB_ALTDIRFUNC, NULL, pglob);
59 + k = glob(path, flags, NULL, pglob);
/OK3568_Linux_fs/u-boot/common/
H A Dcli_hush.c453 static int globhack(const char *src, int flags, glob_t *pglob);
455 static int xglob(o_string *dest, int flags, glob_t *pglob);
2044 static int globhack(const char *src, int flags, glob_t *pglob) argument
2056 pglob->gl_pathv=NULL;
2057 pglob->gl_pathc=0;
2058 pglob->gl_offs=0;
2059 pglob->gl_offs=0;
2061 pathc = ++pglob->gl_pathc;
2062 pglob->gl_pathv = realloc(pglob->gl_pathv, (pathc+1)*sizeof(*pglob->gl_pathv));
2063 if (pglob->gl_pathv == NULL) return GLOB_NOSPACE;
[all …]