Lines Matching refs:str
346 static char *eval_clause(const char *str, size_t len, int argc, char *argv[]) in eval_clause() argument
355 tmp = xstrndup(str, len); in eval_clause()
453 static char *expand_dollar_with_args(const char **str, int argc, char *argv[]) in expand_dollar_with_args() argument
455 const char *p = *str; in expand_dollar_with_args()
465 *str = p; in expand_dollar_with_args()
485 *str = q + 1; in expand_dollar_with_args()
490 char *expand_dollar(const char **str) in expand_dollar() argument
492 return expand_dollar_with_args(str, 0, NULL); in expand_dollar()
495 static char *__expand_string(const char **str, bool (*is_end)(char c), in __expand_string() argument
506 p = in = *str; in __expand_string()
534 *str = p; in __expand_string()
571 char *expand_one_token(const char **str) in expand_one_token() argument
573 return __expand_string(str, is_end_of_token, 0, NULL); in expand_one_token()