Home
last modified time | relevance | path

Searched refs:ByteArray (Results 1 – 25 of 159) sorted by relevance

1234567

/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dbyte_array.cc25 const int32_t ByteArray::COPY_BUFFER_SIZE = 8192;
27 ByteArray::~ByteArray() {} in ~ByteArray()
29 int32_t ByteArray::SetFilledLength(int32_t filled_length) { in SetFilledLength()
34 int32_t ByteArray::Get(int32_t index) { in Get()
40 int32_t ByteArray::Get(int32_t index, std::vector<uint8_t>* b) { in Get()
45 int32_t ByteArray::Get(int32_t index, in Get()
60 void ByteArray::Put(int32_t index, uint8_t b) { in Put()
73 int32_t ByteArray::Put(int index, std::vector<uint8_t>* b) { in Put()
78 int32_t ByteArray::Put(int32_t index, in Put()
97 int32_t ByteArray::CopyTo(ByteArray* array) { in CopyTo()
[all …]
Dgrowable_memory_byte_array.h26 class GrowableMemoryByteArray : public ByteArray,
34 virtual int32_t CopyTo(ByteArray* array) { return ByteArray::CopyTo(array); } in CopyTo()
35 virtual int32_t CopyTo(ByteArray* array, int32_t offset, int32_t length) { in CopyTo()
36 return ByteArray::CopyTo(array, offset, length); in CopyTo()
39 ByteArray* array, in CopyTo()
42 return ByteArray::CopyTo(dst_offset, array, src_offset, length); in CopyTo()
44 virtual int32_t CopyTo(OutputStream* os) { return ByteArray::CopyTo(os); } in CopyTo()
Dmemory_byte_array.h24 class MemoryByteArray : public ByteArray, public RefCounted<MemoryByteArray> {
46 virtual int32_t CopyTo(ByteArray* array) { return ByteArray::CopyTo(array); } in CopyTo()
47 virtual int32_t CopyTo(ByteArray* array, int32_t offset, int32_t length) { in CopyTo()
48 return ByteArray::CopyTo(array, offset, length); in CopyTo()
51 ByteArray* array, in CopyTo()
54 return ByteArray::CopyTo(dst_offset, array, src_offset, length); in CopyTo()
56 virtual int32_t CopyTo(OutputStream* os) { return ByteArray::CopyTo(os); } in CopyTo()
Dbyte_array.h30 class ByteArray : virtual public RefCount {
32 virtual ~ByteArray();
98 virtual int32_t CopyTo(ByteArray* array);
105 virtual int32_t CopyTo(ByteArray* array, int32_t offset, int32_t length);
114 ByteArray* array,
143 ByteArray(int32_t filled_length, int32_t storage_length, bool growable);
144 ByteArray(int32_t filled_length, int32_t storage_length);
197 typedef Ptr<ByteArray> ByteArrayPtr;
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/data/
DByteArrayTests.java50 private void byteArrayTester(ByteArray<? extends ByteArray<?>> ba) throws Exception { in byteArrayTester()
55 private void copyTest(ByteArray<? extends ByteArray<?>> ba) throws Exception { in copyTest()
68 ByteArray<? extends ByteArray<?>> ba1, ByteArray<? extends ByteArray<?>> ba2) in readComparison()
102 ByteArray<? extends ByteArray<?>> ba, byte[] buffer) { in readByteArrayWithBuffer()
115 ByteArray<? extends ByteArray<?>> ba, int windowSize) { in readByteArrayWithSlidingWindow()
127 private static ByteArray<? extends ByteArray<?>> fillTestByteArray( in fillTestByteArray()
128 ByteArray<? extends ByteArray<?>> ba, int size) { in fillTestByteArray()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
DByteArray.java30 abstract class ByteArray<T extends ByteArray<T>> { class
47 protected ByteArray(int filledLength, int storageLength, boolean growable) { in ByteArray() method in ByteArray
59 protected ByteArray(int filledLength, int storageLength) { in ByteArray() method in ByteArray
201 public int copyTo(ByteArray<? extends ByteArray<?>> array) { in copyTo()
214 copyTo(ByteArray<? extends ByteArray<?>> array, int offset, int length) { in copyTo()
228 int dstOffset, ByteArray<? extends ByteArray<?>> array, int srcOffset, int length) { in copyTo()
DFontData.java63 protected final ByteArray<? extends ByteArray<?>> array;
78 protected FontData(ByteArray<? extends ByteArray<?>> ba) { in FontData()
DWritableFontData.java41 ByteArray<?> ba = null; in createWritableFontData()
61 ByteArray<?> ba = new MemoryByteArray(b); in createWritableFontData()
74 ByteArray<?> ba = null; in createWritableFontData()
93 private WritableFontData(ByteArray<? extends ByteArray<?>> array) { in WritableFontData()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dtest_utils.h43 static bool Equals(ByteArray* b1,
45 ByteArray* b2,
55 static bool Equals(ByteArray* b1,
57 ByteArray* b2,
84 static int64_t CheckSum(ByteArray* b, int32_t offset, int32_t length);
Dbyte_array_test.cc29 void FillTestByteArray(ByteArray* ba, int32_t size) { in FillTestByteArray()
35 void ReadByteArrayWithBuffer(ByteArray* ba, ByteVector* buffer, ByteVector* b) { in ReadByteArrayWithBuffer()
46 void ReadByteArrayWithSlidingWindow(ByteArray* ba, int window_size, in ReadByteArrayWithSlidingWindow()
59 bool ReadComparison(ByteArray* ba1, ByteArray* ba2) { in ReadComparison()
93 bool CopyTest(ByteArray* ba) { in CopyTest()
107 bool ByteArrayTester(ByteArray* ba) { in ByteArrayTester()
143 TEST(ByteArray, All) { in TEST() argument
/third_party/node/deps/v8/src/objects/
Dfixed-array-inl.h36 TQ_OBJECT_CONSTRUCTORS_IMPL(ByteArray) in TQ_OBJECT_CONSTRUCTORS_IMPL()
37 ByteArray::ByteArray(Address ptr, HeapObject::AllowInlineSmiStorage allow_smi) in TQ_OBJECT_CONSTRUCTORS_IMPL()
561 int ByteArray::Size() { return RoundUp(length() + kHeaderSize, kTaggedSize); } in Size()
563 byte ByteArray::get(int index) const { in get()
569 void ByteArray::set(int index, byte value) { in set()
575 void ByteArray::copy_in(int index, const byte* buffer, int slice_length) { in copy_in()
584 void ByteArray::copy_out(int index, byte* buffer, int slice_length) { in copy_out()
593 int ByteArray::get_int(int index) const { in get_int()
599 void ByteArray::set_int(int index, int value) { in set_int()
605 uint32_t ByteArray::get_uint32(int index) const { in get_uint32()
[all …]
Dcode.h26 class ByteArray; variable
154 DECL_GETTER(source_position_table, ByteArray)
155 DECL_GETTER(bytecode_offset_table, ByteArray)
375 DECL_ACCESSORS(relocation_info, ByteArray)
389 DECL_ACCESSORS(source_position_table, ByteArray)
392 DECL_ACCESSORS(bytecode_offset_table, ByteArray)
396 inline ByteArray SourcePositionTable(SharedFunctionInfo sfi) const;
407 inline ByteArray unchecked_relocation_info() const;
540 void CopyFromNoFlush(ByteArray reloc_info, Heap* heap, const CodeDesc& desc);
541 void RelocateFromDesc(ByteArray reloc_info, Heap* heap, const CodeDesc& desc);
[all …]
Dfixed-array.h518 class ByteArray : public TorqueGeneratedByteArray<ByteArray, FixedArrayBase> {
568 static inline ByteArray FromDataStartAddress(Address address);
572 DECL_PRINTER(ByteArray)
585 TQ_OBJECT_CONSTRUCTORS(ByteArray)
586 inline ByteArray(Address ptr, HeapObject::AllowInlineSmiStorage allow_smi);
592 class PodArray : public ByteArray {
598 ByteArray::copy_out(index * sizeof(T), reinterpret_cast<byte*>(result), in copy_out()
603 ByteArray::copy_in(index * sizeof(T), reinterpret_cast<const byte*>(buffer), in copy_in()
630 OBJECT_CONSTRUCTORS(PodArray<T>, ByteArray);
Dcode.tq19 handler_table: ByteArray;
24 // * ByteArray (when source positions have been collected for the bytecode)
29 source_position_table: Undefined|ByteArray|Exception;
Dcode-inl.h66 ByteArray AbstractCode::SourcePositionTableInternal() { in SourcePositionTableInternal()
75 ByteArray AbstractCode::SourcePositionTable(SharedFunctionInfo sfi) { in SourcePositionTable()
200 CODE_ACCESSORS(relocation_info, ByteArray, kRelocationInfoOffset)
213 CODE_ACCESSORS_CHECKED2(source_position_table, ByteArray, kPositionTableOffset,
217 CODE_ACCESSORS_CHECKED2(bytecode_offset_table, ByteArray, kPositionTableOffset,
359 ByteArray Code::SourcePositionTable(SharedFunctionInfo sfi) const { in SourcePositionTable()
495 ByteArray Code::unchecked_relocation_info() const { in unchecked_relocation_info()
497 return ByteArray::unchecked_cast( in unchecked_relocation_info()
527 void Code::CopyRelocInfoToByteArray(ByteArray dest, const CodeDesc& desc) { in CopyRelocInfoToByteArray()
551 ByteArray::cast(bytecode_offset_table()), bytecodes); in GetBytecodeOffsetForBaselinePC()
[all …]
/third_party/node/deps/v8/src/codegen/
Dsource-position-table.h19 class ByteArray; variable
59 Handle<ByteArray> ToSourcePositionTable(IsolateT* isolate);
103 Handle<ByteArray> byte_array,
111 ByteArray byte_array, IterationFilter iteration_filter = kJavaScriptOnly,
156 Handle<ByteArray> table_;
Dsource-position-table.cc121 base::Vector<const byte> VectorFromByteArray(ByteArray byte_array) { in VectorFromByteArray()
174 Handle<ByteArray> SourcePositionTableBuilder::ToSourcePositionTable( in ToSourcePositionTable()
179 Handle<ByteArray> table = isolate->factory()->NewByteArray( in ToSourcePositionTable()
197 Handle<ByteArray> SourcePositionTableBuilder::ToSourcePositionTable(
200 Handle<ByteArray> SourcePositionTableBuilder::ToSourcePositionTable(
232 ByteArray byte_array, IterationFilter iteration_filter, in SourcePositionTableIterator()
241 Handle<ByteArray> byte_array, IterationFilter iteration_filter, in SourcePositionTableIterator()
/third_party/node/deps/v8/src/interpreter/
Dhandler-table-builder.cc19 Handle<ByteArray> HandlerTableBuilder::ToHandlerTable(IsolateT* isolate) { in ToHandlerTable()
21 Handle<ByteArray> table_byte_array = isolate->factory()->NewByteArray( in ToHandlerTable()
35 template Handle<ByteArray> HandlerTableBuilder::ToHandlerTable(
37 template Handle<ByteArray> HandlerTableBuilder::ToHandlerTable(
/third_party/node/deps/v8/src/baseline/
Dbytecode-offset-iterator.h23 explicit BytecodeOffsetIterator(Handle<ByteArray> mapping_table,
26 explicit BytecodeOffsetIterator(ByteArray mapping_table,
81 Handle<ByteArray> mapping_table_;
/third_party/node/deps/v8/src/regexp/experimental/
Dexperimental.cc49 Handle<ByteArray> VectorToByteArray(Isolate* isolate, base::Vector<T> data) { in VectorToByteArray()
53 Handle<ByteArray> byte_array = isolate->factory()->NewByteArray(byte_length); in VectorToByteArray()
62 Handle<ByteArray> bytecode;
126 base::Vector<RegExpInstruction> AsInstructionSequence(ByteArray raw_bytes) { in AsInstructionSequence()
137 ByteArray bytecode, String subject, int capture_count, in ExecRawImpl()
177 ByteArray bytecode = ByteArray::cast(regexp.bytecode(kIsLatin1)); in ExecRaw()
Dexperimental-interpreter.h14 class ByteArray; variable
27 ByteArray bytecode, int capture_count, String input,
/third_party/node/deps/v8/src/regexp/
Dregexp-macro-assembler.cc132 bool Equals(const ZoneList<CharacterRange>* lhs, const Handle<ByteArray>& rhs) { in Equals()
145 Handle<ByteArray> MakeRangeArray(Isolate* isolate, in MakeRangeArray()
150 Handle<ByteArray> range_array = in MakeRangeArray()
169 Handle<ByteArray> NativeRegExpMacroAssembler::GetOrAddRangeArray( in GetOrAddRangeArray()
174 Handle<ByteArray> range_array = range_array_cache_[hash]; in GetOrAddRangeArray()
178 Handle<ByteArray> range_array = MakeRangeArray(isolate(), ranges); in GetOrAddRangeArray()
192 ByteArray ranges = ByteArray::cast(Object(raw_byte_array)); in IsCharacterInRangeArray()
Dregexp-bytecode-peephole.h14 class ByteArray; variable
23 static Handle<ByteArray> OptimizeBytecode(
/third_party/skia/third_party/externals/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/
DDrumPlayer.kt92 var dataBytes: ByteArray = ByteArray(dataLen) in loadWavAsset()
108 wavBytes: ByteArray, index: Int, pan: Float, channels: Int) : Boolean
/third_party/node/deps/v8/src/diagnostics/
Dbasic-block-profiler.cc82 ByteArray counts(js_heap_data.counts()); in CopyFromJSHeap()
86 ByteArray block_ids(js_heap_data.block_ids()); in CopyFromJSHeap()
100 Handle<ByteArray> block_ids = isolate->factory()->NewByteArray( in CopyToJSHeap()
111 Handle<ByteArray> counts = isolate->factory()->NewByteArray( in CopyToJSHeap()
132 Handle<ByteArray> counts( in ResetCounts()

1234567