Home | History | Annotate | Download | only in core

Lines Matching defs:dir

36 SkDataTable::SkDataTable(const Dir* dir, int count, FreeProc proc, void* ctx) {
41 fU.fDir = dir;
98 size_t bufferSize = count * sizeof(Dir) + dataSize;
101 Dir* dir = (Dir*)buffer;
102 char* elem = (char*)(dir + count);
104 dir[i].fPtr = elem;
105 dir[i].fSize = sizes[i];
110 return sk_sp<SkDataTable>(new SkDataTable(dir, count, malloc_freeproc, buffer));