HomeSort by relevance Sort by last modified time
    Searched defs:targetCapacity (Results 1 - 8 of 8) sorted by null

  /external/icu4c/common/
ucnvlat1.c 35 int32_t targetCapacity, length;
43 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
50 * for the minimum of the sourceLength and targetCapacity
53 if(length<=targetCapacity) {
54 targetCapacity=length;
58 length=targetCapacity;
61 if(targetCapacity>=8) {
65 loops=count=targetCapacity>>3;
66 length=targetCapacity&=0x7;
96 while(targetCapacity>0)
    [all...]
ucnv_u16.c 55 uint32_t targetCapacity, length, sourceIndex;
85 targetCapacity=(uint32_t)(pArgs->targetLimit-target);
91 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) {
100 targetCapacity-=4;
114 if(count>targetCapacity) {
115 count=targetCapacity&~1;
118 targetCapacity-=count;
173 if(length>0 && targetCapacity>0) {
176 * it must be targetCapacity==1 because otherwise
193 targetCapacity+=2*count
    [all...]
ucnv_u7.c 216 int32_t length, targetCapacity;
262 targetCapacity=(int32_t)(targetLimit-target);
263 if(length>targetCapacity) {
264 length=targetCapacity;
451 int32_t length, targetCapacity, sourceIndex;
485 targetCapacity=(int32_t)(targetLimit-target);
486 if(length>targetCapacity) {
487 length=targetCapacity;
507 /* realign length and targetCapacity */
873 int32_t length, targetCapacity;
    [all...]
ucnv_u8.c 755 int32_t targetCapacity;
769 targetCapacity=(int32_t)(pFromUArgs->targetLimit-pFromUArgs->target);
786 } else if(targetCapacity<toULimit) {
812 if(count>targetCapacity) {
813 count=targetCapacity;
    [all...]
ucnvbocu.c 390 int32_t targetCapacity;
404 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
419 if(c!=0 && targetCapacity>0) {
425 /* use only one loop counter variable, targetCapacity, not also source */
427 if(targetCapacity>diff) {
428 targetCapacity=diff;
430 while(targetCapacity>0 && (c=*source)<0x3000) {
438 --targetCapacity;
446 --targetCapacity;
453 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target)
    [all...]
ucnvscsu.c     [all...]
ucnvmbcs.c     [all...]
  /external/icu4c/test/cintltst/
ccapitst.c 317 int32_t targetcapacity; local
457 int32_t targetLimit=0, sourceLimit=0, i=0, targetCapacity=0;
465 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", NULL, targetLimit , (const char*)source, sourceLimit, &err);
468 targetLimit=targetCapacity+1;
470 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err);
476 for(i=0; i<targetCapacity; i++){
    [all...]

Completed in 64 milliseconds