Lines Matching refs:prevLength
4095 int32_t length = 0, prevLength; in ucnv_MBCSFromUnicodeWithOffsets() local
4151 prevLength=cnv->fromUnicodeStatus; in ucnv_MBCSFromUnicodeWithOffsets()
4152 if(prevLength==0) { in ucnv_MBCSFromUnicodeWithOffsets()
4154 prevLength=1; in ucnv_MBCSFromUnicodeWithOffsets()
4158 prevLength=0; in ucnv_MBCSFromUnicodeWithOffsets()
4250 cnv->fromUnicodeStatus=prevLength; /* save the old state */ in ucnv_MBCSFromUnicodeWithOffsets()
4255 } else if(prevLength<=1) { in ucnv_MBCSFromUnicodeWithOffsets()
4267 prevLength=1; in ucnv_MBCSFromUnicodeWithOffsets()
4270 if(prevLength==2) { in ucnv_MBCSFromUnicodeWithOffsets()
4282 prevLength=2; in ucnv_MBCSFromUnicodeWithOffsets()
4400 cnv->fromUnicodeStatus=prevLength; /* save the old state */ in ucnv_MBCSFromUnicodeWithOffsets()
4481 cnv->fromUnicodeStatus=prevLength; /* save the old state */ in ucnv_MBCSFromUnicodeWithOffsets()
4487 } else if(prevLength<=1) { in ucnv_MBCSFromUnicodeWithOffsets()
4499 prevLength=1; in ucnv_MBCSFromUnicodeWithOffsets()
4502 if(prevLength==2) { in ucnv_MBCSFromUnicodeWithOffsets()
4514 prevLength=2; in ucnv_MBCSFromUnicodeWithOffsets()
4619 prevLength=cnv->fromUnicodeStatus; /* restore SISO state */ in ucnv_MBCSFromUnicodeWithOffsets()
4775 outputType==MBCS_OUTPUT_2_SISO && prevLength==2 && in ucnv_MBCSFromUnicodeWithOffsets()
4803 prevLength=1; /* we switched into SBCS */ in ucnv_MBCSFromUnicodeWithOffsets()
4808 cnv->fromUnicodeStatus=prevLength; in ucnv_MBCSFromUnicodeWithOffsets()