Searched refs:WriteShort (Results 1 – 10 of 10) sorted by relevance
/external/protobuf/src/google/protobuf/compiler/ |
D | zip_writer.cc | 131 static void WriteShort(io::CodedOutputStream* out, uint16 val) { in WriteShort() function 157 WriteShort(&output, 10); // version needed to extract in Write() 158 WriteShort(&output, 0); // flags in Write() 159 WriteShort(&output, 0); // compression method: stored in Write() 160 WriteShort(&output, 0); // last modified time in Write() 161 WriteShort(&output, kDosEpoch); // last modified date in Write() 165 WriteShort(&output, filename_size); // file name length in Write() 166 WriteShort(&output, 0); // extra field length in Write() 187 WriteShort(&output, 10); // version made by in WriteDirectory() 188 WriteShort(&output, 10); // version needed to extract in WriteDirectory() [all …]
|
/external/sfntly/cpp/src/sfntly/table/core/ |
D | os2_table.cc | 303 InternalWriteData()->WriteShort(Offset::kXAvgCharWidth, width); in SetXAvgCharWidth() 335 InternalWriteData()->WriteShort(Offset::kYSubscriptXSize, size); in SetYSubscriptXSize() 343 InternalWriteData()->WriteShort(Offset::kYSubscriptYSize, size); in SetYSubscriptYSize() 351 InternalWriteData()->WriteShort(Offset::kYSubscriptXOffset, offset); in SetYSubscriptXOffset() 359 InternalWriteData()->WriteShort(Offset::kYSubscriptYOffset, offset); in SetYSubscriptYOffset() 367 InternalWriteData()->WriteShort(Offset::kYSuperscriptXSize, size); in SetYSuperscriptXSize() 375 InternalWriteData()->WriteShort(Offset::kYSuperscriptYSize, size); in SetYSuperscriptYSize() 383 InternalWriteData()->WriteShort(Offset::kYSuperscriptXOffset, offset); in SetYSuperscriptXOffset() 391 InternalWriteData()->WriteShort(Offset::kYSuperscriptYOffset, offset); in SetYSuperscriptYOffset() 399 InternalWriteData()->WriteShort(Offset::kYStrikeoutSize, size); in SetYStrikeoutSize() [all …]
|
D | horizontal_header_table.cc | 122 InternalWriteData()->WriteShort(Offset::kVersion, ascender); in SetAscender() 130 InternalWriteData()->WriteShort(Offset::kDescender, descender); in SetDescender() 138 InternalWriteData()->WriteShort(Offset::kLineGap, line_gap); in SetLineGap() 154 InternalWriteData()->WriteShort(Offset::kMinLeftSideBearing, value); in SetMinLeftSideBearing() 162 InternalWriteData()->WriteShort(Offset::kMinRightSideBearing, value); in SetMinRightSideBearing() 170 InternalWriteData()->WriteShort(Offset::kXMaxExtent, value); in SetXMaxExtent()
|
D | font_header_table.cc | 190 InternalWriteData()->WriteShort(Offset::kXMin, xmin); in SetXMin() 198 InternalWriteData()->WriteShort(Offset::kYMin, ymin); in SetYMin() 206 InternalWriteData()->WriteShort(Offset::kXMax, xmax); in SetXMax() 214 InternalWriteData()->WriteShort(Offset::kYMax, ymax); in SetYMax() 238 InternalWriteData()->WriteShort(Offset::kFontDirectionHint, hint); in SetFontDirectionHint() 249 InternalWriteData()->WriteShort(Offset::kIndexToLocFormat, format); in SetIndexToLocFormat() 257 InternalWriteData()->WriteShort(Offset::kGlyphDataFormat, format); in SetGlyphDataFormat()
|
D | cmap_table.cc | 1096 index += new_data->WriteShort(index, segments_[i]->id_delta()); in SubSerialize()
|
/external/sfntly/cpp/src/sfntly/data/ |
D | font_output_stream.h | 57 virtual void WriteShort(int32_t s);
|
D | font_output_stream.cc | 86 void FontOutputStream::WriteShort(int32_t s) { in WriteShort() function in sfntly::FontOutputStream
|
D | writable_font_data.h | 127 virtual int32_t WriteShort(int32_t index, int32_t s);
|
D | writable_font_data.cc | 120 int32_t WritableFontData::WriteShort(int32_t index, int32_t s) { in WriteShort() function in sfntly::WritableFontData
|
/external/sfntly/cpp/src/test/ |
D | endian_test.cc | 62 fos.WriteShort(-32744); in TestEndian()
|