Lines Matching refs:error

373   int error;  in do_parse_glob()  local
377 error = glob (glob_word, GLOB_NOCHECK, NULL, &globbuf); in do_parse_glob()
379 if (error != 0) in do_parse_glob()
382 assert (error == GLOB_NOSPACE); in do_parse_glob()
430 int error = WRDE_NOSPACE; in parse_glob() local
475 error = parse_dollars (word, word_length, max_length, words, in parse_glob()
478 if (error) in parse_glob()
486 error = parse_qtd_backslash (word, word_length, max_length, in parse_glob()
489 error = parse_backslash (word, word_length, max_length, in parse_glob()
492 if (error) in parse_glob()
507 error = w_addword (&glob_list, *word); in parse_glob()
509 for (i = 0; error == 0 && i < glob_list.we_wordc; i++) in parse_glob()
510 error = do_parse_glob (glob_list.we_wordv[i], word, word_length, in parse_glob()
516 return error; in parse_glob()
655 int error; in parse_arith() local
667 error = parse_dollars (&expr, &expr_length, &expr_maxlen, in parse_arith()
672 if (error) in parse_arith()
675 return error; in parse_arith()
681 error = parse_backtick (&expr, &expr_length, &expr_maxlen, in parse_arith()
686 if (error) in parse_arith()
689 return error; in parse_arith()
694 error = parse_qtd_backslash (&expr, &expr_length, &expr_maxlen, in parse_arith()
696 if (error) in parse_arith()
699 return error; in parse_arith()
1109 int error = 0; in parse_comm() local
1142 error = exec_comm (comm, word, word_length, max_length, in parse_comm()
1147 return error; in parse_comm()
1204 int error; in parse_param() local
1497 error = WRDE_BADVAL; in parse_param()
1593 error = parse_dollars (&expanded, &exp_len, &exp_maxl, p, in parse_param()
1595 if (error) in parse_param()
1613 error = parse_tilde (&expanded, &exp_len, &exp_maxl, p, in parse_param()
1615 if (error) in parse_param()
1785 error = 0; in parse_param()
1980 error = 0; in parse_param()
1984 error = WRDE_NOSPACE; in parse_param()
1988 error = WRDE_SYNTAX; in parse_param()
1995 return error; in parse_param()
2064 int error; in parse_backtick() local
2076 error = exec_comm (comm, word, word_length, max_length, flags, in parse_backtick()
2079 return error; in parse_backtick()
2084 error = parse_qtd_backslash (&comm, &comm_length, &comm_maxlen, in parse_backtick()
2087 if (error) in parse_backtick()
2090 return error; in parse_backtick()
2096 error = parse_backslash (&comm, &comm_length, &comm_maxlen, words, in parse_backtick()
2099 if (error) in parse_backtick()
2102 return error; in parse_backtick()
2128 int error; in parse_dquote() local
2138 error = parse_dollars (word, word_length, max_length, words, offset, in parse_dquote()
2143 if (error) in parse_dquote()
2144 return error; in parse_dquote()
2150 error = parse_backtick (word, word_length, max_length, words, in parse_dquote()
2155 if (error) in parse_dquote()
2156 return error; in parse_dquote()
2161 error = parse_qtd_backslash (word, word_length, max_length, words, in parse_dquote()
2164 if (error) in parse_dquote()
2165 return error; in parse_dquote()
2213 int error; in libc_hidden_def() local
2234 error = WRDE_NOSPACE; in libc_hidden_def()
2243 error = WRDE_NOSPACE; in libc_hidden_def()
2288 error = parse_backslash (&word, &word_length, &max_length, words, in libc_hidden_def()
2291 if (error) in libc_hidden_def()
2297 error = parse_dollars (&word, &word_length, &max_length, words, in libc_hidden_def()
2301 if (error) in libc_hidden_def()
2308 error = parse_backtick (&word, &word_length, &max_length, words, in libc_hidden_def()
2312 if (error) in libc_hidden_def()
2319 error = parse_dquote (&word, &word_length, &max_length, words, in libc_hidden_def()
2322 if (error) in libc_hidden_def()
2327 error = w_addword (pwordexp, NULL); in libc_hidden_def()
2329 if (error) in libc_hidden_def()
2330 return error; in libc_hidden_def()
2337 error = parse_squote (&word, &word_length, &max_length, words, in libc_hidden_def()
2340 if (error) in libc_hidden_def()
2345 error = w_addword (pwordexp, NULL); in libc_hidden_def()
2347 if (error) in libc_hidden_def()
2348 return error; in libc_hidden_def()
2354 error = parse_tilde (&word, &word_length, &max_length, words, in libc_hidden_def()
2357 if (error) in libc_hidden_def()
2365 error = parse_glob (&word, &word_length, &max_length, words, in libc_hidden_def()
2368 if (error) in libc_hidden_def()
2383 error = WRDE_BADCHAR; in libc_hidden_def()
2392 error = WRDE_NOSPACE; in libc_hidden_def()
2402 error = w_addword (pwordexp, word); in libc_hidden_def()
2403 if (error) in libc_hidden_def()
2427 if (error == WRDE_NOSPACE) in libc_hidden_def()
2434 return error; in libc_hidden_def()