Home
last modified time | relevance | path

Searched refs:boundaries (Results 1 - 25 of 28) sorted by relevance

12

/third_party/icu/icu4c/source/i18n/
H A Dbrktrans.cpp79 LocalPointer<UVector32> boundaries; in handleTransliterate() local
84 boundaries = std::move(nonConstThis->cachedBoundaries); in handleTransliterate()
90 if (boundaries.isNull()) { in handleTransliterate()
91 boundaries.adoptInstead(new UVector32(status)); in handleTransliterate()
94 if (bi.isNull() || boundaries.isNull() || U_FAILURE(status)) { in handleTransliterate()
98 boundaries->removeAllElements(); in handleTransliterate()
103 // To make things much easier, we will stack the boundaries, and then insert at the end. in handleTransliterate()
121 boundaries->addElement(boundary, status); in handleTransliterate()
128 if (boundaries->size() != 0) { // if we found something, adjust in handleTransliterate()
129 delta = boundaries in handleTransliterate()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dbrktrans.cpp79 LocalPointer<UVector32> boundaries; in handleTransliterate() local
84 boundaries = std::move(nonConstThis->cachedBoundaries); in handleTransliterate()
90 if (boundaries.isNull()) { in handleTransliterate()
91 boundaries.adoptInstead(new UVector32(status)); in handleTransliterate()
94 if (bi.isNull() || boundaries.isNull() || U_FAILURE(status)) { in handleTransliterate()
98 boundaries->removeAllElements(); in handleTransliterate()
103 // To make things much easier, we will stack the boundaries, and then insert at the end. in handleTransliterate()
121 boundaries->addElement(boundary, status); in handleTransliterate()
128 if (boundaries->size() != 0) { // if we found something, adjust in handleTransliterate()
129 delta = boundaries in handleTransliterate()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dbrktrans.cpp79 LocalPointer<UVector32> boundaries; in handleTransliterate() local
84 boundaries = std::move(nonConstThis->cachedBoundaries); in handleTransliterate()
90 if (boundaries.isNull()) { in handleTransliterate()
91 boundaries.adoptInstead(new UVector32(status)); in handleTransliterate()
94 if (bi.isNull() || boundaries.isNull() || U_FAILURE(status)) { in handleTransliterate()
98 boundaries->removeAllElements(); in handleTransliterate()
103 // To make things much easier, we will stack the boundaries, and then insert at the end. in handleTransliterate()
121 boundaries->addElement(boundary, status); in handleTransliterate()
128 if (boundaries->size() != 0) { // if we found something, adjust in handleTransliterate()
129 delta = boundaries in handleTransliterate()
[all...]
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DBreakTransliterator.java25 private int[] boundaries = new int[50]; field in BreakTransliterator
90 // To make things much easier, we will stack the boundaries, and then insert at the end. in handleTransliterate()
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[ in handleTransliterate()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DBreakTransliterator.java26 private int[] boundaries = new int[50]; field in BreakTransliterator
91 // To make things much easier, we will stack the boundaries, and then insert at the end. in handleTransliterate()
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[ in handleTransliterate()
[all...]
/third_party/python/Tools/peg_generator/pegen/
H A Dsccutils.py26 boundaries: List[int] = []
31 boundaries.append(index[v])
37 while index[w] < boundaries[-1]:
38 boundaries.pop()
40 if boundaries[-1] == index[v]:
41 boundaries.pop()
/third_party/skia/modules/svg/src/
H A DSkSVGFe.cpp75 const SkRect boundaries = this->resolveBoundaries(ctx, fctx); in resolveFilterSubregion() local
78 return SkRect::MakeXYWH(fX.isValid() ? boundaries.fLeft : defaultSubregion.fLeft, in resolveFilterSubregion()
79 fY.isValid() ? boundaries.fTop : defaultSubregion.fTop, in resolveFilterSubregion()
80 fWidth.isValid() ? boundaries.width() : defaultSubregion.width(), in resolveFilterSubregion()
81 fHeight.isValid() ? boundaries.height() : defaultSubregion.height()); in resolveFilterSubregion()
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/
H A DBreakIteratorMapperTest.java107 boundaries(GRAPHEME, "<grapheme deps>", null), in testSpecials_boundaries()
108 boundaries(SENTENCE, "<sentence deps>", "altName")); in testSpecials_boundaries()
115 .hasValuesFor("/boundaries/grapheme:process(dependency)", "<grapheme deps>"); in testSpecials_boundaries()
117 .hasValuesFor("/boundaries/sentence_altName:process(dependency)", "<sentence deps>"); in testSpecials_boundaries()
141 private static CldrValue boundaries(BoundaryType type, String dependency, String alt) { in boundaries() method in BreakIteratorMapperTest
143 cldrPath.append("/icu:boundaries/").append(type); in boundaries()
/third_party/icu/icu4c/source/test/cintltst/
H A Dutf8tst.c592 * Use a (mostly) well-formed UTF-8 string and test at code point boundaries. in TestNextPrevCharUnsafe()
774 * Use a (mostly) well-formed UTF-8 string and test at code point boundaries. in TestFwdBackUnsafe()
787 static const int8_t boundaries[]={ 0, 1, 5, 6, 7, 10, 12, 16, 17 }; in TestFwdBackUnsafe() local
796 if(offset != boundaries[i]){ in TestFwdBackUnsafe()
797 log_err("ERROR: UTF8_FWD_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
803 if(offset != boundaries[i]){ in TestFwdBackUnsafe()
804 log_err("ERROR: U8_FWD_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
822 for(i=0; i<UPRV_LENGTHOF(boundaries); ++i) { in TestFwdBackUnsafe()
825 if(offset != boundaries[i]) { in TestFwdBackUnsafe()
826 log_err("ERROR: UTF8_FWD_N_UNSAFE offset expected:%d, Got:%d\n", boundaries[ in TestFwdBackUnsafe()
[all...]
H A Dcbiapts.c982 * The right set of boundaries should still be found. in TestBreakIteratorRefresh()
1003 /* Line boundaries will occur before each letter in the original string */ in TestBreakIteratorRefresh()
1039 int32_t boundaries[10] = {0}; in TestBug11665() local
1053 boundaries[brkIdx] = brk; in TestBug11665()
1054 if (++brkIdx >= UPRV_LENGTHOF(boundaries) - 1) { in TestBug11665()
1058 if (brkIdx <= 2 || brkIdx >= UPRV_LENGTHOF(boundaries)) { in TestBug11665()
1064 if (brk != boundaries[brkIdx]) { in TestBug11665()
1068 if (++brkIdx >= UPRV_LENGTHOF(boundaries) - 1) { in TestBug11665()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/
H A DHistogramWriter.cpp167 const proto::BinBoundaries &boundaries = histogram.bin_boundaries(); in getAsJSON() local
168 for (int binIndex = 0; binIndex < boundaries.bin_specs_size(); ++binIndex) in getAsJSON()
170 js::Value binSpec(boundaries.bin_specs(binIndex).bin_boundary()); in getAsJSON()
/third_party/python/Modules/_decimal/tests/
H A Drandfloat.py82 # boundaries expressed as triples (n, e, u), where
85 boundaries = [
91 for n, e, u in boundaries:
/third_party/icu/icu4c/source/test/intltest/
H A Drbbiapts.h97 void doBoundaryTest(BreakIterator& bi, UnicodeString& text, int32_t *boundaries);
H A Drbbiapts.cpp1126 * The right set of boundaries should still be found. in TestRefreshInputText()
1143 /* Line boundaries will occur before each letter in the original string */ in TestRefreshInputText()
1449 void RBBIAPITest::doBoundaryTest(BreakIterator& bi, UnicodeString& text, int32_t *boundaries){ in doBoundaryTest() argument
1457 if (i == boundaries[p]) { in doBoundaryTest()
/third_party/json/include/nlohmann/detail/conversions/
H A Dto_chars.hpp175 struct boundaries struct
184 boundaries.
189 boundaries compute_boundaries(FloatType value) in compute_boundaries()
220 // Compute the boundaries m- and m+ of the floating-point value in compute_boundaries()
896 // If the neighbors (and boundaries) of 'value' are always computed for double-precision in grisu2()
913 const boundaries w = compute_boundaries(static_cast<double>(value)); in grisu2()
915 const boundaries w = compute_boundaries(value); in grisu2()
/third_party/python/Lib/test/
H A Dtest_strtod.py176 # boundaries expressed as triples (n, e, u), where
179 boundaries = [
185 for n, e, u in boundaries:
H A Dtest_traceback.py1264 boundaries = re.compile( variable
1316 blocks = boundaries.split(self.get_report(outer_raise))
1330 blocks = boundaries.split(self.get_report(outer_raise))
1365 blocks = boundaries.split(self.get_report(outer_raise))
1383 blocks = boundaries.split(self.get_report(outer_raise))
/third_party/skia/experimental/sktext/editor/
H A DTexts.h201 void select(TextRange text, SkRect boundaries) { fSelection->select(text, boundaries); } in select() argument
/third_party/skia/tests/
H A DSkVxTest.cpp279 float4 boundaries = skvx::approx_acos(float4{-1, 0, 1, 0});
280 check_approx_acos(r, -1, boundaries[0]);
281 check_approx_acos(r, 0, boundaries[1]);
282 check_approx_acos(r, +1, boundaries[2]);
/third_party/node/deps/v8/src/compiler/
H A Dtypes.cc416 const Boundary* boundaries = Boundaries(); in ExpandInternals() local
418 DCHECK(BitsetType::Is(boundaries[i].internal, boundaries[i].external)); in ExpandInternals()
419 if (bits & boundaries[i].internal) bits |= boundaries[i].external; in ExpandInternals()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
H A DRBBIAPITest.java448 private void doBoundaryTest(BreakIterator bi, String text, int[] boundaries) { in doBoundaryTest() argument
455 if (i == boundaries[p]) { in doBoundaryTest()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
H A DRBBIAPITest.java445 private void doBoundaryTest(BreakIterator bi, String text, int[] boundaries) { in doBoundaryTest() argument
452 if (i == boundaries[p]) { in doBoundaryTest()
/third_party/protobuf/src/google/protobuf/io/
H A Dtokenizer.cc371 AddError("String literals cannot cross line boundaries."); in ConsumeString()
/third_party/gn/src/gn/
H A Dvariables.cc600 dependencies, and cross shared library boundaries. This allows you to express
604 Checking does not cross executable boundaries. If a target depends on an
1438 " First, they are inherited across static library boundaries until a\n" \
1976 Public configs may or may not be propagated across toolchain boundaries
2143 and they do not cross dependency boundaries (so specifying a .def file in a
/third_party/json/tests/abi/include/nlohmann/
H A Djson_v3_10_5.hpp15110 struct boundaries
15119 boundaries.
15124 boundaries compute_boundaries(FloatType value)
15155 // Compute the boundaries m- and m+ of the floating-point value
15831 // If the neighbors (and boundaries) of 'value' are always computed for double-precision
15848 const boundaries w = compute_boundaries(static_cast<double>(value));
15850 const boundaries w = compute_boundaries(value);

Completed in 47 milliseconds

12