Home
last modified time | relevance | path

Searched refs:gl (Results 1 – 5 of 5) sorted by relevance

/posix/
A Dtst-glob_symlinks.c101 glob_t gl; in do_test() local
104 TEST_VERIFY_EXIT (gl.gl_pathc == 1); in do_test()
106 globfree (&gl); in do_test()
109 TEST_VERIFY_EXIT (gl.gl_pathc == 1); in do_test()
111 globfree (&gl); in do_test()
114 TEST_VERIFY_EXIT (gl.gl_pathc == 1); in do_test()
116 globfree (&gl); in do_test()
121 TEST_VERIFY_EXIT (gl.gl_pathc == 1); in do_test()
123 globfree (&gl); in do_test()
129 globfree (&gl); in do_test()
[all …]
A Dtst-gnuglob-skeleton.c363 if (strcmp (gl->gl_pathv[cnt], str[inner]) == 0) in test_result()
374 printf (" %s%s\n", gl->gl_pathv[cnt], errstr); in test_result()
378 if (str[cnt] != NULL || cnt < gl->gl_pathc) in test_result()
391 GLOB_TYPE gl; in do_test() local
399 memset (&gl, '\0', sizeof (gl)); in do_test()
401 gl.gl_closedir = my_closedir; in do_test()
402 gl.gl_readdir = my_readdir; in do_test()
403 gl.gl_opendir = my_opendir; in do_test()
404 gl.gl_lstat = my_stat; in do_test()
405 gl.gl_stat = my_stat; in do_test()
[all …]
A Dtst-glob_lstat_compat.c232 glob_t gl; in do_test() local
234 memset (&gl, '\0', sizeof (gl)); in do_test()
236 gl.gl_closedir = my_closedir; in do_test()
237 gl.gl_readdir = my_readdir; in do_test()
238 gl.gl_opendir = my_opendir; in do_test()
239 gl.gl_lstat = my_lstat; in do_test()
240 gl.gl_stat = my_stat; in do_test()
247 TEST_VERIFY_EXIT (glob ("*/file1lev2", flags, NULL, &gl) == 0); in do_test()
248 TEST_VERIFY_EXIT (gl.gl_pathc == 1); in do_test()
249 TEST_VERIFY_EXIT (strcmp (gl.gl_pathv[0], "dir1lev1/file1lev2") == 0); in do_test()
A Dbug-glob2.c275 glob_t gl; in do_test() local
276 memset (&gl, 0, sizeof (gl)); in do_test()
277 init_glob_altdirfuncs (&gl); in do_test()
279 if (glob ("dir/*able/*", GLOB_ERR | GLOB_ALTDIRFUNC, NULL, &gl) in do_test()
286 globfree (&gl); in do_test()
288 memset (&gl, 0, sizeof (gl)); in do_test()
289 init_glob_altdirfuncs (&gl); in do_test()
291 gl.gl_offs = 3; in do_test()
292 if (glob ("dir2/*", GLOB_DOOFFS, NULL, &gl) != GLOB_NOMATCH) in do_test()
298 globfree (&gl); in do_test()
A Dtst-glob-tilde.c53 glob_t gl; in one_test() local
55 if (glob (pattern, flags, NULL, &gl) == 0) in one_test()
56 globfree (&gl); in one_test()

Completed in 10 milliseconds