Lines Matching refs:writeU16

38 size_t writeU16(uint16_t x, uint8_t* out, size_t offset) {  in writeU16()  function
45 return writeU16(static_cast<uint16_t>(sx), out, offset); in writeI16()
77 head = writeU16(4, out.data(), head); // format in buildCmapFormat4Table()
78 head = writeU16(finalLength, out.data(), head); // length in buildCmapFormat4Table()
79 head = writeU16(0, out.data(), head); // langauge in buildCmapFormat4Table()
83 head = writeU16(segmentCount * 2, out.data(), head); // segCountX2 in buildCmapFormat4Table()
84 head = writeU16(searchRange, out.data(), head); // searchRange in buildCmapFormat4Table()
85 head = writeU16(__builtin_ctz(searchRange) - 1, out.data(), head); // entrySelector in buildCmapFormat4Table()
86 head = writeU16(segmentCount * 2 - searchRange, out.data(), head); // rangeShift in buildCmapFormat4Table()
96 startCountHead = writeU16(begin, out.data(), startCountHead); in buildCmapFormat4Table()
97 endCountHead = writeU16(end, out.data(), endCountHead); in buildCmapFormat4Table()
99 idDeltaHead = writeU16(0, out.data(), idDeltaHead); in buildCmapFormat4Table()
100 idRangeOffsetHead = writeU16(0 /* we don't use this */, out.data(), idRangeOffsetHead); in buildCmapFormat4Table()
104 endCountHead = writeU16(0xFFFF, out.data(), endCountHead); in buildCmapFormat4Table()
105 startCountHead = writeU16(0xFFFF, out.data(), startCountHead); in buildCmapFormat4Table()
106 idDeltaHead = writeU16(1, out.data(), idDeltaHead); in buildCmapFormat4Table()
107 idRangeOffsetHead = writeU16(0, out.data(), idRangeOffsetHead); in buildCmapFormat4Table()
127 head = writeU16(12, out.data(), head); // format in buildCmapFormat12Table()
128 head = writeU16(0, out.data(), head); // reserved in buildCmapFormat12Table()
187 head = writeU16(4 /* fixed glyph id */, out.data(), head); in getNonDefaultUVSAsBinary()
202 head = writeU16(14, out.data(), head); // format in buildCmapFormat14Table()
240 writeU16(0, out.data(), 0); in CmapBuilder()
241 writeU16(numTables, out.data(), 2); in CmapBuilder()
275 size_t head = writeU16(platformId, out.data(), currentEncodingTableHead); in appendEncodingTable()
276 head = writeU16(encodingId, out.data(), head); in appendEncodingTable()
304 writeU16(1000, cmap.data(), 2 /* offset of num tables in cmap header */); in TEST()
314 writeU16(1000, cmap.data(), 8 /* offset of the offset in the first encoding record */); in TEST()
471 writeU16(5000, table.data(), 6 /* segment count offset */); // 5000 segments. in TEST()
484 writeU16('a', table.data(), 14 /* the first element of endCount offset */); in TEST()
654 writeU16(0, table.data(), 0 /* format offset */); in TEST()
668 writeU16(1, table.data(), 4 /* language offset */); in TEST()
682 writeU16(5000, table.data(), 2 /* length offset */); in TEST()
701 writeU16(0, table.data(), 0 /* format offset */); in TEST()