/external/lldb/source/Core/ |
D | DataBufferHeap.cpp | 37 DataBufferHeap::DataBufferHeap (const void *src, lldb::offset_t src_len) : in DataBufferHeap() argument 40 CopyData (src, src_len); in DataBufferHeap() 97 DataBufferHeap::CopyData (const void *src, uint64_t src_len) in CopyData() argument 100 if (src && src_len > 0) in CopyData() 101 m_data.assign (src_u8, src_u8 + src_len); in CopyData()
|
D | Event.cpp | 117 EventDataBytes::EventDataBytes (const void *src, size_t src_len) : in EventDataBytes() argument 120 SetBytes (src, src_len); in EventDataBytes() 171 EventDataBytes::SetBytes (const void *src, size_t src_len) in SetBytes() argument 173 if (src && src_len > 0) in SetBytes() 174 m_bytes.assign ((const char *)src, src_len); in SetBytes()
|
D | RegisterValue.cpp | 136 const uint32_t src_len = reg_info->byte_size; in GetAsMemoryData() local 148 src_len, // src length in GetAsMemoryData() 161 uint32_t src_len, in SetFromMemoryData() argument 187 if (src_len > kMaxRegisterByteSize) in SetFromMemoryData() 189 …or.SetErrorStringWithFormat ("register buffer is too small to receive %u bytes of data.", src_len); in SetFromMemoryData() 195 if (src_len > dst_len) in SetFromMemoryData() 197 …ringWithFormat("%u bytes is too big to store in register %s (%u bytes)", src_len, reg_info->name, … in SetFromMemoryData() 203 DataExtractor src_data (src, src_len, src_byte_order, 4); in SetFromMemoryData() 220 m_data.buffer.length = src_len; in SetFromMemoryData() 224 src_len, // src length in SetFromMemoryData() [all …]
|
D | DataEncoder.cpp | 310 DataEncoder::PutData (uint32_t offset, const void *src, uint32_t src_len) in PutData() argument 312 if (src == NULL || src_len == 0) in PutData() 315 if (ValidOffsetForDataOfSize(offset, src_len)) in PutData() 317 memcpy (m_start + offset, src, src_len); in PutData() 318 return offset + src_len; in PutData()
|
D | Stream.cpp | 666 Stream::PutRawBytes (const void *s, size_t src_len, ByteOrder src_byte_order, ByteOrder dst_byte_or… in PutRawBytes() argument 681 for (size_t i = 0; i < src_len; ++i) in PutRawBytes() 686 for (size_t i = src_len-1; i < src_len; --i) in PutRawBytes() 696 Stream::PutBytesAsRawHex8 (const void *s, size_t src_len, ByteOrder src_byte_order, ByteOrder dst_b… in PutBytesAsRawHex8() argument 710 for (size_t i = 0; i < src_len; ++i) in PutBytesAsRawHex8() 715 for (size_t i = src_len-1; i < src_len; --i) in PutBytesAsRawHex8()
|
/external/boringssl/src/crypto/base64/ |
D | base64.c | 177 size_t EVP_EncodeBlock(uint8_t *dst, const uint8_t *src, size_t src_len) { in EVP_EncodeBlock() argument 179 size_t remaining = src_len, ret = 0; in EVP_EncodeBlock() 430 int EVP_DecodeBlock(uint8_t *dst, const uint8_t *src, size_t src_len) { in EVP_DecodeBlock() argument 434 while (conv_ascii2bin(*src) == B64_WS && src_len > 0) { in EVP_DecodeBlock() 436 src_len--; in EVP_DecodeBlock() 441 while (src_len > 3 && B64_NOT_BASE64(conv_ascii2bin(src[src_len - 1]))) { in EVP_DecodeBlock() 442 src_len--; in EVP_DecodeBlock() 445 if (!EVP_DecodedLength(&dst_len, src_len) || dst_len > INT_MAX) { in EVP_DecodeBlock() 448 if (!EVP_DecodeBase64(dst, &dst_len, dst_len, src, src_len)) { in EVP_DecodeBlock()
|
/external/lldb/source/Plugins/Process/MacOSX-Kernel/ |
D | CommunicationKDP.cpp | 284 CommunicationKDP::CheckForPacket (const uint8_t *src, size_t src_len, DataExtractor &packet) in CheckForPacket() argument 291 if (src && src_len > 0) in CheckForPacket() 296 DataExtractor::DumpHexBytes (&log_strm, src, src_len, UINT32_MAX, LLDB_INVALID_ADDRESS); in CheckForPacket() 299 (uint32_t)src_len, in CheckForPacket() 302 m_bytes.append ((const char *)src, src_len); in CheckForPacket() 697 uint32_t src_len = reply_packet.GetByteSize() - 12; in SendRequestReadMemory() local 699 if (src_len > 0) in SendRequestReadMemory() 701 const void *src = reply_packet.GetData(&offset, src_len); in SendRequestReadMemory() 704 ::memcpy (dst, src, src_len); in SendRequestReadMemory() 706 return src_len; in SendRequestReadMemory() [all …]
|
/external/lldb/source/Target/ |
D | RegisterContext.cpp | 292 uint32_t src_len, in ReadRegisterValueFromMemory() argument 319 if (src_len > RegisterValue::kMaxRegisterByteSize) in ReadRegisterValueFromMemory() 327 if (src_len > dst_len) in ReadRegisterValueFromMemory() 329 …ringWithFormat("%u bytes is too big to store in register %s (%u bytes)", src_len, reg_info->name, … in ReadRegisterValueFromMemory() 339 const uint32_t bytes_read = process_sp->ReadMemory (src_addr, src, src_len, error); in ReadRegisterValueFromMemory() 342 if (bytes_read != src_len) in ReadRegisterValueFromMemory() 347 error.SetErrorStringWithFormat("read %u of %u bytes", bytes_read, src_len); in ReadRegisterValueFromMemory() 359 src_len, in ReadRegisterValueFromMemory()
|
/external/valgrind/coregrind/m_debuginfo/ |
D | minilzo.h | 87 lzo1x_1_compress ( const lzo_bytep src, lzo_uint src_len, 93 lzo1x_decompress ( const lzo_bytep src, lzo_uint src_len, 99 lzo1x_decompress_safe ( const lzo_bytep src, lzo_uint src_len,
|
D | lzoconf.h | 265 (__LZO_CDECL *lzo_compress_t) ( const lzo_bytep src, lzo_uint src_len, 270 (__LZO_CDECL *lzo_decompress_t) ( const lzo_bytep src, lzo_uint src_len, 275 (__LZO_CDECL *lzo_optimize_t) ( lzo_bytep src, lzo_uint src_len, 280 (__LZO_CDECL *lzo_compress_dict_t)(const lzo_bytep src, lzo_uint src_len, 286 (__LZO_CDECL *lzo_decompress_dict_t)(const lzo_bytep src, lzo_uint src_len,
|
/external/libvncserver/common/ |
D | minilzo.h | 86 lzo1x_1_compress ( const lzo_bytep src, lzo_uint src_len, 92 lzo1x_decompress ( const lzo_bytep src, lzo_uint src_len, 98 lzo1x_decompress_safe ( const lzo_bytep src, lzo_uint src_len,
|
D | lzoconf.h | 239 (__LZO_CDECL *lzo_compress_t) ( const lzo_bytep src, lzo_uint src_len, 244 (__LZO_CDECL *lzo_decompress_t) ( const lzo_bytep src, lzo_uint src_len, 249 (__LZO_CDECL *lzo_optimize_t) ( lzo_bytep src, lzo_uint src_len, 254 (__LZO_CDECL *lzo_compress_dict_t)(const lzo_bytep src, lzo_uint src_len, 260 (__LZO_CDECL *lzo_decompress_dict_t)(const lzo_bytep src, lzo_uint src_len,
|
/external/valgrind/none/tests/s390x/ |
D | mvcl.c | 159 run_test(void *dst, uint32_t dst_len, void *src, uint32_t src_len, uint32_t pad) in run_test() argument 163 result = mvcl(dst, dst_len, src, src_len, pad); in run_test() 175 uint32_t dst_offset, dst_len, src_offset, src_len; in main() local 267 for (src_len = 0; src_len <= sizeof buf - src_offset; ++src_len) in main() 268 run_test(buf + dst_offset, dst_len, buf + src_offset, src_len, 'x'); in main()
|
D | cu24.c | 55 do_cu24(uint32_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in do_cu24() argument 62 register uint64_t source_len asm("5") = src_len; in do_cu24() 86 run_test(uint32_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in run_test() argument 91 result = do_cu24(dst, dst_len, src, src_len); in run_test()
|
D | cu24_1.c | 55 do_cu24(uint32_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in do_cu24() argument 62 register uint64_t source_len asm("5") = src_len; in do_cu24() 86 run_test(uint32_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in run_test() argument 91 result = do_cu24(dst, dst_len, src, src_len); in run_test()
|
D | cu41.c | 69 do_cu41(uint8_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len) in do_cu41() argument 76 register uint64_t source_len asm("5") = src_len; in do_cu41() 100 run_test(uint8_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len) in run_test() argument 105 result = do_cu41(dst, dst_len, src, src_len); in run_test()
|
D | cu42.c | 58 do_cu42(uint16_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len) in do_cu42() argument 65 register uint64_t source_len asm("5") = src_len; in do_cu42() 89 run_test(uint16_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len) in run_test() argument 94 result = do_cu42(dst, dst_len, src, src_len); in run_test()
|
D | cu21.c | 68 do_cu21(uint8_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in do_cu21() argument 75 register uint64_t source_len asm("5") = src_len; in do_cu21() 99 run_test(uint8_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in run_test() argument 104 result = do_cu21(dst, dst_len, src, src_len); in run_test()
|
D | cu21_1.c | 68 do_cu21(uint8_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in do_cu21() argument 75 register uint64_t source_len asm("5") = src_len; in do_cu21() 99 run_test(uint8_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in run_test() argument 104 result = do_cu21(dst, dst_len, src, src_len); in run_test()
|
D | cu14_1.c | 77 do_cu14(uint32_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in do_cu14() argument 84 register uint64_t source_len asm("5") = src_len; in do_cu14() 108 run_test(uint32_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in run_test() argument 114 if (src_len == 0) in run_test() 117 for(i = 0; i < src_len; ++i) in run_test() 122 result = do_cu14(dst, dst_len, src, src_len); in run_test()
|
D | cu12.c | 77 do_cu12(uint16_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in do_cu12() argument 84 register uint64_t source_len asm("5") = src_len; in do_cu12() 108 run_test(uint16_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in run_test() argument 114 if (src_len == 0) in run_test() 117 for(i = 0; i < src_len; ++i) in run_test() 122 result = do_cu12(dst, dst_len, src, src_len); in run_test()
|
/external/lldb/tools/driver/ |
D | Driver.h | 54 PutSTDIN (const char *src, size_t src_len); 57 GetFromMaster (const char *src, size_t src_len); 192 ReadThreadBytesReceived (void *baton, const void *src, size_t src_len); 195 MasterThreadBytesReceived (void *baton, const void *src, size_t src_len);
|
/external/lldb/include/lldb/Core/ |
D | Communication.h | 97 typedef void (*ReadThreadBytesReceived) (void *baton, const void *src, size_t src_len); 232 size_t src_len, 388 …AppendBytesToCache (const uint8_t *src, size_t src_len, bool broadcast, lldb::ConnectionStatus sta…
|
D | DataBufferHeap.h | 64 DataBufferHeap (const void *src, lldb::offset_t src_len); 122 CopyData (const void *src, lldb::offset_t src_len);
|
/external/lldb/source/Plugins/Process/gdb-remote/ |
D | GDBRemoteCommunication.cpp | 67 uint32_t src_len, in AddPacket() argument 75 m_packets[idx].packet.assign (src, 0, src_len); in AddPacket() 338 GDBRemoteCommunication::CheckForPacket (const uint8_t *src, size_t src_len, StringExtractorGDBRemot… in CheckForPacket() argument 345 if (src && src_len > 0) in CheckForPacket() 352 (uint32_t)src_len, in CheckForPacket() 353 (uint32_t)src_len, in CheckForPacket() 356 m_bytes.append ((const char *)src, src_len); in CheckForPacket()
|