/third_party/skia/src/gpu/ |
H A D | GrShaderUtils.cpp | 31 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() 177 size_t fIndex, fLength; global() member in GrShaderUtils::GLSLPrettyPrint [all...] |
/third_party/skia/experimental/graphite/src/ |
H A D | DrawOrder.h | 30 bool operator< (MonotonicValue o) const { return fIndex < o.fIndex; } in operator <() 31 bool operator<=(MonotonicValue o) const { return fIndex <= o.fIndex; } in operator <=() 33 bool operator> (MonotonicValue o) const { return fIndex > o.fIndex; } in operator >() 34 bool operator>=(MonotonicValue o) const { return fIndex >= o.fIndex; } in operator >=() 36 bool operator==(MonotonicValue o) const { return fIndex == o.fIndex; } in operator ==() 47 uint16_t fIndex = 0; global() member in skgpu::MonotonicValue [all...] |
/third_party/skia/src/sksl/lex/ |
H A 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() 92 ++fIndex; in literal() [all...] |
/third_party/skia/src/core/ |
H A D | SkDeferredDisplayList.cpp | 51 , 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()
|
H A D | SkTBlockList.h | 385 return other.fBlock != fBlock || (SkToBool(*fBlock) && other.fIndex != fIndex); in operator !=() 390 return Resolve(*fBlock, fIndex); in operator *() 396 SkASSERT((Forward && Next(block, fIndex) > fIndex) || in operator ++() 397 (!Forward && Next(block, fIndex) < fIndex)); in operator ++() 398 fIndex = Next(block, fIndex); in operator ++() 399 if ((Forward && fIndex > fEndInde in operator ++() 431 int fIndex; global() member in BlockIndexIterator::Item [all...] |
H A D | SkFontDescriptor.h | 22 : 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; member in SkFontData
|
H A D | SkPtrRecorder.h | 67 , fIndex(0) {} in Iter() 73 return fIndex < fSet.fList.count() ? fSet.fList[fIndex++].fPtr : nullptr; in next() 78 int fIndex; member in SkPtrSet::Iter 88 uint32_t fIndex; // 1...N member 93 // ptr and its ID/fIndex explicitly, since the ptr's position in the array
|
H A D | SkPtrRecorder.cpp | 37 return fList[index].fIndex; in find() 53 pair.fIndex = count + 1; in add() 57 return fList[index].fIndex; in add() 66 // p->fIndex is base-1, so we need to subtract to find its slot in copyToArray() 68 int index = p[i].fIndex - 1; in copyToArray()
|
H A D | SkZip.h | 34 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; } in operator ++() 38 constexpr bool operator==(const Iterator& rhs) const { return fIndex == rhs.fIndex; } in operator ==() 39 constexpr bool operator!=(const Iterator& rhs) const { return fIndex != rhs.fIndex; } in operator !=() 40 constexpr reference operator*() { return (*fZip)[fIndex]; } in operator *() 42 return lhs.fIndex - rhs.fIndex; in operator -() 47 size_t fIndex = 0; global() member in SkZip::Iterator [all...] |
H A D | SkArenaAlloc.h | 41 SkFibBlockSizes(uint32_t staticBlockSize, uint32_t firstAllocationSize) : fIndex{0} { in SkFibBlockSizes() 50 uint32_t result = SkFibonacci47[fIndex] * fBlockUnitSize; 52 if (SkTo<size_t>(fIndex + 1) < SkFibonacci47.size() && 53 SkFibonacci47[fIndex + 1] < kMaxSize / fBlockUnitSize) 55 fIndex += 1; 62 uint32_t fIndex : 6;
|
/third_party/skia/src/android/ |
H A D | SkAnimatedImage.cpp | 112 : 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() [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | restrace.h | 34 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; member in ResourceTracer
|
/third_party/node/deps/icu-small/source/common/ |
H A D | restrace.h | 34 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; member in ResourceTracer
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | restrace.h | 34 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; member in ResourceTracer
|
/third_party/skia/include/private/ |
H A D | SkSLLayout.h | 43 , 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 && in operator ==() 131 int fIndex; member
|
/third_party/skia/src/utils/ |
H A D | SkMultiPictureDocument.cpp | 162 int fIndex = 0; member 168 if (fIndex < fCount) { in nextCanvas() 169 SkRect bounds = SkRect::MakeSize(fDst[fIndex].fSize); in nextCanvas() 176 if (fIndex < fCount) { 177 fDst[fIndex].fPicture = fRecorder.finishRecordingAsPicture(); 178 ++fIndex; 210 if (canvas.fIndex != dstArrayCount) { in SkMultiPictureDocumentRead() 211 SkDEBUGF("Malformed SkMultiPictureDocument: canvas.fIndex=%d dstArrayCount=%d\n", in SkMultiPictureDocumentRead() 212 canvas.fIndex, dstArrayCount); in SkMultiPictureDocumentRead()
|
H A D | SkPolyUtils.cpp | 240 uint16_t fIndex; member 246 fIndex = start; in init() 253 if (this->fEnd == that->fIndex) { in checkIntersection() 525 uint16_t fIndex; // index in unsorted polygon member 1088 newVertex.fIndex = i; in SkIsSimplePolygon() 1109 if (!sweepLine.insert(v.fPosition, polygon[v.fPrevIndex], v.fIndex, v.fPrevIndex)) { in SkIsSimplePolygon() 1112 if (!sweepLine.insert(v.fPosition, polygon[v.fNextIndex], v.fIndex, v.fNextIndex)) { in SkIsSimplePolygon() 1117 if (!sweepLine.remove(polygon[v.fPrevIndex], v.fPosition, v.fPrevIndex, v.fIndex)) { in SkIsSimplePolygon() 1120 if (!sweepLine.remove(polygon[v.fNextIndex], v.fPosition, v.fNextIndex, v.fIndex)) { in SkIsSimplePolygon() 1127 v.fPrevIndex, v.fIndex, in SkIsSimplePolygon() 1449 uint16_t fIndex; global() member [all...] |
/third_party/skia/src/sksl/ir/ |
H A D | SkSLIndexExpression.h | 27 , 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/icu/icu4c/source/i18n/ |
H A 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()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | regeximp.cpp | 67 fChars(chars), fIndex(start), fLimit(limit), fFoldChars(nullptr), fFoldLength(0) { in CaseFoldingUCharIterator() 80 if (fIndex >= fLimit) { in next() 83 U16_NEXT(fChars, fIndex, fLimit, originalC); in next() 113 return fIndex; in getIndex()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A 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()
|
/third_party/skia/tests/ |
H A D | TDPQueueTest.cpp | 70 mutable int fIndex; member 73 static int* PQIndex(Mock* const& mock) { return &mock->fIndex; } in PQIndex() 94 mock->fIndex = -1; in random_test() 109 REPORTER_ASSERT(reporter, -1 != array[j].fIndex); in random_test() 167 mock->fIndex = -1; in sort_test() 178 mock->fIndex = -1; in sort_test() 188 REPORTER_ASSERT(reporter, i <= pqTest.at(i)->fIndex); in sort_test()
|
H A D | PathOpsConicIntersectionTest.cpp | 245 for (int fIndex = 0; fIndex < frameSize; ++fIndex) { in writeFrames() 246 const SkDConic& dC = frames[index][fIndex]; in writeFrames() 274 for (int fIndex = 0; fIndex < frameSize; ++fIndex) { in writeFrames() 275 const SkDConic& dC = frames[index][fIndex]; in writeFrames() 282 if (fIndex < 2) { in writeFrames()
|
/third_party/skia/src/ports/ |
H A D | SkFontMgr_preview.h | 66 , fIndex(index) in SkTypeface_PreviewSystem() 95 *ttcIndex = fIndex; 101 return std::make_unique<SkFontData>(this->makeStream(), fIndex, fAxes.begin(), fAxes.count()); 111 fIndex, 122 int fIndex; member in SkTypeface_PreviewSystem 201 const int ttcIndex = fontFile.fIndex; in SkFontStyleSet_Preview()
|
/third_party/skia/tools/ |
H A D | dump_record.cpp | 35 , fIndex(0) in Dumper() 95 printf("%*d ", fDigits, fIndex++); in print() 114 printf("%*d ", fDigits, fIndex++); in printNameAndTime() 139 int fIndex; member in Dumper
|