/external/llvm-project/compiler-rt/test/msan/Linux/ |
D | glob_altdirfunc.cpp | 68 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()
|
D | glob.cpp | 22 printf("%zu\n", strlen(globbuf.gl_pathv[0])); in main() 23 printf("%zu\n", strlen(globbuf.gl_pathv[1])); in main()
|
D | glob_nomatch.cpp | 18 if (globbuf.gl_pathv == 0) in main()
|
/external/compiler-rt/test/msan/Linux/ |
D | glob_altdirfunc.cc | 68 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()
|
D | glob.cc | 22 printf("%zu\n", strlen(globbuf.gl_pathv[0])); in main() 23 printf("%zu\n", strlen(globbuf.gl_pathv[1])); in main()
|
D | glob_nomatch.cc | 18 if (globbuf.gl_pathv == 0) in main()
|
/external/libxml2/ |
D | testrecurse.c | 67 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 …]
|
D | runtest.c | 119 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/ |
D | glob.c | 193 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 …]
|
D | glob.h | 61 char **gl_pathv; /* List of paths matching pattern. */ member
|
/external/openssh/ |
D | sftp.c | 680 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/ |
D | restore.c | 89 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/ |
D | restore.c | 83 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()
|
D | watch.c | 67 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/ |
D | glob.cc | 27 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/ |
D | glob.cpp | 27 printf("%zu\n", strlen(globbuf.gl_pathv[0])); in main() 28 printf("%zu\n", strlen(globbuf.gl_pathv[1])); in main()
|
/external/libxml2/fuzz/ |
D | genSeed.c | 196 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()
|
D | testFuzzer.c | 85 const char *path = globbuf.gl_pathv[i]; in testFuzzer()
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/ |
D | CFString.cpp | 148 expanded_path = globbuf.gl_pathv[0]; in GlobPath()
|
/external/llvm-project/lldb/source/Host/macosx/cfcpp/ |
D | CFCString.cpp | 112 expanded_path = globbuf.gl_pathv[0]; in ExpandTildeInPath()
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | thuge-gen.c | 68 sscanf(g.gl_pathv[i], "/sys/kernel/mm/hugepages/hugepages-%lukB", in find_pagesizes()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_solaris.h | 336 char **gl_pathv; member
|
D | sanitizer_platform_limits_solaris.cpp | 208 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathv);
|
/external/rust/crates/libc/src/unix/linux_like/linux/uclibc/x86_64/ |
D | mod.rs | 246 pub gl_pathv: *mut *mut c_char,
|
/external/iproute2/ip/ |
D | iptuntap.c | 320 fd_path = globbuf.gl_pathv; in show_processes()
|