/external/icu/icu4c/source/common/ |
unisetspan.h | 44 CONTAINED = 2, 49 FWD_UTF16_CONTAINED = FWD | UTF16 | CONTAINED, 51 FWD_UTF8_CONTAINED = FWD | UTF8 | CONTAINED, 53 BACK_UTF16_CONTAINED = BACK | UTF16 | CONTAINED, 55 BACK_UTF8_CONTAINED = BACK | UTF8 | CONTAINED, 90 // All code points in the string are contained in the parent set. 106 // Set for span(not contained).
|
unisetspan.cpp | 221 // span(longest match) but only the relevant ones for span(while contained). 222 // TODO: Possible optimization: Distinguish CONTAINED vs. LONGEST_MATCH 223 // and do not store UTF-8 strings if !thisRelevant and CONTAINED. 244 if((which&UTF8) && (thisRelevant || (which&CONTAINED))) { 317 if(which&CONTAINED) { 325 } else /* not CONTAINED, not all, but NOT_CONTAINED */ { 336 if(which&CONTAINED) { 345 } else /* not CONTAINED, not all, but NOT_CONTAINED */ { 352 // a span(while not contained) stops before any string. 367 if(which&CONTAINED) { // Only necessary for LONGEST_MATCH [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UnicodeSetStringSpan.java | 39 public static final int CONTAINED = 2; 44 public static final int FWD_UTF16_CONTAINED = FWD | /* UTF16 | */ CONTAINED; 46 public static final int BACK_UTF16_CONTAINED = BACK | /* UTF16 | */ CONTAINED; 51 * All code points in the string are contained in the parent set. 61 * Set for span(not contained). 75 /** Are there strings that are not fully contained in the code point set? */ 107 // span(longest match) but only the relevant ones for span(while contained). 108 // TODO: Possible optimization: Distinguish CONTAINED vs. LONGEST_MATCH 109 // and do not store UTF-8 strings if !thisRelevant and CONTAINED. 120 spanLength = spanSet.span(string, SpanCondition.CONTAINED); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UnicodeSetStringSpan.java | 35 public static final int CONTAINED = 2; 40 public static final int FWD_UTF16_CONTAINED = FWD | /* UTF16 | */ CONTAINED; 42 public static final int BACK_UTF16_CONTAINED = BACK | /* UTF16 | */ CONTAINED; 47 * All code points in the string are contained in the parent set. 57 * Set for span(not contained). 71 /** Are there strings that are not fully contained in the code point set? */ 103 // span(longest match) but only the relevant ones for span(while contained). 104 // TODO: Possible optimization: Distinguish CONTAINED vs. LONGEST_MATCH 105 // and do not store UTF-8 strings if !thisRelevant and CONTAINED. 116 spanLength = spanSet.span(string, SpanCondition.CONTAINED); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
UnicodeSetStringSpanTest.java | 116 if ( set.span(s16.substring(0, 12), SpanCondition.CONTAINED) != 12 122 if ( set.span(s16.substring(0, 12), SpanCondition.CONTAINED) != 12 132 if ( set.spanBack(s16, 12, SpanCondition.CONTAINED) != 0 218 } else /* CONTAINED or SIMPLE */{ 225 next = start; // Do not span this single, not-contained code point. 234 if (spanCondition == SpanCondition.CONTAINED) { 248 SpanCondition.CONTAINED); 316 } else /* SpanCondition.CONTAINED or SIMPLE */{ 323 length = prev; // Do not span this single, not-contained code point. 332 if (spanCondition == SpanCondition.CONTAINED) { 409 SpanCondition spanCondition, firstSpanCondition, contained; local [all...] |
UnicodeSetTest.java | [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
UnicodeSetStringSpanTest.java | 113 if ( set.span(s16.substring(0, 12), SpanCondition.CONTAINED) != 12 119 if ( set.span(s16.substring(0, 12), SpanCondition.CONTAINED) != 12 129 if ( set.spanBack(s16, 12, SpanCondition.CONTAINED) != 0 215 } else /* CONTAINED or SIMPLE */{ 222 next = start; // Do not span this single, not-contained code point. 231 if (spanCondition == SpanCondition.CONTAINED) { 245 SpanCondition.CONTAINED); 313 } else /* SpanCondition.CONTAINED or SIMPLE */{ 320 length = prev; // Do not span this single, not-contained code point. 329 if (spanCondition == SpanCondition.CONTAINED) { 406 SpanCondition spanCondition, firstSpanCondition, contained; local [all...] |
UnicodeSetTest.java | [all...] |
/external/cldr/tools/java/org/unicode/cldr/util/ |
Annotations.java | 385 code = uss.deleteFrom(code, SpanCondition.CONTAINED);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
UnicodeSet.java | [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
UnicodeSet.java | [all...] |
/external/cldr/tools/java/libs/ |
icu4j.jar | |