Home
last modified time | relevance | path

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

12

/external/cronet/third_party/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()
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 …]
Dformattedval_impl.h115 UnicodeString fString;
167 return fString; in getStringRef()
170 return fString; in getStringRef()
186 FormattedStringBuilder fString;
/external/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()
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 …]
/external/skia/src/sksl/
DSkSLStringStream.h20 SkASSERT(fString.empty()); in write8()
25 SkASSERT(fString.empty()); in writeText()
30 SkASSERT(fString.empty()); in write()
39 if (!fString.size()) { in str()
41 fString = std::string((const char*) data->data(), data->size()); in str()
43 return fString; in str()
48 fString = ""; in reset()
53 mutable std::string fString; variable
/external/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()
567 while (strIdx < fString.length()) { in set()
579 rule.fRuleMatcher.reset(fString.substring(strIdx)); in set()
587 … (matchStart < fString.length() && fString.offsetByCodePoints(matchStart, 1) < matchEnd)) { in set()
634 int updatedStrIdx = fString.offsetByCodePoints(matchEnd, -1); in set()
645 if (expectedBreakCount >= fString.length()) { in set()
[all …]
/external/icu/android_icu4j/src/main/tests/android/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()
570 while (strIdx < fString.length()) { in set()
582 rule.fRuleMatcher.reset(fString.substring(strIdx)); in set()
590 … (matchStart < fString.length() && fString.offsetByCodePoints(matchStart, 1) < matchEnd)) { in set()
637 int updatedStrIdx = fString.offsetByCodePoints(matchEnd, -1); in set()
648 if (expectedBreakCount >= fString.length()) { in set()
[all …]
/external/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 …]
/external/cronet/third_party/icu/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 …]
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DBindingsVersioningTest.java48 struct.fString = "hello"; in newStruct()
91 v3.fString = "hello"; in testOldToNew()
95 expected.fString = "hello"; in testOldToNew()
107 v5.fString = "hello"; in testOldToNew()
112 expected.fString = "hello"; in testOldToNew()
126 v7.fString = "hello"; in testOldToNew()
135 expected.fString = "hello"; in testOldToNew()
181 expected.fString = "hello"; in testNewToOld()
192 expected.fString = "hello"; in testNewToOld()
205 expected.fString = "hello"; in testNewToOld()
/external/skia/include/ports/
DSkFontConfigInterface.h51 fString == other.fString;
59 SkString fString; member
/external/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.data(), strLen); in readFromMemory()
110 iden->fString.set("Hello world"); in make_iden()
696 outIdentity->fString.set(c_filename); in matchFamilyName()
708 return SkStream::MakeFromFile(identity.fString.c_str()).release(); in openStream()
/external/cronet/third_party/icu/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 …]
/external/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 …]
/external/icu/icu4c/source/i18n/unicode/
Dfmtable.h386 { result=*fValue.fString; return result; } in getString()
694 UnicodeString* fString; member
723 return *fValue.fString; in getString()
727 return *fValue.fString; in getString()
/external/icu/libicu/cts_headers/unicode/
Dfmtable.h386 { result=*fValue.fString; return result; } in getString()
694 UnicodeString* fString; member
723 return *fValue.fString; in getString()
727 return *fValue.fString; in getString()
/external/cronet/third_party/icu/source/i18n/unicode/
Dfmtable.h386 { result=*fValue.fString; return result; } in getString()
694 UnicodeString* fString; member
723 return *fValue.fString; in getString()
727 return *fValue.fString; in getString()
/external/cronet/third_party/icu/source/tools/genrb/
Dreslist.cpp281 fString.setTo(ConstChar16Ptr(value), len); in StringBaseResource()
282 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource()
283 if (U_SUCCESS(errorCode) && fString.isBogus()) { in StringBaseResource()
290 : SResource(bundle, NULL, type, NULL, errorCode), fString(value) { in StringBaseResource()
297 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource()
298 if (U_SUCCESS(errorCode) && fString.isBogus()) { in StringBaseResource()
306 : SResource(NULL, NULL, type, NULL, errorCode), fString(true, value, len) { in StringBaseResource()
308 assert(!fString.isBogus()); in StringBaseResource()
316 return res->fString.hashCode(); in string_hash()
323 return res1->fString == res2->fString; in string_comp()
[all …]
/external/icu/icu4c/source/tools/genrb/
Dreslist.cpp281 fString.setTo(ConstChar16Ptr(value), len); in StringBaseResource()
282 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource()
283 if (U_SUCCESS(errorCode) && fString.isBogus()) { in StringBaseResource()
290 : SResource(bundle, NULL, type, NULL, errorCode), fString(value) { in StringBaseResource()
297 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource()
298 if (U_SUCCESS(errorCode) && fString.isBogus()) { in StringBaseResource()
306 : SResource(NULL, NULL, type, NULL, errorCode), fString(true, value, len) { in StringBaseResource()
308 assert(!fString.isBogus()); in StringBaseResource()
316 return res->fString.hashCode(); in string_hash()
323 return res1->fString == res2->fString; in string_comp()
[all …]
/external/icu/libicu/cts_headers/
Dformattedval_impl.h115 UnicodeString fString;
167 return fString; in getStringRef()
170 return fString; in getStringRef()
186 FormattedStringBuilder fString;

12