/external/libbrillo/brillo/http/ |
H A D | http_form_data_unittest.cc | 125 std::set<std::string> boundaries; local 129 boundaries.insert(boundary); 141 EXPECT_GE(boundaries.size(), expected_min_unique);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
H A D | RBBIAPITest.java | 444 private void doBoundaryTest(BreakIterator bi, String text, int[] boundaries) { argument 451 if (i == boundaries[p]) {
|
H A D | RBBITest.java | 293 int[] boundaries = new int[expectedResult.size() + 3]; 294 boundaries[0] = RuleBasedBreakIterator.DONE; 295 boundaries[1] = 0; 297 boundaries[i + 2] = boundaries[i + 1] + (expectedResult.get(i).length()); 300 boundaries[boundaries.length - 1] = RuleBasedBreakIterator.DONE; 302 _testFollowing(rbbi, text, boundaries); 303 _testPreceding(rbbi, text, boundaries); 304 _testIsBoundary(rbbi, text, boundaries); 422 _testFollowing(RuleBasedBreakIterator rbbi, String text, int[] boundaries) argument 436 _testPreceding(RuleBasedBreakIterator rbbi, String text, int[] boundaries) argument 450 _testIsBoundary(RuleBasedBreakIterator rbbi, String text, int[] boundaries) argument [all...] |
H A D | BreakIteratorTest.java | 80 int[] boundaries = new int[expectedResult.size() + 3]; 81 boundaries[0] = BreakIterator.DONE; 82 boundaries[1] = 0; 84 boundaries[i + 2] = boundaries[i + 1] + (expectedResult.get(i)). 86 boundaries[boundaries.length - 1] = BreakIterator.DONE; 88 _testFollowing(bi, text, boundaries); 89 _testPreceding(bi, text, boundaries); 90 _testIsBoundary(bi, text, boundaries); 201 _testFollowing(BreakIterator bi, String text, int[] boundaries) argument 216 _testPreceding(BreakIterator bi, String text, int[] boundaries) argument 231 _testIsBoundary(BreakIterator bi, String text, int[] boundaries) argument [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
H A D | RBBIAPITest.java | 443 private void doBoundaryTest(BreakIterator bi, String text, int[] boundaries) { argument 450 if (i == boundaries[p]) {
|
H A D | RBBITest.java | 292 int[] boundaries = new int[expectedResult.size() + 3]; 293 boundaries[0] = RuleBasedBreakIterator.DONE; 294 boundaries[1] = 0; 296 boundaries[i + 2] = boundaries[i + 1] + (expectedResult.get(i).length()); 299 boundaries[boundaries.length - 1] = RuleBasedBreakIterator.DONE; 301 _testFollowing(rbbi, text, boundaries); 302 _testPreceding(rbbi, text, boundaries); 303 _testIsBoundary(rbbi, text, boundaries); 421 _testFollowing(RuleBasedBreakIterator rbbi, String text, int[] boundaries) argument 435 _testPreceding(RuleBasedBreakIterator rbbi, String text, int[] boundaries) argument 449 _testIsBoundary(RuleBasedBreakIterator rbbi, String text, int[] boundaries) argument [all...] |
H A D | BreakIteratorTest.java | 79 int[] boundaries = new int[expectedResult.size() + 3]; 80 boundaries[0] = BreakIterator.DONE; 81 boundaries[1] = 0; 83 boundaries[i + 2] = boundaries[i + 1] + (expectedResult.get(i)). 85 boundaries[boundaries.length - 1] = BreakIterator.DONE; 87 _testFollowing(bi, text, boundaries); 88 _testPreceding(bi, text, boundaries); 89 _testIsBoundary(bi, text, boundaries); 200 _testFollowing(BreakIterator bi, String text, int[] boundaries) argument 215 _testPreceding(BreakIterator bi, String text, int[] boundaries) argument 230 _testIsBoundary(BreakIterator bi, String text, int[] boundaries) argument [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | brktrans.cpp | 77 LocalPointer<UVector32> boundaries; local 82 boundaries.moveFrom(nonConstThis->cachedBoundaries); 88 if (boundaries.isNull()) { 89 boundaries.adoptInstead(new UVector32(status)); 92 if (bi.isNull() || boundaries.isNull() || U_FAILURE(status)) { 96 boundaries->removeAllElements(); 101 // To make things much easier, we will stack the boundaries, and then insert at the end. 119 boundaries->addElement(boundary, status); 126 if (boundaries->size() != 0) { // if we found something, adjust 127 delta = boundaries [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | BreakTransliterator.java | 26 private int[] boundaries = new int[50]; field in class:BreakTransliterator 91 // To make things much easier, we will stack the boundaries, and then insert at the end. 108 if (boundaryCount >= boundaries.length) { // realloc if necessary 109 int[] temp = new int[boundaries.length * 2]; 110 System.arraycopy(boundaries, 0, temp, 0, boundaries.length); 111 boundaries = temp; 114 boundaries[boundaryCount++] = boundary; 123 lastBoundary = boundaries[boundaryCount-1]; 128 boundary = boundaries[ [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
H A D | BreakTransliterator.java | 25 private int[] boundaries = new int[50]; field in class:BreakTransliterator 90 // To make things much easier, we will stack the boundaries, and then insert at the end. 107 if (boundaryCount >= boundaries.length) { // realloc if necessary 108 int[] temp = new int[boundaries.length * 2]; 109 System.arraycopy(boundaries, 0, temp, 0, boundaries.length); 110 boundaries = temp; 113 boundaries[boundaryCount++] = boundary; 122 lastBoundary = boundaries[boundaryCount-1]; 127 boundary = boundaries[ [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | utf8tst.c | 505 * Use a (mostly) well-formed UTF-8 string and test at code point boundaries. 647 * Use a (mostly) well-formed UTF-8 string and test at code point boundaries. 659 static const int8_t boundaries[]={ 0, 1, 5, 7, 10, 12, 16, 17 }; local 665 if(offset != boundaries[i]){ 666 log_err("ERROR: UTF8_FWD_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); 671 if(offset != boundaries[i]){ 672 log_err("ERROR: U8_FWD_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); 676 for(i=UPRV_LENGTHOF(boundaries)-2, offset=UPRV_LENGTHOF(input); offset>0; --i) { 678 if(offset != boundaries[i]){ 679 log_err("ERROR: UTF8_BACK_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[ [all...] |
H A D | cbiapts.c | 846 * The right set of boundaries should still be found. 867 /* Line boundaries will occur before each letter in the original string */ 903 int32_t boundaries[10] = {0}; local 917 boundaries[brkIdx] = brk; 918 if (++brkIdx >= UPRV_LENGTHOF(boundaries) - 1) { 922 if (brkIdx <= 2 || brkIdx >= UPRV_LENGTHOF(boundaries)) { 928 if (brk != boundaries[brkIdx]) { 932 if (++brkIdx >= UPRV_LENGTHOF(boundaries) - 1) {
|
/external/v8/src/compiler/ |
H A D | types.cc | 374 const Boundary* boundaries = Boundaries(); local 376 DCHECK(BitsetType::Is(boundaries[i].internal, boundaries[i].external)); 377 if (bits & boundaries[i].internal) bits |= boundaries[i].external;
|
/external/icu/icu4c/source/test/intltest/ |
H A D | rbbiapts.cpp | 1114 * The right set of boundaries should still be found. 1131 /* Line boundaries will occur before each letter in the original string */ 1437 void RBBIAPITest::doBoundaryTest(BreakIterator& bi, UnicodeString& text, int32_t *boundaries){ argument 1445 if (i == boundaries[p]) {
|
/external/v8/src/ast/ |
H A D | ast-types.cc | 368 const Boundary* boundaries = Boundaries(); local 370 DCHECK(AstBitsetType::Is(boundaries[i].internal, boundaries[i].external)); 371 if (bits & AST_SEMANTIC(boundaries[i].internal)) 372 bits |= AST_SEMANTIC(boundaries[i].external);
|