Home
last modified time | relevance | path

Searched refs:GetBytes (Results 1 – 25 of 77) sorted by relevance

1234

/external/lldb/source/Core/
DUUID.cpp64 UUID::GetBytes() const in GetBytes() function in lldb_private::UUID
76 const uint8_t *u = (const uint8_t *)GetBytes(); in GetAsString()
99 const uint8_t *u = (const uint8_t *)GetBytes(); in Dump()
248 return ::memcmp (lhs.GetBytes(), rhs.GetBytes(), sizeof (lldb_private::UUID::ValueType)) == 0; in operator ==()
254 return ::memcmp (lhs.GetBytes(), rhs.GetBytes(), sizeof (lldb_private::UUID::ValueType)) != 0; in operator !=()
260 return ::memcmp (lhs.GetBytes(), rhs.GetBytes(), sizeof (lldb_private::UUID::ValueType)) < 0; in operator <()
266 return ::memcmp (lhs.GetBytes(), rhs.GetBytes(), sizeof (lldb_private::UUID::ValueType)) <= 0; in operator <=()
272 return ::memcmp (lhs.GetBytes(), rhs.GetBytes(), sizeof (lldb_private::UUID::ValueType)) > 0; in operator >()
278 return ::memcmp (lhs.GetBytes(), rhs.GetBytes(), sizeof (lldb_private::UUID::ValueType)) >= 0; in operator >=()
DValue.cpp67 m_value = (uintptr_t)m_data_buffer.GetBytes(); in Value()
79 … if ((uintptr_t)v.m_value.ULongLong(LLDB_INVALID_ADDRESS) == (uintptr_t)v.m_data_buffer.GetBytes()) in Value()
81 m_data_buffer.CopyData(v.m_data_buffer.GetBytes(), in Value()
84 m_value = (uintptr_t)m_data_buffer.GetBytes(); in Value()
99 …((uintptr_t)rhs.m_value.ULongLong(LLDB_INVALID_ADDRESS) == (uintptr_t)rhs.m_data_buffer.GetBytes()) in operator =()
101 m_data_buffer.CopyData(rhs.m_data_buffer.GetBytes(), in operator =()
104 m_value = (uintptr_t)m_data_buffer.GetBytes(); in operator =()
162 m_value = (uintptr_t)m_data_buffer.GetBytes(); in ResizeData()
308 … data.SetData(m_data_buffer.GetBytes(), m_data_buffer.GetByteSize(), data.GetByteOrder()); in GetData()
651 if ((uintptr_t)addr != (uintptr_t)m_data_buffer.GetBytes()) in ResolveValue()
[all …]
DDataBufferHeap.cpp56 DataBufferHeap::GetBytes () in GetBytes() function in DataBufferHeap
68 DataBufferHeap::GetBytes () const in GetBytes() function in DataBufferHeap
DEvent.cpp157 EventDataBytes::GetBytes() const in GetBytes() function in EventDataBytes
194 return e->GetBytes(); in GetBytesFromEvent()
DDataBufferMemoryMap.cpp53 DataBufferMemoryMap::GetBytes() in GetBytes() function in DataBufferMemoryMap
63 DataBufferMemoryMap::GetBytes() const in GetBytes() function in DataBufferMemoryMap
/external/opencv/otherlibs/highgui/
Dgrfmt_bmp.cpp129 m_strm.GetBytes( m_palette, (clrused == 0? 1<<m_bpp : clrused)*4 ); in ReadHeader()
164 m_strm.GetBytes( buffer, clrused*3 ); in ReadHeader()
229 m_strm.GetBytes( src, src_pitch ); in ReadData()
243 m_strm.GetBytes( src, src_pitch ); in ReadData()
287 m_strm.GetBytes( src, (((code + 1)>>1) + 1) & -2 ); in ReadData()
331 m_strm.GetBytes( src, src_pitch ); in ReadData()
376 m_strm.GetBytes( src, (code + 1) & -2 ); in ReadData()
427 m_strm.GetBytes( src, src_pitch ); in ReadData()
439 m_strm.GetBytes( src, src_pitch ); in ReadData()
451 m_strm.GetBytes( color ? data : src, src_pitch ); in ReadData()
[all …]
Dgrfmt_sunras.cpp127 m_strm.GetBytes( buffer, m_maplength, &readed ); in ReadHeader()
211 m_strm.GetBytes( src, src_pitch ); in ReadData()
280 m_strm.GetBytes( src, src_pitch ); in ReadData()
358 m_strm.GetBytes( color ? data : bgr, src_pitch ); in ReadData()
379 m_strm.GetBytes( src + 3, src_pitch ); in ReadData()
/external/lldb/source/Expression/
DMaterializer.cpp337 map.ReadMemory(data.GetBytes(), load_addr, m_size, err); in DumpToLog()
345 …DataExtractor extractor (data.GetBytes(), data.GetByteSize(), map.GetByteOrder(), map.GetAddressBy… in DumpToLog()
347 … extractor.DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16, load_addr); in DumpToLog()
368 … map.ReadMemory(data.GetBytes(), target_address, m_persistent_variable_sp->GetByteSize(), err); in DumpToLog()
376 …DataExtractor extractor (data.GetBytes(), data.GetByteSize(), map.GetByteOrder(), map.GetAddressBy… in DumpToLog()
378 … extractor.DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16, target_address); in DumpToLog()
627 map.ReadMemory(data.GetBytes(), load_addr, m_size, err); in DumpToLog()
635 …DataExtractor extractor (data.GetBytes(), data.GetByteSize(), map.GetByteOrder(), map.GetAddressBy… in DumpToLog()
637 … extractor.DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16, load_addr); in DumpToLog()
664 … map.ReadMemory(data.GetBytes(), m_temporary_allocation, m_temporary_allocation_size, err); in DumpToLog()
[all …]
DIRMemoryMap.cpp223 memset(m_data.GetBytes(), 0, size); in Allocation()
229 memset(m_data.GetBytes(), 0, size); in Allocation()
464 ::memcpy (allocation.m_data.GetBytes() + offset, bytes, size); in WriteMemory()
473 ::memcpy (allocation.m_data.GetBytes() + offset, bytes, size); in WriteMemory()
594 ::memcpy (bytes, allocation.m_data.GetBytes() + offset, size); in ReadMemory()
612 ::memcpy (bytes, allocation.m_data.GetBytes() + offset, size); in ReadMemory()
645 ReadMemory(buf.GetBytes(), process_address, size, error); in ReadScalarFromMemory()
650 … DataExtractor extractor(buf.GetBytes(), buf.GetByteSize(), GetByteOrder(), GetAddressByteSize()); in ReadScalarFromMemory()
730 …process_sp->ReadMemory(allocation.m_process_start, allocation.m_data.GetBytes(), allocation.m_data… in GetMemoryData()
734 …extractor = DataExtractor(allocation.m_data.GetBytes() + offset, size, GetByteOrder(), GetAddressB… in GetMemoryData()
[all …]
DIRInterpreter.cpp203 … if (!cast_scalar.GetAsMemoryData(buf.GetBytes(), buf.GetByteSize(), m_byte_order, get_data_error)) in AssignValue()
208 m_memory_map.WriteMemory(process_address, buf.GetBytes(), buf.GetByteSize(), write_error); in AssignValue()
369 m_memory_map.ReadMemory(buf.GetBytes(), addr, length, read_error); in PrintData()
379 ss.Printf("%02hhx - ", buf.GetBytes()[i]); in PrintData()
381 ss.Printf("%02hhx ", buf.GetBytes()[i]); in PrintData()
1236 memory_map.ReadMemory(buffer.GetBytes(), R, buffer.GetByteSize(), read_error); in Interpret()
1247 memory_map.WriteMemory(D, buffer.GetBytes(), buffer.GetByteSize(), write_error); in Interpret()
1336 memory_map.ReadMemory(buffer.GetBytes(), D, buffer.GetByteSize(), read_error); in Interpret()
1347 memory_map.WriteMemory(R, buffer.GetBytes(), buffer.GetByteSize(), write_error); in Interpret()
/external/boringssl/src/crypto/cipher/
Dcipher_test.cc205 if (!t->GetBytes(&key, "Key") || in TestCipher()
206 !t->GetBytes(&plaintext, "Plaintext") || in TestCipher()
207 !t->GetBytes(&ciphertext, "Ciphertext")) { in TestCipher()
211 !t->GetBytes(&iv, "IV")) { in TestCipher()
215 if (!t->GetBytes(&aad, "AAD") || in TestCipher()
216 !t->GetBytes(&tag, "Tag")) { in TestCipher()
Daead_test.cc54 if (!t->GetBytes(&key, "KEY") || in TestAEAD()
55 !t->GetBytes(&nonce, "NONCE") || in TestAEAD()
56 !t->GetBytes(&in, "IN") || in TestAEAD()
57 !t->GetBytes(&ad, "AD") || in TestAEAD()
58 !t->GetBytes(&ct, "CT") || in TestAEAD()
59 !t->GetBytes(&tag, "TAG")) { in TestAEAD()
/external/lldb/source/Host/linux/
DHost.cpp83 ssize_t status = read (fd, buf_ap->GetBytes() + bytes_read, avail); in ReadProcPseudoFile()
118 const char *filename_end = strrchr ((const char *)buf_sp->GetBytes(), ')'); in ReadProcPseudoFileStat()
170 char *buf_uid = strstr ((char *)buf_sp->GetBytes(), uid_token); in GetLinuxProcessUserAndGroup()
180 char *buf_gid = strstr ((char *)buf_sp->GetBytes(), gid_token); in GetLinuxProcessUserAndGroup()
190 char *buf_tracerpid = strstr((char *)buf_sp->GetBytes(), tracerpid_token); in GetLinuxProcessUserAndGroup()
396 char *next_var = (char *)buf_sp->GetBytes(); in GetProcessAndStatInfo()
408 char *cmd = (char *)buf_sp->GetBytes(); in GetProcessAndStatInfo()
459 const char *comm_str = (const char *)buf_sp->GetBytes(); in GetThreadName()
/external/boringssl/src/crypto/evp/
Devp_test.cc134 if (!t->GetBytes(&key, "Key") || in TestHMAC()
135 !t->GetBytes(&input, "Input") || in TestHMAC()
136 !t->GetBytes(&output, "Output")) { in TestHMAC()
199 if (!t->GetBytes(&input, "Input") || in TestEVP()
200 !t->GetBytes(&output, "Output")) { in TestEVP()
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCRuntimeV1.cpp273 …size_t count = process_sp->ReadCStringFromMemory(name_ptr, (char*)buffer_sp->GetBytes(), 1024, err… in Initialize()
282 m_name = ConstString((char*)buffer_sp->GetBytes()); in Initialize()
392 if (process->ReadMemory(hash_table_ptr, buffer.GetBytes(), 20, error) == 20) in UpdateISAToDescriptorMapIfNeeded()
396 DataExtractor data (buffer.GetBytes(), buffer.GetByteSize(), byte_order, addr_size); in UpdateISAToDescriptorMapIfNeeded()
408 … if (process->ReadMemory(buckets_ptr, buffer.GetBytes(), data_size, error) == data_size) in UpdateISAToDescriptorMapIfNeeded()
410 data.SetData(buffer.GetBytes(), buffer.GetByteSize(), byte_order); in UpdateISAToDescriptorMapIfNeeded()
DAppleObjCRuntimeV2.cpp1077 process->ReadMemory(addr, objc_class_buf.GetBytes(), objc_class_size, error); in Read()
1083 …DataExtractor extractor(objc_class_buf.GetBytes(), objc_class_size, process->GetByteOrder(), proce… in Read()
1136 process->ReadMemory(addr, buffer.GetBytes(), size, error); in Read()
1142 …DataExtractor extractor(buffer.GetBytes(), size, process->GetByteOrder(), process->GetAddressByteS… in Read()
1163 …process->ReadCStringFromMemory(m_name_ptr, (char*)name_buf.GetBytes(), name_buf.GetByteSize(), err… in Read()
1170 m_name.assign((char*)name_buf.GetBytes()); in Read()
1207 process->ReadMemory(addr, buffer.GetBytes(), size, error); in Read()
1213 …DataExtractor extractor(buffer.GetBytes(), size, process->GetByteOrder(), process->GetAddressByteS… in Read()
1243 process->ReadMemory(addr, buffer.GetBytes(), size, error); in Read()
1249 …DataExtractor extractor(buffer.GetBytes(), size, process->GetByteOrder(), process->GetAddressByteS… in Read()
[all …]
/external/lldb/include/lldb/Core/
DDataBuffer.h69 GetBytes () = 0;
79 GetBytes () const = 0;
DDataBufferHeap.h79 GetBytes ();
85 GetBytes () const;
DDataBufferMemoryMap.h62 GetBytes ();
68 GetBytes () const;
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DANTLRxxxxStreamFixture.cs67 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); in TestANTLRInputStreamConstructorDoesNotHang()
86 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); in TestSizeOnANTLRInputStream()
97 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); in TestConsumeAndIndexOnANTLRInputStream()
120 byte[] grammarStrBuffer = encoding.GetBytes(grammarStr); in TestConsumeAllCharactersInAnANTLRInputStream()
136 byte[] buffer = encoding.GetBytes("One\r\nTwo"); in TestConsumeOnANTLRInputStream()
199 byte[] buffer = encoding.GetBytes("One\r\nTwo"); in TestResetOnANTLRInputStream()
237 byte[] buffer = encoding.GetBytes("One\r\nTwo\r\nThree"); in TestSubstringOnANTLRInputStream()
257 byte[] buffer = encoding.GetBytes("One\r\nTwo\r\nThree"); in TestSeekOnANTLRInputStream()
/external/boringssl/src/crypto/hmac/
Dhmac_test.cc101 if (!t->GetBytes(&key, "Key") || in TestHMAC()
102 !t->GetBytes(&input, "Input") || in TestHMAC()
103 !t->GetBytes(&output, "Output")) { in TestHMAC()
/external/zlib/src/contrib/dotzlib/DotZLib/
DChecksumImpl.cs84 Update(Encoding.UTF8.GetBytes(data)); in Update()
94 Update(encoding.GetBytes(data)); in Update()
/external/lldb/source/Plugins/Process/Utility/
DRegisterContextMemory.cpp142 …if (process_sp->ReadMemory(m_reg_data_addr, data_sp->GetBytes(), data_sp->GetByteSize(), error) ==… in ReadAllRegisterValues()
162 …if (process_sp->WriteMemory(m_reg_data_addr, data_sp->GetBytes(), data_sp->GetByteSize(), error) =… in WriteAllRegisterValues()
/external/llvm/include/llvm/Support/
DDataStream.h28 virtual size_t GetBytes(unsigned char *buf, size_t len) = 0;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DDebugEventSocketProxy.cs110 … socket.Send( encoding.GetBytes( "ANTLR " + DebugEventListenerConstants.ProtocolVersion + "\n" ) ); in Handshake()
111 socket.Send( encoding.GetBytes( "grammar \"" + grammarFileName + "\n" ) ); in Handshake()
164 socket.Send( new System.Text.UTF8Encoding().GetBytes( @event + "\n" ) ); in Transmit()

1234