/external/sfntly/cpp/src/sfntly/port/ |
D | input_stream.h | 35 virtual int32_t Read(ByteVector* b) = 0; 36 virtual int32_t Read(ByteVector* b, int32_t offset, int32_t length) = 0; 43 virtual void Unread(ByteVector* b) = 0; 44 virtual void Unread(ByteVector* b, int32_t offset, int32_t length) = 0;
|
D | file_input_stream.h | 37 virtual int32_t Read(ByteVector* b); 38 virtual int32_t Read(ByteVector* b, int32_t offset, int32_t length); 43 virtual void Unread(ByteVector* b); 44 virtual void Unread(ByteVector* b, int32_t offset, int32_t length);
|
D | memory_input_stream.h | 37 virtual int32_t Read(ByteVector* b); 38 virtual int32_t Read(ByteVector* b, int32_t offset, int32_t length); 43 virtual void Unread(ByteVector* b); 44 virtual void Unread(ByteVector* b, int32_t offset, int32_t length);
|
D | memory_input_stream.cc | 73 int32_t MemoryInputStream::Read(ByteVector* b) { in Read() 77 int32_t MemoryInputStream::Read(ByteVector* b, int32_t offset, int32_t length) { in Read() 122 void MemoryInputStream::Unread(ByteVector* b) { in Unread() 126 void MemoryInputStream::Unread(ByteVector* b, int32_t offset, int32_t length) { in Unread()
|
D | file_input_stream.cc | 79 int32_t FileInputStream::Read(ByteVector* b) { in Read() 83 int32_t FileInputStream::Read(ByteVector* b, int32_t offset, int32_t length) { in Read() 130 void FileInputStream::Unread(ByteVector* b) { in Unread() 134 void FileInputStream::Unread(ByteVector* b, int32_t offset, int32_t length) { in Unread()
|
D | output_stream.h | 32 virtual void Write(ByteVector* buffer) = 0; 38 virtual void Write(ByteVector* buffer, int32_t offset, int32_t length) = 0;
|
D | memory_output_stream.h | 37 virtual void Write(ByteVector* buffer); 38 virtual void Write(ByteVector* buffer, int32_t offset, int32_t length);
|
D | memory_output_stream.cc | 27 void MemoryOutputStream::Write(ByteVector* buffer) { in Write() 31 void MemoryOutputStream::Write(ByteVector* buffer, in Write()
|
/external/sfntly/cpp/src/sfntly/table/core/ |
D | name_table.h | 449 NameEntry(const NameEntryId& name_entry_id, const ByteVector& name_bytes); 454 const ByteVector& name_bytes); 465 ByteVector* NameAsBytes(); 480 int32_t name_id, const ByteVector* name_bytes); 483 ByteVector name_bytes_; 495 const ByteVector& name_bytes); 501 virtual void SetName(const ByteVector& name_bytes); 502 virtual void SetName(const ByteVector& name_bytes, 513 int32_t name_id, const ByteVector* name_bytes); 650 virtual void NameAsBytes(int32_t index, ByteVector* b); [all …]
|
D | name_table.cc | 81 const ByteVector& name_bytes) { in NameEntry() 93 const ByteVector& name_bytes) { in NameEntry() 99 ByteVector* NameTable::NameEntry::NameAsBytes() { in NameAsBytes() 122 const ByteVector* name_bytes) { in Init() 139 const ByteVector& name_bytes) { in NameEntryBuilder() 177 void NameTable::NameEntryBuilder::SetName(const ByteVector& name_bytes) { in SetName() 184 void NameTable::NameEntryBuilder::SetName(const ByteVector& name_bytes, in SetName() 197 const ByteVector* name_bytes) { in Init() 468 void NameTable::NameAsBytes(int32_t index, ByteVector* b) { in NameAsBytes() 484 ByteVector* b) { in NameAsBytes() [all …]
|
D | os2_table.h | 360 void Panose(ByteVector* value); 361 void SetPanose(ByteVector* panose); 372 void AchVendId(ByteVector* b); 377 void SetAchVendId(ByteVector* b); 432 void Panose(ByteVector* value); 438 void AchVendId(ByteVector* b);
|
/external/sfntly/cpp/src/test/ |
D | file_io_test.cc | 39 ByteVector b1; in TestFileInputStream() 49 ByteVector b2; in TestFileInputStream() 79 ByteVector b3; in TestFileInputStream() 100 ByteVector b1; in TestFontInputStreamBasic() 111 ByteVector b2; in TestFontInputStreamBasic() 139 ByteVector feat_data; in TestFontInputStreamTableLoading()
|
D | byte_array_test.cc | 35 void ReadByteArrayWithBuffer(ByteArray* ba, ByteVector* buffer, ByteVector* b) { in ReadByteArrayWithBuffer() 47 ByteVector* b) { in ReadByteArrayWithSlidingWindow() 65 ByteVector b1, b2; in ReadComparison() 70 ByteVector buffer(buffer_size); in ReadComparison()
|
D | open_type_data_test.cc | 27 ByteVector bytes; in TestOTFRead() 46 ByteVector source_bytes(1024); in TestOTFCopy() 53 ByteVector destination_bytes(1024); in TestOTFCopy()
|
D | font_data_test.cc | 143 void ReadFontDataWithSingleByte(ReadableFontData* rfd, ByteVector* buffer) { in ReadFontDataWithSingleByte() 152 ByteVector* b) { in ReadFontDataWithBuffer() 153 ByteVector buffer(buffer_size); in ReadFontDataWithBuffer() 166 ByteVector* b) { in ReadFontDataWithSlidingWindow() 189 ByteVector buffer(buffer_size); in WriteFontDataWithBuffer() 201 ByteVector b(rfd->Length()); in WriteFontDataWithSlidingWindow() 216 ByteVector b1, b2; in ReadComparison()
|
D | font_parsing_test.cc | 35 ByteVector input_buffer; in TestFontParsing() 65 ByteVector b; in TestFontParsing() 82 ByteVector b1, b2; in TestFontParsing() 117 ByteVector input_buffer; in TestTTFMemoryBasedReadWrite()
|
D | memory_io_test.cc | 37 ByteVector test_buffer; in TestMemoryInputStream() 51 ByteVector b; in TestMemoryInputStream() 85 ByteVector test_buffer; in TestMemoryOutputStream()
|
/external/sfntly/cpp/src/sfntly/data/ |
D | byte_array.cc | 43 int32_t ByteArray::Get(int32_t index, ByteVector* b) { in Get() 73 int32_t ByteArray::Put(int index, ByteVector* b) { in Put() 112 ByteVector b(COPY_BUFFER_SIZE); in CopyTo() 133 ByteVector b(COPY_BUFFER_SIZE); in CopyTo() 146 ByteVector b(COPY_BUFFER_SIZE); in CopyFrom() 166 ByteVector b(COPY_BUFFER_SIZE); in CopyFrom()
|
D | writable_font_data.h | 45 static CALLER_ATTACH WritableFontData* CreateWritableFontData(ByteVector* b); 70 virtual int32_t WriteBytes(int32_t index, ByteVector* b); 83 ByteVector* b,
|
D | font_output_stream.h | 54 virtual void Write(ByteVector* b); 55 virtual void Write(ByteVector* b, int32_t off, int32_t len);
|
D | font_input_stream.h | 70 virtual int32_t Read(ByteVector* buffer); 71 virtual int32_t Read(ByteVector* buffer, int32_t offset, int32_t length);
|
D | writable_font_data.cc | 50 WritableFontData* WritableFontData::CreateWritableFontData(ByteVector* b) { in CreateWritableFontData() 72 int32_t WritableFontData::WriteBytes(int32_t index, ByteVector* b) { in WriteBytes() 78 ByteVector* b, in WriteBytesPad()
|
/external/sfntly/cpp/src/sfntly/ |
D | font.h | 152 void SetDigest(ByteVector* digest); 229 ByteVector digest_; 239 ByteVector* digest() { return &digest_; } in digest() 303 Font(int32_t sfnt_version, ByteVector* digest); 341 ByteVector digest_;
|
D | font_factory.cc | 55 void FontFactory::LoadFonts(ByteVector* b, FontArray* output) { in LoadFonts() 83 void FontFactory::LoadFontsForBuilding(ByteVector* b, in LoadFontsForBuilding() 197 ByteVector tag(4); in IsCollection() 204 ByteVector tag(4); in IsCollection()
|
D | font_factory.h | 59 void LoadFonts(ByteVector* b, FontArray* output); 75 void LoadFontsForBuilding(ByteVector* b, FontBuilderArray* output);
|