Lines Matching refs:c
242 inline bool isLetter( sal_Unicode c ) in isLetter() argument
244 bool bRet = (c < 256) ? IsLetterTab[c] : isLetterUnicode( c ); in isLetter()
247 bool isLetterUnicode( sal_Unicode c );
255 static sal_Bool isAlpha( sal_Unicode c, bool bCompatible ) in isAlpha() argument
257 sal_Bool bRet = (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') in isAlpha()
258 || (bCompatible && aLetterTable.isLetter( c )); in isAlpha()
262 static sal_Bool isDigit( sal_Unicode c ) in isDigit() argument
264 sal_Bool bRet = (c >= '0' && c <= '9'); in isDigit()
268 static sal_Bool isAlphaNumeric( sal_Unicode c, bool bCompatible ) in isAlphaNumeric() argument
270 sal_Bool bRet = isDigit( c ) || isAlpha( c, bCompatible ); in isAlphaNumeric()
346 bool LetterTable::isLetterUnicode( sal_Unicode c ) in isLetterUnicode() argument
351 String aStr( c ); in isLetterUnicode()
357 sal_Bool SimpleTokenizer_Impl::testCharFlags( sal_Unicode c, sal_uInt16 nTestFlags ) in testCharFlags() argument
360 if( c != 0 && c <= 255 ) in testCharFlags()
362 bRet = ( (aCharTypeTab[c] & nTestFlags) != 0 ); in testCharFlags()
364 else if( c > 255 ) in testCharFlags()
367 ? BasicSimpleCharClass::isAlpha( c, true ) : false; in testCharFlags()
388 sal_Unicode c = peekChar(); in getNextToken() local
389 if( c == CHAR_EOF ) in getNextToken()
397 if ( (testCharFlags( c, CHAR_SPACE ) == sal_True) ) in getNextToken()
406 else if ( (testCharFlags( c, CHAR_START_IDENTIFIER ) == sal_True) ) in getNextToken()
412 c = peekChar(); in getNextToken()
413 bIdentifierChar = testCharFlags( c, CHAR_IN_IDENTIFIER ); in getNextToken()
453 c = getChar(); in getNextToken()
466 …else if ( ( testCharFlags( c, CHAR_OPERATOR ) == sal_True ) || ( (c == '\'') && (aLanguage==HIGHLI… in getNextToken()
469 if ( (c==':') || (c=='?')) in getNextToken()
471 if (c!='?') in getNextToken()
477 c = peekChar(); in getNextToken()
478 bIdentifierChar = BasicSimpleCharClass::isAlpha( c, true ); in getNextToken()
486 else if( c=='-' ) in getNextToken()
500 else if (c=='/') in getNextToken()
517 if ( c == '\'' ) in getNextToken()
519 c = getChar(); // '/' entfernen in getNextToken()
522 sal_Unicode cPeek = c; in getNextToken()
544 else if( c == '.' && ( peekChar() < '0' || peekChar() > '9' ) ) in getNextToken()
550 else if( testCharFlags( c, CHAR_START_NUMBER ) == sal_True ) in getNextToken()
558 if( c == '&' ) in getNextToken()
569 c = getChar(); in getNextToken()
580 c = getChar(); in getNextToken()
600 c = getChar(); // Zeichen lesen in getNextToken()
601 bAfterExpChar = ( c == 'e' || c == 'E' ); in getNextToken()
609 else if( testCharFlags( c, CHAR_START_STRING ) == sal_True ) in getNextToken()
612 sal_Unicode cEndString = c; in getNextToken()
613 if( c == '[' ) in getNextToken()
626 c = getChar(); in getNextToken()
627 if( testCharFlags( c, CHAR_EOL ) == sal_True ) in getNextToken()
647 else if( testCharFlags( c, CHAR_EOL ) == sal_True ) in getNextToken()
651 if( cNext != c && testCharFlags( cNext, CHAR_EOL ) == sal_True ) in getNextToken()