• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/shell/

Lines Matching refs:lineno

794 static void *xxmalloc(int lineno, size_t size)
797 fdprintf(2, "line %d: malloc %p\n", lineno, ptr);
800 static void *xxrealloc(int lineno, void *ptr, size_t size)
803 fdprintf(2, "line %d: realloc %p\n", lineno, ptr);
806 static char *xxstrdup(int lineno, const char *str)
809 fdprintf(2, "line %d: strdup %p\n", lineno, ptr);
830 # define die_if_script(lineno, ...) die_if_script(__VA_ARGS__)
831 # define syntax_error(lineno, msg) syntax_error(msg)
832 # define syntax_error_at(lineno, msg) syntax_error_at(msg)
833 # define syntax_error_unterm_ch(lineno, ch) syntax_error_unterm_ch(ch)
834 # define syntax_error_unterm_str(lineno, s) syntax_error_unterm_str(s)
835 # define syntax_error_unexpected_ch(lineno, ch) syntax_error_unexpected_ch(ch)
838 static void die_if_script(unsigned lineno, const char *fmt, ...)
843 bb_error_msg("hush.c:%u", lineno);
852 static void syntax_error(unsigned lineno, const char *msg)
855 die_if_script(lineno, "syntax error: %s", msg);
857 die_if_script(lineno, "syntax error", NULL);
860 static void syntax_error_at(unsigned lineno, const char *msg)
862 die_if_script(lineno, "syntax error at '%s'", msg);
865 static void syntax_error_unterm_str(unsigned lineno, const char *s)
867 die_if_script(lineno, "syntax error: unterminated %s", s);
875 static void syntax_error_unterm_ch(unsigned lineno, char ch) NORETURN;
876 static void syntax_error_unterm_ch(unsigned lineno, char ch)
879 syntax_error_unterm_str(lineno, msg);
883 static void syntax_error_unexpected_ch(unsigned lineno, int ch)
888 die_if_script(lineno, "syntax error: unexpected %s", ch == EOF ? "EOF" : msg);
959 static char **xx_add_strings_to_strings(int lineno, char **strings, char **add, int need_to_dup)
962 fdprintf(2, "line %d: add_strings_to_strings %p\n", lineno, ptr);
978 static char **xx_add_string_to_strings(int lineno, char **strings, char *add)
981 fdprintf(2, "line %d: add_string_to_strings %p\n", lineno, ptr);