scandsp/src/dspparser.cxx
// ===========================================================================
// Eliminate by deleting the char from str_in
// Used only within the expressions of If and Elsif.
//
Eliminate by deleting the char from str_in
Used only within the expressions of If and Elsif.
Eliminate by deleting the char from str_in Used only within the expressions of If and Elsif .
void DSPParser::charStrip(char strip_ch, string &result, const string &str_in)
{
    result = "";
    const char *p = str_in.c_str();
    while (*p != '\0') {
	const char ch = *p;
	if (ch != strip_ch) {
	    result.append(1, ch);
	}
	p += 1;
    }
}
void DSPParser :: charStrip ( char strip_ch , string & result , const string & str_in ) { result = " " ; const char * p = str_in . c_str ( ) ; while ( * p != ' \0 ' ) { const char ch = * p ; if ( ch != strip_ch ) { result . append ( 1 , ch ) ; } p += 1 ; } }
Eliminate by deleting the char from str_in
Used only within the expressions of If and Elsif.
Eliminate by deleting the char from str_in Used only within the expressions of If and Elsif .