/external/skqp/src/gpu/ |
D | GrSKSLPrettyPrint.cpp | 33 fIndex = 0; in prettify() 37 while (fLength > fIndex) { in prettify() 72 } else if ('{' == fInput[fIndex]) { in prettify() 77 } else if ('}' == fInput[fIndex]) { in prettify() 88 } else if ('\t' == fInput[fIndex] || '\n' == fInput[fIndex] || in prettify() 89 (fFreshline && ' ' == fInput[fIndex])) { in prettify() 90 fIndex++; in prettify() 92 this->appendChar(fInput[fIndex]); in prettify() 102 fPretty.appendf("%c", fInput[fIndex++]); in appendChar() 109 size_t i = fIndex; in hasToken() [all …]
|
/external/skia/src/gpu/ |
D | GrSKSLPrettyPrint.cpp | 33 fIndex = 0; in prettify() 37 while (fLength > fIndex) { in prettify() 72 } else if ('{' == fInput[fIndex]) { in prettify() 77 } else if ('}' == fInput[fIndex]) { in prettify() 88 } else if ('\t' == fInput[fIndex] || '\n' == fInput[fIndex] || in prettify() 89 (fFreshline && ' ' == fInput[fIndex])) { in prettify() 90 fIndex++; in prettify() 92 this->appendChar(fInput[fIndex]); in prettify() 102 fPretty.appendf("%c", fInput[fIndex++]); in appendChar() 109 size_t i = fIndex; in hasToken() [all …]
|
/external/skia/src/sksl/lex/ |
D | RegexParser.cpp | 14 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 …]
|
/external/skqp/src/sksl/lex/ |
D | RegexParser.cpp | 14 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 …]
|
/external/skqp/src/android/ |
D | SkAnimatedImage.cpp | 99 : fIndex(SkCodec::kNoFrame) in Frame() 134 dst->fIndex = fIndex; in copyTo() 142 if (fDisplayFrame.fIndex != 0) { in reset() 143 fDisplayFrame.fIndex = SkCodec::kNoFrame; in reset() 182 int frameToDecode = this->computeNextFrame(fDisplayFrame.fIndex, &animationEnded); in decodeNextFrame() 210 if (frameToDecode == fDisplayFrame.fIndex) { in decodeNextFrame() 218 if (frameToDecode == frame->fIndex) { in decodeNextFrame() 241 if (fDecodingFrame.fIndex != SkCodec::kNoFrame && in decodeNextFrame() 249 if (SkCodec::kNoFrame == frame.fIndex || in decodeNextFrame() 254 return frame.fIndex >= frameInfo.fRequiredFrame && frame.fIndex < frameToDecode; in decodeNextFrame() [all …]
|
/external/skqp/src/sksl/ir/ |
D | SkSLIndexExpression.h | 57 , 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()
|
/external/skia/src/sksl/ir/ |
D | SkSLIndexExpression.h | 57 , 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()
|
/external/skia/src/android/ |
D | SkAnimatedImage.cpp | 109 : fIndex(SkCodec::kNoFrame) in Frame() 144 dst->fIndex = fIndex; in copyTo() 152 if (fDisplayFrame.fIndex != 0) { in reset() 153 fDisplayFrame.fIndex = SkCodec::kNoFrame; in reset() 192 int frameToDecode = this->computeNextFrame(fDisplayFrame.fIndex, &animationEnded); in decodeNextFrame() 220 if (frameToDecode == fDisplayFrame.fIndex) { in decodeNextFrame() 228 if (frameToDecode == frame->fIndex) { in decodeNextFrame() 251 if (fDecodingFrame.fIndex != SkCodec::kNoFrame && in decodeNextFrame() 259 if (SkCodec::kNoFrame == frame.fIndex || in decodeNextFrame() 264 return frame.fIndex >= frameInfo.fRequiredFrame && frame.fIndex < frameToDecode; in decodeNextFrame() [all …]
|
/external/skia/include/core/ |
D | SkYUVAIndex.h | 33 return this->fIndex == that.fIndex && this->fChannel == that.fChannel; 55 int fIndex; member 68 if (yuvaIndices[i].fIndex < 0) { in AreValidIndices() 72 } else if (yuvaIndices[i].fIndex > 3) { in AreValidIndices() 75 maxSlotUsed = SkTMax(yuvaIndices[i].fIndex, maxSlotUsed); in AreValidIndices()
|
/external/skqp/include/core/ |
D | SkYUVAIndex.h | 33 return this->fIndex == that.fIndex && this->fChannel == that.fChannel; 55 int fIndex; member 68 if (yuvaIndices[i].fIndex < 0) { in AreValidIndices() 72 } else if (yuvaIndices[i].fIndex > 3) { in AreValidIndices() 75 maxSlotUsed = SkTMax(yuvaIndices[i].fIndex, maxSlotUsed); in AreValidIndices()
|
/external/skqp/src/core/ |
D | SkPtrRecorder.h | 67 , 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
|
D | SkFontDescriptor.h | 20 : fStream(std::move(stream)), fIndex(index), fAxisCount(axisCount), fAxis(axisCount) in SkFontData() 28 , fIndex(that.fIndex) in SkFontData() 40 int getIndex() const { return fIndex; } in getIndex() 46 int fIndex; variable
|
D | SkPtrRecorder.cpp | 37 return fList[index].fIndex; in find() 53 pair.fIndex = count + 1; in add() 57 return fList[index].fIndex; in add() 68 int index = p[i].fIndex - 1; in copyToArray()
|
/external/skia/src/core/ |
D | SkPtrRecorder.h | 67 , 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
|
D | SkFontDescriptor.h | 20 : fStream(std::move(stream)), fIndex(index), fAxisCount(axisCount), fAxis(axisCount) in SkFontData() 28 , fIndex(that.fIndex) in SkFontData() 40 int getIndex() const { return fIndex; } in getIndex() 46 int fIndex; variable
|
D | SkPtrRecorder.cpp | 37 return fList[index].fIndex; in find() 53 pair.fIndex = count + 1; in add() 57 return fList[index].fIndex; in add() 68 int index = p[i].fIndex - 1; in copyToArray()
|
/external/skqp/src/gpu/effects/ |
D | GrYUVtoRGBEffect.cpp | 38 const SkISize YSize = proxies[yuvaIndices[SkYUVAIndex::kY_Index].fIndex]->isize(); in Make() 123 _outer.yuvaIndex(0).fIndex, kChannelToChar[(int)_outer.yuvaIndex(0).fChannel], in emitCode() 124 _outer.yuvaIndex(1).fIndex, kChannelToChar[(int)_outer.yuvaIndex(1).fChannel], in emitCode() 125 _outer.yuvaIndex(2).fIndex, kChannelToChar[(int)_outer.yuvaIndex(2).fChannel], in emitCode() 129 if (_outer.yuvaIndex(3).fIndex >= 0) { in emitCode() 131 "float a = tmp%d.%c;", _outer.yuvaIndex(3).fIndex, in emitCode() 159 if (this->yuvaIndex(i).fIndex < 0) { in onGetGLSLProcessorKey() 163 uint8_t index = this->yuvaIndex(i).fIndex; in onGetGLSLProcessorKey()
|
/external/skia/src/gpu/effects/ |
D | GrYUVtoRGBEffect.cpp | 45 const SkISize YSize = proxies[yuvaIndices[SkYUVAIndex::kY_Index].fIndex]->isize(); in Make() 133 _outer.yuvaIndex(0).fIndex, kChannelToChar[(int)_outer.yuvaIndex(0).fChannel], in emitCode() 134 _outer.yuvaIndex(1).fIndex, kChannelToChar[(int)_outer.yuvaIndex(1).fChannel], in emitCode() 135 _outer.yuvaIndex(2).fIndex, kChannelToChar[(int)_outer.yuvaIndex(2).fChannel], in emitCode() 139 if (_outer.yuvaIndex(3).fIndex >= 0) { in emitCode() 141 "half a = tmp%d.%c;", _outer.yuvaIndex(3).fIndex, in emitCode() 169 if (this->yuvaIndex(i).fIndex < 0) { in onGetGLSLProcessorKey() 173 uint8_t index = this->yuvaIndex(i).fIndex; in onGetGLSLProcessorKey()
|
/external/skia/src/utils/ |
D | SkMultiPictureDocument.cpp | 152 int fIndex = 0; member 158 if (fIndex < fCount) { in nextCanvas() 159 SkRect bounds = SkRect::MakeSize(fDst[fIndex].fSize); in nextCanvas() 166 if (fIndex < fCount) { in onDrawAnnotation() 167 fDst[fIndex].fPicture = fRecorder.finishRecordingAsPicture(); in onDrawAnnotation() 168 ++fIndex; in onDrawAnnotation() 197 if (canvas.fIndex != dstArrayCount) { in SkMultiPictureDocumentRead()
|
/external/skqp/src/utils/ |
D | SkMultiPictureDocument.cpp | 152 int fIndex = 0; member 158 if (fIndex < fCount) { in nextCanvas() 159 SkRect bounds = SkRect::MakeSize(fDst[fIndex].fSize); in nextCanvas() 166 if (fIndex < fCount) { in onDrawAnnotation() 167 fDst[fIndex].fPicture = fRecorder.finishRecordingAsPicture(); in onDrawAnnotation() 168 ++fIndex; in onDrawAnnotation() 197 if (canvas.fIndex != dstArrayCount) { in SkMultiPictureDocumentRead()
|
/external/skqp/samplecode/ |
D | SampleChineseFling.cpp | 65 int index = fIndex; in onDrawContent() 76 fIndex += fRand.nextRangeU(5, 20); in onDrawContent() 77 fIndex %= fBlobs.count(); in onDrawContent() 101 fIndex = 0; in init() 116 int fIndex; member in ChineseFlingView 228 fIndex = 0; in init() 245 int fIndex; member in ChineseZoomView
|
/external/skia/samplecode/ |
D | SampleChineseFling.cpp | 65 int index = fIndex; in onDrawContent() 76 fIndex += fRand.nextRangeU(5, 20); in onDrawContent() 77 fIndex %= fBlobs.count(); in onDrawContent() 101 fIndex = 0; in init() 116 int fIndex; member in ChineseFlingView 228 fIndex = 0; in init() 245 int fIndex; member in ChineseZoomView
|
/external/skqp/gm/ |
D | wacky_yuv_formats.cpp | 360 yuvaIndices[0].fIndex = 0; in create_YUV() 362 yuvaIndices[1].fIndex = 0; in create_YUV() 364 yuvaIndices[2].fIndex = 0; in create_YUV() 366 yuvaIndices[3].fIndex = 0; in create_YUV() 393 yuvaIndices[0].fIndex = 0; in create_YUV() 395 yuvaIndices[1].fIndex = 1; in create_YUV() 397 yuvaIndices[2].fIndex = 1; in create_YUV() 424 yuvaIndices[0].fIndex = 0; in create_YUV() 426 yuvaIndices[1].fIndex = 1; in create_YUV() 428 yuvaIndices[2].fIndex = 1; in create_YUV() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | regeximp.cpp | 67 fChars(chars), fIndex(start), fLimit(limit), fFoldChars(NULL), fFoldLength(0) { in CaseFoldingUCharIterator() 80 if (fIndex >= fLimit) { in next() 83 U16_NEXT(fChars, fIndex, fLimit, originalC); in next() 113 return fIndex; in getIndex()
|
/external/skia/tests/ |
D | TDPQueueTest.cpp | 70 mutable int fIndex; member 73 static int* PQIndex(Dummy* const& dummy) { return &dummy->fIndex; } in PQIndex() 94 dummy->fIndex = -1; in random_test() 109 REPORTER_ASSERT(reporter, -1 != array[j].fIndex); in random_test() 167 dummy->fIndex = -1; in sort_test() 178 dummy->fIndex = -1; in sort_test() 188 REPORTER_ASSERT(reporter, i <= pqTest.at(i)->fIndex); in sort_test()
|