Home
last modified time | relevance | path

Searched refs:MemoryByteArray (Results 1 – 7 of 7) sorted by relevance

/external/sfntly/cpp/src/sfntly/data/
Dmemory_byte_array.cc23 MemoryByteArray::MemoryByteArray(int32_t length) in MemoryByteArray() function in sfntly::MemoryByteArray
27 MemoryByteArray::MemoryByteArray(byte_t* b, int32_t filled_length) in MemoryByteArray() function in sfntly::MemoryByteArray
32 MemoryByteArray::~MemoryByteArray() { in ~MemoryByteArray()
36 int32_t MemoryByteArray::CopyTo(OutputStream* os, in CopyTo()
44 void MemoryByteArray::Init() { in Init()
51 void MemoryByteArray::InternalPut(int32_t index, byte_t b) { in InternalPut()
56 int32_t MemoryByteArray::InternalPut(int32_t index, in InternalPut()
66 byte_t MemoryByteArray::InternalGet(int32_t index) { in InternalGet()
71 int32_t MemoryByteArray::InternalGet(int32_t index, in InternalGet()
81 void MemoryByteArray::Close() { in Close()
[all …]
Dmemory_byte_array.h24 class MemoryByteArray : public ByteArray, public RefCounted<MemoryByteArray> {
28 explicit MemoryByteArray(int32_t length);
40 MemoryByteArray(byte_t* b, int32_t filled_length);
42 virtual ~MemoryByteArray();
Dwritable_font_data.cc37 ba = new MemoryByteArray(length); in CreateWritableFontData()
Dreadable_font_data.cc43 ByteArrayPtr ba = new MemoryByteArray(b->size()); in CreateReadableFontData()
/external/sfntly/cpp/src/test/
Dopen_type_data_test.cc31 ByteArrayPtr array = new MemoryByteArray(&(bytes[0]), bytes.size()); in TestOTFRead()
50 ByteArrayPtr source_array = new MemoryByteArray(&(source_bytes[0]), 1024); in TestOTFCopy()
55 new MemoryByteArray(&(destination_bytes[0]), 1024); in TestOTFCopy()
Dbyte_array_test.cc94 ByteArrayPtr fixed_copy = new MemoryByteArray(ba->Length()); in CopyTest()
119 ByteArrayPtr ba = new MemoryByteArray(size); in TestMemoryByteArray()
Dfont_data_test.cc306 ByteArrayPtr ba = new MemoryByteArray(size); in TestReadableFontData()
317 ByteArrayPtr ba = new MemoryByteArray(size); in TestWritableFontData()
321 ByteArrayPtr temp = new MemoryByteArray(size); in TestWritableFontData()