Home
last modified time | relevance | path

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

/glibc-2.36/sysdeps/unix/sysv/linux/alpha/
Doldglob.c30 int gl_pathc; /* Count of paths matched by the pattern. */ member
55 correct.gl_pathc = pglob->gl_pathc; in __old_glob()
70 pglob->gl_pathc = correct.gl_pathc; in __old_glob()
93 correct.gl_pathc = pglob->gl_pathc; in __old_globfree()
/glibc-2.36/posix/
Dglob.c335 pglob->gl_pathc = 0; in __glob()
437 firstc = pglob->gl_pathc; in __glob()
460 pglob->gl_pathc = 0; in __glob()
477 if (pglob->gl_pathc != firstc) in __glob()
486 oldcount = pglob->gl_pathc + pglob->gl_offs; in __glob()
608 oldcount = pglob->gl_pathc + pglob->gl_offs; in __glob()
914 size_t newcount = pglob->gl_pathc + pglob->gl_offs; in __glob()
922 pglob->gl_pathc = 0; in __glob()
957 ++pglob->gl_pathc; in __glob()
1015 for (i = 0; i < dirs.gl_pathc; ++i) in __glob()
[all …]
Dtst-glob_symlinks.c104 TEST_VERIFY_EXIT (gl.gl_pathc == 1); in do_test()
109 TEST_VERIFY_EXIT (gl.gl_pathc == 1); in do_test()
114 TEST_VERIFY_EXIT (gl.gl_pathc == 1); in do_test()
121 TEST_VERIFY_EXIT (gl.gl_pathc == 1); in do_test()
133 TEST_VERIFY_EXIT (gl.gl_pathc == 1); in do_test()
Dbug-glob3.c10 g.gl_pathc = 0; in do_test()
18 else if (g.gl_pathc != 0) in do_test()
30 else if (g.gl_pathc != 1) in do_test()
Dglob.h84 __size_t gl_pathc; /* Count of paths matched by the pattern. */ member
113 __size_t gl_pathc; member
Dglobfree.c33 for (i = 0; i < pglob->gl_pathc; ++i) in globfree()
Dtst-gnuglob-skeleton.c353 for (cnt = 0; cnt < gl->gl_pathc && str[cnt] != NULL; ++cnt) in test_result()
378 if (str[cnt] != NULL || cnt < gl->gl_pathc) in test_result()
Dglobtest.c112 for (i = 0; i < g.gl_offs + g.gl_pathc; ++i) in main()
Dtst-glob_lstat_compat.c248 TEST_VERIFY_EXIT (gl.gl_pathc == 1); in do_test()
Dwordexp.c391 for (match = 1; match < globbuf.gl_pathc && *word != NULL; ++match) in do_parse_glob()
410 for (match = 0; match < globbuf.gl_pathc; ++match) in do_parse_glob()
Dtst-regex.input4041 * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
/glibc-2.36/include/
Dglob.h19 size_t gl_pathc;
/glibc-2.36/conform/data/
Dglob.h-data7 element glob_t size_t gl_pathc
/glibc-2.36/elf/
Dldconfig.c1323 for (size_t i = 0; i < gl.gl_pathc; ++i) in parse_conf_include()
/glibc-2.36/manual/
Dpattern.texi196 @item gl_pathc
316 @item gl_pathc
/glibc-2.36/ChangeLog.old/
DChangeLog.1112936 * sysdeps/generic/glob.c: Correct gl_pathc value returned
12944 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
DChangeLog.84041 * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
DChangeLog.139881 * sysdeps/generic/glob.c (glob): Explicitly set gl_pathc to zero
DChangeLog.17500 * posix/glob.c (glob): Clean up gl_pathc and gl_pathv earlier.