Home
last modified time | relevance | path

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

123

/external/mockito/cglib-and-asm/src/org/mockito/asm/
DByteVector.java38 public class ByteVector { class
54 public ByteVector() { in ByteVector() method in ByteVector
64 public ByteVector(final int initialSize) { in ByteVector() method in ByteVector
75 public ByteVector putByte(final int b) { in putByte()
93 ByteVector put11(final int b1, final int b2) { in put11()
112 public ByteVector putShort(final int s) { in putShort()
132 ByteVector put12(final int b, final int s) { in put12()
152 public ByteVector putInt(final int i) { in putInt()
173 public ByteVector putLong(final long l) { in putLong()
200 public ByteVector putUTF8(final String s) { in putUTF8()
[all …]
DAttribute.java153 protected ByteVector write( in write()
160 ByteVector v = new ByteVector(); in write()
244 final ByteVector out) in put()
248 ByteVector b = attr.write(cw, code, len, maxStack, maxLocals); in put()
DAnnotationWriter.java62 private final ByteVector bv;
68 private final ByteVector parent;
103 final ByteVector bv, in AnnotationWriter()
104 final ByteVector parent, in AnnotationWriter()
258 void put(final ByteVector out) { in put()
290 final ByteVector out) in put()
DClassWriter.java253 final ByteVector pool;
345 private ByteVector sourceDebug;
382 private ByteVector innerClasses;
536 pool = new ByteVector(); in ClassWriter()
610 sourceDebug = new ByteVector().putUTF8(debug); in visitSource()
632 ByteVector bv = new ByteVector(); in visitAnnotation()
658 innerClasses = new ByteVector(); in visitInnerClass()
778 ByteVector out = new ByteVector(size); in toByteArray()
/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.cc71 int32_t MemoryInputStream::Read(ByteVector* b) { in Read()
75 int32_t MemoryInputStream::Read(ByteVector* b, int32_t offset, int32_t length) { in Read()
120 void MemoryInputStream::Unread(ByteVector* b) { in Unread()
124 void MemoryInputStream::Unread(ByteVector* b, int32_t offset, int32_t length) { in Unread()
Dfile_input_stream.cc77 int32_t FileInputStream::Read(ByteVector* b) { in Read()
81 int32_t FileInputStream::Read(ByteVector* b, int32_t offset, int32_t length) { in Read()
128 void FileInputStream::Unread(ByteVector* b) { in Unread()
132 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);
/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_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()
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()
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/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.cc83 const ByteVector& name_bytes) { in NameEntry()
95 const ByteVector& name_bytes) { in NameEntry()
101 ByteVector* NameTable::NameEntry::NameAsBytes() { in NameAsBytes()
124 const ByteVector* name_bytes) { in Init()
141 const ByteVector& name_bytes) { in NameEntryBuilder()
179 void NameTable::NameEntryBuilder::SetName(const ByteVector& name_bytes) { in SetName()
186 void NameTable::NameEntryBuilder::SetName(const ByteVector& name_bytes, in SetName()
199 const ByteVector* name_bytes) { in Init()
470 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/sfntly/data/
Dbyte_array.cc41 int32_t ByteArray::Get(int32_t index, ByteVector* b) { in Get()
71 int32_t ByteArray::Put(int index, ByteVector* b) { in Put()
110 ByteVector b(COPY_BUFFER_SIZE); in CopyTo()
131 ByteVector b(COPY_BUFFER_SIZE); in CopyTo()
144 ByteVector b(COPY_BUFFER_SIZE); in CopyFrom()
164 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);
/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()

123