Home
last modified time | relevance | path

Searched refs:segmentStart (Results 1 – 14 of 14) sorted by relevance

/third_party/node/deps/icu-small/source/i18n/
Dutf16collationiterator.cpp155 segmentStart(newText + (other.segmentStart - other.rawStart)), in FCDUTF16CollationIterator()
161 if(checkDir != 0 || other.start == other.segmentStart) { in FCDUTF16CollationIterator()
181 if(checkDir == 0 && (start == segmentStart) != (o.start == o.segmentStart)) { return false; } in operator ==()
182 if(checkDir != 0 || start == segmentStart) { in operator ==()
185 return (segmentStart - rawStart) == (o.segmentStart - o.rawStart) && in operator ==()
193 start = segmentStart = pos = rawStart + newOffset; in resetToOffset()
200 if(checkDir != 0 || start == segmentStart) { in getOffset()
203 return (int32_t)(segmentStart - rawStart); in getOffset()
348 start = segmentStart = pos; in switchToForward()
357 if(start == segmentStart) { in switchToForward()
[all …]
Dutf8collationiterator.cpp389 int32_t segmentStart = pos; in nextSegment() local
400 if(leadCC == 0 && cpStart != segmentStart) { in nextSegment()
418 start = segmentStart; in nextSegment()
431 pos = segmentStart; in nextSegment()
Dutf16collationiterator.h90 rawStart(s), segmentStart(p), segmentLimit(nullptr), rawLimit(lim), in FCDUTF16CollationIterator()
172 const char16_t *segmentStart; variable
/third_party/skia/third_party/externals/icu/source/i18n/
Dutf16collationiterator.cpp155 segmentStart(newText + (other.segmentStart - other.rawStart)), in FCDUTF16CollationIterator()
161 if(checkDir != 0 || other.start == other.segmentStart) { in FCDUTF16CollationIterator()
181 if(checkDir == 0 && (start == segmentStart) != (o.start == o.segmentStart)) { return FALSE; } in operator ==()
182 if(checkDir != 0 || start == segmentStart) { in operator ==()
185 return (segmentStart - rawStart) == (o.segmentStart - o.rawStart) && in operator ==()
193 start = segmentStart = pos = rawStart + newOffset; in resetToOffset()
200 if(checkDir != 0 || start == segmentStart) { in getOffset()
203 return (int32_t)(segmentStart - rawStart); in getOffset()
348 start = segmentStart = pos; in switchToForward()
357 if(start == segmentStart) { in switchToForward()
[all …]
Dutf16collationiterator.h90 rawStart(s), segmentStart(p), segmentLimit(NULL), rawLimit(lim), in FCDUTF16CollationIterator()
172 const UChar *segmentStart; variable
Dutf8collationiterator.cpp389 int32_t segmentStart = pos; in nextSegment() local
400 if(leadCC == 0 && cpStart != segmentStart) { in nextSegment()
418 start = segmentStart; in nextSegment()
431 pos = segmentStart; in nextSegment()
/third_party/icu/icu4c/source/i18n/
Dutf16collationiterator.cpp155 segmentStart(newText + (other.segmentStart - other.rawStart)), in FCDUTF16CollationIterator()
161 if(checkDir != 0 || other.start == other.segmentStart) { in FCDUTF16CollationIterator()
181 if(checkDir == 0 && (start == segmentStart) != (o.start == o.segmentStart)) { return false; } in operator ==()
182 if(checkDir != 0 || start == segmentStart) { in operator ==()
185 return (segmentStart - rawStart) == (o.segmentStart - o.rawStart) && in operator ==()
193 start = segmentStart = pos = rawStart + newOffset; in resetToOffset()
200 if(checkDir != 0 || start == segmentStart) { in getOffset()
203 return (int32_t)(segmentStart - rawStart); in getOffset()
348 start = segmentStart = pos; in switchToForward()
357 if(start == segmentStart) { in switchToForward()
[all …]
Dutf8collationiterator.cpp389 int32_t segmentStart = pos; in nextSegment() local
400 if(leadCC == 0 && cpStart != segmentStart) { in nextSegment()
418 start = segmentStart; in nextSegment()
431 pos = segmentStart; in nextSegment()
Dutf16collationiterator.h90 rawStart(s), segmentStart(p), segmentLimit(NULL), rawLimit(lim), in FCDUTF16CollationIterator()
172 const UChar *segmentStart; variable
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DFCDUTF16CollationIterator.java33 segmentStart = p; in FCDUTF16CollationIterator()
60 return (segmentStart - rawStart) == (o.segmentStart - /*o.*/ rawStart) && in equals()
75 start = segmentStart = pos = rawStart + newOffset; in resetToOffset()
85 return segmentStart - rawStart; in getOffset()
95 segmentStart = p; in setText()
227 start = segmentStart = pos; in switchToForward()
242 pos = start = segmentStart = segmentLimit; in switchToForward()
308 if(pos == segmentStart) {
322 pos = limit = segmentLimit = segmentStart;
348 start = segmentStart = q;
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DFCDUTF16CollationIterator.java35 segmentStart = p; in FCDUTF16CollationIterator()
62 return (segmentStart - rawStart) == (o.segmentStart - /*o.*/ rawStart) && in equals()
77 start = segmentStart = pos = rawStart + newOffset; in resetToOffset()
87 return segmentStart - rawStart; in getOffset()
97 segmentStart = p; in setText()
229 start = segmentStart = pos; in switchToForward()
244 pos = start = segmentStart = segmentLimit; in switchToForward()
310 if(pos == segmentStart) {
324 pos = limit = segmentLimit = segmentStart;
350 start = segmentStart = q;
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1445 int32_t segmentStart = 0; in getMergedCollationKey() local
1448 if(segmentStart == 0) { in getMergedCollationKey()
1459 coll->getCollationKey(s + segmentStart, i - segmentStart, key2, errorCode); in getMergedCollationKey()
1489 segmentStart = ++i; in getMergedCollationKey()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationTest.java1444 int segmentStart = 0;
1447 if (segmentStart == 0) {
1456 CollationKey tmpKey = coll.getCollationKey(s.substring(segmentStart, i));
1465 segmentStart = ++i;
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java1441 int segmentStart = 0;
1444 if (segmentStart == 0) {
1453 CollationKey tmpKey = coll.getCollationKey(s.substring(segmentStart, i));
1462 segmentStart = ++i;