Searched refs:targetCapacity (Results 1 - 21 of 21) sorted by relevance

/external/icu/icu4c/source/common/
H A Ducnvlat1.cpp40 int32_t targetCapacity, length; local
48 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
55 * for the minimum of the sourceLength and targetCapacity
58 if(length<=targetCapacity) {
59 targetCapacity=length;
63 length=targetCapacity;
66 if(targetCapacity>=8) {
70 loops=count=targetCapacity>>3;
71 length=targetCapacity&=0x7;
101 while(targetCapacity>
142 int32_t targetCapacity, length; local
330 int32_t targetCapacity; local
482 int32_t targetCapacity, length; local
619 int32_t targetCapacity, length; local
[all...]
H A Ducnv_u16.cpp59 uint32_t targetCapacity, length, sourceIndex; local
89 targetCapacity=(uint32_t)(pArgs->targetLimit-target);
95 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) {
104 targetCapacity-=4;
118 if(count>targetCapacity) {
119 count=targetCapacity&~1;
122 targetCapacity-=count;
177 if(length>0 && targetCapacity>0) {
180 * it must be targetCapacity==1 because otherwise
197 targetCapacity
263 uint32_t targetCapacity, length, count, sourceIndex; local
660 uint32_t targetCapacity, length, sourceIndex; local
864 uint32_t targetCapacity, length, count, sourceIndex; local
[all...]
H A Ducnvbocu.cpp397 int32_t targetCapacity; local
409 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
424 if(c!=0 && targetCapacity>0) {
430 /* use only one loop counter variable, targetCapacity, not also source */
432 if(targetCapacity>diff) {
433 targetCapacity=diff;
435 while(targetCapacity>0 && (c=*source)<0x3000) {
443 --targetCapacity;
451 --targetCapacity;
458 targetCapacity
658 int32_t targetCapacity; local
[all...]
H A Ducnvscsu.cpp1017 int32_t targetCapacity; local
1044 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
1061 if(c!=0 && targetCapacity>0) {
1068 if(targetCapacity<=0) {
1082 --targetCapacity;
1090 --targetCapacity;
1103 --targetCapacity;
1141 --targetCapacity;
1167 --targetCapacity;
1238 if(c!=0 && targetCapacity>
1525 int32_t targetCapacity; local
[all...]
H A Ducnvmbcs.cpp2190 int32_t targetCapacity, length; local
2205 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
2220 * for the minimum of the sourceLength and targetCapacity
2223 if(length<targetCapacity) {
2224 targetCapacity=length;
2231 if(targetCapacity>=16) {
2234 loops=count=targetCapacity>>4;
2278 targetCapacity-=16*count;
2306 while(targetCapacity > 0 && source < sourceLimit) {
2314 --targetCapacity;
3411 int32_t targetCapacity; local
3643 int32_t targetCapacity; local
3819 int32_t targetCapacity, length; local
4076 int32_t targetCapacity; local
5026 int32_t targetCapacity; local
5327 int32_t targetCapacity; local
[all...]
H A Ducnv_u7.cpp222 int32_t length, targetCapacity; local
268 targetCapacity=(int32_t)(targetLimit-target);
269 if(length>targetCapacity) {
270 length=targetCapacity;
469 int32_t length, targetCapacity, sourceIndex; local
504 targetCapacity=(int32_t)(targetLimit-target);
505 if(length>targetCapacity) {
506 length=targetCapacity;
526 /* realign length and targetCapacity */
906 int32_t length, targetCapacity; local
1170 int32_t length, targetCapacity, sourceIndex; local
[all...]
H A Ducnv.cpp2406 char *target, int32_t targetCapacity,
2426 return u_terminateChars(target, targetCapacity, 0, pErrorCode);
2433 if(targetCapacity>0) {
2435 targetLimit=target+targetCapacity;
2448 * to it but continue the conversion in order to store in targetCapacity
2451 if(*pErrorCode==U_BUFFER_OVERFLOW_ERROR || targetCapacity==0)
2470 return u_terminateChars(target, targetCapacity, targetLength, pErrorCode);
2479 char *target, int32_t targetCapacity,
2491 targetCapacity<0 || (targetCapacity>
2405 ucnv_internalConvert(UConverter *outConverter, UConverter *inConverter, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2478 ucnv_convert(const char *toConverterName, const char *fromConverterName, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2527 ucnv_convertAlgorithmic(UBool convertToAlgorithmic, UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2584 ucnv_toAlgorithmic(UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2596 ucnv_fromAlgorithmic(UConverter *cnv, UConverterType algorithmicType, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
[all...]
H A Ducnv_u8.cpp657 int32_t targetCapacity; local
670 targetCapacity=(int32_t)(pFromUArgs->targetLimit-pFromUArgs->target);
687 } else if(targetCapacity<toULimit) {
699 if(count>targetCapacity) {
700 limit-=(count-targetCapacity);
701 count=targetCapacity;
H A Dunistr.cpp898 int32_t targetCapacity,
902 if(targetCapacity < 0 || (targetCapacity > 0 && target == NULL)) {
909 if(length <= targetCapacity) {
913 return u_terminateChars(target, targetCapacity, length, &status);
895 extract(int32_t start, int32_t length, char *target, int32_t targetCapacity, enum EInvariant) const argument
/external/icu/icu4c/source/tools/toolutil/
H A Dudbgutil.cpp383 typedef int32_t U_CALLCONV USystemParameterCallback(const USystemParams *param, char *target, int32_t targetCapacity, UErrorCode *status);
394 paramEmpty(const USystemParams * /* param */, char *target, int32_t targetCapacity, UErrorCode *status) { argument
396 return u_terminateChars(target, targetCapacity, 0, status);
400 paramStatic(const USystemParams *param, char *target, int32_t targetCapacity, UErrorCode *status) { argument
401 if(param->paramStr==NULL) return paramEmpty(param,target,targetCapacity,status);
405 uprv_strncpy(target,param->paramStr,uprv_min(len,targetCapacity));
407 return u_terminateChars(target, targetCapacity, len, status);
412 static int32_t stringToStringBuffer(char *target, int32_t targetCapacity, const char *str, UErrorCode *status) { argument
418 uprv_strncpy(target,str,uprv_min(len,targetCapacity));
424 uprv_strncpy(target,s,uprv_min(len,targetCapacity));
430 integerToStringBuffer(char *target, int32_t targetCapacity, int32_t n, int32_t radix, UErrorCode *status) argument
438 paramInteger(const USystemParams *param, char *target, int32_t targetCapacity, UErrorCode *status) argument
456 paramCldrVersion(const USystemParams * , char *target, int32_t targetCapacity, UErrorCode *status) argument
473 paramTimezoneDefault(const USystemParams * , char *target, int32_t targetCapacity, UErrorCode *status) argument
490 paramLocaleDefaultBcp47(const USystemParams * , char *target, int32_t targetCapacity, UErrorCode *status) argument
[all...]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetBOCU1.java240 int targetCapacity; field in class:CharsetBOCU1.CharsetEncoderBOCU
398 targetCapacity = target.limit() - target.position();
411 if(c!=0 && targetCapacity>0){
435 /*use only one loop counter variable , targetCapacity, not also source*/
437 if(targetCapacity>diff){
438 targetCapacity = diff;
440 while(targetCapacity>0 && (c=source.get(source.position()))<0x3000){
450 --targetCapacity;
460 --targetCapacity;
491 targetCapacity
[all...]
H A DCharsetSCSU.java636 private int targetCapacity; field in class:CharsetSCSU.CharsetEncoderSCSU
659 targetCapacity = target.limit()-target.position();
770 if(c!=0 && targetCapacity>0 && !AfterGetTrail){
776 if(targetCapacity<=0 && !AfterGetTrail){
793 --targetCapacity;
801 --targetCapacity;
815 --targetCapacity;
844 --targetCapacity;
875 --targetCapacity;
956 if(c!=0 && targetCapacity>
[all...]
H A DCharsetUTF7.java229 //targetCapacity=target.remaining();
231 /*if (useIMAP && length > targetCapacity) {
232 length=targetCapacity;
501 int length, targetCapacity, sourceIndex;
521 targetCapacity=target.remaining();
522 if(length > targetCapacity) {
523 length=targetCapacity;
545 /* realign length and targetCapacity */
H A DCharsetMBCS.java2365 int targetCapacity, length;
2375 targetCapacity = target.remaining();
2389 * sourceLength and targetCapacity
2392 if (length < targetCapacity) {
2393 targetCapacity = length;
2397 while (targetCapacity > 0 && sourceArrayIndex < source.limit()) {
2405 --targetCapacity;
2418 --targetCapacity;
2459 /* recalculate the targetCapacity after an extension mapping */
2460 targetCapacity
[all...]
/external/icu/icu4c/source/common/unicode/
H A Ducnv.h1547 * @param targetCapacity Capacity of the target, in bytes.
1552 * @return Length of the complete output text in bytes, even if it exceeds the targetCapacity
1569 int32_t targetCapacity,
1602 * @param targetCapacity Capacity of the target, in bytes.
1607 * @return Length of the complete output text in bytes, even if it exceeds the targetCapacity
1622 char *target, int32_t targetCapacity,
1654 * @param targetCapacity Capacity of the target, in bytes.
1659 * @return Length of the complete output text in bytes, even if it exceeds the targetCapacity
1674 char *target, int32_t targetCapacity,
H A Dunistr.h1530 * This function does not write any more than <code>targetCapacity</code>
1540 * @param targetCapacity the length of the target buffer
1548 int32_t targetCapacity,
1588 * extract(int32_t start, int32_t length, char *target, int32_t targetCapacity, enum EInvariant inv) const
1622 * extract(int32_t start, int32_t length, char *target, int32_t targetCapacity, enum EInvariant inv) const
/external/icu/icu4c/source/test/cintltst/
H A Dccapitst.c414 int32_t targetLimit=0, sourceLimit=0, i=0, targetCapacity=0; local
422 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", NULL, targetLimit , (const char*)source, sourceLimit, &err);
425 targetLimit=targetCapacity+1;
427 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err);
433 for(i=0; i<targetCapacity; i++){
/external/annotation-tools/annotation-file-utilities/lib/
H A Dplume-core.jarMETA-INF/ META-INF/MANIFEST.MF plume/ArraysMDE$ComparableArrayComparatorLengthFirst.class ArraysMDE.java package ...
/external/caliper/lib/
H A Djersey-core-1.11.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/jersey-module-version META- ...
/external/annotation-tools/annotation-file-utilities/
H A Dannotation-file-utilities.jarMETA-INF/ META-INF/MANIFEST.MF annotations/ annotations/el/ annotations/field/ annotations/io/ annotations/io/classfile/ ...
/external/conscrypt/benchmark-android/
H A Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties.java package vogar ...

Completed in 536 milliseconds