Home
last modified time | relevance | path

Searched refs:fStart (Results 1 – 25 of 74) sorted by relevance

123

/external/icu/icu4c/source/test/intltest/
Dsfwdchit.cpp31 fStart = new UChar[fLen];
32 if(fStart == NULL) {
35 fEnd = fStart+fLen;
36 fCurrent = fStart;
38 s.extract(0, fLen, fStart);
51 fStart = new UChar[fLen]; in SimpleFwdCharIterator()
52 if(fStart == NULL) { in SimpleFwdCharIterator()
55 uprv_memcpy(fStart, s, fLen); in SimpleFwdCharIterator()
56 fEnd = fStart+fLen; in SimpleFwdCharIterator()
57 fCurrent = fStart; in SimpleFwdCharIterator()
[all …]
/external/icu/icu4c/source/i18n/
Dstring_segment.cpp22 : fStr(str), fStart(0), fEnd(str.length()), in StringSegment()
26 return fStart; in getOffset()
30 fStart = start; in setOffset()
34 fStart += delta; in adjustOffset()
38 fStart += U16_LENGTH(getCodePoint()); in adjustOffsetByCodePoint()
42 fEnd = fStart + length; in setLength()
50 return fEnd - fStart; in length()
54 return fStr.charAt(index + fStart); in charAt()
58 return fStr.char32At(index + fStart); in codePointAt()
62 return UnicodeString(fStr.getBuffer() + fStart, fEnd - fStart); in toUnicodeString()
[all …]
/external/skia/modules/skparagraph/src/
DTextWrapper.h37 TextStretch() : fStart(), fEnd(), fWidth(0), fWidthWithGhostSpaces(0) {} in TextStretch()
39 … : fStart(s, 0), fEnd(e, e->endPos()), fMetrics(forceStrut), fWidth(0), fWidthWithGhostSpaces(0) { in TextStretch()
49 inline Cluster* startCluster() const { return fStart.cluster(); } in startCluster()
53 inline size_t startPos() const { return fStart.position(); } in startPos()
68 bool empty() { return fStart.cluster() == fEnd.cluster() && in empty()
69 fStart.position() == fEnd.position(); } in empty()
74 if (fStart.cluster() == nullptr) { in extend()
75 fStart = ClusterPos(cluster, cluster->startPos()); in extend()
92 fStart = ClusterPos(cluster, pos); in startFrom()
123 if (fEnd.cluster() > fStart.cluster()) { in trim()
[all …]
/external/skia/src/pathops/
DSkOpAngle.cpp77 lh->fStart->t(), lh->fEnd->t(), in after()
78 segment()->debugID(), debugID(), fSectorStart, fSectorEnd, fStart->t(), fEnd->t(), in after()
80 rh->fStart->t(), rh->fEnd->t()); in after()
97 lh->fStart->t(), lh->fEnd->t(), in after()
98 segment()->debugID(), debugID(), fSectorStart, fSectorEnd, fStart->t(), fEnd->t(), in after()
100 rh->fStart->t(), rh->fEnd->t()); in after()
391 bool stepUp = fStart->t() < fEnd->t(); in computeSector()
420 if (checkEnd == fEnd || computedEnd == fEnd || computedEnd == fStart) { in computeSector()
424 if (stepUp != (fStart->t() < computedEnd->t())) { in computeSector()
524 double tStart = index ? rh->fStart->t() : this->fStart->t(); in endsIntersect()
[all …]
/external/skqp/src/pathops/
DSkOpAngle.cpp77 lh->fStart->t(), lh->fEnd->t(), in after()
78 segment()->debugID(), debugID(), fSectorStart, fSectorEnd, fStart->t(), fEnd->t(), in after()
80 rh->fStart->t(), rh->fEnd->t()); in after()
97 lh->fStart->t(), lh->fEnd->t(), in after()
98 segment()->debugID(), debugID(), fSectorStart, fSectorEnd, fStart->t(), fEnd->t(), in after()
100 rh->fStart->t(), rh->fEnd->t()); in after()
391 bool stepUp = fStart->t() < fEnd->t(); in computeSector()
420 if (checkEnd == fEnd || computedEnd == fEnd || computedEnd == fStart) { in computeSector()
424 if (stepUp != (fStart->t() < computedEnd->t())) { in computeSector()
524 double tStart = index ? rh->fStart->t() : this->fStart->t(); in endsIntersect()
[all …]
/external/skia/src/pdf/
DSkPDFMakeToUnicodeCmap.cpp68 SkGlyphID fStart; member
115 write_glyph(cmap, multiByte, bfrange[i + j].fStart); in append_bfrange_section()
179 i >> 8 == currentRangeEntry.fStart >> 8 && in SkPDFAppendCmapSections()
182 currentRangeEntry.fUnicode + i - currentRangeEntry.fStart; in SkPDFAppendCmapSections()
184 if (currentRangeEntry.fEnd > currentRangeEntry.fStart) { in SkPDFAppendCmapSections()
187 bfcharEntries.push_back({currentRangeEntry.fStart, currentRangeEntry.fUnicode}); in SkPDFAppendCmapSections()
195 currentRangeEntry.fStart = i; in SkPDFAppendCmapSections()
/external/skqp/src/pdf/
DSkPDFMakeToUnicodeCmap.cpp68 SkGlyphID fStart; member
115 write_glyph(cmap, multiByte, bfrange[i + j].fStart); in append_bfrange_section()
179 i >> 8 == currentRangeEntry.fStart >> 8 && in SkPDFAppendCmapSections()
182 currentRangeEntry.fUnicode + i - currentRangeEntry.fStart; in SkPDFAppendCmapSections()
184 if (currentRangeEntry.fEnd > currentRangeEntry.fStart) { in SkPDFAppendCmapSections()
187 bfcharEntries.push_back({currentRangeEntry.fStart, currentRangeEntry.fUnicode}); in SkPDFAppendCmapSections()
195 currentRangeEntry.fStart = i; in SkPDFAppendCmapSections()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DConstrainedFieldPosition.java72 private int fStart; field in ConstrainedFieldPosition
102 fStart = 0; in reset()
231 return fStart; in getStart()
314 fStart = start; in setState()
358 sb.append(fStart); in toString()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DConstrainedFieldPosition.java73 private int fStart; field in ConstrainedFieldPosition
101 fStart = 0; in reset()
226 return fStart; in getStart()
304 fStart = start; in setState()
346 sb.append(fStart); in toString()
/external/skqp/src/gpu/
DGrShape.h59 fRRectData.fStart = DefaultRRectDirAndStartIndex(rrect, style.hasPathEffect(), in GrShape()
72 fRRectData.fStart = start; in GrShape()
74 fRRectData.fStart = (fRRectData.fStart + 1) & 0b110; in GrShape()
76 fRRectData.fStart &= 0b110; in GrShape()
79 fRRectData.fStart = DefaultRRectDirAndStartIndex(rrect, false, &fRRectData.fDir); in GrShape()
88 fRRectData.fStart = DefaultRectDirAndStartIndex(rect, style.hasPathEffect(), in GrShape()
102 fRRectData.fStart = DefaultRRectDirAndStartIndex(rrect, fStyle.hasPathEffect(), in GrShape()
111 fRRectData.fStart = DefaultRectDirAndStartIndex(rect, fStyle.hasPathEffect(), in GrShape()
174 *start = fRRectData.fStart; in asRRect()
212 out->addRRect(fRRectData.fRRect, fRRectData.fDir, fRRectData.fStart); in asPath()
[all …]
DGrResourceAllocator.h112 , fStart(start) in Interval()
129 fStart = start; in resetTo()
145 unsigned int start() const { return fStart; } in start()
175 unsigned int fStart; variable
/external/skia/src/gpu/geometry/
DGrShape.h59 fRRectData.fStart = DefaultRRectDirAndStartIndex(rrect, style.hasPathEffect(), in GrShape()
72 fRRectData.fStart = start; in GrShape()
74 fRRectData.fStart = (fRRectData.fStart + 1) & 0b110; in GrShape()
76 fRRectData.fStart &= 0b110; in GrShape()
79 fRRectData.fStart = DefaultRRectDirAndStartIndex(rrect, false, &fRRectData.fDir); in GrShape()
88 fRRectData.fStart = DefaultRectDirAndStartIndex(rect, style.hasPathEffect(), in GrShape()
102 fRRectData.fStart = DefaultRRectDirAndStartIndex(rrect, fStyle.hasPathEffect(), in GrShape()
111 fRRectData.fStart = DefaultRectDirAndStartIndex(rect, fStyle.hasPathEffect(), in GrShape()
174 *start = fRRectData.fStart; in asRRect()
212 out->addRRect(fRRectData.fRRect, fRRectData.fDir, fRRectData.fStart); in asPath()
[all …]
/external/skqp/tools/bookmaker/
DtextParser.h27 , fStart(start) in TextParser()
103 if (start <= fStart) { in back()
116 if (start <= fStart) { in backup()
126 while (fChar > fStart && isalpha(fChar[-1])) { in backupWord()
146 if ((result > fStart && isalnum(result[-1])) || (result + len < fEnd in containsWord()
243 while (check > fStart) { in sentenceEnd()
585 while (fEnd > fStart && ' ' >= fEnd[-1]) { in trimEnd()
603 const char* fStart; variable
615 fSave.fStart = parser->fStart; in TextParserSave()
624 fParser->fStart = fSave.fStart; in restore()
[all …]
DincludeWriter.cpp59 this->firstBlockTrim((int) (bodyEnd - fStart), fStart); // may write nothing in constOut()
102 commentLen = (int) (prop->fStart - commentStart); in descriptionOut()
155 commentLen = prop->fStart - commentStart; in descriptionOut()
161 if (commentLen > 1 && '\n' == prop->fStart[-1]) { in descriptionOut()
190 commentLen = (int) (prop->fStart - commentStart); in descriptionOut()
205 commentLen = prop->fStart - commentStart; in descriptionOut()
236 commentLen = prop->fStart - commentStart; in descriptionOut()
253 Phrase defIsPhrase = '\n' == prop->fStart[0] && '\n' == prop->fStart[-1] ? in descriptionOut()
266 int localLength = child->fStart - start; in descriptionOut()
278 localLength = child->fContentEnd - child->fStart; in descriptionOut()
[all …]
DhackParser.cpp41 fStart = root->fStart; in hackFiles()
42 fChar = fStart; in hackFiles()
90 next = gran->fStart; in replaceWithPop()
DincludeParser.cpp314 TextParser paren(i.fFileName, i.fStart, i.fEnd, i.fLineCount); in advanceInclude()
458 while (i.fEnd > i.fStart && ' ' == i.fEnd[-1]) { in writeCodeBlock()
525 || (!strncmp("struct ", i.fStart, 7) && looks_like_member(i)); in writeCodeBlock()
575 bool elidedTemplate = elided && !strncmp(i.fStart, "template ", 9); in writeCodeBlock()
794 TextParser oper("", token.fStart, token.fContentEnd, 0); in checkTokens()
893 TextParser firstMember("", token.fStart, token.fContentEnd, 0); in checkTokens()
1151 if (markupDef.fStart) { in defineClass()
1156 markupDef.fStart = includeDef.fStart; in defineClass()
1157 markupDef.fContentStart = includeDef.fStart; in defineClass()
1293 this->writeBlock(token.fTerminator - token.fStart, token.fStart); in dumpDefine()
[all …]
/external/skqp/src/gpu/gradients/
DGrSingleIntervalGradientColorizer.cpp71 if (fStart != that.fStart) return false; in onIsEqual()
78 , fStart(src.fStart) in GrSingleIntervalGradientColorizer()
DGrSingleIntervalGradientColorizer.h18 const SkPMColor4f& start() const { return fStart; } in start()
31 , fStart(start) in GrSingleIntervalGradientColorizer()
37 SkPMColor4f fStart; variable
/external/skqp/src/shaders/gradients/
DSkLinearGradient.cpp32 , fStart(pts[0]) in SkLinearGradient()
51 buffer.writePoint(fStart); in flatten()
84 SkPoint pts[2] = { fStart, fEnd }; in onMakeColorSpace()
92 info->fPoint[0] = fStart; in asAGradient()
/external/skia/src/gpu/
DGrResourceAllocator.h143 , fStart(start) in Interval()
162 fStart = start; in resetTo()
179 unsigned int start() const { return fStart; } in start()
215 unsigned int fStart; variable
/external/skia/src/shaders/gradients/
DSkLinearGradient.cpp31 , fStart(pts[0]) in SkLinearGradient()
50 buffer.writePoint(fStart); in flatten()
87 info->fPoint[0] = fStart; in asAGradient()
/external/skia/modules/skottie/src/layers/shapelayer/
DTrimPaths.cpp29 this->bind(abuilder, jtrim["s"], &fStart); in TrimEffectAdapter()
37 const auto start = fStart / 100, in onSync()
64 ScalarValue fStart = 0, member in skottie::internal::__anon33516dcd0111::TrimEffectAdapter
/external/pdfium/xfa/fxfa/
Dcxfa_textlayout.cpp127 float fStart = 0; in InitBreak() local
153 fStart = para->GetMarginLeft(); in InitBreak()
161 fLineWidth = fStart; in InitBreak()
163 fStartPos = fStart; in InitBreak()
169 m_pBreak->SetLineBoundary(fStart, fLineWidth); in InitBreak()
218 float fStart = 0; in InitBreak() local
222 fStart = pRect->left.GetValue(); in InitBreak()
225 fStart += pPaddingRect->left.GetValue(); in InitBreak()
232 fStart += pParRect->left.GetValue(); in InitBreak()
235 fStart += pParPaddingRect->left.GetValue(); in InitBreak()
[all …]
/external/skia/modules/skshaper/src/
DSkShaper_coretext.cpp112 CFIndex fStart; member in LineBreakIter
116 fStart = 0; in LineBreakIter()
120 CFIndex count = CTTypesetterSuggestLineBreak(fTypesetter, fStart, fWidth); in nextLine()
124 auto line = CTTypesetterCreateLine(fTypesetter, {fStart, count}); in nextLine()
125 fStart += count; in nextLine()
/external/skqp/gm/
Dcirculararcs.cpp134 SkScalar fStart; member
186 canvas->drawArc(arc.fOval, arc.fStart, arc.fSweep, false, paint);
187 canvas->drawArc(arc.fOval, arc.fStart, arc.fSweep, true, paint);
202 canvas->drawArc(arc.fOval, arc.fStart, arc.fSweep, false, paint);
206 canvas->drawArc(arc.fOval, arc.fStart, arc.fSweep, true, paint);

123