Home
last modified time | relevance | path

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

12345

/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::Length() { return filled_length_; } in Length()
30 int32_t ByteArray::Size() { return storage_length_; } in Size()
32 int32_t ByteArray::SetFilledLength(int32_t filled_length) { in SetFilledLength()
37 int32_t ByteArray::Get(int32_t index) { in Get()
43 int32_t ByteArray::Get(int32_t index, ByteVector* b) { in Get()
48 int32_t ByteArray::Get(int32_t index, in Get()
60 void ByteArray::Put(int32_t index, byte_t b) { in Put()
73 int32_t ByteArray::Put(int index, ByteVector* b) { in Put()
[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;
Dfont_data.h82 explicit FontData(ByteArray* ba);
96 void Init(ByteArray* ba);
Dmemory_byte_array.cc24 : ByteArray(0, length), b_(NULL), allocated_(true) { in MemoryByteArray()
28 : ByteArray(filled_length, filled_length), b_(b), allocated_(false) { in MemoryByteArray()
/external/swiftshader/third_party/LLVM/tools/llvm-mc/
DDisassembler.cpp95 static bool ByteArrayFromString(ByteArrayTy &ByteArray, in ByteArrayFromString() argument
131 ByteArray.clear(); in ByteArrayFromString()
135 ByteArray.push_back(std::make_pair((unsigned char)ByteVal, Value.data())); in ByteArrayFromString()
182 ByteArrayTy ByteArray; in disassemble() local
185 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM); in disassemble()
187 if (!ByteArray.empty()) in disassemble()
188 ErrorOccurred |= PrintInsts(*DisAsm, *IP, ByteArray, SM, Out); in disassemble()
194 ByteArrayTy &ByteArray = *((ByteArrayTy*)Arg); in byteArrayReader() local
196 if (A >= ByteArray.size()) in byteArrayReader()
199 *B = ByteArray[A].first; in byteArrayReader()
[all …]
/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/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/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/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/
Dsource-position-table.h17 class ByteArray; variable
44 Handle<ByteArray> ToSourcePositionTable(Isolate* isolate);
73 explicit SourcePositionTableIterator(Handle<ByteArray> byte_array);
78 explicit SourcePositionTableIterator(ByteArray* byte_array);
111 Handle<ByteArray> table_;
Dsource-position-table.cc109 Vector<const byte> VectorFromByteArray(ByteArray* byte_array) { in VectorFromByteArray()
155 Handle<ByteArray> SourcePositionTableBuilder::ToSourcePositionTable( in ToSourcePositionTable()
160 Handle<ByteArray> table = isolate->factory()->NewByteArray( in ToSourcePositionTable()
192 SourcePositionTableIterator::SourcePositionTableIterator(ByteArray* byte_array) in SourcePositionTableIterator()
198 Handle<ByteArray> byte_array) in SourcePositionTableIterator()
/external/v8/src/objects/
Dfixed-array-inl.h21 CAST_ACCESSOR(ByteArray) in CAST_ACCESSOR() argument
326 int ByteArray::Size() { return RoundUp(length() + kHeaderSize, kPointerSize); } in Size()
328 byte ByteArray::get(int index) const { in get()
333 void ByteArray::set(int index, byte value) { in set()
338 void ByteArray::copy_in(int index, const byte* buffer, int length) { in copy_in()
345 void ByteArray::copy_out(int index, byte* buffer, int length) { in copy_out()
352 int ByteArray::get_int(int index) const { in get_int()
357 void ByteArray::set_int(int index, int value) { in set_int()
362 uint32_t ByteArray::get_uint32(int index) const { in get_uint32()
367 void ByteArray::set_uint32(int index, uint32_t value) { in set_uint32()
[all …]
Dcode.h18 class ByteArray; variable
78 DECL_ACCESSORS(relocation_info, ByteArray)
87 inline ByteArray* SourcePositionTable() const;
107 inline ByteArray* unchecked_relocation_info() const;
548 inline ByteArray* source_position_table();
751 DECL_ACCESSORS(handler_table, ByteArray)
757 inline ByteArray* SourcePositionTable();
851 DECL_ELEMENT_ACCESSORS(TranslationByteArray, ByteArray)
Dfixed-array.h464 class ByteArray : public FixedArrayBase {
506 static inline ByteArray* FromDataStartAddress(Address address);
508 DECL_CAST(ByteArray)
512 DECL_PRINTER(ByteArray)
513 DECL_VERIFIER(ByteArray)
528 DISALLOW_IMPLICIT_CONSTRUCTORS(ByteArray);
534 class PodArray : public ByteArray {
539 ByteArray::copy_out(index * sizeof(T), reinterpret_cast<byte*>(result), in copy_out()
Dcode-inl.h46 ByteArray* AbstractCode::source_position_table() { in source_position_table()
180 CODE_ACCESSORS(relocation_info, ByteArray, kRelocationInfoOffset) in INT_ACCESSORS()
202 ByteArray* Code::SourcePositionTable() const { in SourcePositionTable()
204 if (maybe_table->IsByteArray()) return ByteArray::cast(maybe_table); in SourcePositionTable()
301 ByteArray* Code::unchecked_relocation_info() const { in unchecked_relocation_info()
302 return reinterpret_cast<ByteArray*>(READ_FIELD(this, kRelocationInfoOffset)); in unchecked_relocation_info()
695 ACCESSORS(BytecodeArray, handler_table, ByteArray, kHandlerTableOffset) in ACCESSORS()
709 ByteArray* BytecodeArray::SourcePositionTable() { in SourcePositionTable()
711 if (maybe_table->IsByteArray()) return ByteArray::cast(maybe_table); in SourcePositionTable()
/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 …]
/external/autotest/client/site_tests/login_MultiUserPolicy/
Dlogin_MultiUserPolicy.py64 dbus.ByteArray(policy_response))
72 dbus.ByteArray(policy_response))
93 dbus.ByteArray(policy_response))
/external/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.cs184 ByteArray.Reverse(rawBytes); in WriteFloat()
602 ByteArray.Copy(value, offset, buffer, position, length); in WriteRawBytes()
611 ByteArray.Copy(value, offset, buffer, position, bytesWritten); in WriteRawBytes()
623 ByteArray.Copy(value, offset, buffer, 0, length); in WriteRawBytes()
/external/mdnsresponder/mDNSWindows/DLLX/
DTXTRecord.h148 typedef std::vector< BYTE > ByteArray; typedef
150 ByteArray m_byteArray;

12345