Home
last modified time | relevance | path

Searched refs:dst_len (Results 1 – 25 of 80) sorted by relevance

1234

/external/lldb/source/API/
DSBFileSpec.cpp87 SBFileSpec::ResolvePath (const char *src_path, char *dst_path, size_t dst_len) in ResolvePath() argument
89 return lldb_private::FileSpec::Resolve (src_path, dst_path, dst_len); in ResolvePath()
125 SBFileSpec::GetPath (char *dst_path, size_t dst_len) const in GetPath()
129 uint32_t result = m_opaque_ap->GetPath (dst_path, dst_len); in GetPath()
133 m_opaque_ap.get(), result, dst_path, (uint64_t)dst_len, result); in GetPath()
135 if (result == 0 && dst_path && dst_len > 0) in GetPath()
DSBCommunication.cpp138 SBCommunication::Read (void *dst, size_t dst_len, uint32_t timeout_usec, ConnectionStatus &status) in Read() argument
145 (uint64_t)dst_len, in Read()
149 bytes_read = m_opaque->Read (dst, dst_len, timeout_usec, status, NULL); in Read()
157 (uint64_t)dst_len, in Read()
/external/valgrind/main/none/tests/s390x/
Dcu42.c58 do_cu42(uint16_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len) in do_cu42() argument
67 register uint64_t dest_len asm("3") = dst_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()
98 if (dst_len - result.len1 == 0) in run_test()
101 assert((dst_len - result.len1) % 2 == 0); in run_test()
102 for (i = 0; i < (dst_len - result.len1) / 2; ++i) { in run_test()
Dcu24_1.c55 do_cu24(uint32_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in do_cu24() argument
64 register uint64_t dest_len asm("3") = dst_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()
95 if (dst_len - result.len1 == 0) in run_test()
98 uint64_t num_bytes = dst_len - result.len1; in run_test()
Dcu24.c55 do_cu24(uint32_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in do_cu24() argument
64 register uint64_t dest_len asm("3") = dst_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()
95 if (dst_len - result.len1 == 0) in run_test()
98 uint64_t num_bytes = dst_len - result.len1; in run_test()
Dmvcl.c159 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()
169 print_buf("dst buffer:", dst, dst_len); in run_test()
175 uint32_t dst_offset, dst_len, src_offset, src_len; in main() local
265 for (dst_len = 0; dst_len <= sizeof buf - dst_offset; ++dst_len) in main()
268 run_test(buf + dst_offset, dst_len, buf + src_offset, src_len, 'x'); in main()
Dcu41.c69 do_cu41(uint8_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len) in do_cu41() argument
78 register uint64_t dest_len asm("3") = dst_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()
109 if (dst_len - result.len1 == 0) in run_test()
112 for (i = 0; i < dst_len - result.len1; ++i) { in run_test()
Dcu21.c68 do_cu21(uint8_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in do_cu21() argument
77 register uint64_t dest_len asm("3") = dst_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()
108 if (dst_len - result.len1 == 0) in run_test()
111 for (i = 0; i < dst_len - result.len1; i++) { in run_test()
Dcu21_1.c68 do_cu21(uint8_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in do_cu21() argument
77 register uint64_t dest_len asm("3") = dst_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()
108 if (dst_len - result.len1 == 0) in run_test()
111 for (i = 0; i < dst_len - result.len1; i++) { in run_test()
Dcu14.c77 do_cu14(uint32_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in do_cu14() argument
86 register uint64_t dest_len asm("3") = dst_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
122 result = do_cu14(dst, dst_len, src, src_len); in run_test()
126 if (dst_len - result.len1 == 0) in run_test()
129 uint64_t num_bytes = dst_len - result.len1; in run_test()
Dcu12.c77 do_cu12(uint16_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in do_cu12() argument
86 register uint64_t dest_len asm("3") = dst_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
122 result = do_cu12(dst, dst_len, src, src_len); in run_test()
126 if (dst_len - result.len1 == 0) in run_test()
129 uint64_t num_bytes = dst_len - result.len1; in run_test()
Dcu12_1.c77 do_cu12(uint16_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in do_cu12() argument
86 register uint64_t dest_len asm("3") = dst_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
122 result = do_cu12(dst, dst_len, src, src_len); in run_test()
126 if (dst_len - result.len1 == 0) in run_test()
129 uint64_t num_bytes = dst_len - result.len1; in run_test()
Dcu14_1.c77 do_cu14(uint32_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in do_cu14() argument
86 register uint64_t dest_len asm("3") = dst_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
122 result = do_cu14(dst, dst_len, src, src_len); in run_test()
126 if (dst_len - result.len1 == 0) in run_test()
129 uint64_t num_bytes = dst_len - result.len1; in run_test()
/external/lldb/source/Core/
DCommunication.cpp136 Communication::Read (void *dst, size_t dst_len, uint32_t timeout_usec, ConnectionStatus &status, Er… in Read() argument
142 (uint64_t)dst_len, in Read()
149 size_t cached_bytes = GetCachedBytes (dst, dst_len); in Read()
179 return GetCachedBytes (dst, dst_len); in Read()
196 return connection_sp->Read (dst, dst_len, timeout_usec, status, error_ptr); in Read()
274 Communication::GetCachedBytes (void *dst, size_t dst_len) in GetCachedBytes() argument
284 const size_t len = std::min<size_t>(dst_len, m_bytes.size()); in GetCachedBytes()
319 size_t dst_len, in ReadFromConnection() argument
326 return connection_sp->Read (dst, dst_len, timeout_usec, status, error_ptr); in ReadFromConnection()
/external/chromium_org/third_party/boringssl/src/crypto/base64/
Dbase64.c426 size_t dst_len; in EVP_DecodeBlock() local
440 if (!EVP_DecodedLength(&dst_len, src_len) || dst_len > INT_MAX) { in EVP_DecodeBlock()
443 if (!EVP_DecodeBase64(dst, &dst_len, dst_len, src, src_len)) { in EVP_DecodeBlock()
449 while (dst_len % 3 != 0) { in EVP_DecodeBlock()
450 dst[dst_len++] = '\0'; in EVP_DecodeBlock()
452 assert(dst_len <= INT_MAX); in EVP_DecodeBlock()
454 return dst_len; in EVP_DecodeBlock()
/external/valgrind/main/coregrind/m_debuginfo/
Dminilzo.h88 lzo_bytep dst, lzo_uintp dst_len,
94 lzo_bytep dst, lzo_uintp dst_len,
100 lzo_bytep dst, lzo_uintp dst_len,
Dlzoconf.h266 lzo_bytep dst, lzo_uintp dst_len,
271 lzo_bytep dst, lzo_uintp dst_len,
276 lzo_bytep dst, lzo_uintp dst_len,
281 lzo_bytep dst, lzo_uintp dst_len,
287 lzo_bytep dst, lzo_uintp dst_len,
/external/lldb/source/Plugins/UnwindAssembly/InstEmulation/
DUnwindAssemblyInstEmulation.cpp394 size_t dst_len) in ReadMemory() argument
404 (uint64_t)dst_len); in ReadMemory()
408 memset (dst, 0, dst_len); in ReadMemory()
409 return dst_len; in ReadMemory()
418 size_t dst_len) in WriteMemory() argument
420 if (baton && dst && dst_len) in WriteMemory()
421 …urn ((UnwindAssemblyInstEmulation *)baton)->WriteMemory (instruction, context, addr, dst, dst_len); in WriteMemory()
430 size_t dst_len) in WriteMemory() argument
433 dst_len, in WriteMemory()
444 data.Dump(&strm, 0, eFormatBytes, 1, dst_len, UINT32_MAX, addr, 0, 0); in WriteMemory()
[all …]
/external/lldb/source/Target/
DMemory.cpp118 size_t dst_len, in Read() argument
121 size_t bytes_left = dst_len; in Read()
135 return dst_len - bytes_left; in Read()
147 … memcpy (dst_buf + dst_len - bytes_left, pos->second->GetBytes() + cache_offset, curr_read_size); in Read()
167 … memcpy (dst_buf + dst_len - bytes_left, pos->second->GetBytes(), curr_read_size); in Read()
176 return dst_len - bytes_left; in Read()
192 return dst_len - bytes_left; in Read()
203 return dst_len - bytes_left; in Read()
DRegisterContext.cpp325 const uint32_t dst_len = reg_info->byte_size; in ReadRegisterValueFromMemory() local
327 if (src_len > dst_len) in ReadRegisterValueFromMemory()
329 …Format("%u bytes is too big to store in register %s (%u bytes)", src_len, reg_info->name, dst_len); in ReadRegisterValueFromMemory()
372 uint32_t dst_len, in WriteRegisterValueToMemory() argument
390 dst_len, in WriteRegisterValueToMemory()
/external/lldb/source/Host/common/
DFileSpec.cpp76 FileSpec::ResolveUsername (const char *src_path, char *dst_path, size_t dst_len) in ResolveUsername() argument
91 if (len >= dst_len) in ResolveUsername()
93 ::bcopy (src_path, dst_path, dst_len - 1); in ResolveUsername()
94 dst_path[dst_len] = '\0'; in ResolveUsername()
142 return ::snprintf (dst_path, dst_len, "%s%s", home_dir, remainder); in ResolveUsername()
145 return ::snprintf (dst_path, dst_len, "%s", src_path); in ResolveUsername()
185 FileSpec::Resolve (const char *src_path, char *dst_path, size_t dst_len) in Resolve() argument
213 return ::snprintf(dst_path, dst_len, "%s", resolved_path); in Resolve()
218 return ::snprintf(dst_path, dst_len, "%s", unglobbed_path); in Resolve()
790 FileSpec::ReadFileContents (off_t file_offset, void *dst, size_t dst_len, Error *error_ptr) const in ReadFileContents() argument
[all …]
/external/lldb/include/lldb/Core/
DCommunication.h208 size_t dst_len,
362 size_t dst_len,
408 GetCachedBytes (void *dst, size_t dst_len);
/external/lldb/include/lldb/Host/
DFileSpec.h530 ReadFileContents (off_t file_offset, void *dst, size_t dst_len, Error *error_ptr) const;
625 Resolve (const char *src_path, char *dst_path, size_t dst_len);
649 ResolveUsername (const char *src_path, char *dst_path, size_t dst_len);
/external/lldb/scripts/Python/interface/
DSBFileSpec.i62 GetPath (char *dst_path, size_t dst_len) const;
65 ResolvePath (const char *src_path, char *dst_path, size_t dst_len);
/external/valgrind/main/memcheck/tests/s390x/
Dcu21.c39 do_cu21(uint8_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in do_cu21() argument
45 register uint64_t dest_len asm("3") = dst_len; in do_cu21()

1234