/external/compiler-rt/test/msan/Linux/ |
glob_altdirfunc.cc | 68 printf("%zu\n", strlen(globbuf.gl_pathv[0])); 69 printf("%zu\n", strlen(globbuf.gl_pathv[1])); 70 __msan_poison(globbuf.gl_pathv[0], strlen(globbuf.gl_pathv[0]) + 1); 71 __msan_poison(globbuf.gl_pathv[1], strlen(globbuf.gl_pathv[1]) + 1);
|
glob.cc | 22 printf("%zu\n", strlen(globbuf.gl_pathv[0])); 23 printf("%zu\n", strlen(globbuf.gl_pathv[1]));
|
glob_nomatch.cc | 18 if (globbuf.gl_pathv == 0)
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
glob.cc | 27 printf("%zu\n", strlen(globbuf.gl_pathv[0])); 28 printf("%zu\n", strlen(globbuf.gl_pathv[1]));
|
/external/selinux/policycoreutils/setfiles/ |
restore.c | 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],
|
/external/selinux/restorecond/ |
restore.c | 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],
|
watch.c | 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],
|
/external/libxml2/ |
testrecurse.c | 67 char **gl_pathv; /* List of matched pathnames. */ member in struct:__anon24989 68 size_t gl_offs; /* Slots to reserve in 'gl_pathv'. */ 103 ret->gl_pathv = (char **) malloc(nb_paths * sizeof(char *)); 104 if (ret->gl_pathv == NULL) { 109 ret->gl_pathv[ret->gl_pathc] = strdup(directory); 110 if (ret->gl_pathv[ret->gl_pathc] == NULL) 117 char **tmp = realloc(ret->gl_pathv, nb_paths * 2 * sizeof(char *)); 120 ret->gl_pathv = tmp; 124 ret->gl_pathv[ret->gl_pathc] = strdup(directory); 125 if (ret->gl_pathv[ret->gl_pathc] == NULL [all...] |
runtest.c | 116 char **gl_pathv; /* List of matched pathnames. */ member in struct:__anon24987 117 size_t gl_offs; /* Slots to reserve in 'gl_pathv'. */ 152 ret->gl_pathv = (char **) malloc(nb_paths * sizeof(char *)); 153 if (ret->gl_pathv == NULL) { 158 ret->gl_pathv[ret->gl_pathc] = strdup(directory); 159 if (ret->gl_pathv[ret->gl_pathc] == NULL) 166 char **tmp = realloc(ret->gl_pathv, nb_paths * 2 * sizeof(char *)); 169 ret->gl_pathv = tmp; 173 ret->gl_pathv[ret->gl_pathc] = strdup(directory); 174 if (ret->gl_pathv[ret->gl_pathc] == NULL [all...] |
/external/openssh/openbsd-compat/ |
glob.c | 192 pglob->gl_pathv = NULL; 576 path_stat[i].gps_path = pglob->gl_pathv[o + i]; 581 pglob->gl_pathv[o + i] = path_stat[i].gps_path; 586 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc, 782 * Extend the gl_pathv member of a glob_t structure to accommodate a new item, 792 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and 793 * gl_pathv points to (gl_offs + gl_pathc + 1) items. 814 if (pglob->gl_pathv && pglob->gl_pathv[i]) 815 free(pglob->gl_pathv[i]) [all...] |
glob.h | 58 int gl_offs; /* Reserved at beginning of gl_pathv. */ 60 char **gl_pathv; /* List of paths matching pattern. */ member in struct:__anon28986 61 struct stat **gl_statv; /* Stat entries corresponding to gl_pathv */
|
/external/openssh/ |
sftp.c | 636 for (i = 0; g.gl_pathv[i] && !interrupted; i++) { 637 tmp = xstrdup(g.gl_pathv[i]); 661 g.gl_pathv[i], abs_dst); 664 g.gl_pathv[i], abs_dst); 665 if (pathname_is_dir(g.gl_pathv[i]) && (rflag || global_rflag)) { 666 if (download_dir(conn, g.gl_pathv[i], abs_dst, NULL, 671 if (do_download(conn, g.gl_pathv[i], abs_dst, NULL, 723 for (i = 0; g.gl_pathv[i] && !interrupted; i++) { 724 if (stat(g.gl_pathv[i], &sb) == -1) { 726 error("stat %s: %s", g.gl_pathv[i], strerror(errno)) [all...] |
readconf.c | [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
glob.h | 93 char **gl_pathv; /* List of matched pathnames. */ member in struct:__anon54573 94 __size_t gl_offs; /* Slots to reserve in `gl_pathv'. */ 122 char **gl_pathv; member in struct:__anon54574
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
glob.h | 87 char **gl_pathv; /* List of matched pathnames. */ member in struct:__anon56373 88 __size_t gl_offs; /* Slots to reserve in `gl_pathv'. */ 116 char **gl_pathv; member in struct:__anon56374
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
glob.h | 55 __gl_size_t gl_offs; /* Reserved at beginning of gl_pathv. */
57 char **gl_pathv; /* List of paths matching pattern. */
member in struct:__anon12164
|
/device/linaro/bootloader/edk2/StdLib/PosixLib/Glob/ |
glob.c | 199 pglob->gl_pathv = NULL;
537 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
805 * Extend the gl_pathv member of a glob_t structure to accommodate a new item,
815 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
816 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
830 pathv = pglob->gl_pathv ? realloc(pglob->gl_pathv, newsize) :
835 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) {
841 pglob->gl_pathv = pathv;
929 if (pglob->gl_pathv != NULL) { [all...] |
/build/kati/ |
fileutil.cc | 171 files->push_back(gl.gl_pathv[i]);
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
thuge-gen.c | 67 sscanf(g.gl_pathv[i], "/sys/kernel/mm/hugepages/hugepages-%lukB",
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_platform_limits_posix.h | 693 char **gl_pathv; member in struct:__sanitizer::__sanitizer_glob_t 709 char **gl_pathv; member in struct:__sanitizer::__sanitizer_glob_t [all...] |
sanitizer_platform_limits_posix.cc | [all...] |
/external/ipsec-tools/src/racoon/ |
cftoken.l | 638 char* filepath = incstack[incstackp].matches.gl_pathv[incstack[incstackp].matchon]; 729 incstack[incstackp].matches.gl_pathv[incstack[incstackp].matchon];
|
/external/selinux/sandbox/ |
seunshare.c | 338 const char *path = fglob.gl_pathv[i];
|
/external/selinux/mcstrans/src/ |
mcstrans.c | 806 if (read_translations(g.gl_pathv[n]) < 0) { [all...] |