/external/sfntly/cpp/src/sfntly/data/ |
D | byte_array.cc | 25 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 …]
|
D | growable_memory_byte_array.h | 26 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()
|
D | memory_byte_array.h | 24 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()
|
D | byte_array.h | 30 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/ |
D | Disassembler.cpp | 101 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/ |
D | Disassembler.cpp | 101 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/ |
D | AbstractSessionContext.java | 45 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()
|
D | ByteArray.java | 24 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/ |
D | AbstractSessionContext.java | 46 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()
|
D | ByteArray.java | 25 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/ |
D | test_utils.h | 43 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);
|
D | byte_array_test.cc | 29 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/ |
D | fixed-array-inl.h | 39 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 …]
|
D | fixed-array.h | 483 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);
|
D | code.h | 23 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)
|
D | code-inl.h | 58 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 …]
|
D | code.tq | 10 handler_table: ByteArray; 11 source_position_table: Undefined|ByteArray|Exception;
|
/external/v8/src/codegen/ |
D | source-position-table.h | 19 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_;
|
D | source-position-table.cc | 112 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/ |
D | handler-table-builder.cc | 19 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/ |
D | CancelledAwaitStressTest.kt | 22 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/ |
D | basic-block-profiler.cc | 71 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/ |
D | experimental.cc | 48 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/ |
D | regexp-bytecode-peephole.h | 14 class ByteArray; variable 23 static Handle<ByteArray> OptimizeBytecode(
|
/external/llvm/lib/Transforms/IPO/ |
D | LowerTypeTests.cpp | 203 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 …]
|