Home
last modified time | relevance | path

Searched refs:fCurrentIndex (Results 1 – 6 of 6) sorted by relevance

/external/skqp/src/core/
DSkTDynamicHash.h35 explicit Iter(SkTDynamicHash* hash) : fHash(hash), fCurrentIndex(-1) { in Iter()
40 SkASSERT(fCurrentIndex <= fHash->fCapacity); in done()
41 return fCurrentIndex == fHash->fCapacity; in done()
49 fCurrentIndex++;
54 T* current() const { return fHash->fArray[fCurrentIndex]; } in current()
57 int fCurrentIndex; variable
62 explicit ConstIter(const SkTDynamicHash* hash) : fHash(hash), fCurrentIndex(-1) { in ConstIter()
67 SkASSERT(fCurrentIndex <= fHash->fCapacity); in done()
68 return fCurrentIndex == fHash->fCapacity; in done()
76 fCurrentIndex++;
[all …]
/external/skia/src/core/
DSkTDynamicHash.h35 explicit Iter(SkTDynamicHash* hash) : fHash(hash), fCurrentIndex(-1) { in Iter()
40 SkASSERT(fCurrentIndex <= fHash->fCapacity); in done()
41 return fCurrentIndex == fHash->fCapacity; in done()
49 fCurrentIndex++;
54 T* current() const { return fHash->fArray[fCurrentIndex]; } in current()
57 int fCurrentIndex; variable
62 explicit ConstIter(const SkTDynamicHash* hash) : fHash(hash), fCurrentIndex(-1) { in ConstIter()
67 SkASSERT(fCurrentIndex <= fHash->fCapacity); in done()
68 return fCurrentIndex == fHash->fCapacity; in done()
76 fCurrentIndex++;
[all …]
/external/skqp/src/sksl/
DSkSLInterpreter.cpp54 fCurrentIndex.push_back({ f.fBody.get(), 0 }); in run()
55 while (fCurrentIndex.size()) { in run()
80 const Statement& stmt = *fCurrentIndex.back().fStatement; in runStatement()
81 const size_t index = fCurrentIndex.back().fIndex; in runStatement()
82 fCurrentIndex.pop_back(); in runStatement()
91 fCurrentIndex.push_back({ &b, index + 1 }); in runStatement()
93 fCurrentIndex.push_back({ b.fStatements[index].get(), 0 }); in runStatement()
116 fCurrentIndex.push_back({ &f, 1 }); in runStatement()
118 fCurrentIndex.push_back({ f.fInitializer.get(), 0 }); in runStatement()
126 fCurrentIndex.push_back({ &f, 2 }); in runStatement()
[all …]
DSkSLInterpreter.h82 std::vector<StatementIndex> fCurrentIndex; variable
/external/skia/src/sksl/
DSkSLInterpreter.cpp54 fCurrentIndex.push_back({ f.fBody.get(), 0 }); in run()
55 while (fCurrentIndex.size()) { in run()
80 const Statement& stmt = *fCurrentIndex.back().fStatement; in runStatement()
81 const size_t index = fCurrentIndex.back().fIndex; in runStatement()
82 fCurrentIndex.pop_back(); in runStatement()
91 fCurrentIndex.push_back({ &b, index + 1 }); in runStatement()
93 fCurrentIndex.push_back({ b.fStatements[index].get(), 0 }); in runStatement()
116 fCurrentIndex.push_back({ &f, 1 }); in runStatement()
118 fCurrentIndex.push_back({ f.fInitializer.get(), 0 }); in runStatement()
126 fCurrentIndex.push_back({ &f, 2 }); in runStatement()
[all …]
DSkSLInterpreter.h82 std::vector<StatementIndex> fCurrentIndex; variable