HomeSort by relevance Sort by last modified time
    Searched refs:globbuf (Results 1 - 10 of 10) 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 80 glob_t globbuf; local
85 memset(&globbuf, 0, sizeof(globbuf));
88 GLOB_NOCHECK | GLOB_BRACE, NULL, &globbuf);
92 for (i = 0; i < globbuf.gl_pathc; i++) {
93 len = strlen(globbuf.gl_pathv[i]) - 2;
94 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len--], "/.") == 0)
96 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len], "/..") == 0)
98 rc = selinux_restorecon(globbuf.gl_pathv[i],
104 globfree(&globbuf);
    [all...]
  /external/selinux/restorecond/
restore.c 74 glob_t globbuf; local
79 memset(&globbuf, 0, sizeof(globbuf));
82 GLOB_NOCHECK | GLOB_BRACE, NULL, &globbuf);
86 for (i = 0; i < globbuf.gl_pathc; i++) {
87 len = strlen(globbuf.gl_pathv[i]) - 2;
88 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len--], "/.") == 0)
90 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len], "/..") == 0)
92 rc = selinux_restorecon(globbuf.gl_pathv[i],
98 globfree(&globbuf);
    [all...]
watch.c 53 glob_t globbuf; local
61 globbuf.gl_offs = 1;
65 &globbuf) >= 0) {
66 for (i = 0; i < globbuf.gl_pathc; i++) {
67 len = strlen(globbuf.gl_pathv[i]) - 2;
69 strcmp(&globbuf.gl_pathv[i][len--], "/.") == 0)
72 strcmp(&globbuf.gl_pathv[i][len], "/..") == 0)
74 selinux_restorecon(globbuf.gl_pathv[i],
77 globfree(&globbuf);
  /external/libxml2/
runtest.c 2493 glob_t globbuf; local
2541 glob_t globbuf; local
3076 glob_t globbuf; local
3253 glob_t globbuf; local
3340 glob_t globbuf; local
4423 glob_t globbuf; local
    [all...]
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...]
  /external/iproute2/ip/
iptuntap.c 311 glob_t globbuf = { }; local
316 NULL, &globbuf);
320 fd_path = globbuf.gl_pathv;
380 globfree(&globbuf);

Completed in 430 milliseconds