Home
last modified time | relevance | path

Searched refs:fText (Results 1 – 25 of 85) sorted by relevance

1234

/external/icu/icu4c/source/common/
Drbbi.cpp197 utext_close(&fText); in ~RuleBasedBreakIterator()
233 utext_clone(&fText, &that.fText, FALSE, TRUE, &status); in operator =()
296 uprv_memcpy(&fText, &initializedUText, sizeof(UText)); in init()
302 utext_openUChars(&fText, NULL, 0, &status); in init()
354 if (!utext_equals(&fText, &that2.fText)) { in operator ==()
395 utext_clone(&fText, ut, FALSE, TRUE, &status); in setText()
416 UText *result = utext_clone(fillIn, &fText, FALSE, TRUE, &status); in getUText()
453 utext_openUChars(&fText, NULL, 0, &status); in adoptText()
455 utext_openCharacterIterator(&fText, newText, &status); in adoptText()
470 utext_openConstUnicodeString(&fText, &newText, &status); in setText()
[all …]
Dfilteredbrk.cpp164 LocalUTextPointer fText; member in SimpleFilteredSentenceBreakIterator
255 fText.adoptInstead(fDelegate->getUText(fText.orphan(), status)); in resetState()
263 utext_setNativeIndex(fText.getAlias(), n); // from n.. in breakExceptionAt()
269 …if((uch=utext_previous32(fText.getAlias()))==(UChar32)0x0020) { // TODO: skip a class of chars he… in breakExceptionAt()
274 uch = utext_next32(fText.getAlias()); in breakExceptionAt()
280 …while((uch=utext_previous32(fText.getAlias()))!=U_SENTINEL && // more to consume backwards and.. in breakExceptionAt()
283 bestPosn = utext_getNativeIndex(fText.getAlias()); in breakExceptionAt()
292 bestPosn = utext_getNativeIndex(fText.getAlias()); in breakExceptionAt()
313 utext_setNativeIndex(fText.getAlias(), bestPosn); // hope that's close .. in breakExceptionAt()
315 while((uch=utext_next32(fText.getAlias()))!=U_SENTINEL && in breakExceptionAt()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestMonkey.java99 StringBuffer fText; field in RBBITestMonkey.RBBICharMonkey
103 fText = null; in RBBICharMonkey()
146 fText = s; in setText()
166 if (prevPos >= fText.length()) { in next()
170 c3 = UTF16.charAt(fText, prevPos); in next()
181 p3 = moveIndex32(fText, p3, 1); in next()
182 c3 = (p3>=fText.length())? -1: UTF16.charAt(fText, p3); in next()
188 if (p2 == fText.length()) { in next()
293 StringBuffer fText; field in RBBITestMonkey.RBBIWordMonkey
407 fText = s; in setText()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITestMonkey.java102 StringBuffer fText; field in RBBITestMonkey.RBBICharMonkey
106 fText = null; in RBBICharMonkey()
149 fText = s; in setText()
169 if (prevPos >= fText.length()) { in next()
173 c3 = UTF16.charAt(fText, prevPos); in next()
184 p3 = moveIndex32(fText, p3, 1); in next()
185 c3 = (p3>=fText.length())? -1: UTF16.charAt(fText, p3); in next()
191 if (p2 == fText.length()) { in next()
296 StringBuffer fText; field in RBBITestMonkey.RBBIWordMonkey
410 fText = s; in setText()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedBreakIterator.java133 if (fText != null) { in clone()
134 result.fText = (CharacterIterator)(fText.clone()); in clone()
167 if (fText == null && other.fText == null) { in equals()
170 if (fText == null || other.fText == null || !fText.equals(other.fText)) { in equals()
217 private CharacterIterator fText = new java.text.StringCharacterIterator(""); field in RuleBasedBreakIterator
351 if (fText == null) { in first()
354 fText.first(); in first()
355 int start = fText.getIndex(); in first()
371 if (fText == null) { in last()
374 int endPos = fText.getEndIndex(); in last()
[all …]
DRBBIRuleScanner.java231 RHSExprNode.fText = fRB.fRules.substring(RHSExprNode.fFirstPos, in doParseActions()
240 fSymbolTable.addEntry(varRefNode.fText, varRefNode); in doParseActions()
376 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
387 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
398 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
423 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
478 n.fText = fRB.fRules.substring(n.fFirstPos + 1, n.fLastPos); in doParseActions()
486 n.fLeftChild = fSymbolTable.lookupNode(n.fText); in doParseActions()
665 usetNode.fText = s; in findSetFor()
1090 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in scanSet()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java135 if (fText != null) { in clone()
136 result.fText = (CharacterIterator)(fText.clone()); in clone()
170 if (fText == null && other.fText == null) { in equals()
173 if (fText == null || other.fText == null || !fText.equals(other.fText)) { in equals()
222 private CharacterIterator fText = new java.text.StringCharacterIterator(""); field in RuleBasedBreakIterator
358 if (fText == null) { in first()
361 fText.first(); in first()
362 int start = fText.getIndex(); in first()
379 if (fText == null) { in last()
382 int endPos = fText.getEndIndex(); in last()
[all …]
DRBBIRuleScanner.java230 RHSExprNode.fText = fRB.fRules.substring(RHSExprNode.fFirstPos, in doParseActions()
239 fSymbolTable.addEntry(varRefNode.fText, varRefNode); in doParseActions()
375 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
386 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
397 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
422 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
477 n.fText = fRB.fRules.substring(n.fFirstPos + 1, n.fLastPos); in doParseActions()
485 n.fLeftChild = fSymbolTable.lookupNode(n.fText); in doParseActions()
664 usetNode.fText = s; in findSetFor()
1089 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in scanSet()
[all …]
/external/skqp/modules/skottie/src/
DSkottieAdapter.cpp294 SkFont font(fText.fTypeface, fText.fTextSize); in makeBlob()
306 }(fText.fAlign); in makeBlob()
341 const char* ptr = fText.fText.c_str(); in makeBlob()
343 const char* end = ptr + fText.fText.size(); in makeBlob()
358 fFillColor->setColor(fText.fFillColor); in apply()
359 fStrokeColor->setColor(fText.fStrokeColor); in apply()
360 fStrokeColor->setStrokeWidth(fText.fStrokeWidth); in apply()
366 const auto fill_change = SkToInt(fText.fHasFill) - SkToInt(fHadFill); in apply()
367 const auto stroke_change = SkToInt(fText.fHasStroke) - SkToInt(fHadStroke); in apply()
389 fHadFill = fText.fHasFill; in apply()
[all …]
/external/skia/gm/
Dscaledemoji.cpp39 const char* fText; member
44 fEmojiFont.fText = sk_tool_utils::emoji_sample_text(); in onOnceBeforeDraw()
61 const char* text = fEmojiFont.fText; in onDraw()
89 const char* fText; member
94 fEmojiFont.fText = sk_tool_utils::emoji_sample_text(); in onOnceBeforeDraw()
110 const char* text = fEmojiFont.fText; in onDraw()
Dtextblob.cpp82 : fText(txt) { in TextBlobGM()
89 size_t txtLen = strlen(fText); in onOnceBeforeDraw()
90 int glyphCount = font.countText(fText, txtLen, kUTF8_SkTextEncoding); in onOnceBeforeDraw()
93 font.textToGlyphs(fText, txtLen, kUTF8_SkTextEncoding, fGlyphs.begin(), glyphCount); in onOnceBeforeDraw()
197 const char* fText; member in TextBlobGM
/external/skqp/gm/
Dscaledemoji.cpp39 const char* fText; member
44 fEmojiFont.fText = sk_tool_utils::emoji_sample_text(); in onOnceBeforeDraw()
63 const char* text = fEmojiFont.fText; in onDraw()
91 const char* fText; member
96 fEmojiFont.fText = sk_tool_utils::emoji_sample_text(); in onOnceBeforeDraw()
114 const char* text = fEmojiFont.fText; in onDraw()
Dtextblob.cpp82 : fText(txt) { in TextBlobGM()
89 size_t txtLen = strlen(fText); in onOnceBeforeDraw()
90 int glyphCount = font.countText(fText, txtLen, kUTF8_SkTextEncoding); in onOnceBeforeDraw()
93 font.textToGlyphs(fText, txtLen, kUTF8_SkTextEncoding, fGlyphs.begin(), glyphCount); in onOnceBeforeDraw()
197 const char* fText; member in TextBlobGM
/external/skqp/src/sksl/ir/
DSkSLSection.h23 , fText(std::move(text)) {} in Section()
26 return std::unique_ptr<ProgramElement>(new Section(fOffset, fName, fArgument, fText)); in clone()
34 result += " { " + fText + " }"; in description()
40 const String fText; member
/external/skia/src/sksl/ir/
DSkSLSection.h23 , fText(std::move(text)) {} in Section()
26 return std::unique_ptr<ProgramElement>(new Section(fOffset, fName, fArgument, fText)); in clone()
34 result += " { " + fText + " }"; in description()
40 const String fText; member
/external/skia/modules/skottie/src/
DSkottieAdapter.cpp355 SkFont font(fText.fTypeface, fText.fTextSize); in makeBlob()
455 BlobMaker blobMaker(fText.fAlign); in makeBlob()
471 const char* ptr = fText.fText.c_str(); in makeBlob()
473 const char* end = ptr + fText.fText.size(); in makeBlob()
488 fFillColor->setColor(fText.fFillColor); in apply()
489 fStrokeColor->setColor(fText.fStrokeColor); in apply()
490 fStrokeColor->setStrokeWidth(fText.fStrokeWidth); in apply()
496 const auto fill_change = SkToInt(fText.fHasFill) - SkToInt(fHadFill); in apply()
497 const auto stroke_change = SkToInt(fText.fHasStroke) - SkToInt(fHadStroke); in apply()
519 fHadFill = fText.fHasFill; in apply()
[all …]
/external/skqp/src/sksl/ast/
DSkSLASTIdentifier.h21 , fText(text) {} in ASTIdentifier()
24 return String(fText); in description()
27 const StringFragment fText; member
DSkSLASTSection.h23 , fText(std::move(text)) {} in ASTSection()
30 result += " { " + fText + " }"; in description()
36 const String fText; member
/external/skia/src/sksl/ast/
DSkSLASTIdentifier.h21 , fText(text) {} in ASTIdentifier()
24 return String(fText); in description()
27 const StringFragment fText; member
DSkSLASTSection.h23 , fText(std::move(text)) {} in ASTSection()
30 result += " { " + fText + " }"; in description()
36 const String fText; member
/external/skqp/bench/
DCmapBench.cpp52 char fText[NGLYPHS]; member in CMAPBench
62 fText[i] = 'A' + (i & 31); in CMAPBench()
73 fProc(loops, fFont, fText, sizeof(fText), NGLYPHS); in onDraw()
/external/skia/bench/
DCmapBench.cpp52 char fText[NGLYPHS]; member in CMAPBench
62 fText[i] = 'A' + (i & 31); in CMAPBench()
73 fProc(loops, fFont, fText, sizeof(fText), NGLYPHS); in onDraw()
/external/icu/icu4c/source/test/intltest/
Drbbitst.cpp1599 const UnicodeString *fText; member in RBBICharMonkey
1606 fText = NULL; in RBBICharMonkey()
1651 fText = &s; in setText()
1671 if (prevPos >= fText->length()) { in next()
1675 c3 = fText->char32At(prevPos); in next()
1688 p3 = fText->moveIndex32(p3, 1); in next()
1689 c3 = fText->char32At(p3); in next()
1695 if (p2 == fText->length()) { in next()
1853 const UnicodeString *fText; member in RBBIWordMonkey
1950 fText = &s; in setText()
[all …]
/external/skqp/samplecode/
DSampleGlyphTransform.cpp30 fEmojiFont.fText = sk_tool_utils::emoji_sample_text(); in onOnceBeforeDraw()
45 const char* text = fEmojiFont.fText; in onDrawContent()
77 const char* fText; member
/external/skia/samplecode/
DSampleGlyphTransform.cpp30 fEmojiFont.fText = sk_tool_utils::emoji_sample_text(); in onOnceBeforeDraw()
45 const char* text = fEmojiFont.fText; in onDrawContent()
77 const char* fText; member

1234