/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...] |
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...] |
ucnv_u7.c | 216 int32_t length, targetCapacity; 262 targetCapacity=(int32_t)(targetLimit-target); 263 if(length>targetCapacity) { 264 length=targetCapacity; 463 int32_t length, targetCapacity, sourceIndex; 497 targetCapacity=(int32_t)(targetLimit-target); 498 if(length>targetCapacity) { 499 length=targetCapacity; 519 /* realign length and targetCapacity */ [all...] |
ucnv.c | [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...] |
unistr.cpp | 766 int32_t targetCapacity, 770 if(targetCapacity < 0 || (targetCapacity > 0 && target == NULL)) { 777 if(length <= targetCapacity) { 781 return u_terminateChars(target, targetCapacity, length, &status); [all...] |
/external/icu4c/common/unicode/ |
ucnv.h | [all...] |
unistr.h | [all...] |
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
ucnv.h | [all...] |
/external/webkit/Source/JavaScriptGlue/icu/unicode/ |
ucnv.h | [all...] |
/external/webkit/Source/WebCore/icu/unicode/ |
ucnv.h | [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...] |