Searched refs:LengthOf (Results 1 – 2 of 2) sorted by relevance
58 : fHeadBlock(MemBlock::Alloc(LengthOf(initialSizeInBytes), nullptr)), in GrTRecorder()107 static int LengthOf(int bytes) { return (bytes + sizeof(TAlign) - 1) / sizeof(TAlign); } in LengthOf() function366 : fDataLength(GrTRecorder<TBase, TAlign>::LengthOf(sizeOfData)) {} in GrTRecorderAllocWrapper()