Home | History | Annotate | Download | only in common

Lines Matching defs:cnv

179 _UTF7Reset(UConverter *cnv, UConverterResetChoice choice) {
182 cnv->toUnicodeStatus=0x1000000; /* inDirectMode=TRUE */
183 cnv->toULength=0;
187 cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMode=TRUE */
192 _UTF7Open(UConverter *cnv,
195 if(UCNV_GET_VERSION(cnv)<=1) {
196 /* TODO(markus): Should just use cnv->options rather than copying the version number. */
197 cnv->fromUnicodeStatus=UCNV_GET_VERSION(cnv)<<28;
198 _UTF7Reset(cnv, UCNV_RESET_BOTH);
207 UConverter *cnv;
229 cnv=pArgs->converter;
238 uint32_t status=cnv->toUnicodeStatus;
243 bytes=cnv->toUBytes;
244 byteIndex=cnv->toULength;
445 cnv->toUnicodeStatus=((uint32_t)inDirectMode<<24)|((uint32_t)((uint8_t)base64Counter)<<16)|(uint32_t)bits;
446 cnv->toULength=byteIndex;
458 UConverter *cnv;
473 cnv=pArgs->converter;
484 uint32_t status=cnv->fromUnicodeStatus;
525 cnv->charErrorBuffer[0]=MINUS;
526 cnv->charErrorBufferLength=1;
575 cnv->charErrorBuffer[0]=MINUS;
576 cnv->charErrorBufferLength=1;
605 cnv->charErrorBuffer[0]=toBase64[(c>>4)&0x3f];
606 cnv->charErrorBufferLength=1;
628 cnv->charErrorBuffer[0]=toBase64[(c>>2)&0x3f];
629 cnv->charErrorBufferLength=1;
636 cnv->charErrorBuffer[0]=toBase64[(c>>8)&0x3f];
637 cnv->charErrorBuffer[1]=toBase64[(c>>2)&0x3f];
638 cnv->charErrorBufferLength=2;
660 cnv->charErrorBuffer[0]=toBase64[c&0x3f];
661 cnv->charErrorBufferLength=1;
668 cnv->charErrorBuffer[0]=toBase64[(c>>6)&0x3f];
669 cnv->charErrorBuffer[1]=toBase64[c&0x3f];
670 cnv->charErrorBufferLength=2;
699 cnv->charErrorBuffer[cnv->charErrorBufferLength++]=toBase64[bits];
710 cnv->charErrorBuffer[cnv->charErrorBufferLength++]=MINUS;
715 cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMode=TRUE */
718 cnv->fromUnicodeStatus=
719 (cnv->fromUnicodeStatus&0xf0000000)| /* keep version*/
731 _UTF7GetName(const UConverter *cnv) {
732 switch(cnv->fromUnicodeStatus>>28) {
888 UConverter *cnv;
912 cnv=pArgs->converter;
921 uint32_t status=cnv->toUnicodeStatus;
926 bytes=cnv->toUBytes;
927 byteIndex=cnv->toULength;
1143 cnv->toUnicodeStatus=((uint32_t)inDirectMode<<24)|((uint32_t)((uint8_t)base64Counter)<<16)|(uint32_t)bits;
1144 cnv->toULength=byteIndex;
1156 UConverter *cnv;
1171 cnv=pArgs->converter;
1182 uint32_t status=cnv->fromUnicodeStatus;
1222 cnv->charErrorBuffer[0]=MINUS;
1223 cnv->charErrorBufferLength=1;
1271 cnv->charErrorBuffer[0]=MINUS;
1272 cnv->charErrorBufferLength=1;
1303 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b);
1304 cnv->charErrorBufferLength=1;
1330 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b);
1331 cnv->charErrorBufferLength=1;
1339 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b);
1341 cnv->charErrorBuffer[1]=TO_BASE64_IMAP(b);
1342 cnv->charErrorBufferLength=2;
1368 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b);
1369 cnv->charErrorBufferLength=1;
1377 cnv->charErrorBuffer[0]=TO_BASE64_IMAP(b);
1379 cnv->charErrorBuffer[1]=TO_BASE64_IMAP(b);
1380 cnv->charErrorBufferLength=2;
1409 cnv->charErrorBuffer[cnv->charErrorBufferLength++]=TO_BASE64_IMAP(bits);
1420 cnv->charErrorBuffer[cnv->charErrorBufferLength++]=MINUS;
1425 cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMode=TRUE */
1428 cnv->fromUnicodeStatus=
1429 (cnv->fromUnicodeStatus&0xf0000000)| /* keep version*/