Searched refs:pos0 (Results 1 – 1 of 1) sorted by relevance
170 int pos0 = 0; in trim_string() local171 while ( (*str)[pos0] == ' ' || (*str)[pos0] == '\t') { in trim_string()172 pos0++; in trim_string()174 if ( pos0 > 0 ) { in trim_string()175 str->erase(0,pos0); in trim_string()179 pos0 = length-1; in trim_string()181 while ( (*str)[pos0] == ' ' || (*str)[pos0] == '\t') { in trim_string()182 pos0--; in trim_string()184 if ( pos0 < length-1 ) { in trim_string()185 str->erase(pos0+1, length-pos0); in trim_string()