Home
last modified time | relevance | path

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

1234567

/external/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;
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mc/
DDisassembler.cpp101 static bool ByteArrayFromString(ByteArrayTy &ByteArray, in ByteArrayFromString() argument
120 ByteArray.first.clear(); in ByteArrayFromString()
121 ByteArray.second.clear(); in ByteArrayFromString()
125 ByteArray.first.push_back(ByteVal); in ByteArrayFromString()
126 ByteArray.second.push_back(Value.data()); in ByteArrayFromString()
169 ByteArrayTy ByteArray; in disassemble() local
174 ByteArray.first.clear(); in disassemble()
175 ByteArray.second.clear(); in disassemble()
198 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM); in disassemble()
200 if (!ByteArray.first.empty()) in disassemble()
[all …]
/external/llvm/tools/llvm-mc/
DDisassembler.cpp101 static bool ByteArrayFromString(ByteArrayTy &ByteArray, in ByteArrayFromString() argument
120 ByteArray.first.clear(); in ByteArrayFromString()
121 ByteArray.second.clear(); in ByteArrayFromString()
125 ByteArray.first.push_back(ByteVal); in ByteArrayFromString()
126 ByteArray.second.push_back(Value.data()); in ByteArrayFromString()
169 ByteArrayTy ByteArray; in disassemble() local
174 ByteArray.first.clear(); in disassemble()
175 ByteArray.second.clear(); in disassemble()
198 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM); in disassemble()
200 if (!ByteArray.first.empty()) in disassemble()
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DAbstractSessionContext.java45 private final Map<ByteArray, NativeSslSession> sessions =
46 new LinkedHashMap<ByteArray, NativeSslSession>() {
49 Map.Entry<ByteArray, NativeSslSession> eldest) {
122 ByteArray key = new ByteArray(sessionId); in getSession()
209 ByteArray key = new ByteArray(id); in cacheSession()
231 ByteArray key = new ByteArray(id); in removeSession()
249 session = sessions.get(new ByteArray(sessionId)); in getSessionFromCache()
DByteArray.java24 final class ByteArray { class
28 ByteArray(byte[] bytes) { in ByteArray() method in ByteArray
40 if (!(o instanceof ByteArray)) { in equals()
43 ByteArray lhs = (ByteArray) o; in equals()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DAbstractSessionContext.java46 private final Map<ByteArray, NativeSslSession> sessions =
47 new LinkedHashMap<ByteArray, NativeSslSession>() {
50 Map.Entry<ByteArray, NativeSslSession> eldest) {
123 ByteArray key = new ByteArray(sessionId); in getSession()
210 ByteArray key = new ByteArray(id); in cacheSession()
232 ByteArray key = new ByteArray(id); in removeSession()
250 session = sessions.get(new ByteArray(sessionId)); in getSessionFromCache()
DByteArray.java25 final class ByteArray { class
29 ByteArray(byte[] bytes) { in ByteArray() method in ByteArray
41 if (!(o instanceof ByteArray)) { in equals()
44 ByteArray lhs = (ByteArray) o; in equals()
/external/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
/external/v8/src/objects/
Dfixed-array-inl.h39 TQ_OBJECT_CONSTRUCTORS_IMPL(ByteArray) in TQ_OBJECT_CONSTRUCTORS_IMPL()
40 ByteArray::ByteArray(Address ptr, HeapObject::AllowInlineSmiStorage allow_smi) in TQ_OBJECT_CONSTRUCTORS_IMPL()
517 int ByteArray::Size() { return RoundUp(length() + kHeaderSize, kTaggedSize); } in Size()
519 byte ByteArray::get(int index) const { in get()
524 void ByteArray::set(int index, byte value) { in set()
529 void ByteArray::copy_in(int index, const byte* buffer, int length) { in copy_in()
536 void ByteArray::copy_out(int index, byte* buffer, int length) { in copy_out()
543 int ByteArray::get_int(int index) const { in get_int()
548 void ByteArray::set_int(int index, int value) { in set_int()
553 uint32_t ByteArray::get_uint32(int index) const { in get_uint32()
[all …]
Dfixed-array.h483 class ByteArray : public TorqueGeneratedByteArray<ByteArray, FixedArrayBase> {
530 static inline ByteArray FromDataStartAddress(Address address);
534 DECL_PRINTER(ByteArray)
547 TQ_OBJECT_CONSTRUCTORS(ByteArray)
548 inline ByteArray(Address ptr, HeapObject::AllowInlineSmiStorage allow_smi);
554 class PodArray : public ByteArray {
560 ByteArray::copy_out(index * sizeof(T), reinterpret_cast<byte*>(result), in copy_out()
565 ByteArray::copy_in(index * sizeof(T), reinterpret_cast<const byte*>(buffer), in copy_in()
585 OBJECT_CONSTRUCTORS(PodArray<T>, ByteArray);
Dcode.h23 class ByteArray; variable
214 DECL_ACCESSORS(relocation_info, ByteArray)
227 inline ByteArray SourcePositionTable() const;
238 inline ByteArray unchecked_relocation_info() const;
374 static inline void CopyRelocInfoToByteArray(ByteArray dest,
570 inline ByteArray source_position_table();
766 DECL_ACCESSORS(handler_table, ByteArray)
782 inline ByteArray SourcePositionTable() const;
867 DECL_ELEMENT_ACCESSORS(TranslationByteArray, ByteArray)
Dcode-inl.h58 ByteArray AbstractCode::source_position_table() { in source_position_table()
178 CODE_ACCESSORS(relocation_info, ByteArray, kRelocationInfoOffset) in OBJECT_CONSTRUCTORS_IMPL()
207 ByteArray Code::SourcePositionTable() const { in SourcePositionTable()
209 if (maybe_table.IsByteArray()) return ByteArray::cast(maybe_table); in SourcePositionTable()
287 ByteArray Code::unchecked_relocation_info() const { in unchecked_relocation_info()
289 return ByteArray::unchecked_cast( in unchecked_relocation_info()
318 void Code::CopyRelocInfoToByteArray(ByteArray dest, const CodeDesc& desc) { in CopyRelocInfoToByteArray()
715 ACCESSORS(BytecodeArray, handler_table, ByteArray, kHandlerTableOffset) in ACCESSORS()
742 ByteArray BytecodeArray::SourcePositionTable() const { in SourcePositionTable()
746 if (maybe_table.IsByteArray()) return ByteArray::cast(maybe_table); in SourcePositionTable()
[all …]
Dcode.tq10 handler_table: ByteArray;
11 source_position_table: Undefined|ByteArray|Exception;
/external/v8/src/codegen/
Dsource-position-table.h19 class ByteArray; variable
59 Handle<ByteArray> ToSourcePositionTable(LocalIsolate* isolate);
103 Handle<ByteArray> byte_array,
111 ByteArray byte_array, IterationFilter iteration_filter = kJavaScriptOnly,
156 Handle<ByteArray> table_;
Dsource-position-table.cc112 Vector<const byte> VectorFromByteArray(ByteArray byte_array) { in VectorFromByteArray()
165 Handle<ByteArray> SourcePositionTableBuilder::ToSourcePositionTable( in ToSourcePositionTable()
170 Handle<ByteArray> table = isolate->factory()->NewByteArray( in ToSourcePositionTable()
188 Handle<ByteArray> SourcePositionTableBuilder::ToSourcePositionTable(
191 Handle<ByteArray> SourcePositionTableBuilder::ToSourcePositionTable(
222 ByteArray byte_array, IterationFilter iteration_filter, in SourcePositionTableIterator()
231 Handle<ByteArray> byte_array, IterationFilter iteration_filter, in SourcePositionTableIterator()
/external/v8/src/interpreter/
Dhandler-table-builder.cc19 Handle<ByteArray> HandlerTableBuilder::ToHandlerTable(LocalIsolate* 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(
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DCancelledAwaitStressTest.kt22 val a = ByteArray(10000000) // allocate 10M of memory here in <lambda>()
42 val a = ByteArray(10000000) // allocate 10M of memory here in <lambda>()
52 private fun keepMe(a: ByteArray) { in keepMe()
/external/v8/src/diagnostics/
Dbasic-block-profiler.cc71 Handle<ByteArray> counts(js_heap_data->counts(), isolate); in BasicBlockProfilerData()
75 Handle<ByteArray> block_ids(js_heap_data->block_ids(), isolate); in BasicBlockProfilerData()
88 ByteArray counts(js_heap_data.counts()); in BasicBlockProfilerData()
92 ByteArray block_ids(js_heap_data.block_ids()); in BasicBlockProfilerData()
105 Handle<ByteArray> block_ids = isolate->factory()->NewByteArray( in CopyToJSHeap()
110 Handle<ByteArray> counts = isolate->factory()->NewByteArray( in CopyToJSHeap()
131 Handle<ByteArray> counts( in ResetCounts()
/external/v8/src/regexp/experimental/
Dexperimental.cc48 Handle<ByteArray> VectorToByteArray(Isolate* isolate, Vector<T> data) { in VectorToByteArray()
52 Handle<ByteArray> byte_array = isolate->factory()->NewByteArray(byte_length); in VectorToByteArray()
61 Handle<ByteArray> bytecode;
133 Vector<RegExpInstruction> AsInstructionSequence(ByteArray raw_bytes) { in AsInstructionSequence()
144 ByteArray bytecode, String subject, int capture_count, in ExecRawImpl()
181 ByteArray bytecode = in ExecRaw()
182 ByteArray::cast(regexp.DataAt(JSRegExp::kIrregexpLatin1BytecodeIndex)); in ExecRaw()
/external/v8/src/regexp/
Dregexp-bytecode-peephole.h14 class ByteArray; variable
23 static Handle<ByteArray> OptimizeBytecode(
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp203 GlobalVariable *ByteArray; member
322 BAI->ByteArray = ByteArrayGlobal; in createByteArray()
347 auto ByteArray = in allocateByteArrays() local
357 ByteArrayConst->getType(), ByteArray, Idxs); in allocateByteArrays()
363 BAI->ByteArray->replaceAllUsesWith(GEP); in allocateByteArrays()
367 BAI->ByteArray->replaceAllUsesWith(Alias); in allocateByteArrays()
369 BAI->ByteArray->eraseFromParent(); in allocateByteArrays()
402 Constant *ByteArray = BAI->ByteArray; in createBitSetTest() local
403 Type *Ty = BAI->ByteArray->getValueType(); in createBitSetTest()
408 ByteArray = GlobalAlias::create(BAI->ByteArray->getValueType(), 0, in createBitSetTest()
[all …]

1234567