Home
last modified time | relevance | path

Searched refs:writeU32 (Results 1 – 3 of 3) sorted by relevance

/frameworks/minikin/tests/unittest/
DFontFileParserTest.cpp34 static size_t writeU32(uint32_t x, uint8_t* out, size_t offset) { in writeU32() function
53 head = writeU32(fontRevision, out.data(), head); // fontRevision in buildHeadTable()
54 head = writeU32(0xB1B0AFBA, out.data(), head); // checksum. (random value) in buildHeadTable()
55 head = writeU32(0x5F0F3CF5, out.data(), head); // magicNumber in buildHeadTable()
58 head = writeU32(123457890, out.data(), head); // created (random value) in buildHeadTable()
59 head = writeU32(123457890, out.data(), head); // modified (random value) in buildHeadTable()
DFontUtilsTest.cpp34 static size_t writeU32(uint32_t x, uint8_t* out, size_t offset) { in writeU32() function
71 head = writeU32(fvar.tag, out.data(), head); in buildFvarTable()
72 head = writeU32(floatToFixed(fvar.minValue), out.data(), head); in buildFvarTable()
73 head = writeU32(floatToFixed(fvar.defaultValue), out.data(), head); in buildFvarTable()
74 head = writeU32(floatToFixed(fvar.maxValue), out.data(), head); in buildFvarTable()
DCmapCoverageTest.cpp55 size_t writeU32(uint32_t x, uint8_t* out, size_t offset) { in writeU32() function
129 head = writeU32(finalLength, out.data(), head); // length in buildCmapFormat12Table()
130 head = writeU32(0, out.data(), head); // langauge in buildCmapFormat12Table()
131 head = writeU32(numGroups, out.data(), head); // numGroups in buildCmapFormat12Table()
136 head = writeU32(start, out.data(), head); in buildCmapFormat12Table()
137 head = writeU32(end, out.data(), head); in buildCmapFormat12Table()
142 head = writeU32(start, out.data(), head); in buildCmapFormat12Table()
164 head = writeU32(numOfRanges, out.data(), head); in getDefaultUVSAsBinary()
184 head = writeU32(nonDefaultUVS.size(), out.data(), head); in getNonDefaultUVSAsBinary()
204 head = writeU32(vsRecords.size(), out.data(), head); // numVarSelectorRecords; in buildCmapFormat14Table()
[all …]