Searched refs:patend (Results 1 – 2 of 2) sorted by relevance
/external/openssh/openbsd-compat/ |
D | glob.c | 906 match(Char *name, Char *pat, Char *patend) argument 914 while (pat < patend) { 918 while (pat < patend && (*pat & M_MASK) == M_ALL) 920 if (pat == patend)
|
/external/toybox/toys/pending/ |
D | sh.c | 1206 char *pattern, *patend; in do_wildcard_files() local 1218 patend = wildcard_path(TT.wcpat, pattern-TT.wcpat, TT.wcdeck, &ll, 1); in do_wildcard_files() 1224 if (*patend && !S_ISDIR(node->st.st_mode) && *node->name) return 0; in do_wildcard_files() 1231 patend-pattern, &ant, 0); in do_wildcard_files() 1236 if (!*patend) return DIRTREE_SAVE; in do_wildcard_files() 1242 pattern = xmprintf("%s%s", node->name, patend); in do_wildcard_files() 1248 while (*patend=='/' && patend[1]) patend++; in do_wildcard_files() 1249 node->child = xzalloc(sizeof(struct dirtree)+1+strlen(patend)); in do_wildcard_files() 1251 strcpy(node->child->name, patend); in do_wildcard_files()
|