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

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

Completed in 107 milliseconds