Home
last modified time | relevance | path

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

12345678910

/aosp_15_r20/bionic/tests/
H A Dglob_test.cpp76 ASSERT_EQ(0U, g.gl_pathc); in TEST()
83 ASSERT_EQ(1U, g.gl_pathc); in TEST()
88 ASSERT_EQ(2U, g.gl_pathc); in TEST()
100 ASSERT_EQ(1U, g.gl_pathc); in TEST()
162 ASSERT_EQ(1U, g.gl_pathc); in TEST()
170 ASSERT_EQ(1U, g.gl_pathc); in TEST()
181 ASSERT_EQ(1U, g.gl_pathc); in TEST()
196 ASSERT_EQ(4U, g.gl_pathc); in TEST()
205 ASSERT_EQ(4U, g.gl_pathc); in TEST()
240 ASSERT_EQ(expected_matches.size(), g.gl_pathc); in CheckGlob()
/aosp_15_r20/external/libxml2/
H A Dtestrecurse.c65 size_t gl_pathc; /* Count of paths matched so far */ member
108 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
109 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
111 ret->gl_pathc++; in glob()
115 if (ret->gl_pathc + 2 > nb_paths) { in glob()
123 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
124 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
126 ret->gl_pathc++; in glob()
128 ret->gl_pathv[ret->gl_pathc] = NULL; in glob()
142 for (i = 0;i < pglob->gl_pathc;i++) { in globfree()
[all …]
H A Druntest.c129 size_t gl_pathc; /* Count of paths matched so far */ member
172 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
173 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
175 ret->gl_pathc++; in glob()
179 if (ret->gl_pathc + 2 > nb_paths) { in glob()
187 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
188 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
190 ret->gl_pathc++; in glob()
192 ret->gl_pathv[ret->gl_pathc] = NULL; in glob()
206 for (i = 0;i < pglob->gl_pathc;i++) { in globfree()
[all …]
/aosp_15_r20/external/cronet/third_party/libxml/src/
H A Dtestrecurse.c62 size_t gl_pathc; /* Count of paths matched so far */ member
105 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
106 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
108 ret->gl_pathc++; in glob()
112 if (ret->gl_pathc + 2 > nb_paths) { in glob()
120 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
121 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
123 ret->gl_pathc++; in glob()
125 ret->gl_pathv[ret->gl_pathc] = NULL; in glob()
139 for (i = 0;i < pglob->gl_pathc;i++) { in globfree()
[all …]
H A Druntest.c116 size_t gl_pathc; /* Count of paths matched so far */ member
159 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
160 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
162 ret->gl_pathc++; in glob()
166 if (ret->gl_pathc + 2 > nb_paths) { in glob()
174 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
175 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
177 ret->gl_pathc++; in glob()
179 ret->gl_pathv[ret->gl_pathc] = NULL; in glob()
193 for (i = 0;i < pglob->gl_pathc;i++) { in globfree()
[all …]
/aosp_15_r20/external/trusty/musl/src/regex/
Dglob.c197 g->gl_pathc = 0; in glob()
226 char **pathv = realloc(g->gl_pathv, (offs + g->gl_pathc + cnt + 1) * sizeof(char *)); in glob()
232 offs += g->gl_pathc; in glob()
245 g->gl_pathc += cnt; in glob()
256 for (i=0; i<g->gl_pathc; i++) in globfree()
259 g->gl_pathc = 0; in globfree()
/aosp_15_r20/external/musl/src/regex/
H A Dglob.c239 g->gl_pathc = 0; in glob()
273 char **pathv = realloc(g->gl_pathv, (offs + g->gl_pathc + cnt + 1) * sizeof(char *)); in glob()
279 offs += g->gl_pathc; in glob()
292 g->gl_pathc += cnt; in glob()
303 for (i=0; i<g->gl_pathc; i++) in globfree()
306 g->gl_pathc = 0; in globfree()
/aosp_15_r20/bionic/libc/upstream-freebsd/lib/libc/gen/
H A Dglob.c200 pglob->gl_pathc = 0; in glob()
279 oldpathc = pglob->gl_pathc; in globexp0()
544 oldpathc = pglob->gl_pathc; in glob0()
612 if (pglob->gl_pathc == oldpathc) in globfinal()
617 pglob->gl_pathc - oldpathc, sizeof(char *), compare); in globfinal()
864 newn = 2 + pglob->gl_pathc + pglob->gl_offs; in globextend()
900 pathv[pglob->gl_offs + pglob->gl_pathc++] = copy; in globextend()
902 pathv[pglob->gl_offs + pglob->gl_pathc] = NULL; in globextend()
992 for (i = pglob->gl_pathc; i--; ++pp) in globfree()
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/vm/
H A Dthuge-gen.c66 assert(g.gl_pathc <= NUM_PAGESIZES); in find_pagesizes()
67 for (i = 0; i < g.gl_pathc; i++) { in find_pagesizes()
73 num_page_sizes = g.gl_pathc; in find_pagesizes()
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot/usr/include/
Dglob.h85 __size_t gl_pathc; /* Count of paths matched by the pattern. */ member
114 __size_t gl_pathc; member
/aosp_15_r20/external/libxml2/fuzz/
H A DgenSeed.c248 for (i = 0; i < globbuf.gl_pathc; i++) { in processPattern()
333 for (i = 0; i < globbuf.gl_pathc; i++) { in processXPath()
414 for (i = 0; i < globbuf.gl_pathc; i++) { in processXPathDir()
/aosp_15_r20/external/compiler-rt/test/msan/Linux/
H A Dglob_nomatch.cc17 assert(globbuf.gl_pathc == 0); in main()
H A Dglob.cc21 assert(globbuf.gl_pathc == 2); in main()
/aosp_15_r20/external/trusty/musl/include/
Dglob.h15 size_t gl_pathc; member
/aosp_15_r20/prebuilts/build-tools/sysroots/aarch64-unknown-linux-musl/include/
H A Dglob.h15 size_t gl_pathc; member
/aosp_15_r20/prebuilts/build-tools/sysroots/i686-unknown-linux-musl/include/
H A Dglob.h15 size_t gl_pathc; member
/aosp_15_r20/prebuilts/build-tools/sysroots/x86_64-unknown-linux-musl/include/
H A Dglob.h15 size_t gl_pathc; member
/aosp_15_r20/prebuilts/build-tools/sysroots/arm-unknown-linux-musleabihf/include/
H A Dglob.h15 size_t gl_pathc; member
/aosp_15_r20/external/musl/include/
H A Dglob.h15 size_t gl_pathc; member
/aosp_15_r20/external/compiler-rt/test/asan/TestCases/Posix/
H A Dglob.cc26 assert(globbuf.gl_pathc == 2); in main()
/aosp_15_r20/bionic/tests/headers/posix/
H A Dglob_h.c35 STRUCT_MEMBER(glob_t, size_t, gl_pathc); in glob_h()
/aosp_15_r20/prebuilts/vndk/v31/arm64/include/generated-headers/bionic/libc/libc/android_vendor.31_arm_armv8-a_shared/gen/include/
Dglob.h46 size_t gl_pathc; /* Count of total paths so far. */ member
/aosp_15_r20/prebuilts/vndk/v32/arm64/include/generated-headers/bionic/libc/libc/android_vendor.32_arm64_armv8-a_shared/gen/include/
Dglob.h46 size_t gl_pathc; /* Count of total paths so far. */ member
/aosp_15_r20/prebuilts/vndk/v33/x86_64/include/generated-headers/bionic/libc/libc/android_vendor.33_x86_64_shared/gen/include/
Dglob.h46 size_t gl_pathc; /* Count of total paths so far. */ member
/aosp_15_r20/prebuilts/vndk/v32/x86/include/generated-headers/bionic/libc/libc/android_vendor.32_x86_shared/gen/include/
Dglob.h46 size_t gl_pathc; /* Count of total paths so far. */ member

12345678910