Lines Matching refs:string
717 const char *string; member
727 if (lineread->string[lineread->pos] == 0) in fetch_next_line()
731 while (lineread->string[lineread->pos] != 0) { in fetch_next_line()
732 if (lineread->string[lineread->pos] == '\n') { in fetch_next_line()
738 lineread->buffer[bufpos] = lineread->string[lineread->pos]; in fetch_next_line()
749 static int console_run_script_etc(console_t *con, const char *string, bool locked) { in console_run_script_etc() argument
752 lineread.string = string; in console_run_script_etc()
764 int console_run_script(console_t *con, const char *string) { in console_run_script() argument
768 return console_run_script_etc(con, string, false); in console_run_script()
771 int console_run_script_locked(console_t *con, const char *string) { in console_run_script_locked() argument
775 return console_run_script_etc(con, string, true); in console_run_script_locked()