Home
last modified time | relevance | path

Searched refs:ByteVector (Results 1 – 25 of 48) sorted by relevance

12

/external/sfntly/cpp/src/sfntly/port/
Dinput_stream.h35 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;
Dfile_input_stream.h37 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);
Dmemory_input_stream.h37 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);
Dmemory_input_stream.cc73 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()
Dfile_input_stream.cc79 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()
Doutput_stream.h32 virtual void Write(ByteVector* buffer) = 0;
38 virtual void Write(ByteVector* buffer, int32_t offset, int32_t length) = 0;
Dmemory_output_stream.h37 virtual void Write(ByteVector* buffer);
38 virtual void Write(ByteVector* buffer, int32_t offset, int32_t length);
Dmemory_output_stream.cc27 void MemoryOutputStream::Write(ByteVector* buffer) { in Write()
31 void MemoryOutputStream::Write(ByteVector* buffer, in Write()
/external/sfntly/cpp/src/sfntly/table/core/
Dname_table.h449 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 …]
Dname_table.cc81 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 …]
Dos2_table.h360 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/
Dfile_io_test.cc39 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()
Dbyte_array_test.cc35 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()
Dopen_type_data_test.cc27 ByteVector bytes; in TestOTFRead()
46 ByteVector source_bytes(1024); in TestOTFCopy()
53 ByteVector destination_bytes(1024); in TestOTFCopy()
Dfont_data_test.cc143 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()
Dfont_parsing_test.cc35 ByteVector input_buffer; in TestFontParsing()
65 ByteVector b; in TestFontParsing()
82 ByteVector b1, b2; in TestFontParsing()
117 ByteVector input_buffer; in TestTTFMemoryBasedReadWrite()
Dmemory_io_test.cc37 ByteVector test_buffer; in TestMemoryInputStream()
51 ByteVector b; in TestMemoryInputStream()
85 ByteVector test_buffer; in TestMemoryOutputStream()
/external/sfntly/cpp/src/sfntly/data/
Dbyte_array.cc43 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()
Dwritable_font_data.h45 static CALLER_ATTACH WritableFontData* CreateWritableFontData(ByteVector* b);
70 virtual int32_t WriteBytes(int32_t index, ByteVector* b);
83 ByteVector* b,
Dfont_output_stream.h54 virtual void Write(ByteVector* b);
55 virtual void Write(ByteVector* b, int32_t off, int32_t len);
Dfont_input_stream.h70 virtual int32_t Read(ByteVector* buffer);
71 virtual int32_t Read(ByteVector* buffer, int32_t offset, int32_t length);
Dwritable_font_data.cc50 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/
Dfont.h152 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_;
Dfont_factory.cc55 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()
Dfont_factory.h59 void LoadFonts(ByteVector* b, FontArray* output);
75 void LoadFontsForBuilding(ByteVector* b, FontBuilderArray* output);

12