Searched refs:copy (Results 1 – 6 of 6) sorted by relevance
/lib/zlib_inflate/ |
D | inflate.c | 123 unsigned copy, dist; in zlib_updatewindow() local 128 copy = out - strm->avail_out; in zlib_updatewindow() 129 if (copy >= state->wsize) { in zlib_updatewindow() 136 if (dist > copy) dist = copy; in zlib_updatewindow() 137 memcpy(state->window + state->write, strm->next_out - copy, dist); in zlib_updatewindow() 138 copy -= dist; in zlib_updatewindow() 139 if (copy) { in zlib_updatewindow() 140 memcpy(state->window, strm->next_out - copy, copy); in zlib_updatewindow() 141 state->write = copy; in zlib_updatewindow() 340 unsigned copy; /* number of stored or match bytes to copy */ in zlib_inflate() local [all …]
|
/lib/kunit/ |
D | executor.c | 64 struct kunit_suite * const **copy, * const *filtered_subsuite; in kunit_filter_suites() local 69 copy = kmalloc_array(max, sizeof(*filtered.start), GFP_KERNEL); in kunit_filter_suites() 70 filtered.start = copy; in kunit_filter_suites() 71 if (!copy) { /* won't be able to run anything, return an empty set */ in kunit_filter_suites() 72 filtered.end = copy; in kunit_filter_suites() 79 *copy++ = filtered_subsuite; in kunit_filter_suites() 81 filtered.end = copy; in kunit_filter_suites()
|
/lib/ |
D | iov_iter.c | 176 size_t skip, copy, left, wanted; in copy_page_to_iter_iovec() local 192 copy = min(bytes, iov->iov_len - skip); in copy_page_to_iter_iovec() 194 if (IS_ENABLED(CONFIG_HIGHMEM) && !fault_in_writeable(buf, copy)) { in copy_page_to_iter_iovec() 199 left = copyout(buf, from, copy); in copy_page_to_iter_iovec() 200 copy -= left; in copy_page_to_iter_iovec() 201 skip += copy; in copy_page_to_iter_iovec() 202 from += copy; in copy_page_to_iter_iovec() 203 bytes -= copy; in copy_page_to_iter_iovec() 208 copy = min(bytes, iov->iov_len); in copy_page_to_iter_iovec() 209 left = copyout(buf, from, copy); in copy_page_to_iter_iovec() [all …]
|
D | vsprintf.c | 2769 int copy = read; in vsnprintf() local 2771 if (copy > end - str) in vsnprintf() 2772 copy = end - str; in vsnprintf() 2773 memcpy(str, old_fmt, copy); in vsnprintf() 3244 int copy = read; in bstr_printf() local 3246 if (copy > end - str) in bstr_printf() 3247 copy = end - str; in bstr_printf() 3248 memcpy(str, old_fmt, copy); in bstr_printf() 3293 int copy, len; in bstr_printf() local 3310 len = copy = strlen(args); in bstr_printf() [all …]
|
D | rbtree.c | 430 .copy = dummy_copy,
|
/lib/mpi/ |
D | mpi-mod.c | 36 mpi_barrett_t mpi_barrett_init(MPI m, int copy) in mpi_barrett_init() argument 46 if (copy) { in mpi_barrett_init()
|