Home
last modified time | relevance | path

Searched refs:gl_pathv (Results 1 – 25 of 52) sorted by relevance

123

/external/llvm-project/compiler-rt/test/msan/Linux/
Dglob_altdirfunc.cpp68 printf("%zu\n", strlen(globbuf.gl_pathv[0])); in main()
69 printf("%zu\n", strlen(globbuf.gl_pathv[1])); in main()
70 __msan_poison(globbuf.gl_pathv[0], strlen(globbuf.gl_pathv[0]) + 1); in main()
71 __msan_poison(globbuf.gl_pathv[1], strlen(globbuf.gl_pathv[1]) + 1); in main()
Dglob.cpp22 printf("%zu\n", strlen(globbuf.gl_pathv[0])); in main()
23 printf("%zu\n", strlen(globbuf.gl_pathv[1])); in main()
Dglob_nomatch.cpp18 if (globbuf.gl_pathv == 0) in main()
/external/compiler-rt/test/msan/Linux/
Dglob_altdirfunc.cc68 printf("%zu\n", strlen(globbuf.gl_pathv[0])); in main()
69 printf("%zu\n", strlen(globbuf.gl_pathv[1])); in main()
70 __msan_poison(globbuf.gl_pathv[0], strlen(globbuf.gl_pathv[0]) + 1); in main()
71 __msan_poison(globbuf.gl_pathv[1], strlen(globbuf.gl_pathv[1]) + 1); in main()
Dglob.cc22 printf("%zu\n", strlen(globbuf.gl_pathv[0])); in main()
23 printf("%zu\n", strlen(globbuf.gl_pathv[1])); in main()
Dglob_nomatch.cc18 if (globbuf.gl_pathv == 0) in main()
/external/libxml2/
Dtestrecurse.c67 char **gl_pathv; /* List of matched pathnames. */ member
103 ret->gl_pathv = (char **) malloc(nb_paths * sizeof(char *)); in glob()
104 if (ret->gl_pathv == NULL) { in glob()
109 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
110 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
117 char **tmp = realloc(ret->gl_pathv, nb_paths * 2 * sizeof(char *)); in glob()
120 ret->gl_pathv = tmp; in glob()
124 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
125 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
129 ret->gl_pathv[ret->gl_pathc] = NULL; in glob()
[all …]
Druntest.c119 char **gl_pathv; /* List of matched pathnames. */ member
155 ret->gl_pathv = (char **) malloc(nb_paths * sizeof(char *)); in glob()
156 if (ret->gl_pathv == NULL) { in glob()
161 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
162 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
169 char **tmp = realloc(ret->gl_pathv, nb_paths * 2 * sizeof(char *)); in glob()
172 ret->gl_pathv = tmp; in glob()
176 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()
177 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()
181 ret->gl_pathv[ret->gl_pathc] = NULL; in glob()
[all …]
/external/openssh/openbsd-compat/
Dglob.c193 pglob->gl_pathv = NULL; in glob()
580 path_stat[i].gps_path = pglob->gl_pathv[o + i];
585 pglob->gl_pathv[o + i] = path_stat[i].gps_path;
590 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
817 if (pglob->gl_pathv && pglob->gl_pathv[i])
818 free(pglob->gl_pathv[i]);
820 pglob->gl_pathv && pglob->gl_pathv[i])
823 free(pglob->gl_pathv);
824 pglob->gl_pathv = NULL;
830 pathv = reallocarray(pglob->gl_pathv, newn, sizeof(*pathv));
[all …]
Dglob.h61 char **gl_pathv; /* List of paths matching pattern. */ member
/external/openssh/
Dsftp.c680 for (i = 0; g.gl_pathv[i] && !interrupted; i++) { in process_get()
681 tmp = xstrdup(g.gl_pathv[i]); in process_get()
705 g.gl_pathv[i], abs_dst); in process_get()
708 g.gl_pathv[i], abs_dst); in process_get()
709 if (pathname_is_dir(g.gl_pathv[i]) && (rflag || global_rflag)) { in process_get()
710 if (download_dir(conn, g.gl_pathv[i], abs_dst, NULL, in process_get()
715 if (do_download(conn, g.gl_pathv[i], abs_dst, NULL, in process_get()
767 for (i = 0; g.gl_pathv[i] && !interrupted; i++) { in process_put()
768 if (stat(g.gl_pathv[i], &sb) == -1) { in process_put()
770 error("stat %s: %s", g.gl_pathv[i], strerror(errno)); in process_put()
[all …]
/external/selinux/policycoreutils/setfiles/
Drestore.c89 len = strlen(globbuf.gl_pathv[i]) - 2; in process_glob()
90 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len--], "/.") == 0) in process_glob()
92 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len], "/..") == 0) in process_glob()
94 rc = selinux_restorecon(globbuf.gl_pathv[i], in process_glob()
/external/selinux/restorecond/
Drestore.c83 len = strlen(globbuf.gl_pathv[i]) - 2; in process_glob()
84 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len--], "/.") == 0) in process_glob()
86 if (len > 0 && strcmp(&globbuf.gl_pathv[i][len], "/..") == 0) in process_glob()
88 rc = selinux_restorecon(globbuf.gl_pathv[i], in process_glob()
Dwatch.c67 len = strlen(globbuf.gl_pathv[i]) - 2; in watch_list_add()
69 strcmp(&globbuf.gl_pathv[i][len--], "/.") == 0) in watch_list_add()
72 strcmp(&globbuf.gl_pathv[i][len], "/..") == 0) in watch_list_add()
74 selinux_restorecon(globbuf.gl_pathv[i], in watch_list_add()
/external/compiler-rt/test/asan/TestCases/Posix/
Dglob.cc27 printf("%zu\n", strlen(globbuf.gl_pathv[0])); in main()
28 printf("%zu\n", strlen(globbuf.gl_pathv[1])); in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/
Dglob.cpp27 printf("%zu\n", strlen(globbuf.gl_pathv[0])); in main()
28 printf("%zu\n", strlen(globbuf.gl_pathv[1])); in main()
/external/libxml2/fuzz/
DgenSeed.c196 path = globbuf.gl_pathv[i]; in processPattern()
271 char *path = globbuf.gl_pathv[i]; in processXPath()
349 char *path = globbuf.gl_pathv[i]; in processXPathDir()
DtestFuzzer.c85 const char *path = globbuf.gl_pathv[i]; in testFuzzer()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/
DCFString.cpp148 expanded_path = globbuf.gl_pathv[0]; in GlobPath()
/external/llvm-project/lldb/source/Host/macosx/cfcpp/
DCFCString.cpp112 expanded_path = globbuf.gl_pathv[0]; in ExpandTildeInPath()
/external/linux-kselftest/tools/testing/selftests/vm/
Dthuge-gen.c68 sscanf(g.gl_pathv[i], "/sys/kernel/mm/hugepages/hugepages-%lukB", in find_pagesizes()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_solaris.h336 char **gl_pathv; member
Dsanitizer_platform_limits_solaris.cpp208 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathv);
/external/rust/crates/libc/src/unix/linux_like/linux/uclibc/x86_64/
Dmod.rs246 pub gl_pathv: *mut *mut c_char,
/external/iproute2/ip/
Diptuntap.c320 fd_path = globbuf.gl_pathv; in show_processes()

123