Searched refs:dst_len (Results 1 - 25 of 70) sorted by relevance

123

/freebsd-10-stable/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_comp.c65 co1.dst_len = sizeof(buf1);
69 fprintf(stderr, "len %d/%d\n", co1.len, co1.dst_len);
71 buf1[co1.dst_len - 8]++; /* modify CRC */
73 write(1, buf1, co1.dst_len);
77 co2.len = co1.dst_len;
80 co2.dst_len = sizeof(buf2);
86 fprintf(stderr, "len %d/%d\n", co2.len, co2.dst_len);
87 if (memcmp(text, buf2, co2.dst_len))
H A Dh_aesctr2.c77 co.dst_len = sizeof(obuf);
88 co.dst_len = sizeof(ibuf);
H A Dh_comp_zlib.c65 co1.dst_len = sizeof(buf1);
73 z.avail_in = co1.dst_len;
H A Dh_comp_zlib_rnd.c70 co1.dst_len = sizeof(buf1);
77 z.avail_in = co1.dst_len;
H A Dh_arc4.c71 co.dst_len = sizeof(buf);
H A Dh_cbcdes.c72 co.dst_len = sizeof(buf);
H A Dh_null.c67 co.dst_len = sizeof(buf);
/freebsd-10-stable/contrib/llvm/tools/lldb/source/API/
H A DSBFileSpec.cpp87 SBFileSpec::ResolvePath (const char *src_path, char *dst_path, size_t dst_len) argument
89 return lldb_private::FileSpec::Resolve (src_path, dst_path, dst_len);
143 SBFileSpec::GetPath (char *dst_path, size_t dst_len) const
147 uint32_t result = m_opaque_ap->GetPath (dst_path, dst_len);
150 log->Printf ("SBFileSpec(%p)::GetPath (dst_path=\"%.*s\", dst_len=%" PRIu64 ") => %u",
151 m_opaque_ap.get(), result, dst_path, (uint64_t)dst_len, result);
153 if (result == 0 && dst_path && dst_len > 0)
H A DSBCommunication.cpp138 SBCommunication::Read (void *dst, size_t dst_len, uint32_t timeout_usec, ConnectionStatus &status) argument
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,
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Core/
H A DCommunication.h191 /// A destination buffer that must be at least \a dst_len bytes
194 /// @param[in] dst_len
208 size_t dst_len,
364 size_t dst_len,
398 /// A destination buffer that must be at least \a dst_len bytes
401 /// @param[in] dst_len
410 GetCachedBytes (void *dst, size_t dst_len);
H A DConnection.h104 /// A destination buffer that must be at least \a dst_len bytes
107 /// @param[in] dst_len
123 size_t dst_len,
H A DConnectionSharedMemory.h48 size_t dst_len,
H A DConnectionMachPort.h48 size_t dst_len,
H A DConnectionFileDescriptor.h56 size_t dst_len,
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/API/
H A DSBFileSpec.h55 GetPath (char *dst_path, size_t dst_len) const;
58 ResolvePath (const char *src_path, char *dst_path, size_t dst_len);
H A DSBCommunication.h65 size_t dst_len,
/freebsd-10-stable/sys/dev/hyperv/utilities/
H A Dunicode.h44 utf8_to_utf16(uint16_t *dst, size_t dst_len, argument
123 if (dst && dpos < dst_len)
129 if (dst && dpos < dst_len)
144 utf16_to_utf8(char *dst, size_t dst_len, argument
151 #define CHECK_LENGTH(l) (dpos > dst_len-(l) ? dst=NULL : NULL)
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Core/
H A DCommunication.cpp136 Communication::Read (void *dst, size_t dst_len, uint32_t timeout_usec, ConnectionStatus &status, Error *error_ptr) argument
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);
284 Communication::GetCachedBytes (void *dst, size_t dst_len) argument
294 const size_t len = std::min<size_t>(dst_len, m_bytes.size());
329 size_t dst_len,
336 return connection_sp->Read (dst, dst_len, timeout_use
328 ReadFromConnection(void *dst, size_t dst_len, uint32_t timeout_usec, ConnectionStatus &status, Error *error_ptr) argument
[all...]
H A DConnectionSharedMemory.cpp92 size_t dst_len,
91 Read(void *dst, size_t dst_len, uint32_t timeout_usec, ConnectionStatus &status, Error *error_ptr) argument
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Host/
H A DFileSpec.h545 ReadFileContents (off_t file_offset, void *dst, size_t dst_len, Error *error_ptr) const;
631 /// @param[in] dst_len
636 /// resolved path doesn't fit in dst_len, dst_len-1 characters will
640 Resolve (const char *src_path, char *dst_path, size_t dst_len);
669 /// @param[in] dst_len
675 /// resolved path doesn't fit in dst_len, dst_len-1 characters will
679 ResolveUsername (const char *src_path, char *dst_path, size_t dst_len);
/freebsd-10-stable/sys/dev/netmap/
H A Dnetmap_offloadings.c146 size_t src_len, dst_len; local
163 dst_len = src_len;
194 dst_len = dst_na->virt_hdr_len + src_len;
196 /* Here it could be dst_len == 0 (which implies src_len == 0),
199 if (dst_len == 0) {
203 dst_len = src_len;
356 dst_len = 0;
361 slot->len = dst_len;
373 dst_len = src_len = ft_p->ft_len;
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Target/
H A DMemory.cpp118 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;
116 Read(addr_t addr, void *dst, size_t dst_len, Error &error) argument
H A DRegisterContext.cpp327 // Case 1: src_len == dst_len
332 // Case 2: src_len > dst_len
336 // Case 3: src_len < dst_len
347 const uint32_t dst_len = reg_info->byte_size; local
349 if (src_len > dst_len)
351 error.SetErrorStringWithFormat("%u bytes is too big to store in register %s (%u bytes)", src_len, reg_info->name, dst_len);
394 uint32_t dst_len,
412 dst_len,
392 WriteRegisterValueToMemory(const RegisterInfo *reg_info, lldb::addr_t dst_addr, uint32_t dst_len, const RegisterValue &reg_value) argument
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/
H A DUnwindAssemblyInstEmulation.cpp396 size_t dst_len)
403 strm.Printf ("UnwindAssemblyInstEmulation::ReadMemory (addr = 0x%16.16" PRIx64 ", dst = %p, dst_len = %" PRIu64 ", context = ",
406 (uint64_t)dst_len);
410 memset (dst, 0, dst_len);
411 return dst_len;
420 size_t dst_len)
422 if (baton && dst && dst_len)
423 return ((UnwindAssemblyInstEmulation *)baton)->WriteMemory (instruction, context, addr, dst, dst_len);
432 size_t dst_len)
435 dst_len,
391 ReadMemory(EmulateInstruction *instruction, void *baton, const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst, size_t dst_len) argument
415 WriteMemory(EmulateInstruction *instruction, void *baton, const EmulateInstruction::Context &context, lldb::addr_t addr, const void *dst, size_t dst_len) argument
428 WriteMemory(EmulateInstruction *instruction, const EmulateInstruction::Context &context, lldb::addr_t addr, const void *dst, size_t dst_len) argument
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/
H A DRegisterContextThreadMemory.cpp253 RegisterContextThreadMemory::WriteRegisterValueToMemory (const lldb_private::RegisterInfo *reg_info, lldb::addr_t dst_addr, uint32_t dst_len, const RegisterValue &reg_value) argument
257 return m_reg_ctx_sp->WriteRegisterValueToMemory (reg_info, dst_addr, dst_len, reg_value);

Completed in 122 milliseconds

123