Home
last modified time | relevance | path

Searched refs:fIndex (Results 1 – 25 of 171) sorted by relevance

1234567

/third_party/flutter/skia/src/gpu/
DGrShaderUtils.cpp31 fIndex = 0; in prettify()
35 while (fLength > fIndex) { in prettify()
70 } else if ('{' == fInput[fIndex]) { in prettify()
75 } else if ('}' == fInput[fIndex]) { in prettify()
86 } else if ('\t' == fInput[fIndex] || '\n' == fInput[fIndex] || in prettify()
87 (fFreshline && ' ' == fInput[fIndex])) { in prettify()
88 fIndex++; in prettify()
90 this->appendChar(fInput[fIndex]); in prettify()
100 fPretty.appendf("%c", fInput[fIndex++]); in appendChar()
107 size_t i = fIndex; in hasToken()
[all …]
/third_party/skia/src/gpu/
DGrShaderUtils.cpp31 fIndex = 0; in prettify()
35 while (fLength > fIndex) { in prettify()
70 } else if ('{' == fInput[fIndex]) { in prettify()
75 } else if ('}' == fInput[fIndex]) { in prettify()
86 } else if ('\t' == fInput[fIndex] || '\n' == fInput[fIndex] || in prettify()
87 (fFreshline && ' ' == fInput[fIndex])) { in prettify()
88 fIndex++; in prettify()
90 this->appendChar(fInput[fIndex]); in prettify()
100 fPretty.appendf("%c", fInput[fIndex++]); in appendChar()
107 size_t i = fIndex; in hasToken()
[all …]
/third_party/skia/experimental/graphite/src/
DDrawOrder.h30 bool operator< (MonotonicValue o) const { return fIndex < o.fIndex; }
31 bool operator<=(MonotonicValue o) const { return fIndex <= o.fIndex; }
33 bool operator> (MonotonicValue o) const { return fIndex > o.fIndex; }
34 bool operator>=(MonotonicValue o) const { return fIndex >= o.fIndex; }
36 bool operator==(MonotonicValue o) const { return fIndex == o.fIndex; }
37 bool operator!=(MonotonicValue o) const { return fIndex != o.fIndex; }
39 uint16_t bits() const { return fIndex; } in bits()
42 MonotonicValue next() const { return fIndex + 1; } in next()
45 constexpr MonotonicValue(uint16_t index) : fIndex(index) {} in MonotonicValue()
47 uint16_t fIndex = 0; variable
/third_party/skia/src/sksl/lex/
DRegexParser.cpp14 fIndex = 0; in parse()
18 SkASSERT(fIndex == source.size()); in parse()
23 if (fIndex >= fSource.size()) { in peek()
26 return fSource[fIndex]; in peek()
31 printf("expected '%c' at index %d, but found '%c'", c, (int) fIndex, this->peek()); in expect()
34 ++fIndex; in expect()
55 case '*': fStack.push(RegexNode(RegexNode::kStar_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
56 case '+': fStack.push(RegexNode(RegexNode::kPlus_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
57 case '?': fStack.push(RegexNode(RegexNode::kQuestion_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
92 ++fIndex; in literal()
[all …]
/third_party/flutter/skia/src/sksl/lex/
DRegexParser.cpp14 fIndex = 0; in parse()
18 SkASSERT(fIndex == source.size()); in parse()
23 if (fIndex >= fSource.size()) { in peek()
26 return fSource[fIndex]; in peek()
31 printf("expected '%c' at index %d, but found '%c'", c, (int) fIndex, this->peek()); in expect()
34 ++fIndex; in expect()
55 case '*': fStack.push(RegexNode(RegexNode::kStar_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
56 case '+': fStack.push(RegexNode(RegexNode::kPlus_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
57 case '?': fStack.push(RegexNode(RegexNode::kQuestion_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
91 ++fIndex; in literal()
[all …]
/third_party/skia/src/core/
DSkDeferredDisplayList.cpp51 , fIndex(0) { in ProgramIterator()
57 if (!fDContext || fIndex < 0 || fIndex >= (int) fProgramData.size()) { in compile()
61 return fDContext->priv().compile(fProgramData[fIndex].desc(), fProgramData[fIndex].info()); in compile()
65 return fIndex >= (int) fProgramData.size(); in done()
69 ++fIndex; in next()
DSkTBlockList.h385 return other.fBlock != fBlock || (SkToBool(*fBlock) && other.fIndex != fIndex);
390 return Resolve(*fBlock, fIndex);
396 SkASSERT((Forward && Next(block, fIndex) > fIndex) ||
397 (!Forward && Next(block, fIndex) < fIndex));
398 fIndex = Next(block, fIndex);
399 if ((Forward && fIndex > fEndIndex) || (!Forward && fIndex < fEndIndex)) {
420 fIndex = Start(*fBlock); in setIndices()
423 fIndex = 0; in setIndices()
427 SkASSERT((Forward && fIndex <= fEndIndex) || (!Forward && fIndex >= fEndIndex)); in setIndices()
431 int fIndex; variable
DSkPtrRecorder.h67 , fIndex(0) {} in Iter()
73 return fIndex < fSet.fList.count() ? fSet.fList[fIndex++].fPtr : nullptr; in next()
78 int fIndex; variable
88 uint32_t fIndex; // 1...N member
DSkFontDescriptor.h22 : fStream(std::move(stream)), fIndex(index), fAxisCount(axisCount), fAxis(axisCount) in SkFontData()
29 : fStream(std::move(stream)), fIndex(args.getCollectionIndex()) in SkFontData()
39 , fIndex(that.fIndex) in SkFontData()
51 int getIndex() const { return fIndex; } in getIndex()
57 int fIndex; variable
DSkZip.h34 constexpr Iterator(const SkZip* zip, size_t index) : fZip{zip}, fIndex{index} { } in Iterator()
35 constexpr Iterator(const Iterator& that) : Iterator{ that.fZip, that.fIndex } { } in Iterator()
36 constexpr Iterator& operator++() { ++fIndex; return *this; }
38 constexpr bool operator==(const Iterator& rhs) const { return fIndex == rhs.fIndex; }
39 constexpr bool operator!=(const Iterator& rhs) const { return fIndex != rhs.fIndex; }
40 constexpr reference operator*() { return (*fZip)[fIndex]; }
42 return lhs.fIndex - rhs.fIndex;
47 size_t fIndex = 0; variable
/third_party/flutter/skia/src/sksl/ir/
DSkSLIndexExpression.h57 , fIndex(std::move(index)) { in IndexExpression()
58 SkASSERT(fIndex->fType == *context.fInt_Type || fIndex->fType == *context.fUInt_Type); in IndexExpression()
62 return fBase->hasSideEffects() || fIndex->hasSideEffects(); in hasSideEffects()
66 return std::unique_ptr<Expression>(new IndexExpression(fBase->clone(), fIndex->clone(), in clone()
71 return fBase->description() + "[" + fIndex->description() + "]"; in description()
75 std::unique_ptr<Expression> fIndex; member
84 , fIndex(std::move(index)) {} in IndexExpression()
/third_party/flutter/skia/src/android/
DSkAnimatedImage.cpp110 : fIndex(SkCodec::kNoFrame) in Frame()
145 dst->fIndex = fIndex; in copyTo()
153 if (fDisplayFrame.fIndex != 0) { in reset()
154 fDisplayFrame.fIndex = SkCodec::kNoFrame; in reset()
193 int frameToDecode = this->computeNextFrame(fDisplayFrame.fIndex, &animationEnded); in decodeNextFrame()
221 if (frameToDecode == fDisplayFrame.fIndex) { in decodeNextFrame()
229 if (frameToDecode == frame->fIndex) { in decodeNextFrame()
252 if (fDecodingFrame.fIndex != SkCodec::kNoFrame && in decodeNextFrame()
260 if (SkCodec::kNoFrame == frame.fIndex || in decodeNextFrame()
265 return frame.fIndex >= frameInfo.fRequiredFrame && frame.fIndex < frameToDecode; in decodeNextFrame()
[all …]
/third_party/skia/src/android/
DSkAnimatedImage.cpp112 : fIndex(SkCodec::kNoFrame) in Frame()
147 dst->fIndex = fIndex; in copyTo()
155 if (fDisplayFrame.fIndex != 0) { in reset()
156 fDisplayFrame.fIndex = SkCodec::kNoFrame; in reset()
195 const int frameToDecode = this->computeNextFrame(fDisplayFrame.fIndex, &animationEnded); in decodeNextFrame()
223 if (frameToDecode == fDisplayFrame.fIndex) { in decodeNextFrame()
231 if (frameToDecode == frame->fIndex) { in decodeNextFrame()
255 if (fDecodingFrame.fIndex != SkCodec::kNoFrame && in decodeNextFrame()
263 if (SkCodec::kNoFrame == frame.fIndex || in decodeNextFrame()
268 return frame.fIndex >= frameInfo.fRequiredFrame && frame.fIndex < frameToDecode; in decodeNextFrame()
[all …]
/third_party/flutter/skia/include/core/
DSkYUVAIndex.h22 return this->fIndex == that.fIndex && this->fChannel == that.fChannel;
44 int fIndex; member
57 if (yuvaIndices[i].fIndex < 0) { in AreValidIndices()
61 } else if (yuvaIndices[i].fIndex > 3) { in AreValidIndices()
64 maxSlotUsed = SkTMax(yuvaIndices[i].fIndex, maxSlotUsed); in AreValidIndices()
/third_party/node/deps/icu-small/source/common/
Drestrace.h34 fIndex(-1) {} in ResourceTracer()
40 fIndex(-1) {} in ResourceTracer()
46 fIndex(-1) {} in ResourceTracer()
52 fIndex(index) {} in ResourceTracer()
58 fIndex(-1) {} in ResourceTracer()
64 fIndex(index) {} in ResourceTracer()
85 int32_t fIndex; variable
/third_party/icu/icu4c/source/common/
Drestrace.h34 fIndex(-1) {} in ResourceTracer()
40 fIndex(-1) {} in ResourceTracer()
46 fIndex(-1) {} in ResourceTracer()
52 fIndex(index) {} in ResourceTracer()
58 fIndex(-1) {} in ResourceTracer()
64 fIndex(index) {} in ResourceTracer()
85 int32_t fIndex; variable
/third_party/skia/third_party/externals/icu/source/common/
Drestrace.h34 fIndex(-1) {} in ResourceTracer()
40 fIndex(-1) {} in ResourceTracer()
46 fIndex(-1) {} in ResourceTracer()
52 fIndex(index) {} in ResourceTracer()
58 fIndex(-1) {} in ResourceTracer()
64 fIndex(index) {} in ResourceTracer()
85 int32_t fIndex; variable
/third_party/skia/include/private/
DSkSLLayout.h43 , fIndex(index) in Layout()
53 , fIndex(-1) in Layout()
82 if (fIndex >= 0) { in description()
83 result += separator() + "index = " + to_string(fIndex); in description()
117 fIndex == other.fIndex &&
131 int fIndex; member
/third_party/flutter/skia/src/utils/
DSkMultiPictureDocument.cpp153 int fIndex = 0; member
159 if (fIndex < fCount) { in nextCanvas()
160 SkRect bounds = SkRect::MakeSize(fDst[fIndex].fSize); in nextCanvas()
167 if (fIndex < fCount) { in onDrawAnnotation()
168 fDst[fIndex].fPicture = fRecorder.finishRecordingAsPicture(); in onDrawAnnotation()
169 ++fIndex; in onDrawAnnotation()
198 if (canvas.fIndex != dstArrayCount) { in SkMultiPictureDocumentRead()
200 canvas.fIndex, dstArrayCount); in SkMultiPictureDocumentRead()
/third_party/flutter/skia/src/core/
DSkPtrRecorder.h67 , fIndex(0) {} in Iter()
73 return fIndex < fSet.fList.count() ? fSet.fList[fIndex++].fPtr : nullptr; in next()
78 int fIndex; variable
88 uint32_t fIndex; // 1...N member
DSkFontDescriptor.h21 : fStream(std::move(stream)), fIndex(index), fAxisCount(axisCount), fAxis(axisCount) in SkFontData()
29 , fIndex(that.fIndex) in SkFontData()
41 int getIndex() const { return fIndex; } in getIndex()
47 int fIndex; variable
/third_party/skia/src/utils/
DSkMultiPictureDocument.cpp162 int fIndex = 0; member
168 if (fIndex < fCount) { in nextCanvas()
169 SkRect bounds = SkRect::MakeSize(fDst[fIndex].fSize); in nextCanvas()
176 if (fIndex < fCount) { in onDrawAnnotation()
177 fDst[fIndex].fPicture = fRecorder.finishRecordingAsPicture(); in onDrawAnnotation()
178 ++fIndex; in onDrawAnnotation()
210 if (canvas.fIndex != dstArrayCount) { in SkMultiPictureDocumentRead()
212 canvas.fIndex, dstArrayCount); in SkMultiPictureDocumentRead()
/third_party/flutter/skia/gm/
Dwacky_yuv_formats.cpp118 yuvaIndices[0].fIndex = 0; in setup_yuv_indices()
120 yuvaIndices[1].fIndex = 1; in setup_yuv_indices()
122 yuvaIndices[2].fIndex = 1; in setup_yuv_indices()
125 yuvaIndices[3].fIndex = 2; in setup_yuv_indices()
128 yuvaIndices[3].fIndex = -1; // No alpha channel in setup_yuv_indices()
133 yuvaIndices[0].fIndex = 0; in setup_yuv_indices()
135 yuvaIndices[1].fIndex = 0; in setup_yuv_indices()
137 yuvaIndices[2].fIndex = 0; in setup_yuv_indices()
139 yuvaIndices[3].fIndex = 0; in setup_yuv_indices()
144 yuvaIndices[0].fIndex = 0; in setup_yuv_indices()
[all …]
/third_party/skia/src/sksl/ir/
DSkSLIndexExpression.h27 , fIndex(std::move(index)) {} in IndexExpression()
54 return fIndex; in index()
58 return fIndex; in index()
82 , fIndex(std::move(index)) {} in IndexExpression()
85 std::unique_ptr<Expression> fIndex; member
/third_party/flutter/skia/src/gpu/effects/
DGrYUVtoRGBEffect.cpp47 const SkISize YSize = proxies[yuvaIndices[SkYUVAIndex::kY_Index].fIndex]->isize(); in Make()
116 _outer.yuvaIndex(0).fIndex, kChannelToChar[(int)_outer.yuvaIndex(0).fChannel], in onCreateGLSLInstance()
117 _outer.yuvaIndex(1).fIndex, kChannelToChar[(int)_outer.yuvaIndex(1).fChannel], in onCreateGLSLInstance()
118 _outer.yuvaIndex(2).fIndex, kChannelToChar[(int)_outer.yuvaIndex(2).fChannel]); in onCreateGLSLInstance()
126 if (_outer.yuvaIndex(3).fIndex >= 0) { in onCreateGLSLInstance()
128 "half a = tmp%d.%c;", _outer.yuvaIndex(3).fIndex, in onCreateGLSLInstance()
183 if (this->yuvaIndex(i).fIndex < 0) { in onGetGLSLProcessorKey()
187 uint8_t index = this->yuvaIndex(i).fIndex; in onGetGLSLProcessorKey()

1234567