/external/sfntly/cpp/src/sfntly/data/ |
D | writable_font_data.cc | 57 int32_t WritableFontData::WriteByte(int32_t index, byte_t b) { in WriteByte() 63 byte_t* b, in WriteBytes() 81 byte_t pad) { in WriteBytesPad() 93 return WritePadding(index, count, (byte_t)0); in WritePadding() 97 byte_t pad) { in WritePadding() 104 int32_t WritableFontData::WriteChar(int32_t index, byte_t c) { in WriteChar() 109 WriteByte(index, (byte_t)((us >> 8) & 0xff)); in WriteUShort() 110 WriteByte(index + 1, (byte_t)(us & 0xff)); in WriteUShort() 115 WriteByte(index, (byte_t)(us & 0xff)); in WriteUShortLE() 116 WriteByte(index + 1, (byte_t)((us >> 8) & 0xff)); in WriteUShortLE() [all …]
|
D | font_output_stream.cc | 32 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 …]
|
D | memory_byte_array.cc | 27 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()
|
D | memory_byte_array.h | 40 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_;
|
D | byte_array.h | 69 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;
|
D | growable_memory_byte_array.cc | 42 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()
|
D | growable_memory_byte_array.h | 47 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();
|
D | writable_font_data.h | 51 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);
|
D | font_output_stream.h | 53 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);
|
D | byte_array.cc | 49 byte_t* b, in Get() 60 void ByteArray::Put(int32_t index, byte_t b) { in Put() 79 byte_t* b, in Put()
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | big_glyph_metrics.h | 53 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);
|
D | big_glyph_metrics.cc | 80 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()
|
D | small_glyph_metrics.h | 49 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);
|
D | small_glyph_metrics.cc | 68 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/ |
D | base64.h | 47 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/ |
D | memory_output_stream.h | 39 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_;
|
D | memory_output_stream.cc | 46 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()
|
D | output_stream.h | 33 virtual void Write(byte_t b) = 0; 41 virtual void Write(byte_t* buffer, int32_t offset, int32_t length) = 0;
|
D | memory_input_stream.h | 47 virtual bool Attach(const byte_t* buffer, size_t length); 50 const byte_t* buffer_;
|
D | type.h | 50 typedef uint8_t byte_t; typedef 55 typedef std::vector<byte_t> ByteVector;
|
D | memory_input_stream.cc | 69 byte_t value = buffer_[position_++]; in Read() 141 bool MemoryInputStream::Attach(const byte_t* buffer, size_t length) { in Attach()
|
/external/sfntly/cpp/src/test/ |
D | open_type_data_test.cc | 23 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()
|
D | font_data_test.cc | 139 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()
|
D | verify_os2.cc | 40 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/ |
D | subsetter_impl.cc | 379 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()
|