Home
last modified time | relevance | path

Searched refs:boundaries (Results 1 – 25 of 164) sorted by relevance

1234567

/external/icu/icu4c/source/i18n/
Dbrktrans.cpp77 LocalPointer<UVector32> boundaries; in handleTransliterate() local
82 boundaries.moveFrom(nonConstThis->cachedBoundaries); in handleTransliterate()
88 if (boundaries.isNull()) { in handleTransliterate()
89 boundaries.adoptInstead(new UVector32(status)); in handleTransliterate()
92 if (bi.isNull() || boundaries.isNull() || U_FAILURE(status)) { in handleTransliterate()
96 boundaries->removeAllElements(); in handleTransliterate()
119 boundaries->addElement(boundary, status); in handleTransliterate()
126 if (boundaries->size() != 0) { // if we found something, adjust in handleTransliterate()
127 delta = boundaries->size() * fInsertion.length(); in handleTransliterate()
128 lastBoundary = boundaries->lastElementi(); in handleTransliterate()
[all …]
/external/python/cpython2/Lib/test/
Dtest_multifile.py41 global boundaries, linecount
47 boundaries += 1
58 global boundaries, linecount
59 boundaries = 0
63 assert boundaries == 2
Dtest_strtod.py180 boundaries = [
186 for n, e, u in boundaries:
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBreakTransliterator.java26 private int[] boundaries = new int[50]; field in BreakTransliterator
108 if (boundaryCount >= boundaries.length) { // realloc if necessary in handleTransliterate()
109 int[] temp = new int[boundaries.length * 2]; in handleTransliterate()
110 System.arraycopy(boundaries, 0, temp, 0, boundaries.length); in handleTransliterate()
111 boundaries = temp; in handleTransliterate()
114 boundaries[boundaryCount++] = boundary; in handleTransliterate()
123 lastBoundary = boundaries[boundaryCount-1]; in handleTransliterate()
128 boundary = boundaries[--boundaryCount]; in handleTransliterate()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DBreakTransliterator.java25 private int[] boundaries = new int[50]; field in BreakTransliterator
107 if (boundaryCount >= boundaries.length) { // realloc if necessary in handleTransliterate()
108 int[] temp = new int[boundaries.length * 2]; in handleTransliterate()
109 System.arraycopy(boundaries, 0, temp, 0, boundaries.length); in handleTransliterate()
110 boundaries = temp; in handleTransliterate()
113 boundaries[boundaryCount++] = boundary; in handleTransliterate()
122 lastBoundary = boundaries[boundaryCount-1]; in handleTransliterate()
127 boundary = boundaries[--boundaryCount]; in handleTransliterate()
/external/icu/icu4c/source/test/cintltst/
Dutf8tst.c659 static const int8_t boundaries[]={ 0, 1, 5, 7, 10, 12, 16, 17 }; in TestFwdBackUnsafe() local
665 if(offset != boundaries[i]){ in TestFwdBackUnsafe()
666 log_err("ERROR: UTF8_FWD_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
671 if(offset != boundaries[i]){ in TestFwdBackUnsafe()
672 log_err("ERROR: U8_FWD_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
676 for(i=UPRV_LENGTHOF(boundaries)-2, offset=UPRV_LENGTHOF(input); offset>0; --i) { in TestFwdBackUnsafe()
678 if(offset != boundaries[i]){ in TestFwdBackUnsafe()
679 … log_err("ERROR: UTF8_BACK_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
682 for(i=UPRV_LENGTHOF(boundaries)-2, offset=UPRV_LENGTHOF(input); offset>0; --i) { in TestFwdBackUnsafe()
684 if(offset != boundaries[i]){ in TestFwdBackUnsafe()
[all …]
Dcbiapts.c903 int32_t boundaries[10] = {0}; in TestBug11665() local
917 boundaries[brkIdx] = brk; in TestBug11665()
918 if (++brkIdx >= UPRV_LENGTHOF(boundaries) - 1) { in TestBug11665()
922 if (brkIdx <= 2 || brkIdx >= UPRV_LENGTHOF(boundaries)) { in TestBug11665()
928 if (brk != boundaries[brkIdx]) { in TestBug11665()
932 if (++brkIdx >= UPRV_LENGTHOF(boundaries) - 1) { in TestBug11665()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITest.java292 int[] boundaries = new int[expectedResult.size() + 3]; in generalIteratorTest() local
293 boundaries[0] = RuleBasedBreakIterator.DONE; in generalIteratorTest()
294 boundaries[1] = 0; in generalIteratorTest()
296 boundaries[i + 2] = boundaries[i + 1] + (expectedResult.get(i).length()); in generalIteratorTest()
299 boundaries[boundaries.length - 1] = RuleBasedBreakIterator.DONE; in generalIteratorTest()
301 _testFollowing(rbbi, text, boundaries); in generalIteratorTest()
302 _testPreceding(rbbi, text, boundaries); in generalIteratorTest()
303 _testIsBoundary(rbbi, text, boundaries); in generalIteratorTest()
421 private void _testFollowing(RuleBasedBreakIterator rbbi, String text, int[] boundaries) { in _testFollowing() argument
425 if (i == boundaries[p]) in _testFollowing()
[all …]
DBreakIteratorTest.java79 int[] boundaries = new int[expectedResult.size() + 3]; in generalIteratorTest() local
80 boundaries[0] = BreakIterator.DONE; in generalIteratorTest()
81 boundaries[1] = 0; in generalIteratorTest()
83 boundaries[i + 2] = boundaries[i + 1] + (expectedResult.get(i)). in generalIteratorTest()
85 boundaries[boundaries.length - 1] = BreakIterator.DONE; in generalIteratorTest()
87 _testFollowing(bi, text, boundaries); in generalIteratorTest()
88 _testPreceding(bi, text, boundaries); in generalIteratorTest()
89 _testIsBoundary(bi, text, boundaries); in generalIteratorTest()
200 private void _testFollowing(BreakIterator bi, String text, int[] boundaries) { in _testFollowing() argument
204 if (i == boundaries[p]) in _testFollowing()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITest.java293 int[] boundaries = new int[expectedResult.size() + 3]; in generalIteratorTest() local
294 boundaries[0] = RuleBasedBreakIterator.DONE; in generalIteratorTest()
295 boundaries[1] = 0; in generalIteratorTest()
297 boundaries[i + 2] = boundaries[i + 1] + (expectedResult.get(i).length()); in generalIteratorTest()
300 boundaries[boundaries.length - 1] = RuleBasedBreakIterator.DONE; in generalIteratorTest()
302 _testFollowing(rbbi, text, boundaries); in generalIteratorTest()
303 _testPreceding(rbbi, text, boundaries); in generalIteratorTest()
304 _testIsBoundary(rbbi, text, boundaries); in generalIteratorTest()
422 private void _testFollowing(RuleBasedBreakIterator rbbi, String text, int[] boundaries) { in _testFollowing() argument
426 if (i == boundaries[p]) in _testFollowing()
[all …]
DBreakIteratorTest.java80 int[] boundaries = new int[expectedResult.size() + 3]; in generalIteratorTest() local
81 boundaries[0] = BreakIterator.DONE; in generalIteratorTest()
82 boundaries[1] = 0; in generalIteratorTest()
84 boundaries[i + 2] = boundaries[i + 1] + (expectedResult.get(i)). in generalIteratorTest()
86 boundaries[boundaries.length - 1] = BreakIterator.DONE; in generalIteratorTest()
88 _testFollowing(bi, text, boundaries); in generalIteratorTest()
89 _testPreceding(bi, text, boundaries); in generalIteratorTest()
90 _testIsBoundary(bi, text, boundaries); in generalIteratorTest()
201 private void _testFollowing(BreakIterator bi, String text, int[] boundaries) { in _testFollowing() argument
205 if (i == boundaries[p]) in _testFollowing()
[all …]
/external/libbrillo/brillo/http/
Dhttp_form_data_unittest.cc125 std::set<std::string> boundaries; in TEST() local
129 boundaries.insert(boundary); in TEST()
141 EXPECT_GE(boundaries.size(), expected_min_unique); in TEST()
/external/icu/icu4c/source/data/translit/
Dja_Latn_ru.txt13 # TODO: Cyrillization needs to respect morpheme/Kanji boundaries.
43 # TODO(mjansche): Enable diphthongs once we have Kanji boundaries.
/external/swiftshader/third_party/subzero/tests_lit/reader_tests/
Dswitch.ll125 ; Test values that cross signed i32 size boundaries.
169 ; Test values that cross unsigned i32 boundaries.
210 ; Test values that cross signed i64 size boundaries.
255 ; Test values that cross unsigned i64 size boundaries.
304 ; Test values that cross signed i16 size boundaries.
352 ; Test values that cross unsigned i16 size boundaries.
403 ; Test values that cross signed i8 size boundaries.
452 ; Test values that cross unsigned i8 size boundaries.
/external/icu/icu4c/source/data/brkitr/
Den_US_POSIX.txt5 boundaries{
Del.txt5 boundaries{
Dfi.txt5 boundaries{
Dzh.txt5 boundaries{
Dja.txt5 boundaries{
Dzh_Hant.txt5 boundaries{
Droot.txt5 boundaries{
/external/icu/icu4c/source/test/intltest/
Drbbiapts.h97 void doBoundaryTest(BreakIterator& bi, UnicodeString& text, int32_t *boundaries);
/external/llvm/test/tools/llvm-objdump/X86/
Dout-of-section-sym.test2 // of section boundaries.
/external/valgrind/docs/internals/
Dmodule-structure.txt4 the beast is caused by the lack of clear boundaries, definitions and
59 boundaries are enforceable by the compiler.
/external/ltp/testcases/open_posix_testsuite/Documentation/
DHOWTO_BoundaryTest3 It is sometimes useful to test parameter boundaries as part of API testing.

1234567