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

1234

/freebsd-13-stable/sys/dev/iwn/
H A Dif_iwn_ioctl.h23 int dst_len; member in struct:iwn_ioctl_data
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-encoding.h7 * encode an Argon2 hash string into the provided buffer. 'dst_len'
8 * contains the size, in characters, of the 'dst' buffer; if 'dst_len'
20 int encode_string(char *dst, size_t dst_len, argon2_context *ctx,
H A Dargon2-encoding.c229 * Encode an argon2i hash string into the provided buffer. 'dst_len'
230 * contains the size, in characters, of the 'dst' buffer; if 'dst_len'
241 encode_string(char *dst, size_t dst_len, argon2_context *ctx, argon2_type type) argument
246 if (pp_len >= dst_len) { \
251 dst_len -= pp_len; \
264 if (sodium_bin2base64(dst, dst_len, (buf), (len), \
270 dst_len -= sb_len; \
/freebsd-13-stable/sys/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.h24 size_t ZSTD_decompress(void *const dst, const size_t dst_len,
29 size_t ZSTD_decompress_with_dict(void *const dst, const size_t dst_len,
/freebsd-13-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;
/freebsd-13-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-13-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 destination 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-13-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 (char *, size_t), 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-13-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-13-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-13-stable/contrib/llvm-project/lldb/source/Core/
H A DCommunication.cpp125 size_t Communication::Read(void *dst, size_t dst_len, argument
131 "this = {0}, dst = {1}, dst_len = {2}, timeout = {3}, connection = {4}",
132 this, dst, dst_len, timeout, m_connection_sp.get());
136 size_t cached_bytes = GetCachedBytes(dst, dst_len);
156 return GetCachedBytes(dst, dst_len);
170 return ReadFromConnection(dst, dst_len, timeout, status, error_ptr);
253 size_t Communication::GetCachedBytes(void *dst, size_t dst_len) { argument
261 const size_t len = std::min<size_t>(dst_len, m_bytes.size());
292 size_t Communication::ReadFromConnection(void *dst, size_t dst_len, argument
298 return connection_sp->Read(dst, dst_len, timeou
[all...]
/freebsd-13-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-13-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileCache.h38 uint64_t dst_len, Status &error);
/freebsd-13-stable/tools/tools/iwn/iwnstats/
H A Diwn_ioctl.c81 d.dst_len = sizeof(is->st);
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/API/
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-13-stable/sys/dev/netmap/
H A Dnetmap_offloadings.c165 size_t src_len, dst_len; local
182 dst_len = src_len;
230 dst_len = dst_na->up.virt_hdr_len + src_len;
232 /* Here it could be dst_len == 0 (which implies src_len == 0),
235 if (dst_len == 0) {
239 dst_len = src_len;
448 dst_len = 0;
453 dst_slot->len = dst_len;
464 dst_len = src_len = ft_p->ft_len;
/freebsd-13-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-13-stable/contrib/llvm-project/lldb/source/Utility/
H A DDataExtractor.cpp694 void *dst_void_ptr, offset_t dst_len,
704 assert(dst_len > 0);
708 assert(dst_byte_order == m_byte_order || dst_len == 1 || dst_len == 2 ||
709 dst_len == 4 || dst_len == 8 || dst_len == 10 || dst_len == 16 ||
710 dst_len == 32);
721 if (dst_len >
693 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-13-stable/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/
H A DUnwindAssemblyInstEmulation.cpp393 size_t dst_len) {
400 ", dst = %p, dst_len = %" PRIu64 ", context = ",
401 addr, dst, (uint64_t)dst_len);
405 memset(dst, 0, dst_len);
406 return dst_len;
412 const void *dst, size_t dst_len) {
413 if (baton && dst && dst_len)
415 ->WriteMemory(instruction, context, addr, dst, dst_len);
421 lldb::addr_t addr, const void *dst, size_t dst_len) {
422 DataExtractor data(dst, dst_len,
390 ReadMemory( EmulateInstruction *instruction, void *baton, const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst, size_t dst_len) argument
409 WriteMemory( EmulateInstruction *instruction, void *baton, const EmulateInstruction::Context &context, lldb::addr_t addr, const void *dst, size_t dst_len) argument
419 WriteMemory( EmulateInstruction *instruction, const EmulateInstruction::Context &context, lldb::addr_t addr, const void *dst, size_t dst_len) argument
[all...]

Completed in 292 milliseconds

1234