Searched refs:scan_ptr (Results 1 – 8 of 8) sorted by relevance
80 char *scan_ptr, *write_ptr; in loc_util_trim_space() local88 scan_ptr = write_ptr = org_string; in loc_util_trim_space()90 while (*scan_ptr) { in loc_util_trim_space()92 if ( !isspace(*scan_ptr) && first_nonspace == NULL) { in loc_util_trim_space()93 first_nonspace = scan_ptr; in loc_util_trim_space()99 *(write_ptr++) = *scan_ptr; in loc_util_trim_space()104 if ( !isspace(*scan_ptr)) { in loc_util_trim_space()108 scan_ptr++; in loc_util_trim_space()
82 char *scan_ptr, *write_ptr; in trim_space() local85 scan_ptr = write_ptr = org_string; in trim_space()87 while (*scan_ptr) in trim_space()89 if ( !isspace(*scan_ptr) && first_nonspace == NULL) in trim_space()91 first_nonspace = scan_ptr; in trim_space()96 *(write_ptr++) = *scan_ptr; in trim_space()97 if ( !isspace(*scan_ptr)) in trim_space()103 scan_ptr++; in trim_space()