Searched defs:targetLength (Results 1 - 24 of 24) sorted by relevance

/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/
H A DAbbreviatorTest.java128 void assertTheory0(int averageLen, String filename, String result, int fixedLen, int targetLength) { argument
133 void assertUsefulness(int averageLen, String filename, String result, int fixedLen, int targetLength) { argument
137 if (targetLength > fixedLen + margin) {
138 assertTrue("filename=[" + filename + "], result=[" + result + "] resultLength=" + resLen + " fixedLength=" + fixedLen + ", targetLength="
139 + targetLength + ", avgLen=" + averageLen, result.length() <= targetLength + averageLen);
144 void assertTheory1(String filename, String result, int fixedLen, int targetLength) { argument
151 void assertTheory2(String filename, String result, int fixedLen, int targetLength) { argument
/external/icu/icu4c/source/i18n/
H A Dsortkey.cpp194 int32_t targetLength = target.getLength(); local
195 if (minLength < targetLength) {
197 } else if (minLength == targetLength) {
200 minLength = targetLength;
H A Ducol.cpp442 int32_t targetLength)
448 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength);
453 compare(source, sourceLength, target, targetLength, status);
464 int32_t targetLength,
471 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vb ", target, targetLength);
481 source, sourceLength, target, targetLength, *status);
493 int32_t targetLength)
495 return (ucol_strcoll(coll, source, sourceLength, target, targetLength)
505 int32_t targetLength)
507 return (ucol_strcoll(coll, source, sourceLength, target, targetLength)
438 ucol_strcoll( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
459 ucol_strcollUTF8( const UCollator *coll, const char *source, int32_t sourceLength, const char *target, int32_t targetLength, UErrorCode *status) argument
489 ucol_greater( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
501 ucol_greaterOrEqual( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
513 ucol_equal( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
[all...]
/external/icu/icu4c/source/common/
H A Ducnvhz.c39 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){ \
41 if(targetIndex < targetLength){ \
341 int32_t targetLength = (int32_t)(args->targetLimit - myTarget); local
356 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) {
362 if (myTargetIndex < targetLength){
369 /*concatEscape(args, &myTargetIndex, &targetLength,"\x7E\x7E",err,2,&mySourceIndex);*/
372 CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex);
396 CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex);
402 CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex);
409 if( myTargetIndex <targetLength){
[all...]
H A Ducnv.c2413 int32_t targetLength=0; local
2429 targetLength=0;
2441 targetLength=(int32_t)(myTarget-target);
2464 targetLength+=(int32_t)(myTarget-targetBuffer);
2468 return u_terminateChars(target, targetCapacity, targetLength, pErrorCode);
2472 return targetLength;
2482 int32_t targetLength; local
2512 targetLength=ucnv_internalConvert(outConverter, inConverter,
2520 return targetLength;
2533 int32_t targetLength; local
[all...]
H A Dunistr.cpp1622 UnicodeString::padLeading(int32_t targetLength, argument
1626 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) {
1631 int32_t start = targetLength - oldLength;
1638 setLength(targetLength);
1644 UnicodeString::padTrailing(int32_t targetLength, argument
1648 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) {
1653 int32_t length = targetLength;
1657 setLength(targetLength);
[all...]
/external/icu/icu4c/source/tools/toolutil/
H A Dpkgitems.cpp132 int32_t treeLength, suffixLength, targetLength; local
148 targetLength=treeLength+idLength+suffixLength;
149 if(targetLength>=capacity) {
151 itemName, (long)targetLength);
/external/icu/icu4c/source/common/unicode/
H A Dunistr.h1546 * if targetLength is 0
1564 * This function does not write any more than <code>targetLength</code>
1573 * @param targetLength the length of the target buffer
1582 uint32_t targetLength) const;
1622 * This function does not write any more than <code>targetLength</code>
1636 * @param targetLength the length of the target buffer
1650 uint32_t targetLength,
2612 * If the length of this UnicodeString is less than targetLength,
2613 * length() - targetLength copies of padChar will be added to the
2615 * @param targetLength th
4634 truncate(int32_t targetLength) argument
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dapicoll.cpp1986 int32_t targetLength,
2068 int32_t targetLength,
2072 UnicodeString t(target, targetLength);
2065 compare(const UChar* source, int32_t sourceLength, const UChar* target, int32_t targetLength, UErrorCode& status) const argument
/external/icu/icu4c/source/test/cintltst/
H A Dccapitst.c941 log_verbose("\n---Testing ucnv_fromUChars() with targetLength = 0\n");
944 log_err("\nFAILURE: ucnv_fromUChars with targetLength 0 is expected to fail and throw U_BUFFER_OVERFLOW_ERROR\n");
964 log_err("\nFAILURE: ucnv_toUChars(targetLength)->%s instead of U_STRING_NOT_TERMINATED_WARNING\n",
2148 int32_t targetLength; local
2185 targetLength=(int32_t)(target-targetBuffer);
2194 if(targetLength+chunkSize<=sizeof(targetBuffer)) {
2214 } else if(targetLength!=expectTargetLength) {
2216 testName, chunkSize, targetLength, expectTargetLength);
2217 } else if(memcmp(targetBuffer, expectTarget, targetLength)!=0) {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.launcher.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.equinox.launcher_1.1.0.v20100507.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/slf4j/log4j-over-slf4j/compatibility/lib/
H A Dlogback-classic-0.9.8-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF ch/ ch/qos/ ch/qos/logback/ ch/qos/logback/classic/ ...
/external/icu/tools/srcgen/currysrc/libs/
H A Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...
/external/guice/extensions/struts2/lib/
H A Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse/jdt/core/ org/eclipse/jdt/core/compiler/ org/ ...
/external/dagger2/lib/
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...
/external/libgdx/backends/gdx-backend-moe/libs/
H A Dintel-moe-core.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE SQLite/ SQLite/Authorizer.class Authorizer.java package ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
/external/libgdx/backends/gdx-backends-gwt/libs/
H A Dgwt-dev.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gwt/ com/google/gwt/core/ ...

Completed in 1287 milliseconds