Lines Matching refs:line
57 int ( * process_line ) ( const char *line ),
61 char *line;
68 /* Find length of next line, excluding any terminating '\n' */
75 /* Allocate buffer for line */
76 line = zalloc ( len + 1 /* NUL */ );
77 if ( ! line )
80 /* Copy line */
81 copy_from_user ( line, image->data, script_offset, len );
82 DBG ( "$ %s\n", line );
84 /* Move to next line */
87 /* Process and free line */
88 rc = process_line ( line );
89 free ( line );
111 * Execute script line
113 * @v line Line of script
116 static int script_exec_line ( const char *line ) {
120 if ( line[0] == ':' )
124 if ( ( rc = system ( line ) ) != 0 )
221 * @v line Script line
224 static int goto_find_label ( const char *line ) {
227 if ( line[0] != ':' )
230 if ( strncmp ( goto_label, &line[1], len ) != 0 )
233 if ( line[ 1 + len ] && ! isspace ( line[ 1 + len ] ) )