Home
last modified time | relevance | path

Searched refs:cChar (Results 1 – 25 of 225) sorted by relevance

123456789

/AOO41X/main/svtools/source/misc/
H A Dimap2.cxx405 char cChar = *pStr++; in ImpReadCERNLine() local
408 while( ( cChar >= 'a' ) && ( cChar <= 'z' ) && NOTEOL( cChar ) ) in ImpReadCERNLine()
410 aToken += cChar; in ImpReadCERNLine()
411 cChar = *pStr++; in ImpReadCERNLine()
414 if ( NOTEOL( cChar ) ) in ImpReadCERNLine()
464 char cChar = *(*ppStr)++; in ImpReadCERNCoords() local
466 while( NOTEOL( cChar ) && ( ( cChar < '0' ) || ( cChar > '9' ) ) ) in ImpReadCERNCoords()
467 cChar = *(*ppStr)++; in ImpReadCERNCoords()
469 if ( NOTEOL( cChar ) ) in ImpReadCERNCoords()
471 while( NOTEOL( cChar ) && ( cChar >= '0' ) && ( cChar <= '9' ) ) in ImpReadCERNCoords()
[all …]
/AOO41X/main/svl/source/misc/
H A Dadrparse.cxx196 sal_Unicode cChar = *m_pInputPos++; in readToken() local
202 else if (cChar == '"') in readToken()
208 else if (cChar == '\\') in readToken()
222 sal_Unicode cChar = *m_pInputPos++; in readToken() local
225 else if (cChar == ']') in readToken()
230 else if (cChar == '\\') in readToken()
246 sal_Unicode cChar = *m_pInputPos++; in readToken() local
253 else if (cChar == '(') in readToken()
260 else if (cChar == ')') in readToken()
268 else if (cChar == '\\') in readToken()
[all …]
H A Dlngmisc.cxx81 sal_Unicode cChar = rTxt[i]; in RemoveControlChars() local
82 if (!IsControlChar( cChar )) in RemoveControlChars()
85 aBuf.setCharAt( nCnt++, cChar ); in RemoveControlChars()
114 sal_Unicode cChar = rTxt[i]; in ReplaceControlChars() local
115 if (CH_TXTATR_INWORD != cChar) in ReplaceControlChars()
117 if (IsControlChar( cChar )) in ReplaceControlChars()
118 cChar = ' '; in ReplaceControlChars()
120 aBuf.setCharAt( nCnt++, cChar ); in ReplaceControlChars()
/AOO41X/main/oox/source/xls/
H A Daddressconverter.cxx289 sal_Unicode cChar = *pcChar; in parseOoxAddress2d() local
294 if( ('a' <= cChar) && (cChar <= 'z') ) in parseOoxAddress2d()
295 (cChar -= 'a') += 'A'; in parseOoxAddress2d()
296 if( ('A' <= cChar) && (cChar <= 'Z') ) in parseOoxAddress2d()
302 (ornColumn *= 26) += (cChar - 'A' + 1); in parseOoxAddress2d()
316 if( ('0' <= cChar) && (cChar <= '9') ) in parseOoxAddress2d()
321 (ornRow *= 10) += (cChar - '0'); in parseOoxAddress2d()
366 bool lclAppendUrlChar( OUStringBuffer& orUrl, sal_Unicode cChar, bool bEncodeSpecial ) in lclAppendUrlChar() argument
369 if( bEncodeSpecial ) switch( cChar ) in lclAppendUrlChar()
374 orUrl.append( cChar ); in lclAppendUrlChar()
[all …]
H A Dpagesettings.cxx621 sal_Unicode cChar = *pcChar; in parse() local
626 switch( cChar ) in parse()
637 maBuffer.append( cChar ); in parse()
647 if( ('a' <= cChar) && (cChar <= 'z') ) in parse()
648 (cChar -= 'a') += 'A'; in parse()
649 switch( cChar ) in parse()
651 case '&': maBuffer.append( cChar ); break; // the '&' character in parse()
759 if( ('0' <= cChar) && (cChar <= '9') ) // font size in parse()
761 nFontHeight = cChar - '0'; in parse()
770 switch( cChar ) in parse()
[all …]
/AOO41X/main/vcl/source/helper/
H A Dstrhelper.cxx32 inline int isSpace( char cChar ) in isSpace() argument
35 cChar == ' ' || cChar == '\t' || in isSpace()
36 cChar == '\r' || cChar == '\n' || in isSpace()
37 cChar == 0x0c || cChar == 0x0b; in isSpace()
40 inline int isSpace( sal_Unicode cChar ) in isSpace() argument
43 cChar == ' ' || cChar == '\t' || in isSpace()
44 cChar == '\r' || cChar == '\n' || in isSpace()
45 cChar == 0x0c || cChar == 0x0b; in isSpace()
48 inline int isProtect( char cChar ) in isProtect() argument
50 return cChar == '`' || cChar == '\'' || cChar == '"'; in isProtect()
[all …]
/AOO41X/main/vcl/source/gdi/
H A Dimpfont.cxx135 int ImplFontCharMap::ImplFindRangeIndex( sal_UCS4 cChar ) const in ImplFindRangeIndex()
142 if( cChar >= mpRangeCodes[ nMid ] ) in ImplFindRangeIndex()
154 bool ImplFontCharMap::HasChar( sal_UCS4 cChar ) const in HasChar()
159 const int nRange = ImplFindRangeIndex( cChar ); in HasChar()
160 if( nRange==0 && cChar<mpRangeCodes[0] ) in HasChar()
164 const int nGlyphIndex = GetGlyphIndex( cChar ); in HasChar()
173 int ImplFontCharMap::GetGlyphIndex( sal_UCS4 cChar ) const in GetGlyphIndex()
180 int nRange = ImplFindRangeIndex( cChar ); in GetGlyphIndex()
182 if( (nRange == 0) && (cChar < mpRangeCodes[0]) ) { in GetGlyphIndex()
188 nRange = ImplFindRangeIndex( cChar | 0xF000 ); in GetGlyphIndex()
[all …]
/AOO41X/main/svtools/source/svhtml/
H A Dparhtml.cxx468 sal_Unicode cChar = 0U; in ScanText() local
483 cChar = cChar * 16U + in ScanText()
496 cChar = cChar * 10U + sal_Unicode( nNextCh - '0'); in ScanText()
505 cChar < 256 ) in ScanText()
507 sal_Unicode cOrig = cChar; in ScanText()
508 cChar = ByteString::ConvertToUnicode( in ScanText()
509 (sal_Char)cChar, eSrcEnc ); in ScanText()
510 if( 0U == cChar ) in ScanText()
515 cChar = cOrig; in ScanText()
539 cChar = GetHTMLCharName( sEntity ); in ScanText()
[all …]
/AOO41X/main/sc/source/filter/ftools/
H A Dftools.cxx275 sal_Char cChar; in ReadCString() local
278 rStrm >> cChar; in ReadCString()
279 while( cChar && nLen++ < STRING_MAXLEN ) in ReadCString()
281 aRet += cChar; in ReadCString()
282 rStrm >> cChar; in ReadCString()
293 sal_Char cChar; in ReadCString() local
296 rStrm >> cChar; in ReadCString()
298 while( cChar && nLen++ < STRING_MAXLEN ) in ReadCString()
300 aRet += cChar; in ReadCString()
301 rStrm >> cChar; in ReadCString()
[all …]
/AOO41X/main/sw/source/core/text/
H A Ditratr.cxx659 xub_Unicode cChar = CH_BLANK; in GetMinMaxSize() local
662 CH_TAB != ( cChar = m_Text.GetChar( nStop ) ) && in GetMinMaxSize()
663 CH_BREAK != cChar && CHAR_HARDBLANK != cChar && in GetMinMaxSize()
664 CHAR_HARDHYPHEN != cChar && CHAR_SOFTHYPHEN != cChar && in GetMinMaxSize()
667 if( ( CH_TXTATR_BREAKWORD != cChar && CH_TXTATR_INWORD != cChar ) in GetMinMaxSize()
677 switch( cChar ) in GetMinMaxSize()
700 XubString sTmp( cChar ); in GetMinMaxSize()
909 xub_Unicode cChar = CH_BLANK; in GetScalingOfSelectedText() local
915 cChar = m_Text.GetChar( nStop ); in GetScalingOfSelectedText()
917 CH_TAB == cChar || in GetScalingOfSelectedText()
[all …]
/AOO41X/main/editeng/source/misc/
H A Dsvxacorr.cxx340 sal_Bool SvxAutoCorrect::IsAutoCorrectChar( sal_Unicode cChar ) in IsAutoCorrectChar() argument
342 return cChar == '\0' || cChar == '\t' || cChar == 0x0a || in IsAutoCorrectChar()
343 cChar == ' ' || cChar == '\'' || cChar == '\"' || in IsAutoCorrectChar()
344 cChar == '*' || cChar == '_' || in IsAutoCorrectChar()
345 cChar == '.' || cChar == ',' || cChar == ';' || in IsAutoCorrectChar()
346 cChar == ':' || cChar == '?' || cChar == '!' || cChar == '/'; in IsAutoCorrectChar()
349 sal_Bool SvxAutoCorrect::NeedsHardspaceAutocorr( sal_Unicode cChar ) in NeedsHardspaceAutocorr() argument
351 return cChar == ';' || cChar == ':' || cChar == '?' || cChar == '!' || in NeedsHardspaceAutocorr()
352 cChar == '/' /*case for the urls exception*/; in NeedsHardspaceAutocorr()
691 sal_Unicode cChar = rTxt.GetChar( nEndPos ); in FnAddNonBrkSpace() local
[all …]
/AOO41X/main/vcl/source/control/
H A Dfield2.cxx160 static int ImplIsPatternChar( xub_Unicode cChar, sal_Char cEditMask ) in ImplIsPatternChar() argument
166 String aCharStr( cChar ); in ImplIsPatternChar()
192 if ( cChar < 32 ) in ImplIsPatternChar()
197 if ( !CharClass::isNumericType( nType ) && ( cChar != ' ' ) ) in ImplIsPatternChar()
208 static xub_Unicode ImplPatternChar( xub_Unicode cChar, sal_Char cEditMask ) in ImplPatternChar() argument
210 if ( ImplIsPatternChar( cChar, cEditMask ) ) in ImplPatternChar()
216cChar = ImplGetCharClass()->toUpper( String(cChar),0,1,Application::GetSettings().GetLocale() )[0]; in ImplPatternChar()
218 return cChar; in ImplPatternChar()
250 xub_Unicode cChar; in ImplPatternReformat() local
262 cChar = aStr.GetChar(nStrIndex); in ImplPatternReformat()
[all …]
/AOO41X/main/i18npool/source/transliteration/
H A Dtransliteration_body.cxx82 static sal_uInt8 lcl_getMappingTypeForToggleCase( sal_uInt8 nMappingType, sal_Unicode cChar ) in lcl_getMappingTypeForToggleCase() argument
91 const sal_Int16 nType = unicode::getUnicodeType( cChar ); in lcl_getMappingTypeForToggleCase()
333 sal_uInt32 cChar;
358 static inline bool lcl_IsLigature( sal_uInt32 cChar )
360 return (0x0FB00 <= cChar && cChar <= 0x0FB06) || (0x0FB13 <= cChar && cChar <= 0x0FB17);
363 static rtl::OUString lcl_ResolveLigature( sal_uInt32 cChar )
366 if (lcl_IsLigature( cChar ))
370 while (!pFound && pData->cChar != 0)
372 if (pData->cChar == cChar)
380 aRes = rtl::OUString( &cChar, 1 );
/AOO41X/main/connectivity/source/drivers/file/
H A Dquotedstring.cxx50 const sal_Unicode cChar = m_sString[ i ]; in GetTokenCount() local
55 if ( cChar == cStrDel ) in GetTokenCount()
65 if ( cChar == cStrDel ) in GetTokenCount()
82 if ( cChar == cTok ) in GetTokenCount()
114 const sal_Unicode cChar = m_sString[ i ]; in GetTokenSpecial() local
118 if ( cChar == cStrDel ) in GetTokenSpecial()
135 buffer.append( cChar ); // Zeichen gehoert zum Resultat-String in GetTokenSpecial()
142 if ( cChar == cTok ) in GetTokenSpecial()
151 buffer.append( cChar ); // Zeichen gehoert zum Resultat-String in GetTokenSpecial()
/AOO41X/main/vcl/source/glyphs/
H A Dgcach_layout.cxx108 sal_UCS4 cChar = rArgs.mpStr[ nCharPos ]; in operator ()() local
109 if( (cChar >= 0xD800) && (cChar <= 0xDFFF) ) in operator ()()
111 if( cChar >= 0xDC00 ) // this part of a surrogate pair was already processed in operator ()()
113 cChar = 0x10000 + ((cChar - 0xD800) << 10) in operator ()()
118 cChar = GetMirroredChar( cChar ); in operator ()()
119 sal_GlyphId aGlyphId = rFont.GetGlyphIndex( cChar ); in operator ()()
123 if( cChar >= 0x10000 ) // handle surrogate pairs in operator ()()
383 static bool lcl_CharIsJoiner(sal_Unicode cChar) in lcl_CharIsJoiner() argument
385 return ((cChar == 0x200C) || (cChar == 0x200D)); in lcl_CharIsJoiner()
524 if( cChar >= 0xDC00 ) // this part of a surrogate pair was already processed in operator ()()
H A Dgcach_ftyp.hxx90 int GetGlyphIndex( sal_UCS4 cChar ) const;
91 void CacheGlyphIndex( sal_UCS4 cChar, int nGI ) const;
124 inline int FtFontInfo::GetGlyphIndex( sal_UCS4 cChar ) const in GetGlyphIndex()
128 Int2IntMap::const_iterator it = mpChar2Glyph->find( cChar ); in GetGlyphIndex()
134 inline void FtFontInfo::CacheGlyphIndex( sal_UCS4 cChar, int nIndex ) const in CacheGlyphIndex() argument
138 (*mpChar2Glyph)[ cChar ] = nIndex; in CacheGlyphIndex()
139 (*mpGlyph2Char)[ nIndex ] = cChar; in CacheGlyphIndex()
/AOO41X/main/cui/source/dialogs/
H A Dcuicharmap.cxx381 sal_UCS4 cChar = aShowSet.GetSelectCharacter(); in IMPL_LINK() local
383 rtl::OUString aOUStr( &cChar, 1 ); in IMPL_LINK()
487 sal_UCS4 cChar = aShowSet.GetSelectCharacter(); in IMPL_LINK() local
489 rtl::OUString aOUStr( &cChar, 1 ); in IMPL_LINK()
503 sal_UCS4 cChar = aShowSet.GetSelectCharacter(); in IMPL_LINK() local
504 sal_Bool bSelect = (cChar > 0); in IMPL_LINK()
510 aText = rtl::OUString( &cChar, 1 ); in IMPL_LINK()
514 pSubset = pSubsetMap->GetSubsetByUnicode( cChar ); in IMPL_LINK()
527 snprintf( aBuf, sizeof(aBuf), "U+%04X", static_cast<unsigned>(cChar) ); in IMPL_LINK()
528 if( cChar < 0x0100 ) in IMPL_LINK()
[all …]
/AOO41X/main/svx/source/sidebar/
H A Dnbdtmg.cxx389 sal_Unicode cChar = aFmt.GetBulletChar(); in GetNBOIndexForNumRule() local
419 if ( (cChar == pActualBullets[i]->cBulletChar|| in GetNBOIndexForNumRule()
420 (cChar == 9830 && 57356 == pActualBullets[i]->cBulletChar) || in GetNBOIndexForNumRule()
421 …(cChar == 9632 && 57354 == pActualBullets[i]->cBulletChar)))// && pFont && (pFont->GetName().Compa… in GetNBOIndexForNumRule()
444 sal_Unicode cChar = aFmt.GetBulletChar(); in RelplaceNumRule() local
468 pActualBullets[nIndex]->cBulletChar = cChar; in RelplaceNumRule()
487 sal_Unicode cChar; in ApplyNumRule() local
509 cChar = pActualBullets[nIndex]->cBulletChar; in ApplyNumRule()
522 aFmt.SetBulletChar(cChar ); in ApplyNumRule()
562 sal_Unicode cChar; in GetBulChar() local
[all …]
/AOO41X/main/starmath/source/
H A Dparse.cxx69 static inline sal_Bool IsDigit( sal_Unicode cChar ) in IsDigit() argument
71 return '0' <= cChar && cChar <= '9'; in IsDigit()
368 sal_Unicode cChar = rTxt.GetChar( nPos ); in IsDelimiter() local
369 if(!cChar) in IsDelimiter()
375 if (*pDelim == cChar) in IsDelimiter()
959 sal_Unicode cChar; in NextToken() local
962 cChar = m_aBufferString.GetChar( ++m_nBufferIndex ); in NextToken()
964 while ( cChar == '.' || IsDigit( cChar ) ); in NextToken()
1597 sal_Unicode cChar; in Escape() local
1599 { case TLPARENT : cChar = MS_LPARENT; break; in Escape()
[all …]
/AOO41X/main/starmath/inc/
H A Dtypes.hxx44 inline sal_Bool IsInPrivateUseArea( sal_Unicode cChar ) { return 0xE000 <= cChar && cChar <= 0xF8… in IsInPrivateUseArea() argument
47 inline sal_Bool IsGreekChar( sal_Unicode cChar ) { return 0x0370 <= cChar && cChar <= 0x03FF; } in IsGreekChar() argument
49 sal_Unicode ConvertMathPrivateUseAreaToUnicode( sal_Unicode cChar );
51 sal_Unicode ConvertMathToMathML( sal_Unicode cChar );
/AOO41X/main/sc/source/filter/inc/
H A Ddif.hxx96 inline sal_Bool IsNumber( const sal_Unicode cChar );
97 inline sal_Bool IsNumberEnding( const sal_Unicode cChar );
139 inline sal_Bool DifParser::IsNumber( const sal_Unicode cChar ) in IsNumber() argument
141 return ( cChar >= '0' && cChar <= '9' ); in IsNumber()
145 inline sal_Bool DifParser::IsNumberEnding( const sal_Unicode cChar ) in IsNumberEnding() argument
147 return ( cChar == 0x00 ); in IsNumberEnding()
/AOO41X/main/linguistic/source/
H A Dmisc.cxx609 sal_Unicode cChar = rOrigWord[i]; in GetOrigWordPos() local
610 sal_Bool bSkip = IsHyphen( cChar ) || IsControlChar( cChar ); in GetOrigWordPos()
627 sal_Unicode cChar = rTxt[i]; in GetPosInWordToCheck() local
628 sal_Bool bSkip = IsHyphen( cChar ) || IsControlChar( cChar ); in GetPosInWordToCheck()
774 sal_Unicode ToLower( const sal_Unicode cChar, sal_Int16 nLanguage ) in ToLower() argument
780 return rCC.lower( cChar ).GetChar(0); in ToLower()
784 sal_Unicode ToUpper( const sal_Unicode cChar, sal_Int16 nLanguage ) in ToUpper() argument
790 return rCC.upper( cChar ).GetChar(0); in ToUpper()
864 sal_Unicode cChar = rText.GetChar( i++ ); in IsNumeric() local
865 if ( !((sal_Unicode)'0' <= cChar && cChar <= (sal_Unicode)'9') ) in IsNumeric()
/AOO41X/main/oox/source/dump/
H A Ddumperbase.cxx230 void StringHelper::appendChar( OUStringBuffer& rStr, sal_Unicode cChar, sal_Int32 nCount ) in appendChar() argument
233 rStr.append( cChar ); in appendChar()
550 void StringHelper::appendCChar( OUStringBuffer& rStr, sal_Unicode cChar, bool bPrefix ) in appendCChar() argument
552 if( cChar > 0x00FF ) in appendCChar()
556 appendHex( rStr, static_cast< sal_uInt16 >( cChar ), false ); in appendCChar()
562 appendHex( rStr, static_cast< sal_uInt8 >( cChar ), false ); in appendCChar()
566 void StringHelper::appendEncChar( OUStringBuffer& rStr, sal_Unicode cChar, sal_Int32 nCount, bool b… in appendEncChar() argument
568 if( cChar < 0x0020 ) in appendEncChar()
572 appendCChar( aCode, cChar, bPrefix ); in appendEncChar()
578 appendChar( rStr, cChar, nCount ); in appendEncChar()
[all …]
/AOO41X/main/testtools/source/bridgetest/pyuno/
H A Dsamplecomponent.py36 def assign( rData, bBool, cChar, nByte, nShort, nUShort, nLong, nULong, nHyper,\ argument
39 rData.Char = cChar;
73 def setValues( self, bBool, cChar, nByte, nShort, nUShort, nLong,\ argument
76 self.__dict__["data"] = TestDataElements( bBool, cChar, nByte, nShort, nUShort, nLong,
81 def setValues2( self, bBool, cChar, nByte, nShort, nUShort, nLong, nULong,\ argument
84 self.__dict__["Struct"] = TestData( cChar, nByte, nShort, nUShort, nLong, nULong, nHyper,\
88 return bBool, cChar, nByte, nShort, nUShort, nLong, nULong, nHyper, nUHyper, nULong, \
/AOO41X/main/unotools/source/misc/
H A Dfontcvt.cxx1195 if (sal_Unicode cChar = r.pTab[aEntry.cIndex-0x20]) in StarSymbolToMSMultiFontImpl() local
1198 cChar, aEntry)); in StarSymbolToMSMultiFontImpl()
1346 sal_Unicode ConvertChar::RecodeChar( sal_Unicode cChar ) const in RecodeChar()
1352 cRetVal = mpCvtFunc( cChar ); in RecodeChar()
1357 sal_Unicode cIndex = cChar; in RecodeChar()
1366 return cRetVal ? cRetVal : cChar; in RecodeChar()
1498 FontToSubsFontConverter hConverter, sal_Unicode cChar ) in ConvertFontToSubsFontChar() argument
1501 return ((ConvertChar*)hConverter)->RecodeChar( cChar ); in ConvertFontToSubsFontChar()
1503 return cChar; in ConvertFontToSubsFontChar()

123456789