Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/i18n/
Dformattedval_sbimpl.cpp34 return fString.toUnicodeString(); in toString()
38 return fString.toTempUnicodeString(); in toTempString()
42 appendable.appendString(fString.chars(), fString.length()); in appendTo()
75 int32_t i = fString.fZero; in nextFieldPosition()
76 for (; i < fString.fZero + fString.fLength; i++) { in nextFieldPosition()
77 …if (isIntOrGroup(fString.getFieldPtr()[i]) || fString.getFieldPtr()[i] == UNUM_DECIMAL_SEPARATOR_F… in nextFieldPosition()
83 fp.setBeginIndex(i - fString.fZero); in nextFieldPosition()
84 fp.setEndIndex(i - fString.fZero); in nextFieldPosition()
106 for (int32_t i = fString.fZero + cfpos.getLimit(); i <= fString.fZero + fString.fLength; i++) { in nextPositionImpl()
107 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 …]
Dformattedval_impl.h112 UnicodeString fString;
144 return fString; in getStringRef()
147 return fString; in getStringRef()
151 FormattedStringBuilder fString;
Dfmtable_cnv.cpp39 fValue.fString = new UnicodeString(stringToCopy); in Formattable()
/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()
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 …]
/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()
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 …]
/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/skqp/src/sksl/
DSkSLStringStream.h65 if (!fString.size()) {
67 fString = String((const char*) data->data(), data->size());
69 return fString;
74 fString = "";
79 mutable String fString;
/external/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;
/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/skqp/include/ports/
DSkFontConfigInterface.h51 fString == other.fString;
59 SkString fString; member
/external/skia/include/ports/
DSkFontConfigInterface.h51 fString == other.fString;
59 SkString fString; member
/external/skia/src/ports/
DSkFontConfigInterface_direct.cpp84 size += sizeof(int32_t) + fString.size(); // store length+data in writeToMemory()
90 buffer.write32(fString.size()); in writeToMemory()
94 buffer.write(fString.c_str(), fString.size()); in writeToMemory()
116 fString.resize(strLen); in readFromMemory()
117 (void)buffer.read(fString.writable_str(), strLen); in readFromMemory()
127 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/skqp/src/ports/
DSkFontConfigInterface_direct.cpp79 size += sizeof(int32_t) + fString.size(); // store length+data in writeToMemory()
85 buffer.write32(fString.size()); in writeToMemory()
89 buffer.write(fString.c_str(), fString.size()); in writeToMemory()
111 fString.resize(strLen); in readFromMemory()
112 (void)buffer.read(fString.writable_str(), strLen); in readFromMemory()
122 iden->fString.set("Hello world"); in make_iden()
680 outIdentity->fString.set(c_filename); in matchFamilyName()
692 return SkStream::MakeFromFile(identity.fString.c_str()).release(); in openStream()
/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/icu4c/source/tools/genrb/
Dreslist.cpp280 fString.setTo(ConstChar16Ptr(value), len); in StringBaseResource()
281 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource()
282 if (U_SUCCESS(errorCode) && fString.isBogus()) { in StringBaseResource()
289 : SResource(bundle, NULL, type, NULL, errorCode), fString(value) { in StringBaseResource()
296 fString.getTerminatedBuffer(); // Some code relies on NUL-termination. in StringBaseResource()
297 if (U_SUCCESS(errorCode) && fString.isBogus()) { in StringBaseResource()
305 : SResource(NULL, NULL, type, NULL, errorCode), fString(TRUE, value, len) { in StringBaseResource()
307 assert(!fString.isBogus()); in StringBaseResource()
315 return res->fString.hashCode(); in string_hash()
322 return res1->fString == res2->fString; in string_comp()
[all …]
/external/skqp/tests/
DGrTRecorderTest.cpp149 Subclass() : fString("Lorem ipsum dolor sit amet") {} in Subclass()
155 REPORTER_ASSERT(reporter, !strcmp("Lorem ipsum dolor sit amet", fString.c_str())); in validate()
159 SkString fString; member in Subclass
DStringTest.cpp144 const char* fString; in DEF_TEST() member
162 if (!a.equals(gRec[i].fString)) { in DEF_TEST()
163 ERRORF(reporter, "received <%s> expected <%s>\n", a.c_str(), gRec[i].fString); in DEF_TEST()
/external/skia/tests/
DGrTRecorderTest.cpp100 Subclass() : fString("Lorem ipsum dolor sit amet") {} in Subclass()
106 REPORTER_ASSERT(reporter, !strcmp("Lorem ipsum dolor sit amet", fString.c_str())); in validate()
110 SkString fString; member in Subclass
DStringTest.cpp141 const char* fString; in DEF_TEST() member
159 if (!a.equals(gRec[i].fString)) { in DEF_TEST()
160 ERRORF(reporter, "received <%s> expected <%s>\n", a.c_str(), gRec[i].fString); in DEF_TEST()
/external/skqp/src/utils/
DSkWhitelistTypefaces.cpp47 fontNameStr = familyNameLocalized.fString; in whitelist_name_index()
59 SkDebugf("no match fontName=\"%s\"\n", familyNameLocalized.fString.c_str()); in whitelist_name_index()
/external/skia/src/utils/
DSkWhitelistTypefaces.cpp47 fontNameStr = familyNameLocalized.fString; in whitelist_name_index()
59 SkDebugf("no match fontName=\"%s\"\n", familyNameLocalized.fString.c_str()); in whitelist_name_index()

12