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

1234

/freebsd-11-stable/sys/dev/iwn/
H A Dif_iwn_ioctl.h23 int dst_len; member in struct:iwn_ioctl_data
/freebsd-11-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);
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DConnection.h95 /// A destination buffer that must be at least \a dst_len bytes
98 /// \param[in] dst_len
118 virtual size_t Read(void *dst, size_t dst_len,
128 /// A desination buffer that must be at least \a dst_len bytes
131 /// \param[in] dst_len
142 virtual size_t Write(const void *dst, size_t dst_len,
/freebsd-11-stable/contrib/llvm-project/lldb/bindings/interface/
H A DSBFileSpec.i72 GetPath (char *dst_path, size_t dst_len) const;
75 ResolvePath (const char *src_path, char *dst_path, size_t dst_len);
H A DSBCommunication.i60 size_t dst_len,
H A DSBStructuredData.i52 size_t GetStringValue(char *dst, size_t dst_len) const;
/freebsd-11-stable/contrib/llvm-project/lldb/source/API/
H A DSBFileSpec.cpp102 size_t dst_len) {
105 dst_len);
109 ::snprintf(dst_path, dst_len, "%s", result.c_str());
110 return std::min(dst_len - 1, result.size());
145 uint32_t SBFileSpec::GetPath(char *dst_path, size_t dst_len) const {
147 dst_path, dst_len);
149 uint32_t result = m_opaque_up->GetPath(dst_path, dst_len);
151 if (result == 0 && dst_path && dst_len > 0)
101 ResolvePath(const char *src_path, char *dst_path, size_t dst_len) argument
/freebsd-11-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-11-stable/contrib/llvm-project/lldb/source/Target/
H A DMemory.cpp125 size_t MemoryCache::Read(addr_t addr, void *dst, size_t dst_len, argument
127 size_t bytes_left = dst_len;
138 AddrRange read_range(addr, dst_len);
146 dst_len);
147 return dst_len;
158 if (dst && dst_len > m_L2_cache_line_byte_size) {
160 m_process.ReadMemoryFromInferior(addr, dst, dst_len, error);
178 return dst_len - bytes_left;
189 memcpy(dst_buf + dst_len - bytes_left,
208 memcpy(dst_buf + dst_len
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Core/
H A DCommunication.cpp123 size_t Communication::Read(void *dst, size_t dst_len, argument
129 "this = {0}, dst = {1}, dst_len = {2}, timeout = {3}, connection = {4}",
130 this, dst, dst_len, timeout, m_connection_sp.get());
134 size_t cached_bytes = GetCachedBytes(dst, dst_len);
154 return GetCachedBytes(dst, dst_len);
168 return ReadFromConnection(dst, dst_len, timeout, status, error_ptr);
251 size_t Communication::GetCachedBytes(void *dst, size_t dst_len) { argument
259 const size_t len = std::min<size_t>(dst_len, m_bytes.size());
290 size_t Communication::ReadFromConnection(void *dst, size_t dst_len, argument
296 return connection_sp->Read(dst, dst_len, timeou
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DCommunication.h177 /// A destination buffer that must be at least \a dst_len bytes
180 /// \param[in] dst_len
191 size_t Read(void *dst, size_t dst_len, const Timeout<std::micro> &timeout,
318 size_t ReadFromConnection(void *dst, size_t dst_len,
349 /// A destination buffer that must be at least \a dst_len bytes
352 /// \param[in] dst_len
359 size_t GetCachedBytes(void *dst, size_t dst_len);
H A DStructuredDataImpl.h136 size_t GetStringValue(char *dst, size_t dst_len) const {
144 if (!dst || !dst_len) {
148 return (::snprintf(dst, dst_len, "%s", result.data()));
/freebsd-11-stable/tools/tools/iwn/iwnstats/
H A Diwn_ioctl.c81 d.dst_len = sizeof(is->st);
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/API/
H A DSBCommunication.h60 size_t Read(void *dst, size_t dst_len, uint32_t timeout_usec,
H A DSBFileSpec.h51 uint32_t GetPath(char *dst_path, size_t dst_len) const;
53 static int ResolvePath(const char *src_path, char *dst_path, size_t dst_len);
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileCache.h38 uint64_t dst_len, Status &error);
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_offloadings.c163 size_t src_len, dst_len; local
180 dst_len = src_len;
228 dst_len = dst_na->up.virt_hdr_len + src_len;
230 /* Here it could be dst_len == 0 (which implies src_len == 0),
233 if (dst_len == 0) {
237 dst_len = src_len;
446 dst_len = 0;
451 dst_slot->len = dst_len;
462 dst_len = src_len = ft_p->ft_len;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DDataExtractor.cpp734 void *dst_void_ptr, offset_t dst_len,
744 assert(dst_len > 0);
748 assert(dst_byte_order == m_byte_order || dst_len == 1 || dst_len == 2 ||
749 dst_len == 4 || dst_len == 8 || dst_len == 10 || dst_len == 16 ||
750 dst_len == 32);
761 if (dst_len >
733 CopyByteOrderedData(offset_t src_offset, offset_t src_len, void *dst_void_ptr, offset_t dst_len, ByteOrder dst_byte_order) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DFileCache.cpp91 uint64_t dst_len, Status &error) {
109 size_t bytes_read = dst_len;
90 ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst, uint64_t dst_len, Status &error) argument
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/
H A DUnwindAssemblyInstEmulation.cpp363 size_t dst_len) {
370 ", dst = %p, dst_len = %" PRIu64 ", context = ",
371 addr, dst, (uint64_t)dst_len);
375 memset(dst, 0, dst_len);
376 return dst_len;
382 const void *dst, size_t dst_len) {
383 if (baton && dst && dst_len)
385 ->WriteMemory(instruction, context, addr, dst, dst_len);
391 lldb::addr_t addr, const void *dst, size_t dst_len) {
392 DataExtractor data(dst, dst_len,
360 ReadMemory( EmulateInstruction *instruction, void *baton, const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst, size_t dst_len) argument
379 WriteMemory( EmulateInstruction *instruction, void *baton, const EmulateInstruction::Context &context, lldb::addr_t addr, const void *dst, size_t dst_len) argument
389 WriteMemory( EmulateInstruction *instruction, const EmulateInstruction::Context &context, lldb::addr_t addr, const void *dst, size_t dst_len) argument
[all...]

Completed in 338 milliseconds

1234