Home
last modified time | relevance | path

Searched refs:StringSegment (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/icu/icu4c/source/i18n/
Dstring_segment.cpp21 StringSegment::StringSegment(const UnicodeString& str, bool ignoreCase) in StringSegment() function in StringSegment
25 int32_t StringSegment::getOffset() const { in getOffset()
29 void StringSegment::setOffset(int32_t start) { in setOffset()
33 void StringSegment::adjustOffset(int32_t delta) { in adjustOffset()
37 void StringSegment::adjustOffsetByCodePoint() { in adjustOffsetByCodePoint()
41 void StringSegment::setLength(int32_t length) { in setLength()
45 void StringSegment::resetLength() { in resetLength()
49 int32_t StringSegment::length() const { in length()
53 char16_t StringSegment::charAt(int32_t index) const { in charAt()
57 UChar32 StringSegment::codePointAt(int32_t index) const { in codePointAt()
[all …]
Dnumber_skeletons.h176 ParseState parseStem(const StringSegment& segment, const UCharsTrie& stemTrie, SeenMacroProps& seen,
186 parseOption(ParseState stem, const StringSegment& segment, MacroProps& macros, UErrorCode& status);
239 bool parseExponentWidthOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
244 bool parseExponentSignOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
246 void parseCurrencyOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
251 void parseMeasureUnitOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
254 void parseMeasurePerUnitOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status…
260 void parseIdentifierUnitOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status…
262 void parseUnitUsageOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
264 void parseFractionStem(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
[all …]
Dnumparse_symbols.h30 bool match(StringSegment& segment, ParsedNumber& result, UErrorCode& status) const override;
32 bool smokeTest(const StringSegment& segment) const override;
38 virtual void accept(StringSegment& segment, ParsedNumber& result) const = 0;
62 void accept(StringSegment& segment, ParsedNumber& result) const override;
75 void accept(StringSegment& segment, ParsedNumber& result) const override;
89 void accept(StringSegment& segment, ParsedNumber& result) const override;
105 void accept(StringSegment& segment, ParsedNumber& result) const override;
120 void accept(StringSegment& segment, ParsedNumber& result) const override;
134 void accept(StringSegment& segment, ParsedNumber& result) const override;
147 void accept(StringSegment& segment, ParsedNumber& result) const override;
[all …]
Dnumparse_symbols.cpp35 bool SymbolMatcher::match(StringSegment& segment, ParsedNumber& result, UErrorCode&) const { in match()
62 bool SymbolMatcher::smokeTest(const StringSegment& segment) const { in smokeTest()
92 void IgnorablesMatcher::accept(StringSegment&, ParsedNumber&) const { in accept() argument
105 void InfinityMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
120 void MinusSignMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
134 void NanMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
151 void PaddingMatcher::accept(StringSegment&, ParsedNumber&) const { in accept() argument
164 void PercentMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
178 void PermilleMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
193 void PlusSignMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
/third_party/node/deps/icu-small/source/i18n/
Dstring_segment.cpp21 StringSegment::StringSegment(const UnicodeString& str, bool ignoreCase) in StringSegment() function in StringSegment
25 int32_t StringSegment::getOffset() const { in getOffset()
29 void StringSegment::setOffset(int32_t start) { in setOffset()
33 void StringSegment::adjustOffset(int32_t delta) { in adjustOffset()
37 void StringSegment::adjustOffsetByCodePoint() { in adjustOffsetByCodePoint()
41 void StringSegment::setLength(int32_t length) { in setLength()
45 void StringSegment::resetLength() { in resetLength()
49 int32_t StringSegment::length() const { in length()
53 char16_t StringSegment::charAt(int32_t index) const { in charAt()
57 UChar32 StringSegment::codePointAt(int32_t index) const { in codePointAt()
[all …]
Dnumber_skeletons.h176 ParseState parseStem(const StringSegment& segment, const UCharsTrie& stemTrie, SeenMacroProps& seen,
186 parseOption(ParseState stem, const StringSegment& segment, MacroProps& macros, UErrorCode& status);
239 bool parseExponentWidthOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
244 bool parseExponentSignOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
246 void parseCurrencyOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
251 void parseMeasureUnitOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
254 void parseMeasurePerUnitOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status…
260 void parseIdentifierUnitOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status…
262 void parseUnitUsageOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
264 void parseFractionStem(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
[all …]
Dnumparse_symbols.h30 bool match(StringSegment& segment, ParsedNumber& result, UErrorCode& status) const override;
32 bool smokeTest(const StringSegment& segment) const override;
38 virtual void accept(StringSegment& segment, ParsedNumber& result) const = 0;
62 void accept(StringSegment& segment, ParsedNumber& result) const override;
75 void accept(StringSegment& segment, ParsedNumber& result) const override;
89 void accept(StringSegment& segment, ParsedNumber& result) const override;
105 void accept(StringSegment& segment, ParsedNumber& result) const override;
120 void accept(StringSegment& segment, ParsedNumber& result) const override;
134 void accept(StringSegment& segment, ParsedNumber& result) const override;
147 void accept(StringSegment& segment, ParsedNumber& result) const override;
[all …]
Dnumparse_symbols.cpp35 bool SymbolMatcher::match(StringSegment& segment, ParsedNumber& result, UErrorCode&) const { in match()
62 bool SymbolMatcher::smokeTest(const StringSegment& segment) const { in smokeTest()
92 void IgnorablesMatcher::accept(StringSegment&, ParsedNumber&) const { in accept() argument
105 void InfinityMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
120 void MinusSignMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
134 void NanMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
151 void PaddingMatcher::accept(StringSegment&, ParsedNumber&) const { in accept() argument
164 void PercentMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
178 void PermilleMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
193 void PlusSignMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
/third_party/skia/third_party/externals/icu/source/i18n/
Dstring_segment.cpp21 StringSegment::StringSegment(const UnicodeString& str, bool ignoreCase) in StringSegment() function in StringSegment
25 int32_t StringSegment::getOffset() const { in getOffset()
29 void StringSegment::setOffset(int32_t start) { in setOffset()
33 void StringSegment::adjustOffset(int32_t delta) { in adjustOffset()
37 void StringSegment::adjustOffsetByCodePoint() { in adjustOffsetByCodePoint()
41 void StringSegment::setLength(int32_t length) { in setLength()
45 void StringSegment::resetLength() { in resetLength()
49 int32_t StringSegment::length() const { in length()
53 char16_t StringSegment::charAt(int32_t index) const { in charAt()
57 UChar32 StringSegment::codePointAt(int32_t index) const { in codePointAt()
[all …]
Dnumber_skeletons.h175 ParseState parseStem(const StringSegment& segment, const UCharsTrie& stemTrie, SeenMacroProps& seen,
185 parseOption(ParseState stem, const StringSegment& segment, MacroProps& macros, UErrorCode& status);
238 bool parseExponentWidthOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
243 bool parseExponentSignOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
245 void parseCurrencyOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
250 void parseMeasureUnitOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
253 void parseMeasurePerUnitOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status…
259 void parseIdentifierUnitOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status…
261 void parseUnitUsageOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
263 void parseFractionStem(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
[all …]
Dnumparse_symbols.h30 bool match(StringSegment& segment, ParsedNumber& result, UErrorCode& status) const override;
32 bool smokeTest(const StringSegment& segment) const override;
38 virtual void accept(StringSegment& segment, ParsedNumber& result) const = 0;
62 void accept(StringSegment& segment, ParsedNumber& result) const override;
75 void accept(StringSegment& segment, ParsedNumber& result) const override;
89 void accept(StringSegment& segment, ParsedNumber& result) const override;
105 void accept(StringSegment& segment, ParsedNumber& result) const override;
120 void accept(StringSegment& segment, ParsedNumber& result) const override;
134 void accept(StringSegment& segment, ParsedNumber& result) const override;
147 void accept(StringSegment& segment, ParsedNumber& result) const override;
[all …]
Dnumparse_symbols.cpp35 bool SymbolMatcher::match(StringSegment& segment, ParsedNumber& result, UErrorCode&) const { in match()
62 bool SymbolMatcher::smokeTest(const StringSegment& segment) const { in smokeTest()
92 void IgnorablesMatcher::accept(StringSegment&, ParsedNumber&) const { in accept() argument
105 void InfinityMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
120 void MinusSignMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
134 void NanMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
151 void PaddingMatcher::accept(StringSegment&, ParsedNumber&) const { in accept() argument
164 void PercentMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
178 void PermilleMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
193 void PlusSignMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/impl/
DStringSegmentTest.java10 import ohos.global.icu.impl.StringSegment;
23 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testOffset()
37 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testLength()
51 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testCharAt()
61 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testGetCodePoint()
74 StringSegment segment = new StringSegment(SAMPLE_STRING, true); in testCommonPrefixLength()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DStringSegmentTest.java11 import com.ibm.icu.impl.StringSegment;
22 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testOffset()
36 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testLength()
50 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testCharAt()
65 StringSegment segment = new StringSegment(SAMPLE_STRING, false); in testGetCodePoint()
78 StringSegment segment = new StringSegment(SAMPLE_STRING, true); in testCommonPrefixLength()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DNumberParserTest.java12 import ohos.global.icu.impl.StringSegment;
225 assertFalse(series.smokeTest(new StringSegment("x", false))); in testSeriesMatcher()
226 assertFalse(series.smokeTest(new StringSegment("-", false))); in testSeriesMatcher()
227 assertTrue(series.smokeTest(new StringSegment("+", false))); in testSeriesMatcher()
248 StringSegment segment = new StringSegment(input, false); in testSeriesMatcher()
286 StringSegment segment = new StringSegment(input, true); in testCombinedCurrencyMatcher()
297 StringSegment segment = new StringSegment(input, true); in testCombinedCurrencyMatcher()
341 StringSegment segment = new StringSegment(sampleParseableString, true); in testAffixPatternMatcher()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberParserTest.java11 import com.ibm.icu.impl.StringSegment;
222 assertFalse(series.smokeTest(new StringSegment("x", false))); in testSeriesMatcher()
223 assertFalse(series.smokeTest(new StringSegment("-", false))); in testSeriesMatcher()
224 assertTrue(series.smokeTest(new StringSegment("+", false))); in testSeriesMatcher()
245 StringSegment segment = new StringSegment(input, false); in testSeriesMatcher()
283 StringSegment segment = new StringSegment(input, true); in testCombinedCurrencyMatcher()
294 StringSegment segment = new StringSegment(input, true); in testCombinedCurrencyMatcher()
338 StringSegment segment = new StringSegment(sampleParseableString, true); in testAffixPatternMatcher()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
DSymbolMatcher.java7 import ohos.global.icu.impl.StringSegment;
38 public boolean match(StringSegment segment, ParsedNumber result) { in match()
65 public boolean smokeTest(StringSegment segment) { in smokeTest()
76 protected abstract void accept(StringSegment segment, ParsedNumber result); in accept()
DValidationMatcher.java6 import ohos.global.icu.impl.StringSegment;
15 public boolean match(StringSegment segment, ParsedNumber result) { in match()
20 public boolean smokeTest(StringSegment segment) { in smokeTest()
DNumberParseMatcher.java6 import ohos.global.icu.impl.StringSegment;
47 public boolean match(StringSegment segment, ParsedNumber result); in match()
61 public boolean smokeTest(StringSegment segment); in smokeTest()
DCodePointMatcher.java6 import ohos.global.icu.impl.StringSegment;
28 public boolean match(StringSegment segment, ParsedNumber result) { in match()
37 public boolean smokeTest(StringSegment segment) { in smokeTest()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DSymbolMatcher.java6 import com.ibm.icu.impl.StringSegment;
36 public boolean match(StringSegment segment, ParsedNumber result) { in match()
63 public boolean smokeTest(StringSegment segment) { in smokeTest()
74 protected abstract void accept(StringSegment segment, ParsedNumber result); in accept()
DValidationMatcher.java5 import com.ibm.icu.impl.StringSegment;
13 public boolean match(StringSegment segment, ParsedNumber result) { in match()
18 public boolean smokeTest(StringSegment segment) { in smokeTest()
DNumberParseMatcher.java5 import com.ibm.icu.impl.StringSegment;
44 public boolean match(StringSegment segment, ParsedNumber result); in match()
58 public boolean smokeTest(StringSegment segment); in smokeTest()
DCodePointMatcher.java5 import com.ibm.icu.impl.StringSegment;
26 public boolean match(StringSegment segment, ParsedNumber result) { in match()
35 public boolean smokeTest(StringSegment segment) { in smokeTest()
/third_party/icu/icu4c/source/test/intltest/
Dstring_segment_test.cpp40 StringSegment segment(sampleString, false); in testOffset()
53 StringSegment segment(sampleString, false); in testLength()
68 StringSegment segment(sampleString, false); in testCharAt()
82 StringSegment segment(sampleString, false); in testGetCodePoint()
96 StringSegment segment(sampleString, false); in testCommonPrefixLength()

12345