Lines Matching refs:cnv
180 _UTF7Reset(UConverter *cnv, UConverterResetChoice choice) { in _UTF7Reset() argument
183 cnv->toUnicodeStatus=0x1000000; /* inDirectMode=TRUE */ in _UTF7Reset()
184 cnv->toULength=0; in _UTF7Reset()
188 …cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMod… in _UTF7Reset()
193 _UTF7Open(UConverter *cnv, in _UTF7Open() argument
196 if(UCNV_GET_VERSION(cnv)<=1) { in _UTF7Open()
198 cnv->fromUnicodeStatus=UCNV_GET_VERSION(cnv)<<28; in _UTF7Open()
199 _UTF7Reset(cnv, UCNV_RESET_BOTH); in _UTF7Open()
208 UConverter *cnv; in _UTF7ToUnicodeWithOffsets() local
230 cnv=pArgs->converter; in _UTF7ToUnicodeWithOffsets()
239 uint32_t status=cnv->toUnicodeStatus; in _UTF7ToUnicodeWithOffsets()
244 bytes=cnv->toUBytes; in _UTF7ToUnicodeWithOffsets()
245 byteIndex=cnv->toULength; in _UTF7ToUnicodeWithOffsets()
446 …cnv->toUnicodeStatus=((uint32_t)inDirectMode<<24)|((uint32_t)((uint8_t)base64Counter)<<16)|(uint32… in _UTF7ToUnicodeWithOffsets()
447 cnv->toULength=byteIndex; in _UTF7ToUnicodeWithOffsets()
459 UConverter *cnv; in _UTF7FromUnicodeWithOffsets() local
474 cnv=pArgs->converter; in _UTF7FromUnicodeWithOffsets()
485 uint32_t status=cnv->fromUnicodeStatus; in _UTF7FromUnicodeWithOffsets()
527 cnv->charErrorBuffer[0]=MINUS; in _UTF7FromUnicodeWithOffsets()
528 cnv->charErrorBufferLength=1; in _UTF7FromUnicodeWithOffsets()
577 cnv->charErrorBuffer[0]=MINUS; in _UTF7FromUnicodeWithOffsets()
578 cnv->charErrorBufferLength=1; in _UTF7FromUnicodeWithOffsets()
607 cnv->charErrorBuffer[0]=toBase64[(c>>4)&0x3f]; in _UTF7FromUnicodeWithOffsets()
608 cnv->charErrorBufferLength=1; in _UTF7FromUnicodeWithOffsets()
630 cnv->charErrorBuffer[0]=toBase64[(c>>2)&0x3f]; in _UTF7FromUnicodeWithOffsets()
631 cnv->charErrorBufferLength=1; in _UTF7FromUnicodeWithOffsets()
638 cnv->charErrorBuffer[0]=toBase64[(c>>8)&0x3f]; in _UTF7FromUnicodeWithOffsets()
639 cnv->charErrorBuffer[1]=toBase64[(c>>2)&0x3f]; in _UTF7FromUnicodeWithOffsets()
640 cnv->charErrorBufferLength=2; in _UTF7FromUnicodeWithOffsets()
662 cnv->charErrorBuffer[0]=toBase64[c&0x3f]; in _UTF7FromUnicodeWithOffsets()
663 cnv->charErrorBufferLength=1; in _UTF7FromUnicodeWithOffsets()
670 cnv->charErrorBuffer[0]=toBase64[(c>>6)&0x3f]; in _UTF7FromUnicodeWithOffsets()
671 cnv->charErrorBuffer[1]=toBase64[c&0x3f]; in _UTF7FromUnicodeWithOffsets()
672 cnv->charErrorBufferLength=2; in _UTF7FromUnicodeWithOffsets()
701 cnv->charErrorBuffer[cnv->charErrorBufferLength++]=toBase64[bits]; in _UTF7FromUnicodeWithOffsets()
712 cnv->charErrorBuffer[cnv->charErrorBufferLength++]=MINUS; in _UTF7FromUnicodeWithOffsets()
717 …cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMod… in _UTF7FromUnicodeWithOffsets()
720 cnv->fromUnicodeStatus= in _UTF7FromUnicodeWithOffsets()
721 (cnv->fromUnicodeStatus&0xf0000000)| /* keep version*/ in _UTF7FromUnicodeWithOffsets()
733 _UTF7GetName(const UConverter *cnv) { in _UTF7GetName() argument
734 switch(cnv->fromUnicodeStatus>>28) { in _UTF7GetName()
887 UConverter *cnv; in _IMAPToUnicodeWithOffsets() local
911 cnv=pArgs->converter; in _IMAPToUnicodeWithOffsets()
920 uint32_t status=cnv->toUnicodeStatus; in _IMAPToUnicodeWithOffsets()
925 bytes=cnv->toUBytes; in _IMAPToUnicodeWithOffsets()
926 byteIndex=cnv->toULength; in _IMAPToUnicodeWithOffsets()
1142 …cnv->toUnicodeStatus=((uint32_t)inDirectMode<<24)|((uint32_t)((uint8_t)base64Counter)<<16)|(uint32… in _IMAPToUnicodeWithOffsets()
1143 cnv->toULength=byteIndex; in _IMAPToUnicodeWithOffsets()
1155 UConverter *cnv; in _IMAPFromUnicodeWithOffsets() local
1170 cnv=pArgs->converter; in _IMAPFromUnicodeWithOffsets()
1181 uint32_t status=cnv->fromUnicodeStatus; in _IMAPFromUnicodeWithOffsets()
1221 cnv->charErrorBuffer[0]=MINUS; in _IMAPFromUnicodeWithOffsets()
1222 cnv->charErrorBufferLength=1; in _IMAPFromUnicodeWithOffsets()
1270 cnv->charErrorBuffer[0]=MINUS; in _IMAPFromUnicodeWithOffsets()
1271 cnv->charErrorBufferLength=1; in _IMAPFromUnicodeWithOffsets()
1302 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b); in _IMAPFromUnicodeWithOffsets()
1303 cnv->charErrorBufferLength=1; in _IMAPFromUnicodeWithOffsets()
1329 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b); in _IMAPFromUnicodeWithOffsets()
1330 cnv->charErrorBufferLength=1; in _IMAPFromUnicodeWithOffsets()
1338 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b); in _IMAPFromUnicodeWithOffsets()
1340 cnv->charErrorBuffer[1]=TO_BASE64_IMAP(b); in _IMAPFromUnicodeWithOffsets()
1341 cnv->charErrorBufferLength=2; in _IMAPFromUnicodeWithOffsets()
1367 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b); in _IMAPFromUnicodeWithOffsets()
1368 cnv->charErrorBufferLength=1; in _IMAPFromUnicodeWithOffsets()
1376 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b); in _IMAPFromUnicodeWithOffsets()
1378 cnv->charErrorBuffer[1]=TO_BASE64_IMAP(b); in _IMAPFromUnicodeWithOffsets()
1379 cnv->charErrorBufferLength=2; in _IMAPFromUnicodeWithOffsets()
1408 cnv->charErrorBuffer[cnv->charErrorBufferLength++]=TO_BASE64_IMAP(bits); in _IMAPFromUnicodeWithOffsets()
1419 cnv->charErrorBuffer[cnv->charErrorBufferLength++]=MINUS; in _IMAPFromUnicodeWithOffsets()
1424 …cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMod… in _IMAPFromUnicodeWithOffsets()
1427 cnv->fromUnicodeStatus= in _IMAPFromUnicodeWithOffsets()
1428 (cnv->fromUnicodeStatus&0xf0000000)| /* keep version*/ in _IMAPFromUnicodeWithOffsets()