Home
last modified time | relevance | path

Searched refs:fString (Results 1 – 25 of 73) sorted by relevance

123

/third_party/node/deps/icu-small/source/i18n/
Dformattedval_sbimpl.cpp35 return fString.toUnicodeString(); in toString()
39 return fString.toTempUnicodeString(); in toTempString()
43 appendable.appendString(fString.chars(), fString.length()); in appendTo()
76 int32_t i = fString.fZero; in nextFieldPosition()
77 for (; i < fString.fZero + fString.fLength; i++) { in nextFieldPosition()
78 …if (isIntOrGroup(fString.getFieldPtr()[i]) || fString.getFieldPtr()[i] == Field(UFIELD_CATEGORY_NU… in nextFieldPosition()
84 fp.setBeginIndex(i - fString.fZero); in nextFieldPosition()
85 fp.setEndIndex(i - fString.fZero); in nextFieldPosition()
100 fString.clear(); in resetString()
132 for (int32_t i = fString.fZero + cfpos.getLimit(); i <= fString.fZero + fString.fLength; i++) { in nextPositionImpl()
[all …]
Dnumparse_symbols.cpp25 fString.setToBogus(); in SymbolMatcher()
27 fString = symbolString; in SymbolMatcher()
43 if (!fString.isEmpty()) { in match()
44 overlap = segment.getCommonPrefixLength(fString); in match()
45 if (overlap == fString.length()) { in match()
46 segment.adjustOffset(fString.length()); in match()
63 return segment.startsWith(*fUniSet) || segment.startsWith(fString); in smokeTest()
Dformattedval_iterimpl.cpp28 return fString; in toString()
35 return UnicodeString(TRUE, fString.getBuffer(), fString.length()); in toTempString()
41 appendable.appendString(fString.getBuffer(), fString.length()); in appendTo()
77 fString.append(string); in appendString()
79 if (fString.getTerminatedBuffer() == nullptr) { in appendString()
Dfmtable.cpp175 fValue.fString = new UnicodeString(stringToCopy); in Formattable()
186 fValue.fString = stringToAdopt; in Formattable()
241 fValue.fString = new UnicodeString(*source.fValue.fString); in operator =()
302 equal = (*(fValue.fString) == *(that.fValue.fString)); in operator ==()
344 delete fValue.fString; in dispose()
580 fValue.fString = new UnicodeString(stringToCopy); in setString()
603 fValue.fString = stringToAdopt; in adoptString()
633 if (fValue.fString == NULL) { in getString()
636 result = *fValue.fString; in getString()
650 if (fValue.fString == NULL) { in getString()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dformattedval_sbimpl.cpp35 return fString.toUnicodeString(); in toString()
39 return fString.toTempUnicodeString(); in toTempString()
43 appendable.appendString(fString.chars(), fString.length()); in appendTo()
76 int32_t i = fString.fZero; in nextFieldPosition()
77 for (; i < fString.fZero + fString.fLength; i++) { in nextFieldPosition()
78 …if (isIntOrGroup(fString.getFieldPtr()[i]) || fString.getFieldPtr()[i] == Field(UFIELD_CATEGORY_NU… in nextFieldPosition()
84 fp.setBeginIndex(i - fString.fZero); in nextFieldPosition()
85 fp.setEndIndex(i - fString.fZero); in nextFieldPosition()
127 for (int32_t i = fString.fZero + cfpos.getLimit(); i <= fString.fZero + fString.fLength; i++) { in nextPositionImpl()
128 Field _field = (i < fString.fZero + fString.fLength) ? fString.getFieldPtr()[i] : kEndField; in nextPositionImpl()
[all …]
Dnumparse_symbols.cpp25 fString.setToBogus(); in SymbolMatcher()
27 fString = symbolString; in SymbolMatcher()
43 if (!fString.isEmpty()) { in match()
44 overlap = segment.getCommonPrefixLength(fString); in match()
45 if (overlap == fString.length()) { in match()
46 segment.adjustOffset(fString.length()); in match()
63 return segment.startsWith(*fUniSet) || segment.startsWith(fString); in smokeTest()
Dformattedval_iterimpl.cpp28 return fString; in toString()
35 return UnicodeString(TRUE, fString.getBuffer(), fString.length()); in toTempString()
41 appendable.appendString(fString.getBuffer(), fString.length()); in appendTo()
77 fString.append(string); in appendString()
79 if (fString.getTerminatedBuffer() == nullptr) { in appendString()
Dfmtable.cpp175 fValue.fString = new UnicodeString(stringToCopy); in Formattable()
186 fValue.fString = stringToAdopt; in Formattable()
241 fValue.fString = new UnicodeString(*source.fValue.fString); in operator =()
302 equal = (*(fValue.fString) == *(that.fValue.fString)); in operator ==()
344 delete fValue.fString; in dispose()
580 fValue.fString = new UnicodeString(stringToCopy); in setString()
603 fValue.fString = stringToAdopt; in adoptString()
633 if (fValue.fString == NULL) { in getString()
636 result = *fValue.fString; in getString()
650 if (fValue.fString == NULL) { in getString()
[all …]
/third_party/icu/icu4c/source/i18n/
Dformattedval_sbimpl.cpp35 return fString.toUnicodeString(); in toString()
39 return fString.toTempUnicodeString(); in toTempString()
43 appendable.appendString(fString.chars(), fString.length()); in appendTo()
76 int32_t i = fString.fZero; in nextFieldPosition()
77 for (; i < fString.fZero + fString.fLength; i++) { in nextFieldPosition()
78 …if (isIntOrGroup(fString.getFieldPtr()[i]) || fString.getFieldPtr()[i] == Field(UFIELD_CATEGORY_NU… in nextFieldPosition()
84 fp.setBeginIndex(i - fString.fZero); in nextFieldPosition()
85 fp.setEndIndex(i - fString.fZero); in nextFieldPosition()
127 for (int32_t i = fString.fZero + cfpos.getLimit(); i <= fString.fZero + fString.fLength; i++) { in nextPositionImpl()
128 Field _field = (i < fString.fZero + fString.fLength) ? fString.getFieldPtr()[i] : kEndField; in nextPositionImpl()
[all …]
Dnumparse_symbols.cpp25 fString.setToBogus(); in SymbolMatcher()
27 fString = symbolString; in SymbolMatcher()
43 if (!fString.isEmpty()) { in match()
44 overlap = segment.getCommonPrefixLength(fString); in match()
45 if (overlap == fString.length()) { in match()
46 segment.adjustOffset(fString.length()); in match()
63 return segment.startsWith(*fUniSet) || segment.startsWith(fString); in smokeTest()
Dformattedval_iterimpl.cpp28 return fString; in toString()
35 return UnicodeString(TRUE, fString.getBuffer(), fString.length()); in toTempString()
41 appendable.appendString(fString.getBuffer(), fString.length()); in appendTo()
77 fString.append(string); in appendString()
79 if (fString.getTerminatedBuffer() == nullptr) { in appendString()
Dfmtable.cpp175 fValue.fString = new UnicodeString(stringToCopy); in Formattable()
186 fValue.fString = stringToAdopt; in Formattable()
241 fValue.fString = new UnicodeString(*source.fValue.fString); in operator =()
302 equal = (*(fValue.fString) == *(that.fValue.fString)); in operator ==()
344 delete fValue.fString; in dispose()
580 fValue.fString = new UnicodeString(stringToCopy); in setString()
603 fValue.fString = stringToAdopt; in adoptString()
633 if (fValue.fString == NULL) { in getString()
636 result = *fValue.fString; in getString()
650 if (fValue.fString == NULL) { in getString()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
DRBBIMonkeyTest.java548 fString = newString.toString(); in set()
554 fActualBreaks = new boolean[fString.length()+1]; in set()
555 fExpectedBreaks = new boolean[fString.length()+1]; in set()
556 fRuleForPosition = new int[fString.length()+1]; in set()
557 f2ndRuleForPos = new int[fString.length()+1]; in set()
568 while (strIdx < fString.length()) { in set()
580 rule.fRuleMatcher.reset(fString.substring(strIdx)); in set()
588 … (matchStart < fString.length() && fString.offsetByCodePoints(matchStart, 1) < matchEnd)) { in set()
634 int updatedStrIdx = fString.offsetByCodePoints(matchEnd, -1); in set()
681 end = fString.length(); in dump()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIMonkeyTest.java545 fString = newString.toString(); in set()
551 fActualBreaks = new boolean[fString.length()+1]; in set()
552 fExpectedBreaks = new boolean[fString.length()+1]; in set()
553 fRuleForPosition = new int[fString.length()+1]; in set()
554 f2ndRuleForPos = new int[fString.length()+1]; in set()
565 while (strIdx < fString.length()) { in set()
577 rule.fRuleMatcher.reset(fString.substring(strIdx)); in set()
585 … (matchStart < fString.length() && fString.offsetByCodePoints(matchStart, 1) < matchEnd)) { in set()
631 int updatedStrIdx = fString.offsetByCodePoints(matchEnd, -1); in set()
678 end = fString.length(); in dump()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Drbbimonkeytest.cpp406 fString.remove(); in set()
416 … if (U16_IS_TRAIL(c) && fString.length() > 0 && U16_IS_LEAD(fString.charAt(fString.length()-1))) { in set()
424 fString.append(c); in set()
435 rule->fRuleMatcher->reset(fString); in set()
455 while (strIdx < fString.length()) { in set()
479 if (hasBreak || fString.moveIndex32(matchStart, 1) < matchEnd) { in set()
533 strIdx = fString.moveIndex32(matchEnd, -1); in set()
558 for (int32_t i=0; i<=fString.length(); i++) { in clearActualBreaks()
574 end = fString.length(); in dump()
577 start = fString.moveIndex32(around, -30); in dump()
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLStringStream.h66 if (!fString.size()) {
68 fString = String((const char*) data->data(), data->size());
70 return fString;
75 fString = "";
80 mutable String fString;
/third_party/skia/src/sksl/
DSkSLStringStream.h74 if (!fString.size()) {
76 fString = String((const char*) data->data(), data->size());
78 return fString;
83 fString = "";
88 mutable String fString;
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumparse_symbols.cpp24 fString.setToBogus(); in SymbolMatcher()
26 fString = symbolString; in SymbolMatcher()
42 if (!fString.isEmpty()) { in match()
43 overlap = segment.getCommonPrefixLength(fString); in match()
44 if (overlap == fString.length()) { in match()
45 segment.adjustOffset(fString.length()); in match()
62 return segment.startsWith(*fUniSet) || segment.startsWith(fString); in smokeTest()
Dfmtable.cpp175 fValue.fString = new UnicodeString(stringToCopy); in Formattable()
186 fValue.fString = stringToAdopt; in Formattable()
241 fValue.fString = new UnicodeString(*source.fValue.fString); in operator =()
302 equal = (*(fValue.fString) == *(that.fValue.fString)); in operator ==()
344 delete fValue.fString; in dispose()
580 fValue.fString = new UnicodeString(stringToCopy); in setString()
603 fValue.fString = stringToAdopt; in adoptString()
633 if (fValue.fString == NULL) { in getString()
636 result = *fValue.fString; in getString()
650 if (fValue.fString == NULL) { in getString()
[all …]
/third_party/flutter/skia/include/ports/
DSkFontConfigInterface.h51 fString == other.fString;
59 SkString fString; member
/third_party/skia/include/ports/
DSkFontConfigInterface.h51 fString == other.fString;
59 SkString fString; member
/third_party/flutter/skia/src/ports/
DSkFontConfigInterface_direct.cpp82 size += sizeof(int32_t) + fString.size(); // store length+data in writeToMemory()
88 buffer.write32(fString.size()); in writeToMemory()
92 buffer.write(fString.c_str(), fString.size()); in writeToMemory()
114 fString.resize(strLen); in readFromMemory()
115 (void)buffer.read(fString.writable_str(), strLen); in readFromMemory()
125 iden->fString.set("Hello world"); in make_iden()
697 outIdentity->fString.set(c_filename); in matchFamilyName()
709 return SkStream::MakeFromFile(identity.fString.c_str()).release(); in openStream()
/third_party/skia/src/ports/
DSkFontConfigInterface_direct.cpp67 size += sizeof(int32_t) + fString.size(); // store length+data in writeToMemory()
73 buffer.write32(fString.size()); in writeToMemory()
77 buffer.write(fString.c_str(), fString.size()); in writeToMemory()
99 fString.resize(strLen); in readFromMemory()
100 (void)buffer.read(fString.writable_str(), strLen); in readFromMemory()
110 iden->fString.set("Hello world"); in make_iden()
679 outIdentity->fString.set(c_filename); in matchFamilyName()
691 return SkStream::MakeFromFile(identity.fString.c_str()).release(); in openStream()
/third_party/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp267 UnicodeString fString; member in NumTest
295 fString(num,-1,US_INV), in NumTest()
296 fStr(fString.getTerminatedBuffer()), in NumTest()
395 UnicodeString fString; member in NumFmtTest
423 fString(num,-1,US_INV), in NumFmtTest()
424 fStr(fString.getTerminatedBuffer()), in NumFmtTest()
480 UnicodeString fString; member in NumFmtInt64Test
547 fString(num,-1,US_INV), in NumFmtInt64Test()
548 fStr(fString.getTerminatedBuffer()), in NumFmtInt64Test()
607 UnicodeString fString; member in NumFmtStringPieceTest
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/tools/genrb/
Dreslist.cpp274 fString.setTo(ConstChar16Ptr(value), len); in StringBaseResource()
275 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource()
276 if (U_SUCCESS(errorCode) && fString.isBogus()) { in StringBaseResource()
283 : SResource(bundle, NULL, type, NULL, errorCode), fString(value) { in StringBaseResource()
290 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource()
291 if (U_SUCCESS(errorCode) && fString.isBogus()) { in StringBaseResource()
299 : SResource(NULL, NULL, type, NULL, errorCode), fString(TRUE, value, len) { in StringBaseResource()
301 assert(!fString.isBogus()); in StringBaseResource()
309 return res->fString.hashCode(); in string_hash()
316 return res1->fString == res2->fString; in string_comp()
[all …]

123