Lines Matching refs:cnv
184 _UTF7Reset(UConverter *cnv, UConverterResetChoice choice) { in _UTF7Reset() argument
187 cnv->toUnicodeStatus=0x1000000; /* inDirectMode=TRUE */ in _UTF7Reset()
188 cnv->toULength=0; in _UTF7Reset()
192 …cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMod… in _UTF7Reset()
197 _UTF7Open(UConverter *cnv, in _UTF7Open() argument
201 if(UCNV_GET_VERSION(cnv)<=1) { in _UTF7Open()
203 cnv->fromUnicodeStatus=UCNV_GET_VERSION(cnv)<<28; in _UTF7Open()
204 _UTF7Reset(cnv, UCNV_RESET_BOTH); in _UTF7Open()
213 UConverter *cnv; in _UTF7ToUnicodeWithOffsets() local
235 cnv=pArgs->converter; in _UTF7ToUnicodeWithOffsets()
244 uint32_t status=cnv->toUnicodeStatus; in _UTF7ToUnicodeWithOffsets()
249 bytes=cnv->toUBytes; in _UTF7ToUnicodeWithOffsets()
250 byteIndex=cnv->toULength; in _UTF7ToUnicodeWithOffsets()
451 …cnv->toUnicodeStatus=((uint32_t)inDirectMode<<24)|((uint32_t)((uint8_t)base64Counter)<<16)|(uint32… in _UTF7ToUnicodeWithOffsets()
452 cnv->toULength=byteIndex; in _UTF7ToUnicodeWithOffsets()
464 UConverter *cnv; in _UTF7FromUnicodeWithOffsets() local
479 cnv=pArgs->converter; in _UTF7FromUnicodeWithOffsets()
490 uint32_t status=cnv->fromUnicodeStatus; in _UTF7FromUnicodeWithOffsets()
532 cnv->charErrorBuffer[0]=MINUS; in _UTF7FromUnicodeWithOffsets()
533 cnv->charErrorBufferLength=1; in _UTF7FromUnicodeWithOffsets()
582 cnv->charErrorBuffer[0]=MINUS; in _UTF7FromUnicodeWithOffsets()
583 cnv->charErrorBufferLength=1; in _UTF7FromUnicodeWithOffsets()
612 cnv->charErrorBuffer[0]=toBase64[(c>>4)&0x3f]; in _UTF7FromUnicodeWithOffsets()
613 cnv->charErrorBufferLength=1; in _UTF7FromUnicodeWithOffsets()
635 cnv->charErrorBuffer[0]=toBase64[(c>>2)&0x3f]; in _UTF7FromUnicodeWithOffsets()
636 cnv->charErrorBufferLength=1; in _UTF7FromUnicodeWithOffsets()
643 cnv->charErrorBuffer[0]=toBase64[(c>>8)&0x3f]; in _UTF7FromUnicodeWithOffsets()
644 cnv->charErrorBuffer[1]=toBase64[(c>>2)&0x3f]; in _UTF7FromUnicodeWithOffsets()
645 cnv->charErrorBufferLength=2; in _UTF7FromUnicodeWithOffsets()
667 cnv->charErrorBuffer[0]=toBase64[c&0x3f]; in _UTF7FromUnicodeWithOffsets()
668 cnv->charErrorBufferLength=1; in _UTF7FromUnicodeWithOffsets()
675 cnv->charErrorBuffer[0]=toBase64[(c>>6)&0x3f]; in _UTF7FromUnicodeWithOffsets()
676 cnv->charErrorBuffer[1]=toBase64[c&0x3f]; in _UTF7FromUnicodeWithOffsets()
677 cnv->charErrorBufferLength=2; in _UTF7FromUnicodeWithOffsets()
706 cnv->charErrorBuffer[cnv->charErrorBufferLength++]=toBase64[bits]; in _UTF7FromUnicodeWithOffsets()
717 cnv->charErrorBuffer[cnv->charErrorBufferLength++]=MINUS; in _UTF7FromUnicodeWithOffsets()
722 …cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMod… in _UTF7FromUnicodeWithOffsets()
725 cnv->fromUnicodeStatus= in _UTF7FromUnicodeWithOffsets()
726 (cnv->fromUnicodeStatus&0xf0000000)| /* keep version*/ in _UTF7FromUnicodeWithOffsets()
738 _UTF7GetName(const UConverter *cnv) { in _UTF7GetName() argument
739 switch(cnv->fromUnicodeStatus>>28) { in _UTF7GetName()
897 UConverter *cnv; in _IMAPToUnicodeWithOffsets() local
921 cnv=pArgs->converter; in _IMAPToUnicodeWithOffsets()
930 uint32_t status=cnv->toUnicodeStatus; in _IMAPToUnicodeWithOffsets()
935 bytes=cnv->toUBytes; in _IMAPToUnicodeWithOffsets()
936 byteIndex=cnv->toULength; in _IMAPToUnicodeWithOffsets()
1152 …cnv->toUnicodeStatus=((uint32_t)inDirectMode<<24)|((uint32_t)((uint8_t)base64Counter)<<16)|(uint32… in _IMAPToUnicodeWithOffsets()
1153 cnv->toULength=byteIndex; in _IMAPToUnicodeWithOffsets()
1165 UConverter *cnv; in _IMAPFromUnicodeWithOffsets() local
1180 cnv=pArgs->converter; in _IMAPFromUnicodeWithOffsets()
1191 uint32_t status=cnv->fromUnicodeStatus; in _IMAPFromUnicodeWithOffsets()
1231 cnv->charErrorBuffer[0]=MINUS; in _IMAPFromUnicodeWithOffsets()
1232 cnv->charErrorBufferLength=1; in _IMAPFromUnicodeWithOffsets()
1280 cnv->charErrorBuffer[0]=MINUS; in _IMAPFromUnicodeWithOffsets()
1281 cnv->charErrorBufferLength=1; in _IMAPFromUnicodeWithOffsets()
1312 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b); in _IMAPFromUnicodeWithOffsets()
1313 cnv->charErrorBufferLength=1; in _IMAPFromUnicodeWithOffsets()
1339 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b); in _IMAPFromUnicodeWithOffsets()
1340 cnv->charErrorBufferLength=1; in _IMAPFromUnicodeWithOffsets()
1348 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b); in _IMAPFromUnicodeWithOffsets()
1350 cnv->charErrorBuffer[1]=TO_BASE64_IMAP(b); in _IMAPFromUnicodeWithOffsets()
1351 cnv->charErrorBufferLength=2; in _IMAPFromUnicodeWithOffsets()
1377 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b); in _IMAPFromUnicodeWithOffsets()
1378 cnv->charErrorBufferLength=1; in _IMAPFromUnicodeWithOffsets()
1386 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b); in _IMAPFromUnicodeWithOffsets()
1388 cnv->charErrorBuffer[1]=TO_BASE64_IMAP(b); in _IMAPFromUnicodeWithOffsets()
1389 cnv->charErrorBufferLength=2; in _IMAPFromUnicodeWithOffsets()
1418 cnv->charErrorBuffer[cnv->charErrorBufferLength++]=TO_BASE64_IMAP(bits); in _IMAPFromUnicodeWithOffsets()
1429 cnv->charErrorBuffer[cnv->charErrorBufferLength++]=MINUS; in _IMAPFromUnicodeWithOffsets()
1434 …cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMod… in _IMAPFromUnicodeWithOffsets()
1437 cnv->fromUnicodeStatus= in _IMAPFromUnicodeWithOffsets()
1438 (cnv->fromUnicodeStatus&0xf0000000)| /* keep version*/ in _IMAPFromUnicodeWithOffsets()