HomeSort by relevance Sort by last modified time
    Searched refs:globbuf (Results 1 - 9 of 9) sorted by null

  /external/compiler-rt/test/asan/TestCases/Posix/
glob.cc 21 glob_t globbuf; local
22 int res = glob(pattern.c_str(), 0, 0, &globbuf);
26 assert(globbuf.gl_pathc == 2);
27 printf("%zu\n", strlen(globbuf.gl_pathv[0]));
28 printf("%zu\n", strlen(globbuf.gl_pathv[1]));
29 globfree(&globbuf);
  /external/compiler-rt/test/msan/Linux/
glob_nomatch.cc 14 glob_t globbuf; local
15 int res = glob(buf, 0, 0, &globbuf);
17 assert(globbuf.gl_pathc == 0);
18 if (globbuf.gl_pathv == 0)
glob_altdirfunc.cc 57 glob_t globbuf; local
58 globbuf.gl_closedir = my_gl_closedir;
59 globbuf.gl_readdir = my_gl_readdir;
60 globbuf.gl_opendir = my_gl_opendir;
61 globbuf.gl_lstat = my_gl_lstat;
62 globbuf.gl_stat = my_gl_stat;
64 int res = glob(buf, GLOB_ALTDIRFUNC | GLOB_MARK, 0, &globbuf);
67 assert(globbuf.gl_pathc == 2);
68 printf("%zu\n", strlen(globbuf.gl_pathv[0]));
69 printf("%zu\n", strlen(globbuf.gl_pathv[1]))
    [all...]
glob.cc 16 glob_t globbuf; local
17 int res = glob(buf, 0, 0, &globbuf);
21 assert(globbuf.gl_pathc == 2);
22 printf("%zu\n", strlen(globbuf.gl_pathv[0]));
23 printf("%zu\n", strlen(globbuf.gl_pathv[1]));
  /external/selinux/policycoreutils/setfiles/
restore.c 72 glob_t globbuf; local
77 memset(&globbuf, 0, sizeof(globbuf));
80 GLOB_NOCHECK | GLOB_BRACE, NULL, &globbuf);
84 for (i = 0; i < globbuf.gl_pathc; i++) {
85 len = strlen(globbuf.gl_pathv[i]) - 2;
86 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len--], "/.") == 0)
88 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len], "/..") == 0)
90 rc = selinux_restorecon(globbuf.gl_pathv[i],
96 globfree(&globbuf);
    [all...]
  /external/selinux/restorecond/
restore.c 71 glob_t globbuf; local
76 memset(&globbuf, 0, sizeof(globbuf));
79 GLOB_NOCHECK | GLOB_BRACE, NULL, &globbuf);
83 for (i = 0; i < globbuf.gl_pathc; i++) {
84 len = strlen(globbuf.gl_pathv[i]) - 2;
85 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len--], "/.") == 0)
87 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len], "/..") == 0)
89 rc = selinux_restorecon(globbuf.gl_pathv[i],
95 globfree(&globbuf);
    [all...]
watch.c 45 glob_t globbuf; local
53 globbuf.gl_offs = 1;
57 &globbuf) >= 0) {
58 for (i = 0; i < globbuf.gl_pathc; i++) {
59 len = strlen(globbuf.gl_pathv[i]) - 2;
61 strcmp(&globbuf.gl_pathv[i][len--], "/.") == 0)
64 strcmp(&globbuf.gl_pathv[i][len], "/..") == 0)
66 selinux_restorecon(globbuf.gl_pathv[i],
69 globfree(&globbuf);
  /external/libxml2/
testrecurse.c 823 glob_t globbuf; local
825 globbuf.gl_offs = 0;
826 glob(tst->in, GLOB_DOOFFS, NULL, &globbuf);
827 for (i = 0;i < globbuf.gl_pathc;i++) {
828 if (!checkTestFile(globbuf.gl_pathv[i]))
831 result = resultFilename(globbuf.gl_pathv[i], tst->out,
841 error = resultFilename(globbuf.gl_pathv[i], tst->out,
859 res = tst->func(globbuf.gl_pathv[i], result, error,
864 globbuf.gl_pathv[i]);
872 globbuf.gl_pathv[i], xmlMemUsed() - mem)
    [all...]
runtest.c 2470 glob_t globbuf; local
2518 glob_t globbuf; local
3053 glob_t globbuf; local
3230 glob_t globbuf; local
3317 glob_t globbuf; local
4388 glob_t globbuf; local
    [all...]

Completed in 135 milliseconds