Home
last modified time | relevance | path

Searched refs:gl_pathc (Results 1 – 16 of 16) sorted by relevance

/external/openssh/openbsd-compat/
Dglob.c190 pglob->gl_pathc = 0; in glob()
200 if (pglob->gl_offs < 0 || pglob->gl_pathc < 0 || in glob()
201 pglob->gl_offs >= INT_MAX || pglob->gl_pathc >= INT_MAX || in glob()
202 pglob->gl_pathc >= INT_MAX - pglob->gl_offs - 1) in glob()
478 oldpathc = pglob->gl_pathc;
556 if (pglob->gl_pathc == oldpathc) {
569 int n = pglob->gl_pathc - oldpathc;
586 pglob->gl_pathc - oldpathc, sizeof(char *),
805 newn = 2 + pglob->gl_pathc + pglob->gl_offs;
807 pglob->gl_pathc >= INT_MAX ||
[all …]
Dglob.h52 int gl_pathc; /* Count of total paths so far. */ member
/external/libxml2/
Dtestrecurse.c66 size_t gl_pathc; /* Count of paths matched so far */ member
109 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
110 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
112 ret->gl_pathc++; in glob()
116 if (ret->gl_pathc + 2 > nb_paths) { in glob()
124 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
125 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
127 ret->gl_pathc++; in glob()
129 ret->gl_pathv[ret->gl_pathc] = NULL; in glob()
143 for (i = 0;i < pglob->gl_pathc;i++) { in globfree()
[all …]
Druntest.c112 size_t gl_pathc; /* Count of paths matched so far */ member
155 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
156 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
158 ret->gl_pathc++; in glob()
162 if (ret->gl_pathc + 2 > nb_paths) { in glob()
170 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
171 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
173 ret->gl_pathc++; in glob()
175 ret->gl_pathv[ret->gl_pathc] = NULL; in glob()
189 for (i = 0;i < pglob->gl_pathc;i++) { in globfree()
[all …]
/external/compiler-rt/test/msan/Linux/
Dglob_nomatch.cc17 assert(globbuf.gl_pathc == 0); in main()
Dglob.cc21 assert(globbuf.gl_pathc == 2); in main()
Dglob_altdirfunc.cc67 assert(globbuf.gl_pathc == 2); in main()
/external/compiler-rt/test/asan/TestCases/Posix/
Dglob.cc26 assert(globbuf.gl_pathc == 2); in main()
/external/selinux/policycoreutils/restorecond/
Dwatch.c60 for (i=0; i < globbuf.gl_pathc; i++) { in watch_list_add()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h632 uptr gl_pathc; member
645 uptr gl_pathc; member
Dsanitizer_platform_limits_posix.cc925 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
Dsanitizer_common_interceptors.inc1482 ctx, pglob->gl_pathv, (pglob->gl_pathc + 1) * sizeof(*pglob->gl_pathv));
1483 for (SIZE_T i = 0; i < pglob->gl_pathc; ++i) {
/external/openssh/
Dsftp.c881 (g.gl_pathc && !g.gl_matchc)) { in do_globbed_ls()
882 if (g.gl_pathc) in do_globbed_ls()
945 if (g.gl_pathc) in do_globbed_ls()
1634 if (g.gl_pathc) in parse_dispatch_command()
/external/selinux/policycoreutils/setfiles/
Drestore.c382 for (i = 0; i < globbuf.gl_pathc; i++) { in process_glob()
/external/selinux/policycoreutils/sandbox/
Dseunshare.c337 for ( i=0; i < fglob.gl_pathc; i++) { in rsynccmd()
/external/selinux/policycoreutils/mcstrans/src/
Dmcstrans.c807 for (n=0; n < g.gl_pathc; n++) { in process_trans()