Lines Matching refs:nChar
51 bool contains(sal_uInt32 nChar) const;
91 void includes(sal_uInt32 nChar);
178 bool Charset::contains(sal_uInt32 nChar) const in contains()
182 if (nChar < *p++) in contains()
184 if (nChar <= *p++) in contains()
227 void INetMIMECharsetList_Impl::includes(sal_uInt32 nChar) in includes() argument
230 if (!(p->m_bDisabled || p->m_aCharset.contains(nChar))) in includes()
391 bool INetMIME::isAtomChar(sal_uInt32 nChar) in isAtomChar() argument
411 return isUSASCII(nChar) && aMap[nChar]; in isAtomChar()
416 bool INetMIME::isTokenChar(sal_uInt32 nChar) in isTokenChar() argument
436 return isUSASCII(nChar) && aMap[nChar]; in isTokenChar()
441 bool INetMIME::isEncodedWordTokenChar(sal_uInt32 nChar) in isEncodedWordTokenChar() argument
461 return isUSASCII(nChar) && aMap[nChar]; in isEncodedWordTokenChar()
466 bool INetMIME::isIMAPAtomChar(sal_uInt32 nChar) in isIMAPAtomChar() argument
486 return isUSASCII(nChar) && aMap[nChar]; in isIMAPAtomChar()
1439 sal_uInt32 nChar = INetMIME::getUTF32Character(p, pEnd); in scanParameters() local
1440 if (isUSASCII(nChar) && !isTokenChar(nChar)) in scanParameters()
1442 if (nChar == '%' && p + 1 < pEnd) in scanParameters()
1453 INetMIME::writeUTF8(aSink, nChar); in scanParameters()
1474 sal_uInt32 nChar = INetMIME::getUTF32Character(p, pEnd); in scanParameters() local
1475 if (nChar == '"') in scanParameters()
1477 else if (nChar == 0x0D) // CR in scanParameters()
1485 nChar = sal_uChar(*p++); in scanParameters()
1487 else if (nChar == '\\') in scanParameters()
1494 nChar = INetMIME::getUTF32Character(p, pEnd); in scanParameters()
1496 INetMIME::writeUTF8(aSink, nChar); in scanParameters()
2134 void INetMIME::writeUTF8(INetMIMEOutputSink & rSink, sal_uInt32 nChar) in writeUTF8() argument
2137 DBG_ASSERT(nChar < 0x80000000, "INetMIME::writeUTF8(): Bad char"); in writeUTF8()
2139 if (nChar < 0x80) in writeUTF8()
2140 rSink << sal_Char(nChar); in writeUTF8()
2141 else if (nChar < 0x800) in writeUTF8()
2142 rSink << sal_Char(nChar >> 6 | 0xC0) in writeUTF8()
2143 << sal_Char((nChar & 0x3F) | 0x80); in writeUTF8()
2144 else if (nChar < 0x10000) in writeUTF8()
2145 rSink << sal_Char(nChar >> 12 | 0xE0) in writeUTF8()
2146 << sal_Char((nChar >> 6 & 0x3F) | 0x80) in writeUTF8()
2147 << sal_Char((nChar & 0x3F) | 0x80); in writeUTF8()
2148 else if (nChar < 0x200000) in writeUTF8()
2149 rSink << sal_Char(nChar >> 18 | 0xF0) in writeUTF8()
2150 << sal_Char((nChar >> 12 & 0x3F) | 0x80) in writeUTF8()
2151 << sal_Char((nChar >> 6 & 0x3F) | 0x80) in writeUTF8()
2152 << sal_Char((nChar & 0x3F) | 0x80); in writeUTF8()
2153 else if (nChar < 0x4000000) in writeUTF8()
2154 rSink << sal_Char(nChar >> 24 | 0xF8) in writeUTF8()
2155 << sal_Char((nChar >> 18 & 0x3F) | 0x80) in writeUTF8()
2156 << sal_Char((nChar >> 12 & 0x3F) | 0x80) in writeUTF8()
2157 << sal_Char((nChar >> 6 & 0x3F) | 0x80) in writeUTF8()
2158 << sal_Char((nChar & 0x3F) | 0x80); in writeUTF8()
2160 rSink << sal_Char(nChar >> 30 | 0xFC) in writeUTF8()
2161 << sal_Char((nChar >> 24 & 0x3F) | 0x80) in writeUTF8()
2162 << sal_Char((nChar >> 18 & 0x3F) | 0x80) in writeUTF8()
2163 << sal_Char((nChar >> 12 & 0x3F) | 0x80) in writeUTF8()
2164 << sal_Char((nChar >> 6 & 0x3F) | 0x80) in writeUTF8()
2165 << sal_Char((nChar & 0x3F) | 0x80); in writeUTF8()
3280 sal_uInt32 nChar = *q++; in decodeHeaderFieldBody() local
3281 switch (nChar) in decodeHeaderFieldBody()
3333 if (!isVisible(nChar)) in decodeHeaderFieldBody()
3814 INetMIMEEncodedWordOutputSink::needsEncodedWordEscape(sal_uInt32 nChar) const in needsEncodedWordEscape()
3816 return !INetMIME::isUSASCII(nChar) || aEscape[nChar] & m_eContext; in needsEncodedWordEscape()
4286 INetMIMEEncodedWordOutputSink::operator <<(sal_uInt32 nChar) in operator <<() argument
4288 if (nChar == ' ') in operator <<()
4300 if (nChar == '=') in operator <<()
4307 if (nChar == '?') in operator <<()
4314 if (INetMIME::isEncodedWordTokenChar(nChar)) in operator <<()
4321 if (nChar == '?') in operator <<()
4323 else if (!INetMIME::isEncodedWordTokenChar(nChar)) in operator <<()
4328 if (nChar == 'B' || nChar == 'Q' in operator <<()
4329 || nChar == 'b' || nChar == 'q') in operator <<()
4336 if (nChar == '?') in operator <<()
4343 if (INetMIME::isVisible(nChar) && nChar != '?') in operator <<()
4350 if (nChar == '?') in operator <<()
4352 else if (!INetMIME::isVisible(nChar)) in operator <<()
4357 if (nChar == '=') in operator <<()
4372 m_pEncodingList->includes(nChar); in operator <<()
4508 Coding eNewCoding = !INetMIME::isUSASCII(nChar) ? CODING_ENCODED : in operator <<()
4510 Coding(aMinimal[nChar] >> 2) : in operator <<()
4511 aMinimal[nChar] & m_eContext ? CODING_ENCODED : in operator <<()
4516 && INetMIME::needsQuotedStringEscape(nChar)) in operator <<()
4530 *m_pBufferEnd++ = sal_Unicode(nChar); in operator <<()