Searched refs:copy (Results 1 – 4 of 4) sorted by relevance
/lib/zlib_inflate/ |
D | inflate.c | 104 unsigned copy, dist; in zlib_updatewindow() local 109 copy = out - strm->avail_out; in zlib_updatewindow() 110 if (copy >= state->wsize) { in zlib_updatewindow() 117 if (dist > copy) dist = copy; in zlib_updatewindow() 118 memcpy(state->window + state->write, strm->next_out - copy, dist); in zlib_updatewindow() 119 copy -= dist; in zlib_updatewindow() 120 if (copy) { in zlib_updatewindow() 121 memcpy(state->window, strm->next_out - copy, copy); in zlib_updatewindow() 122 state->write = copy; in zlib_updatewindow() 326 unsigned copy; /* number of stored or match bytes to copy */ in zlib_inflate() local [all …]
|
/lib/ |
D | iov_iter.c | 159 size_t skip, copy, left, wanted; in copy_page_to_iter_iovec() local 175 copy = min(bytes, iov->iov_len - skip); in copy_page_to_iter_iovec() 177 if (IS_ENABLED(CONFIG_HIGHMEM) && !fault_in_pages_writeable(buf, copy)) { in copy_page_to_iter_iovec() 182 left = copyout(buf, from, copy); in copy_page_to_iter_iovec() 183 copy -= left; in copy_page_to_iter_iovec() 184 skip += copy; in copy_page_to_iter_iovec() 185 from += copy; in copy_page_to_iter_iovec() 186 bytes -= copy; in copy_page_to_iter_iovec() 191 copy = min(bytes, iov->iov_len); in copy_page_to_iter_iovec() 192 left = copyout(buf, from, copy); in copy_page_to_iter_iovec() [all …]
|
D | vsprintf.c | 2486 int copy = read; in vsnprintf() local 2488 if (copy > end - str) in vsnprintf() 2489 copy = end - str; in vsnprintf() 2490 memcpy(str, old_fmt, copy); in vsnprintf() 2962 int copy = read; in bstr_printf() local 2964 if (copy > end - str) in bstr_printf() 2965 copy = end - str; in bstr_printf() 2966 memcpy(str, old_fmt, copy); in bstr_printf() 3011 int copy, len; in bstr_printf() local 3029 len = copy = strlen(args); in bstr_printf() [all …]
|
D | rbtree.c | 430 .copy = dummy_copy,
|