14 for (
int i = 0;
i < this->
count();
i++) {
19void SkRecord::grow() {
21 fReserved = fReserved ? fReserved * 2 : 4;
26 size_t bytes = fApproxBytesAllocated +
sizeof(
SkRecord);
34 Record* noops = std::remove_if(fRecords.
get(), fRecords.
get() + fCount,
35 [](Record op) { return op.type() == SkRecords::NoOp_Type; });
36 fCount = noops - fRecords.
get();
auto mutate(int i, F &&f) -> decltype(f((SkRecords::NoOp *) nullptr))
void realloc(size_t count)