Lines Matching refs:targetCapacity
397 int32_t targetCapacity; in _Bocu1FromUnicodeWithOffsets() local
409 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _Bocu1FromUnicodeWithOffsets()
424 if(c!=0 && targetCapacity>0) { in _Bocu1FromUnicodeWithOffsets()
432 if(targetCapacity>diff) { in _Bocu1FromUnicodeWithOffsets()
433 targetCapacity=diff; in _Bocu1FromUnicodeWithOffsets()
435 while(targetCapacity>0 && (c=*source)<0x3000) { in _Bocu1FromUnicodeWithOffsets()
443 --targetCapacity; in _Bocu1FromUnicodeWithOffsets()
451 --targetCapacity; in _Bocu1FromUnicodeWithOffsets()
458 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target); in _Bocu1FromUnicodeWithOffsets()
463 if(targetCapacity>0) { in _Bocu1FromUnicodeWithOffsets()
478 --targetCapacity; in _Bocu1FromUnicodeWithOffsets()
515 --targetCapacity; in _Bocu1FromUnicodeWithOffsets()
520 } else if(DIFF_IS_DOUBLE(diff) && 2<=targetCapacity) { in _Bocu1FromUnicodeWithOffsets()
538 targetCapacity-=2; in _Bocu1FromUnicodeWithOffsets()
548 if(length<=targetCapacity) { in _Bocu1FromUnicodeWithOffsets()
570 targetCapacity-=length; in _Bocu1FromUnicodeWithOffsets()
582 length-=targetCapacity; in _Bocu1FromUnicodeWithOffsets()
603 switch(targetCapacity) { in _Bocu1FromUnicodeWithOffsets()
623 targetCapacity=0; in _Bocu1FromUnicodeWithOffsets()
658 int32_t targetCapacity; in _Bocu1FromUnicode() local
667 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _Bocu1FromUnicode()
677 if(c!=0 && targetCapacity>0) { in _Bocu1FromUnicode()
685 if(targetCapacity>diff) { in _Bocu1FromUnicode()
686 targetCapacity=diff; in _Bocu1FromUnicode()
688 while(targetCapacity>0 && (c=*source)<0x3000) { in _Bocu1FromUnicode()
704 --targetCapacity; in _Bocu1FromUnicode()
707 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target); in _Bocu1FromUnicode()
711 if(targetCapacity>0) { in _Bocu1FromUnicode()
724 --targetCapacity; in _Bocu1FromUnicode()
757 --targetCapacity; in _Bocu1FromUnicode()
761 } else if(DIFF_IS_DOUBLE(diff) && 2<=targetCapacity) { in _Bocu1FromUnicode()
777 targetCapacity-=2; in _Bocu1FromUnicode()
786 if(length<=targetCapacity) { in _Bocu1FromUnicode()
803 targetCapacity-=length; in _Bocu1FromUnicode()
814 length-=targetCapacity; in _Bocu1FromUnicode()
835 switch(targetCapacity) { in _Bocu1FromUnicode()
852 targetCapacity=0; in _Bocu1FromUnicode()