Searched refs:gl_pathc (Results 1 – 19 of 19) sorted by relevance
191 pglob->gl_pathc = 0; in glob()201 if (pglob->gl_offs < 0 || pglob->gl_pathc < 0 || in glob()202 pglob->gl_offs >= INT_MAX || pglob->gl_pathc >= INT_MAX || in glob()203 pglob->gl_pathc >= INT_MAX - pglob->gl_offs - 1) in glob()479 oldpathc = pglob->gl_pathc;557 if (pglob->gl_pathc == oldpathc) {570 int n = pglob->gl_pathc - oldpathc;587 pglob->gl_pathc - oldpathc, sizeof(char *),806 newn = 2 + pglob->gl_pathc + pglob->gl_offs;808 pglob->gl_pathc >= INT_MAX ||[all …]
56 int gl_pathc; /* Count of total paths so far. */ member
66 size_t gl_pathc; /* Count of paths matched so far */ member109 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()110 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()112 ret->gl_pathc++; in glob()116 if (ret->gl_pathc + 2 > nb_paths) { in glob()124 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()125 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()127 ret->gl_pathc++; in glob()129 ret->gl_pathv[ret->gl_pathc] = NULL; in glob()143 for (i = 0;i < pglob->gl_pathc;i++) { in globfree()[all …]
117 size_t gl_pathc; /* Count of paths matched so far */ member160 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()161 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()163 ret->gl_pathc++; in glob()167 if (ret->gl_pathc + 2 > nb_paths) { in glob()175 ret->gl_pathv[ret->gl_pathc] = strdup(directory); in glob()176 if (ret->gl_pathv[ret->gl_pathc] == NULL) in glob()178 ret->gl_pathc++; in glob()180 ret->gl_pathv[ret->gl_pathc] = NULL; in glob()194 for (i = 0;i < pglob->gl_pathc;i++) { in globfree()[all …]
65 assert(g.gl_pathc <= NUM_PAGESIZES); in find_pagesizes()66 for (i = 0; i < g.gl_pathc; i++) { in find_pagesizes()72 num_page_sizes = g.gl_pathc; in find_pagesizes()
17 assert(globbuf.gl_pathc == 0); in main()
21 assert(globbuf.gl_pathc == 2); in main()
67 assert(globbuf.gl_pathc == 2); in main()
26 assert(globbuf.gl_pathc == 2); in main()
84 for (i = 0; i < globbuf.gl_pathc; i++) { in process_glob()
83 for (i = 0; i < globbuf.gl_pathc; i++) { in process_glob()
58 for (i = 0; i < globbuf.gl_pathc; i++) { in watch_list_add()
692 uptr gl_pathc; member705 uptr gl_pathc; member
982 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
1826 ctx, pglob->gl_pathv, (pglob->gl_pathc + 1) * sizeof(*pglob->gl_pathv));1827 for (SIZE_T i = 0; i < pglob->gl_pathc; ++i) {
898 (g.gl_pathc && !g.gl_matchc)) { in do_globbed_ls()899 if (g.gl_pathc) in do_globbed_ls()962 if (g.gl_pathc) in do_globbed_ls()1660 if (g.gl_pathc) in parse_dispatch_command()
1505 } else if (r != 0 || gl.gl_pathc < 0) in process_config_line_depth()1510 for (i = 0; i < (u_int)gl.gl_pathc; i++) { in process_config_line_depth()
337 for ( i=0; i < fglob.gl_pathc; i++) { in rsynccmd()
805 for (n=0; n < g.gl_pathc; n++) { in process_trans()