/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | com.ibm.icu_4.2.1.v20100412.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
/external/icu/icu4c/source/common/ |
H A D | brkiter.cpp | 18 // This file was generated from the java source file BreakIterator.java 41 // class BreakIterator 43 // Instances of BreakIterator maintain a current position and scan over text 51 BreakIterator* 52 BreakIterator::buildInstance(const Locale& loc, const char *type, int32_t kind, UErrorCode &status) 118 U_LOCALE_BASED(locBased, *(BreakIterator*)result); 142 BreakIterator* U_EXPORT2 143 BreakIterator::createWordInstance(const Locale& key, UErrorCode& status) 151 BreakIterator* U_EXPORT2 152 BreakIterator 199 BreakIterator::BreakIterator() function in class:BreakIterator 470 BreakIterator::BreakIterator (const Locale& valid, const Locale& actual) { function in class:BreakIterator [all...] |
/external/icu/icu4c/source/common/unicode/ |
H A D | brkiter.h | 14 * 07/09/97 jfitz Renamed BreakIterator and interface synced with JDK 35 * Allow the declaration of APIs with pointers to BreakIterator 38 class BreakIterator; 56 * The BreakIterator class implements methods for finding the location 57 * of boundaries in text. BreakIterator is an abstract base class. 58 * Instances of BreakIterator maintain a current position and scan over 100 class U_COMMON_API BreakIterator : public UObject { class in inherits:UObject 106 virtual ~BreakIterator(); 111 * BreakIterator. Objects of different subclasses are considered 114 * Return true if this BreakIterator i [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | rbbitst.cpp | 333 BreakIterator *bi = new RuleBasedBreakIterator(rulesString1, parseError, status); 340 for (pos=bi->first(); pos!= BreakIterator::DONE; pos=bi->next()) { 417 BreakIterator* bi = BreakIterator::createWordInstance(Locale("th"), status); 699 RuleBasedBreakIterator* bi = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::getDefault(), status); 702 errcheckln(status, "Failed to create the BreakIterator for default locale in TestEmptyString. - %s", u_errorName(status)); 712 const Locale* locList = BreakIterator::getAvailableLocales(locCount); 723 //Testing the BreakIterator::getDisplayName() function 728 BreakIterator::getDisplayName(Locale::getUS(), result); 730 dataerrln("BreakIterator 3911 TEST_ASSERT(expectedcount < EXPECTEDSIZE); return; } expected[expectedcount ++] = i; } testBreakBoundPreceding(this, ustr, bi, expected, expectedcount); } delete bi; } void RBBITest::TestSentBreaks(void) { Locale locale(�); UErrorCode status = U_ZERO_ERROR; BreakIterator *bi = BreakIterator::createSentenceInstance(locale, status); UChar str[200]; static const char *strlist[] = { �, �, �, �, �, �, �, �, �, �, � � � �, � � � � � � }; int loop; if (U_FAILURE(status)) { errcheckln(status, �, u_errorName(status)); return; } for (loop = 0; loop < (int)(sizeof(strlist) / sizeof(char *)); loop ++) { u_unescape(strlist[loop], str, (int32_t)(sizeof(str) / sizeof(str[0]))); UnicodeString ustr(str); RBBISentMonkey monkey; if (U_FAILURE(monkey.deferredStatus)) { continue; } const int EXPECTEDSIZE = 50; int expected[EXPECTEDSIZE]; int expectedcount = 0; monkey.setText(ustr); int i; for (i = 0; i != BreakIterator::DONE; i = monkey.next(i)) { if (expectedcount >= EXPECTEDSIZE) { TEST_ASSERT(expectedcount < EXPECTEDSIZE); return; } expected[expectedcount ++] = i; } testBreakBoundPreceding(this, ustr, bi, expected, expectedcount); } delete bi; } void RBBITest::TestMonkey(char *params) { UErrorCode status = U_ZERO_ERROR; int32_t loopCount = 500; int32_t seed = 1; UnicodeString breakType = �; Locale locale(�); UBool useUText = FALSE; if (quick == FALSE) { loopCount = 10000; } if (params) { UnicodeString p(params); loopCount = getIntParam(�, p, loopCount); seed = getIntParam(�, p, seed); RegexMatcher m(�, p, 0, status); if (m.find()) { breakType = m.group(1, status); m.reset(); p = m.replaceFirst(�, status); } RegexMatcher u(�, p, 0, status); if (u.find()) { useUText = TRUE; u.reset(); p = u.replaceFirst(�, status); } if (RegexMatcher(UNICODE_STRING_SIMPLE(�), p, 0, status).find()) { char buf[100]; p.extract(buf, sizeof(buf), NULL, status); buf[sizeof(buf)-1] = 0; errln(�, buf); return; } } if (breakType == � || breakType == �) { RBBICharMonkey m; BreakIterator *bi = BreakIterator::createCharacterInstance(locale, status); if (U_SUCCESS(status)) { RunMonkey(bi, m, �, seed, loopCount, useUText); if (breakType == � && useUText==FALSE) { RunMonkey(bi, m, �, seed, loopCount, TRUE); } } else { errcheckln(status, �, u_errorName(status)); } delete bi; } if (breakType == � || breakType == �) { logln(�); RBBIWordMonkey m; BreakIterator *bi = BreakIterator::createWordInstance(locale, status); if (U_SUCCESS(status)) { RunMonkey(bi, m, �, seed, loopCount, useUText); } else { errcheckln(status, �, u_errorName(status)); } delete bi; } if (breakType == � || breakType == �) { logln(�); RBBILineMonkey m; BreakIterator *bi = BreakIterator::createLineInstance(locale, status); if (loopCount >= 10) { loopCount = loopCount / 5; } if (U_SUCCESS(status)) { RunMonkey(bi, m, �, seed, loopCount, useUText); } else { errcheckln(status, �, u_errorName(status)); } delete bi; } if (breakType == � || breakType == � ) { logln(�); RBBISentMonkey m; BreakIterator *bi = BreakIterator::createSentenceInstance(locale, status); if (loopCount >= 10) argument [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | BreakIterator.java | 21 * {@icuenhanced java.text.BreakIterator}.{@icu _usage_} 25 * of criteria. Instances or subclasses of BreakIterator can be provided, for 29 * We provide five built-in types of BreakIterator: 30 * <ul><li>getTitleInstance() returns a BreakIterator that locates boundaries 32 * <li>getSentenceInstance() returns a BreakIterator that locates boundaries 34 * <li>getWordInstance() returns a BreakIterator that locates boundaries between 36 * This type of BreakIterator makes sure there is a boundary position at the 39 * <li>getLineInstance() returns a BreakIterator that locates positions where it is 45 * <li>getCharacterInstance() returns a BreakIterator that locates boundaries between 59 * BreakIterator' 212 public abstract class BreakIterator implements Cloneable class in inherits:Cloneable 222 protected BreakIterator() method in class:BreakIterator [all...] |
/external/robolectric/lib/main/ |
H A D | android.jar | META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ... |
/external/v8/src/ |
H A D | i18n.h | 13 class BreakIterator; 105 class BreakIterator { class in namespace:v8::internal 107 // Create a BreakIterator for the specificied locale and options. Returns the 109 static icu::BreakIterator* InitializeBreakIterator( 116 static icu::BreakIterator* UnpackBreakIterator(Isolate* isolate, 119 // Release memory we allocated for the BreakIterator once the JS object that 125 BreakIterator();
|