Lines Matching refs:targetCapacity

40     int32_t targetCapacity, length;  in _Latin1ToUnicodeWithOffsets()  local
48 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _Latin1ToUnicodeWithOffsets()
58 if(length<=targetCapacity) { in _Latin1ToUnicodeWithOffsets()
59 targetCapacity=length; in _Latin1ToUnicodeWithOffsets()
63 length=targetCapacity; in _Latin1ToUnicodeWithOffsets()
66 if(targetCapacity>=8) { in _Latin1ToUnicodeWithOffsets()
70 loops=count=targetCapacity>>3; in _Latin1ToUnicodeWithOffsets()
71 length=targetCapacity&=0x7; in _Latin1ToUnicodeWithOffsets()
101 while(targetCapacity>0) { in _Latin1ToUnicodeWithOffsets()
103 --targetCapacity; in _Latin1ToUnicodeWithOffsets()
142 int32_t targetCapacity, length; in _Latin1FromUnicodeWithOffsets() local
155 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _Latin1FromUnicodeWithOffsets()
175 if(length<targetCapacity) { in _Latin1FromUnicodeWithOffsets()
176 targetCapacity=length; in _Latin1FromUnicodeWithOffsets()
180 if(cp!=0 && targetCapacity>0) { in _Latin1FromUnicodeWithOffsets()
186 if(targetCapacity>=16) { in _Latin1FromUnicodeWithOffsets()
190 loops=count=targetCapacity>>4; in _Latin1FromUnicodeWithOffsets()
234 targetCapacity-=16*count; in _Latin1FromUnicodeWithOffsets()
263 while(targetCapacity>0 && (c=*source++)<=max) { in _Latin1FromUnicodeWithOffsets()
266 --targetCapacity; in _Latin1FromUnicodeWithOffsets()
330 int32_t targetCapacity; in ucnv_Latin1FromUTF8() local
340 targetCapacity=(int32_t)(pFromUArgs->targetLimit-pFromUArgs->target); in ucnv_Latin1FromUTF8()
349 if(targetCapacity==0) { in ucnv_Latin1FromUTF8()
355 --targetCapacity; in ucnv_Latin1FromUTF8()
380 if(targetCapacity>0) { in ucnv_Latin1FromUTF8()
385 --targetCapacity; in ucnv_Latin1FromUTF8()
392 --targetCapacity; in ucnv_Latin1FromUTF8()
486 int32_t targetCapacity, length; in _ASCIIToUnicodeWithOffsets() local
497 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _ASCIIToUnicodeWithOffsets()
508 if(length<targetCapacity) { in _ASCIIToUnicodeWithOffsets()
509 targetCapacity=length; in _ASCIIToUnicodeWithOffsets()
512 if(targetCapacity>=8) { in _ASCIIToUnicodeWithOffsets()
517 loops=count=targetCapacity>>3; in _ASCIIToUnicodeWithOffsets()
537 targetCapacity-=count*8; in _ASCIIToUnicodeWithOffsets()
558 while(targetCapacity>0 && (c=*source++)<=0x7f) { in _ASCIIToUnicodeWithOffsets()
560 --targetCapacity; in _ASCIIToUnicodeWithOffsets()
623 int32_t targetCapacity, length; in ucnv_ASCIIFromUTF8() local
637 targetCapacity=(int32_t)(pFromUArgs->targetLimit-pFromUArgs->target); in ucnv_ASCIIFromUTF8()
644 if(length<targetCapacity) { in ucnv_ASCIIFromUTF8()
645 targetCapacity=length; in ucnv_ASCIIFromUTF8()
649 if(targetCapacity>=16) { in ucnv_ASCIIFromUTF8()
653 loops=count=targetCapacity>>4; in ucnv_ASCIIFromUTF8()
681 targetCapacity-=16*count; in ucnv_ASCIIFromUTF8()
686 while(targetCapacity>0 && (c=*source)<=0x7f) { in ucnv_ASCIIFromUTF8()
689 --targetCapacity; in ucnv_ASCIIFromUTF8()