OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:originalDataSize
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/skia/src/sfnt/
SkOTUtils.cpp
82
//
originalDataSize
is the size of the original data without the name table.
83
size_t
originalDataSize
= fontData->getLength() - oldNameTablePhysicalSize;
84
size_t newDataSize =
originalDataSize
+ nameTablePhysicalSize;
95
if (fontData->read(data + oldNameTableOffset,
originalDataSize
- oldNameTableOffset) <
originalDataSize
- oldNameTableOffset) {
116
nameTableEntry->offset = SkEndian_SwapBE32(
originalDataSize
);
119
SkOTTableName* nameTable = reinterpret_cast<SkOTTableName*>(data +
originalDataSize
);
125
SkOTTableName::Record* nameRecords = reinterpret_cast<SkOTTableName::Record*>(data +
originalDataSize
+ sizeof(SkOTTableName));
135
SK_OT_USHORT* nameString = reinterpret_cast<SK_OT_USHORT*>(data +
originalDataSize
+ stringOffset);
140
unsigned char* logical = data +
originalDataSize
+ nameTableLogicalSize
[
all
...]
/external/skia/src/sfnt/
SkOTUtils.cpp
82
//
originalDataSize
is the size of the original data without the name table.
83
size_t
originalDataSize
= fontData->getLength() - oldNameTablePhysicalSize;
84
size_t newDataSize =
originalDataSize
+ nameTablePhysicalSize;
95
if (fontData->read(data + oldNameTableOffset,
originalDataSize
- oldNameTableOffset) <
originalDataSize
- oldNameTableOffset) {
116
nameTableEntry->offset = SkEndian_SwapBE32(
originalDataSize
);
119
SkOTTableName* nameTable = reinterpret_cast<SkOTTableName*>(data +
originalDataSize
);
125
SkOTTableName::Record* nameRecords = reinterpret_cast<SkOTTableName::Record*>(data +
originalDataSize
+ sizeof(SkOTTableName));
135
SK_OT_USHORT* nameString = reinterpret_cast<SK_OT_USHORT*>(data +
originalDataSize
+ stringOffset);
140
unsigned char* logical = data +
originalDataSize
+ nameTableLogicalSize
[
all
...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
OpenTypeUtilities.cpp
149
size_t
originalDataSize
= fontData->size();
167
memcpy(data, fontData->data(),
originalDataSize
);
172
rewrittenSfnt->tables[t].offset =
originalDataSize
;
175
nameTable* name = reinterpret_cast<nameTable*>(data +
originalDataSize
);
195
reinterpret_cast<BigEndianUShort*>(data +
originalDataSize
+ name->stringOffset)[i] = fontName[i];
Completed in 406 milliseconds