Home
last modified time | relevance | path

Searched refs:byte_t (Results 1 – 25 of 36) sorted by relevance

12

/external/sfntly/cpp/src/sfntly/data/
Dwritable_font_data.cc54 int32_t WritableFontData::WriteByte(int32_t index, byte_t b) { in WriteByte()
60 byte_t* b, in WriteBytes()
78 byte_t pad) { in WriteBytesPad()
90 return WritePadding(index, count, (byte_t)0); in WritePadding()
94 byte_t pad) { in WritePadding()
101 int32_t WritableFontData::WriteChar(int32_t index, byte_t c) { in WriteChar()
106 WriteByte(index, (byte_t)((us >> 8) & 0xff)); in WriteUShort()
107 WriteByte(index + 1, (byte_t)(us & 0xff)); in WriteUShort()
112 WriteByte(index, (byte_t)(us & 0xff)); in WriteUShortLE()
113 WriteByte(index + 1, (byte_t)((us >> 8) & 0xff)); in WriteUShortLE()
[all …]
Dfont_output_stream.cc32 void FontOutputStream::Write(byte_t b) { in Write()
62 void FontOutputStream::Write(byte_t* b, int32_t off, int32_t len) { in Write()
77 void FontOutputStream::WriteChar(byte_t c) { in WriteChar()
82 Write((byte_t)((us >> 8) & 0xff)); in WriteUShort()
83 Write((byte_t)(us & 0xff)); in WriteUShort()
91 Write((byte_t)(ui >> 16) & 0xff); in WriteUInt24()
92 Write((byte_t)(ui >> 8) & 0xff); in WriteUInt24()
93 Write((byte_t)ui & 0xff); in WriteUInt24()
97 Write((byte_t)((ul >> 24) & 0xff)); in WriteULong()
98 Write((byte_t)((ul >> 16) & 0xff)); in WriteULong()
[all …]
Dmemory_byte_array.h40 MemoryByteArray(byte_t* b, int32_t filled_length);
59 virtual void InternalPut(int32_t index, byte_t b);
61 byte_t* b,
64 virtual byte_t InternalGet(int32_t index);
66 byte_t* b,
70 virtual byte_t* Begin();
75 byte_t* b_;
Dmemory_byte_array.cc27 MemoryByteArray::MemoryByteArray(byte_t* b, int32_t filled_length) in MemoryByteArray()
46 b_ = new byte_t[Size()]; in Init()
51 void MemoryByteArray::InternalPut(int32_t index, byte_t b) { in InternalPut()
57 byte_t* b, in InternalPut()
66 byte_t MemoryByteArray::InternalGet(int32_t index) { in InternalGet()
72 byte_t* b, in InternalGet()
88 byte_t* MemoryByteArray::Begin() { in Begin()
Dbyte_array.h69 byte_t* b,
75 virtual void Put(int32_t index, byte_t b);
92 byte_t* b,
152 virtual void InternalPut(int32_t index, byte_t b) = 0;
161 byte_t* b,
168 virtual byte_t InternalGet(int32_t index) = 0;
177 byte_t* b,
185 virtual byte_t* Begin() = 0;
Dgrowable_memory_byte_array.cc42 void GrowableMemoryByteArray::InternalPut(int32_t index, byte_t b) { in InternalPut()
50 byte_t* b, in InternalPut()
62 byte_t GrowableMemoryByteArray::InternalGet(int32_t index) { in InternalGet()
67 byte_t* b, in InternalGet()
78 byte_t* GrowableMemoryByteArray::Begin() { in Begin()
Dgrowable_memory_byte_array.h47 virtual void InternalPut(int32_t index, byte_t b);
49 byte_t* b,
52 virtual byte_t InternalGet(int32_t index);
54 byte_t* b,
58 virtual byte_t* Begin();
Dwritable_font_data.h51 virtual int32_t WriteByte(int32_t index, byte_t b);
61 byte_t* b,
86 byte_t pad);
99 virtual int32_t WritePadding(int32_t index, int32_t count, byte_t pad);
106 virtual int32_t WriteChar(int32_t index, byte_t c);
Dfont_output_stream.h53 virtual void Write(byte_t b);
56 virtual void Write(byte_t* b, int32_t off, int32_t len);
57 virtual void WriteChar(byte_t c);
Dbyte_array.cc47 byte_t* b, in Get()
58 void ByteArray::Put(int32_t index, byte_t b) { in Put()
77 byte_t* b, in Put()
/external/sfntly/cpp/src/sfntly/table/bitmap/
Dbig_glyph_metrics.h53 void SetHeight(byte_t height);
55 void SetWidth(byte_t width);
57 void SetHoriBearingX(byte_t bearing);
59 void SetHoriBearingY(byte_t bearing);
61 void SetHoriAdvance(byte_t advance);
63 void SetVertBearingX(byte_t bearing);
65 void SetVertBearingY(byte_t bearing);
67 void SetVertAdvance(byte_t advance);
Dbig_glyph_metrics.cc80 void BigGlyphMetrics::Builder::SetHeight(byte_t height) { in SetHeight()
88 void BigGlyphMetrics::Builder::SetWidth(byte_t width) { in SetWidth()
96 void BigGlyphMetrics::Builder::SetHoriBearingX(byte_t bearing) { in SetHoriBearingX()
104 void BigGlyphMetrics::Builder::SetHoriBearingY(byte_t bearing) { in SetHoriBearingY()
112 void BigGlyphMetrics::Builder::SetHoriAdvance(byte_t advance) { in SetHoriAdvance()
120 void BigGlyphMetrics::Builder::SetVertBearingX(byte_t bearing) { in SetVertBearingX()
128 void BigGlyphMetrics::Builder::SetVertBearingY(byte_t bearing) { in SetVertBearingY()
136 void BigGlyphMetrics::Builder::SetVertAdvance(byte_t advance) { in SetVertAdvance()
Dsmall_glyph_metrics.h49 void SetHeight(byte_t height);
51 void SetWidth(byte_t width);
53 void SetBearingX(byte_t bearing);
55 void SetBearingY(byte_t bearing);
57 void SetAdvance(byte_t advance);
Dsmall_glyph_metrics.cc68 void SmallGlyphMetrics::Builder::SetHeight(byte_t height) { in SetHeight()
76 void SmallGlyphMetrics::Builder::SetWidth(byte_t width) { in SetWidth()
84 void SmallGlyphMetrics::Builder::SetBearingX(byte_t bearing) { in SetBearingX()
92 void SmallGlyphMetrics::Builder::SetBearingY(byte_t bearing) { in SetBearingY()
100 void SmallGlyphMetrics::Builder::SetAdvance(byte_t advance) { in SetAdvance()
/external/xmlrpcpp/src/
Dbase64.h47 typedef unsigned char byte_t; typedef
97 byte_t get_0() const in get_0()
101 byte_t get_1() const in get_1()
105 byte_t get_2() const in get_2()
110 void set_0(byte_t _ch) in set_0()
115 void set_1(byte_t _ch) in set_1()
120 void set_2(byte_t _ch) in set_2()
148 byte_t _data[3];
300 *_To = (byte_t) _3to4.get_0(); in get()
327 *_To = (byte_t) _3to4.get_0(); in get()
[all …]
/external/sfntly/cpp/src/sfntly/port/
Dmemory_output_stream.h39 virtual void Write(byte_t* buffer, int32_t offset, int32_t length);
40 virtual void Write(byte_t b);
42 byte_t* Get();
46 std::vector<byte_t> store_;
Dmemory_output_stream.cc46 void MemoryOutputStream::Write(byte_t* buffer, int32_t offset, int32_t length) { in Write()
57 void MemoryOutputStream::Write(byte_t b) { in Write()
61 byte_t* MemoryOutputStream::Get() { in Get()
Doutput_stream.h33 virtual void Write(byte_t b) = 0;
41 virtual void Write(byte_t* buffer, int32_t offset, int32_t length) = 0;
Dmemory_input_stream.h47 virtual bool Attach(const byte_t* buffer, size_t length);
50 const byte_t* buffer_;
Dtype.h50 typedef uint8_t byte_t; typedef
55 typedef std::vector<byte_t> ByteVector;
Dmemory_input_stream.cc67 byte_t value = buffer_[position_++]; in Read()
139 bool MemoryInputStream::Attach(const byte_t* buffer, size_t length) { in Attach()
/external/sfntly/cpp/src/test/
Dopen_type_data_test.cc23 const byte_t TEST_OTF_DATA[] =
28 for (size_t i = 0; i < sizeof(TEST_OTF_DATA) / sizeof(byte_t); ++i) { in TestOTFRead()
48 source_bytes[i] = (byte_t)(i & 0xff); in TestOTFCopy()
Dfont_data_test.cc139 ba->Put(i, (byte_t)(i % 256)); in FillTestByteArray()
146 (*buffer)[index] = (byte_t)(rfd->ReadByte(index)); in ReadFontDataWithSingleByte()
181 byte_t b = (byte_t)(rfd->ReadByte(index)); in WriteFontDataWithSingleByte()
Dverify_os2.cc40 const byte_t OS2_PANOSE[] = { 2, 11, 6, 3, 6, 1, 0, 0, 0, 0 };
45 const byte_t OS2_ACH_VEND_ID[] = { 'P', 'f', 'E', 'd' };
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc379 target->SetHeight(static_cast<byte_t>(source->Height())); in CopyBigGlyphMetrics()
380 target->SetWidth(static_cast<byte_t>(source->Width())); in CopyBigGlyphMetrics()
381 target->SetHoriBearingX(static_cast<byte_t>(source->HoriBearingX())); in CopyBigGlyphMetrics()
382 target->SetHoriBearingY(static_cast<byte_t>(source->HoriBearingY())); in CopyBigGlyphMetrics()
383 target->SetHoriAdvance(static_cast<byte_t>(source->HoriAdvance())); in CopyBigGlyphMetrics()
384 target->SetVertBearingX(static_cast<byte_t>(source->VertBearingX())); in CopyBigGlyphMetrics()
385 target->SetVertBearingY(static_cast<byte_t>(source->VertBearingY())); in CopyBigGlyphMetrics()
386 target->SetVertAdvance(static_cast<byte_t>(source->VertAdvance())); in CopyBigGlyphMetrics()

12