Home
last modified time | relevance | path

Searched refs:gl_statv (Results 1 – 5 of 5) sorted by relevance

/openbsd/src/regress/lib/libc/glob/
Dglobtest.c120 gl.gl_statv[i] == NULL || in test_glob()
121 entry->modes[i] != gl.gl_statv[i]->st_mode) in test_glob()
130 gl.gl_pathv[i], gl.gl_statv[i] ? gl.gl_statv[i]->st_mode : 0, in test_glob()
/openbsd/src/lib/libc/gen/
Dglob.c179 pglob->gl_statv = NULL; in glob()
567 path_stat[i].gps_stat = pglob->gl_statv[o + i]; in glob0()
572 pglob->gl_statv[o + i] = path_stat[i].gps_stat; in glob0()
807 free(pglob->gl_statv[i]); in globextend()
811 free(pglob->gl_statv); in globextend()
812 pglob->gl_statv = NULL; in globextend()
828 statv = reallocarray(pglob->gl_statv, newn, sizeof(*statv)); in globextend()
831 if (pglob->gl_statv == NULL && pglob->gl_offs > 0) { in globextend()
837 pglob->gl_statv = statv; in globextend()
973 if (pglob->gl_statv != NULL) { in globfree()
[all …]
/openbsd/src/usr.bin/ssh/
Dsftp-usergroup.c156 if (ruser_name(g->gl_statv[i]->st_uid) != NULL) in collect_ids_from_glob()
158 id = (u_int)g->gl_statv[i]->st_uid; in collect_ids_from_glob()
160 if (rgroup_name(g->gl_statv[i]->st_gid) != NULL) in collect_ids_from_glob()
162 id = (u_int)g->gl_statv[i]->st_gid; in collect_ids_from_glob()
Dsftp.c923 const struct stat *as = sort_glob->gl_statv[a]; in sglob_comp()
924 const struct stat *bs = sort_glob->gl_statv[b]; in sglob_comp()
976 if (g.gl_matchc == 1 && g.gl_statv[0] != NULL && in do_globbed_ls()
977 S_ISDIR(g.gl_statv[0]->st_mode)) { in do_globbed_ls()
1019 if (g.gl_statv[i] == NULL) { in do_globbed_ls()
1024 lname = ls_file(fname, g.gl_statv[i], 1, in do_globbed_ls()
1026 ruser_name(g.gl_statv[i]->st_uid), in do_globbed_ls()
1027 rgroup_name(g.gl_statv[i]->st_gid)); in do_globbed_ls()
/openbsd/src/include/
Dglob.h56 struct stat **gl_statv; /* Stat entries corresponding to gl_pathv */ member