Home
last modified time | relevance | path

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

/external/mksh/src/
Dedit.c289 x_file_glob(int flags MKSH_A_UNUSED, char *toglob, char ***wordsp) in x_file_glob() argument
299 for (i = 0, idx = 0; toglob[i]; i++) { in x_file_glob()
300 if (toglob[i] == '\\' && !escaping) { in x_file_glob()
305 if (escaping && (toglob[i] == '[' || in x_file_glob()
306 toglob[i] == '$' || toglob[i] == '`')) in x_file_glob()
307 toglob[idx++] = QCHAR; in x_file_glob()
309 toglob[idx] = toglob[i]; in x_file_glob()
314 toglob[idx] = '\0'; in x_file_glob()
321 s->start = s->str = toglob; in x_file_glob()
347 if ((strcmp(words[0], toglob) == 0 && in x_file_glob()
[all …]