Home
last modified time | relevance | path

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

123456

/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.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/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/flutter/skia/third_party/externals/icu/source/i18n/
Dnumparse_stringsegment.cpp23 StringSegment::StringSegment(const UnicodeString& str, bool ignoreCase) in StringSegment() function in StringSegment
27 int32_t StringSegment::getOffset() const { in getOffset()
31 void StringSegment::setOffset(int32_t start) { in setOffset()
35 void StringSegment::adjustOffset(int32_t delta) { in adjustOffset()
39 void StringSegment::adjustOffsetByCodePoint() { in adjustOffsetByCodePoint()
43 void StringSegment::setLength(int32_t length) { in setLength()
47 void StringSegment::resetLength() { in resetLength()
51 int32_t StringSegment::length() const { in length()
55 char16_t StringSegment::charAt(int32_t index) const { in charAt()
59 UChar32 StringSegment::codePointAt(int32_t index) const { in codePointAt()
[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 …]
Dnumber_skeletons.h14 using icu::numparse::impl::StringSegment;
148 ParseState parseStem(const StringSegment& segment, const UCharsTrie& stemTrie, SeenMacroProps& seen,
158 parseOption(ParseState stem, const StringSegment& segment, MacroProps& macros, UErrorCode& status);
211 bool parseExponentWidthOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
216 bool parseExponentSignOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
218 void parseCurrencyOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
222 void parseMeasureUnitOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
226 void parseMeasurePerUnitOption(const StringSegment& segment, MacroProps& macros, UErrorCode& status…
228 void parseFractionStem(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
232 void parseDigitsStem(const StringSegment& segment, MacroProps& macros, UErrorCode& status);
[all …]
Dnumparse_symbols.cpp34 bool SymbolMatcher::match(StringSegment& segment, ParsedNumber& result, UErrorCode&) const { in match()
61 bool SymbolMatcher::smokeTest(const StringSegment& segment) const { in smokeTest()
87 void IgnorablesMatcher::accept(StringSegment&, ParsedNumber&) const { in accept() argument
100 void InfinityMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
115 void MinusSignMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
129 void NanMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
146 void PaddingMatcher::accept(StringSegment&, ParsedNumber&) const { in accept() argument
159 void PercentMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
173 void PermilleMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
188 void PlusSignMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
Dnumparse_types.h17 class StringSegment; variable
150 void setCharsConsumed(const StringSegment& segment);
178 class U_I18N_API StringSegment : public UMemory {
180 StringSegment(const UnicodeString& str, bool ignoreCase);
323 virtual bool match(StringSegment& segment, ParsedNumber& result, UErrorCode& status) const = 0;
337 virtual bool smokeTest(const StringSegment& segment) const = 0;
/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/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/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/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()
/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()

123456