Home
last modified time | relevance | path

Searched refs:gl_pathv (Results 1 – 4 of 4) sorted by relevance

/bionic/tests/
Dglob_test.cpp81 ASSERT_STREQ("/proc/version", g.gl_pathv[0]); in TEST()
82 ASSERT_EQ(nullptr, g.gl_pathv[1]); in TEST()
86 ASSERT_STREQ("/proc/version", g.gl_pathv[0]); in TEST()
87 ASSERT_STREQ("/proc/version", g.gl_pathv[1]); in TEST()
88 ASSERT_EQ(nullptr, g.gl_pathv[2]); in TEST()
98 ASSERT_EQ(nullptr, g.gl_pathv[0]); in TEST()
99 ASSERT_EQ(nullptr, g.gl_pathv[1]); in TEST()
100 ASSERT_STREQ("/proc/version", g.gl_pathv[2]); in TEST()
101 ASSERT_EQ(nullptr, g.gl_pathv[3]); in TEST()
150 ASSERT_EQ(std::string(td.path) + "/", g.gl_pathv[0]); in TEST()
[all …]
/bionic/tests/headers/posix/
Dglob_h.c36 STRUCT_MEMBER(glob_t, char**, gl_pathv); in glob_h()
/bionic/libc/include/
Dglob.h50 char** gl_pathv; /* List of paths matching pattern. */ member
/bionic/libc/upstream-freebsd/lib/libc/gen/
Dglob.c201 pglob->gl_pathv = NULL; in glob()
616 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc, in globfinal()
866 pathv = reallocarray(pglob->gl_pathv, newn, sizeof(*pathv)); in globextend()
870 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) { in globextend()
876 pglob->gl_pathv = pathv; in globextend()
990 if (pglob->gl_pathv != NULL) { in globfree()
991 pp = pglob->gl_pathv + pglob->gl_offs; in globfree()
995 free(pglob->gl_pathv); in globfree()
996 pglob->gl_pathv = NULL; in globfree()