Searched refs:pglob (Results 1 – 6 of 6) sorted by relevance
/external/openssh/openbsd-compat/ |
D | glob.c | 179 glob_t *pglob) in glob() argument 191 pglob->gl_pathc = 0; in glob() 192 pglob->gl_pathv = NULL; in glob() 193 pglob->gl_statv = NULL; in glob() 195 pglob->gl_offs = 0; in glob() 197 pglob->gl_flags = flags & ~GLOB_MAGCHAR; in glob() 198 pglob->gl_errfunc = errfunc; in glob() 199 pglob->gl_matchc = 0; in glob() 201 if (pglob->gl_offs < 0 || pglob->gl_pathc < 0 || in glob() 202 pglob->gl_offs >= INT_MAX || pglob->gl_pathc >= INT_MAX || in glob() [all …]
|
/external/openssh/ |
D | sftp-glob.c | 138 int (*errfunc)(const char *, int), glob_t *pglob) in remote_glob() argument 140 pglob->gl_opendir = fudge_opendir; in remote_glob() 141 pglob->gl_readdir = (struct dirent *(*)(void *))fudge_readdir; in remote_glob() 142 pglob->gl_closedir = (void (*)(void *))fudge_closedir; in remote_glob() 143 pglob->gl_lstat = fudge_lstat; in remote_glob() 144 pglob->gl_stat = fudge_stat; in remote_glob() 149 return(glob(pattern, flags | GLOB_ALTDIRFUNC, errfunc, pglob)); in remote_glob()
|
/external/libxml2/ |
D | testrecurse.c | 74 glob_t *pglob) { in glob() argument 82 if ((pattern == NULL) || (pglob == NULL)) return(-1); in glob() 96 ret = pglob; in glob() 138 static void globfree(glob_t *pglob) { in globfree() argument 140 if (pglob == NULL) in globfree() 143 for (i = 0;i < pglob->gl_pathc;i++) { in globfree() 144 if (pglob->gl_pathv[i] != NULL) in globfree() 145 free(pglob->gl_pathv[i]); in globfree()
|
D | runtest.c | 125 glob_t *pglob) { in glob() argument 133 if ((pattern == NULL) || (pglob == NULL)) return(-1); in glob() 147 ret = pglob; in glob() 189 static void globfree(glob_t *pglob) { in globfree() argument 191 if (pglob == NULL) in globfree() 194 for (i = 0;i < pglob->gl_pathc;i++) { in globfree() 195 if (pglob->gl_pathv[i] != NULL) in globfree() 196 free(pglob->gl_pathv[i]); in globfree()
|
/external/u-boot/common/ |
D | cli_hush.c | 452 static int globhack(const char *src, int flags, glob_t *pglob); 454 static int xglob(o_string *dest, int flags, glob_t *pglob); 2043 static int globhack(const char *src, int flags, glob_t *pglob) argument 2055 pglob->gl_pathv=NULL; 2056 pglob->gl_pathc=0; 2057 pglob->gl_offs=0; 2058 pglob->gl_offs=0; 2060 pathc = ++pglob->gl_pathc; 2061 pglob->gl_pathv = realloc(pglob->gl_pathv, (pathc+1)*sizeof(*pglob->gl_pathv)); 2062 if (pglob->gl_pathv == NULL) return GLOB_NOSPACE; [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 1821 static void unpoison_glob_t(void *ctx, __sanitizer_glob_t *pglob) { 1822 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, pglob, sizeof(*pglob)); 1824 if (pglob->gl_pathv) 1826 ctx, pglob->gl_pathv, (pglob->gl_pathc + 1) * sizeof(*pglob->gl_pathv)); 1827 for (SIZE_T i = 0; i < pglob->gl_pathc; ++i) { 1828 char *p = pglob->gl_pathv[i]; 1870 __sanitizer_glob_t *pglob) { 1872 COMMON_INTERCEPTOR_ENTER(ctx, glob, pattern, flags, errfunc, pglob); 1877 Swap(pglob->gl_closedir, glob_copy.gl_closedir); 1878 Swap(pglob->gl_readdir, glob_copy.gl_readdir); [all …]
|