Lines Matching refs:targetCapacity
2190 int32_t targetCapacity, length; in ucnv_MBCSSingleToBMPWithOffsets() local
2205 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSSingleToBMPWithOffsets()
2223 if(length<targetCapacity) { in ucnv_MBCSSingleToBMPWithOffsets()
2224 targetCapacity=length; in ucnv_MBCSSingleToBMPWithOffsets()
2231 if(targetCapacity>=16) { in ucnv_MBCSSingleToBMPWithOffsets()
2234 loops=count=targetCapacity>>4; in ucnv_MBCSSingleToBMPWithOffsets()
2278 targetCapacity-=16*count; in ucnv_MBCSSingleToBMPWithOffsets()
2306 while(targetCapacity > 0 && source < sourceLimit) { in ucnv_MBCSSingleToBMPWithOffsets()
2314 --targetCapacity; in ucnv_MBCSSingleToBMPWithOffsets()
2327 --targetCapacity; in ucnv_MBCSSingleToBMPWithOffsets()
2372 targetCapacity=(int32_t)(pArgs->targetLimit-target); in ucnv_MBCSSingleToBMPWithOffsets()
2374 if(length<targetCapacity) { in ucnv_MBCSSingleToBMPWithOffsets()
2375 targetCapacity=length; in ucnv_MBCSSingleToBMPWithOffsets()
3411 int32_t targetCapacity; in ucnv_MBCSDoubleFromUnicodeWithOffsets() local
3435 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3455 if(c!=0 && targetCapacity>0) { in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3468 if(targetCapacity>0) { in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3482 --targetCapacity; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3561 &target, target+targetCapacity, in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3574 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target); in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3591 --targetCapacity; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3594 if(2<=targetCapacity) { in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3600 targetCapacity-=2; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3609 targetCapacity=0; in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3643 int32_t targetCapacity; in ucnv_MBCSSingleFromUnicodeWithOffsets() local
3661 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSSingleFromUnicodeWithOffsets()
3688 if(c!=0 && targetCapacity>0) { in ucnv_MBCSSingleFromUnicodeWithOffsets()
3701 if(targetCapacity>0) { in ucnv_MBCSSingleFromUnicodeWithOffsets()
3756 --targetCapacity; in ucnv_MBCSSingleFromUnicodeWithOffsets()
3767 &target, target+targetCapacity, in ucnv_MBCSSingleFromUnicodeWithOffsets()
3780 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target); in ucnv_MBCSSingleFromUnicodeWithOffsets()
3819 int32_t targetCapacity, length; in ucnv_MBCSSingleFromBMPWithOffsets() local
3837 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSSingleFromBMPWithOffsets()
3868 if(length<targetCapacity) { in ucnv_MBCSSingleFromBMPWithOffsets()
3869 targetCapacity=length; in ucnv_MBCSSingleFromBMPWithOffsets()
3873 if(c!=0 && targetCapacity>0) { in ucnv_MBCSSingleFromBMPWithOffsets()
3881 if(targetCapacity>=4) { in ucnv_MBCSSingleFromBMPWithOffsets()
3885 loops=count=targetCapacity>>2; in ucnv_MBCSSingleFromBMPWithOffsets()
3909 targetCapacity-=4*count; in ucnv_MBCSSingleFromBMPWithOffsets()
3926 while(targetCapacity>0) { in ucnv_MBCSSingleFromBMPWithOffsets()
3941 --targetCapacity; in ucnv_MBCSSingleFromBMPWithOffsets()
3952 --targetCapacity; in ucnv_MBCSSingleFromBMPWithOffsets()
4026 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target); in ucnv_MBCSSingleFromBMPWithOffsets()
4028 if(length<targetCapacity) { in ucnv_MBCSSingleFromBMPWithOffsets()
4029 targetCapacity=length; in ucnv_MBCSSingleFromBMPWithOffsets()
4076 int32_t targetCapacity; in ucnv_MBCSFromUnicodeWithOffsets() local
4131 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in ucnv_MBCSFromUnicodeWithOffsets()
4184 if(c!=0 && targetCapacity>0) { in ucnv_MBCSFromUnicodeWithOffsets()
4197 if(targetCapacity>0) { in ucnv_MBCSFromUnicodeWithOffsets()
4212 --targetCapacity; in ucnv_MBCSFromUnicodeWithOffsets()
4614 &target, target+targetCapacity, in ucnv_MBCSFromUnicodeWithOffsets()
4628 targetCapacity=(int32_t)(pArgs->targetLimit-(char *)target); in ucnv_MBCSFromUnicodeWithOffsets()
4642 if(length<=targetCapacity) { in ucnv_MBCSFromUnicodeWithOffsets()
4686 targetCapacity-=length; in ucnv_MBCSFromUnicodeWithOffsets()
4697 length-=targetCapacity; in ucnv_MBCSFromUnicodeWithOffsets()
4718 switch(targetCapacity) { in ucnv_MBCSFromUnicodeWithOffsets()
4744 targetCapacity=0; in ucnv_MBCSFromUnicodeWithOffsets()
4779 if(targetCapacity>0) { in ucnv_MBCSFromUnicodeWithOffsets()
4782 if (targetCapacity<2) { in ucnv_MBCSFromUnicodeWithOffsets()
5026 int32_t targetCapacity; in ucnv_SBCSFromUTF8() local
5046 targetCapacity=(int32_t)(pFromUArgs->targetLimit-pFromUArgs->target); in ucnv_SBCSFromUTF8()
5101 if(c!=0 && targetCapacity>0) { in ucnv_SBCSFromUTF8()
5128 if(targetCapacity>0) { in ucnv_SBCSFromUTF8()
5134 --targetCapacity; in ucnv_SBCSFromUTF8()
5151 --targetCapacity; in ucnv_SBCSFromUTF8()
5169 --targetCapacity; in ucnv_SBCSFromUTF8()
5251 --targetCapacity; in ucnv_SBCSFromUTF8()
5264 &target, target+targetCapacity, in ucnv_SBCSFromUTF8()
5286 targetCapacity=(int32_t)(pFromUArgs->targetLimit-(char *)target); in ucnv_SBCSFromUTF8()
5328 int32_t targetCapacity; in ucnv_DBCSFromUTF8() local
5349 targetCapacity=(int32_t)(pFromUArgs->targetLimit-pFromUArgs->target); in ucnv_DBCSFromUTF8()
5397 if(c!=0 && targetCapacity>0) { in ucnv_DBCSFromUTF8()
5406 if(targetCapacity>0) { in ucnv_DBCSFromUTF8()
5412 --targetCapacity; in ucnv_DBCSFromUTF8()
5538 --targetCapacity; in ucnv_DBCSFromUTF8()
5541 if(2<=targetCapacity) { in ucnv_DBCSFromUTF8()
5543 targetCapacity-=2; in ucnv_DBCSFromUTF8()
5567 &target, target+targetCapacity, in ucnv_DBCSFromUTF8()
5589 targetCapacity=(int32_t)(pFromUArgs->targetLimit-(char *)target); in ucnv_DBCSFromUTF8()