Lines Matching refs:line_
60 char* line_;
70 memcpy( buf, line_, rd );
75 free( line_ ); // free( NULL ) is a noop
76 line_ = readline( prompt_ );
77 if ( line_ ) {
78 high_ = strlen( line_ );
79 if ( history_ && high_ ) add_history( line_ );
90 free( line_ ); // free( NULL ) is a noop
91 line_ = readline( prompt_ );
92 if ( line_ ) {
93 high_ = strlen( line_ );
94 if ( history_ && high_ ) add_history( line_ );
98 if ( low_ < high_ ) return line_[low_];
112 char* nl = (char*)realloc( line_, high_ + 1 );
114 line_ = (char*)memcpy( nl + 1, line_, high_ );
116 line_[0] = char( c );
119 assert( !line_ );
120 line_ = (char*)malloc( sizeof( char ) );
121 *line_ = char( c );
132 line_( NULL ), low_( 0 ), high_( 0 ) {