Home
last modified time | relevance | path

Searched refs:dirSize (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/test/perf/leperf/
DFontObject.cpp42 int dirSize = sizeof tempDir + ((numTables - ANY_NUMBER) * sizeof(DirectoryEntry)); in FontObject() local
44 directory = (SFNTDirectory *) new char[dirSize]; in FontObject()
47 fread(directory, sizeof(char), dirSize, file); in FontObject()
DPortableFontInstance.cpp108 …le_int32 dirSize = sizeof tempDir + ((SWAPW(tempDir.numTables) - ANY_NUMBER) * sizeof(DirectoryEnt… in PortableFontInstance() local
116 fDirectory = (const SFNTDirectory *) LE_NEW_ARRAY(char, dirSize); in PortableFontInstance()
125 fread((void *) fDirectory, sizeof(char), dirSize, fFile); in PortableFontInstance()
/external/icu/icu4c/source/test/letest/
DFontObject.cpp38 int dirSize = sizeof tempDir + ((numTables - ANY_NUMBER) * sizeof(DirectoryEntry)); in FontObject() local
40 directory = (SFNTDirectory *) new char[dirSize]; in FontObject()
43 fread(directory, sizeof(char), dirSize, file); in FontObject()
DPortableFontInstance.cpp105 …le_int32 dirSize = sizeof tempDir + ((SWAPW(tempDir.numTables) - ANY_NUMBER) * sizeof(DirectoryEnt… in PortableFontInstance() local
113 fDirectory = (const SFNTDirectory *) LE_NEW_ARRAY(char, dirSize); in PortableFontInstance()
122 numRead = fread((void *) fDirectory, sizeof(char), dirSize, fFile); in PortableFontInstance()