HomeSort by relevance Sort by last modified time
    Searched refs:dst_len (Results 1 - 25 of 63) sorted by null

1 2 3

  /bionic/libc/bionic/
syslog.cpp 81 size_t dst_len = 1024; local
82 char* dst = reinterpret_cast<char*>(malloc(dst_len));
86 for (; dst_len > 0 && *src != '\0'; ++src) {
89 size_t n = strlcpy(dst, strerror(caller_errno), dst_len);
90 if (n >= dst_len) {
91 n = dst_len;
94 dst_len -= n;
98 if (dst_len <= 2) {
101 *dst++ = '%'; --dst_len;
102 *dst++ = '%'; --dst_len;
    [all...]
  /external/lldb/source/Host/macosx/cfcpp/
CFCBundle.h 37 GetPath (char *dst, size_t dst_len);
CFCBundle.cpp 59 CFCBundle::GetPath (char *dst, size_t dst_len)
68 return ::CFURLGetFileSystemRepresentation (bundle_url.get(), resolveAgainstBase, (UInt8 *)dst, dst_len) != 0;
  /external/lldb/source/API/
SBFileSpec.cpp 87 SBFileSpec::ResolvePath (const char *src_path, char *dst_path, size_t dst_len)
89 return lldb_private::FileSpec::Resolve (src_path, dst_path, dst_len);
125 SBFileSpec::GetPath (char *dst_path, size_t dst_len) const
129 uint32_t result = m_opaque_ap->GetPath (dst_path, dst_len);
132 log->Printf ("SBFileSpec(%p)::GetPath (dst_path=\"%.*s\", dst_len=%" PRIu64 ") => %u",
133 m_opaque_ap.get(), result, dst_path, (uint64_t)dst_len, result);
135 if (result == 0 && dst_path && dst_len > 0)
SBCommunication.cpp 138 SBCommunication::Read (void *dst, size_t dst_len, uint32_t timeout_usec, ConnectionStatus &status)
142 log->Printf ("SBCommunication(%p)::Read (dst=%p, dst_len=%" PRIu64 ", timeout_usec=%u, &status)...",
145 (uint64_t)dst_len,
149 bytes_read = m_opaque->Read (dst, dst_len, timeout_usec, status, NULL);
154 log->Printf ("SBCommunication(%p)::Read (dst=%p, dst_len=%" PRIu64 ", timeout_usec=%u, &status=%s) => %" PRIu64,
157 (uint64_t)dst_len,
  /external/lldb/include/lldb/API/
SBFileSpec.h 49 GetPath (char *dst_path, size_t dst_len) const;
52 ResolvePath (const char *src_path, char *dst_path, size_t dst_len);
SBCommunication.h 65 size_t dst_len,
SBProcess.h 74 GetSTDOUT (char *dst, size_t dst_len) const;
77 GetSTDERR (char *dst, size_t dst_len) const;
80 GetAsyncProfileData(char *dst, size_t dst_len) const;
  /external/lldb/include/lldb/Core/
Communication.h 191 /// A destination buffer that must be at least \a dst_len bytes
194 /// @param[in] dst_len
208 size_t dst_len,
362 size_t dst_len,
396 /// A destination buffer that must be at least \a dst_len bytes
399 /// @param[in] dst_len
408 GetCachedBytes (void *dst, size_t dst_len);
Connection.h 104 /// A destination buffer that must be at least \a dst_len bytes
107 /// @param[in] dst_len
123 size_t dst_len,
ConnectionSharedMemory.h 48 size_t dst_len,
ConnectionMachPort.h 47 size_t dst_len,
  /external/lldb/scripts/Python/interface/
SBFileSpec.i 62 GetPath (char *dst_path, size_t dst_len) const;
65 ResolvePath (const char *src_path, char *dst_path, size_t dst_len);
SBCommunication.i 59 size_t dst_len,
  /external/lldb/source/Core/
Communication.cpp 136 Communication::Read (void *dst, size_t dst_len, uint32_t timeout_usec, ConnectionStatus &status, Error *error_ptr)
139 "%p Communication::Read (dst = %p, dst_len = %" PRIu64 ", timeout = %u usec) connection = %p",
142 (uint64_t)dst_len,
149 size_t cached_bytes = GetCachedBytes (dst, dst_len);
179 return GetCachedBytes (dst, dst_len);
196 return connection_sp->Read (dst, dst_len, timeout_usec, status, error_ptr);
274 Communication::GetCachedBytes (void *dst, size_t dst_len)
284 const size_t len = std::min<size_t>(dst_len, m_bytes.size());
319 size_t dst_len,
326 return connection_sp->Read (dst, dst_len, timeout_usec, status, error_ptr)
    [all...]
  /external/lldb/include/lldb/Host/
FileSpec.h 530 ReadFileContents (off_t file_offset, void *dst, size_t dst_len, Error *error_ptr) const;
616 /// @param[in] dst_len
621 /// resolved path doesn't fit in dst_len, dst_len-1 characters will
625 Resolve (const char *src_path, char *dst_path, size_t dst_len);
639 /// @param[in] dst_len
645 /// resolved path doesn't fit in dst_len, dst_len-1 characters will
649 ResolveUsername (const char *src_path, char *dst_path, size_t dst_len);
  /bionic/libc/kernel/uapi/linux/
fib_rules.h 35 __u8 dst_len; member in struct:fib_rule_hdr
  /development/ndk/platforms/android-L/include/linux/
fib_rules.h 35 __u8 dst_len; member in struct:fib_rule_hdr
  /external/iproute2/include/linux/
fib_rules.h 20 __u8 dst_len; member in struct:fib_rule_hdr
  /external/kernel-headers/original/uapi/linux/
fib_rules.h 20 __u8 dst_len; member in struct:fib_rule_hdr
  /external/chromium_org/third_party/boringssl/src/crypto/base64/
base64.c 426 size_t dst_len; local
440 if (!EVP_DecodedLength(&dst_len, src_len) || dst_len > INT_MAX) {
443 if (!EVP_DecodeBase64(dst, &dst_len, dst_len, src, src_len)) {
449 while (dst_len % 3 != 0) {
450 dst[dst_len++] = '\0';
452 assert(dst_len <= INT_MAX);
454 return dst_len;
  /external/lldb/source/Target/
Memory.cpp 118 size_t dst_len,
121 size_t bytes_left = dst_len;
135 return dst_len - bytes_left;
147 memcpy (dst_buf + dst_len - bytes_left, pos->second->GetBytes() + cache_offset, curr_read_size);
167 memcpy (dst_buf + dst_len - bytes_left, pos->second->GetBytes(), curr_read_size);
176 return dst_len - bytes_left;
192 return dst_len - bytes_left;
203 return dst_len - bytes_left;
  /external/lldb/source/Host/common/
FileSpec.cpp 74 // is >= dst_len, then the resolved path is too long...
76 FileSpec::ResolveUsername (const char *src_path, char *dst_path, size_t dst_len)
91 if (len >= dst_len)
93 ::bcopy (src_path, dst_path, dst_len - 1);
94 dst_path[dst_len] = '\0';
142 return ::snprintf (dst_path, dst_len, "%s%s", home_dir, remainder);
145 return ::snprintf (dst_path, dst_len, "%s", src_path);
185 FileSpec::Resolve (const char *src_path, char *dst_path, size_t dst_len)
213 return ::snprintf(dst_path, dst_len, "%s", resolved_path);
218 return ::snprintf(dst_path, dst_len, "%s", unglobbed_path)
    [all...]
  /external/lldb/source/Plugins/UnwindAssembly/InstEmulation/
UnwindAssemblyInstEmulation.cpp 394 size_t dst_len)
401 strm.Printf ("UnwindAssemblyInstEmulation::ReadMemory (addr = 0x%16.16" PRIx64 ", dst = %p, dst_len = %" PRIu64 ", context = ",
404 (uint64_t)dst_len);
408 memset (dst, 0, dst_len);
409 return dst_len;
418 size_t dst_len)
420 if (baton && dst && dst_len)
421 return ((UnwindAssemblyInstEmulation *)baton)->WriteMemory (instruction, context, addr, dst, dst_len);
430 size_t dst_len)
433 dst_len,
    [all...]
  /external/lldb/source/Plugins/Process/Utility/
RegisterContextThreadMemory.h 99 WriteRegisterValueToMemory (const lldb_private::RegisterInfo *reg_info, lldb::addr_t dst_addr, uint32_t dst_len, const RegisterValue &reg_value);

Completed in 781 milliseconds

1 2 3