Searched refs:dst_offset (Results 1 – 3 of 3) sorted by relevance
| /kernel/object/ |
| A D | buffer_chain.cpp | 29 zx_status_t BufferChain::CopyInKernel(const void* src, size_t dst_offset, size_t size) { in CopyInKernel() argument 30 return CopyInCommon(KernelPtrAdapter(src), dst_offset, size); in CopyInKernel() 33 template zx_status_t BufferChain::CopyInCommon(user_in_ptr<const void> src, size_t dst_offset,
|
| /kernel/lib/libc/string/arch/x86/ |
| A D | tests.cpp | 58 for (size_t dst_offset = 0; dst_offset < 8; ++dst_offset) { in memcpy_func_test() local 76 cpy(dst + dst_offset, src + src_offset, cpy_len); in memcpy_func_test() 77 for (size_t i = 0; i < dst_offset; ++i) { in memcpy_func_test() 80 for (size_t i = dst_offset; i < dst_offset + cpy_len; ++i) { in memcpy_func_test() 81 ASSERT_EQ(static_cast<char>(i - dst_offset + 1), dst[i], "buffer mismatch"); in memcpy_func_test() 83 for (size_t i = dst_offset + cpy_len; i < sizeof(dst); ++i) { in memcpy_func_test()
|
| /kernel/object/include/object/ |
| A D | buffer_chain.h | 138 zx_status_t CopyIn(user_in_ptr<const void> src, size_t dst_offset, size_t size) { in CopyIn() argument 139 return CopyInCommon(src, dst_offset, size); in CopyIn() 143 zx_status_t CopyInKernel(const void* src, size_t dst_offset, size_t size); 186 zx_status_t CopyInCommon(PTR_IN src, size_t dst_offset, size_t size) { in CopyInCommon() argument 187 DEBUG_ASSERT(dst_offset < buffers_.front().size()); in CopyInCommon() 188 size_t copy_offset = dst_offset; in CopyInCommon()
|
Completed in 5 milliseconds