HomeSort by relevance Sort by last modified time
    Searched full:targetcapacity (Results 1 - 21 of 21) sorted by null

  /external/icu/icu4c/source/common/
ucnvlat1.c 36 int32_t targetCapacity, length;
44 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
51 * for the minimum of the sourceLength and targetCapacity
54 if(length<=targetCapacity) {
55 targetCapacity=length;
59 length=targetCapacity;
62 if(targetCapacity>=8) {
66 loops=count=targetCapacity>>3;
67 length=targetCapacity&=0x7;
97 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.cpp 395 int32_t targetCapacity;
407 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
422 if(c!=0 && targetCapacity>0) {
428 /* use only one loop counter variable, targetCapacity, not also source */
430 if(targetCapacity>diff) {
431 targetCapacity=diff;
433 while(targetCapacity>0 && (c=*source)<0x3000) {
441 --targetCapacity;
449 --targetCapacity;
456 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target)
    [all...]
ucnvscsu.c     [all...]
ucnvmbcs.cpp     [all...]
ucnv_u7.c 217 int32_t length, targetCapacity;
263 targetCapacity=(int32_t)(targetLimit-target);
264 if(length>targetCapacity) {
265 length=targetCapacity;
464 int32_t length, targetCapacity, sourceIndex;
499 targetCapacity=(int32_t)(targetLimit-target);
500 if(length>targetCapacity) {
501 length=targetCapacity;
521 /* realign length and targetCapacity */
    [all...]
ucnv.c     [all...]
ucnv_u8.c 767 int32_t targetCapacity;
780 targetCapacity=(int32_t)(pFromUArgs->targetLimit-pFromUArgs->target);
797 } else if(targetCapacity<toULimit) {
823 if(count>targetCapacity) {
824 count=targetCapacity;
    [all...]
unistr.cpp 869 int32_t targetCapacity,
873 if(targetCapacity < 0 || (targetCapacity > 0 && target == NULL)) {
880 if(length <= targetCapacity) {
884 return u_terminateChars(target, targetCapacity, length, &status);
    [all...]
  /external/icu/icu4c/source/tools/toolutil/
udbgutil.cpp 382 typedef int32_t U_CALLCONV USystemParameterCallback(const USystemParams *param, char *target, int32_t targetCapacity, UErrorCode *status);
393 paramEmpty(const USystemParams * /* param */, char *target, int32_t targetCapacity, UErrorCode *status) {
395 return u_terminateChars(target, targetCapacity, 0, status);
399 paramStatic(const USystemParams *param, char *target, int32_t targetCapacity, UErrorCode *status) {
400 if(param->paramStr==NULL) return paramEmpty(param,target,targetCapacity,status);
404 uprv_strncpy(target,param->paramStr,uprv_min(len,targetCapacity));
406 return u_terminateChars(target, targetCapacity, len, status);
411 static int32_t stringToStringBuffer(char *target, int32_t targetCapacity, const char *str, UErrorCode *status) {
417 uprv_strncpy(target,str,uprv_min(len,targetCapacity));
423 uprv_strncpy(target,s,uprv_min(len,targetCapacity));
    [all...]
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
CharsetBOCU1.java 238 int targetCapacity;
395 targetCapacity = target.limit() - target.position();
408 if(c!=0 && targetCapacity>0){
432 /*use only one loop counter variable , targetCapacity, not also source*/
434 if(targetCapacity>diff){
435 targetCapacity = diff;
437 while(targetCapacity>0 && (c=source.get(source.position()))<0x3000){
447 --targetCapacity;
457 --targetCapacity;
488 targetCapacity = target.limit()-target.position()
    [all...]
CharsetSCSU.java 633 private int targetCapacity;
655 targetCapacity = target.limit()-target.position();
766 if(c!=0 && targetCapacity>0 && !AfterGetTrail)
    [all...]
CharsetUTF7.java 225 //targetCapacity=target.remaining();
227 /*if (useIMAP && length > targetCapacity) {
228 length=targetCapacity;
495 int length, targetCapacity, sourceIndex;
515 targetCapacity=target.remaining();
516 if(length > targetCapacity) {
517 length=targetCapacity;
539 /* realign length and targetCapacity */
    [all...]
CharsetMBCS.java     [all...]
  /external/icu/icu4c/source/test/cintltst/
ccapitst.c 271 int32_t targetcapacity; local
411 int32_t targetLimit=0, sourceLimit=0, i=0, targetCapacity=0;
419 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", NULL, targetLimit , (const char*)source, sourceLimit, &err);
422 targetLimit=targetCapacity+1;
424 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err);
430 for(i=0; i<targetCapacity; i++){
    [all...]
  /external/icu/icu4c/source/common/unicode/
ucnv.h     [all...]
unistr.h     [all...]
  /libcore/ojluni/src/main/java/java/util/
WeakHashMap.java 537 int targetCapacity = (int)(numKeysToBeAdded / loadFactor + 1);
538 if (targetCapacity > MAXIMUM_CAPACITY)
539 targetCapacity = MAXIMUM_CAPACITY;
541 while (newCapacity < targetCapacity)
    [all...]
HashMap.java 560 int targetCapacity = (int)(numKeysToBeAdded / loadFactor + 1);
561 if (targetCapacity > MAXIMUM_CAPACITY)
562 targetCapacity = MAXIMUM_CAPACITY;
564 while (newCapacity < targetCapacity)
    [all...]
  /external/v8/src/heap/
spaces.cc     [all...]
spaces.h     [all...]

Completed in 905 milliseconds