/external/python/markupsafe/src/markupsafe/ |
D | _speedups.c | 37 Py_ssize_t ncopy = 0; \ 41 memcpy(outp, inp-ncopy, sizeof(*outp)*ncopy); \ 42 outp += ncopy; ncopy = 0; \ 50 memcpy(outp, inp-ncopy, sizeof(*outp)*ncopy); \ 51 outp += ncopy; ncopy = 0; \ 59 memcpy(outp, inp-ncopy, sizeof(*outp)*ncopy); \ 60 outp += ncopy; ncopy = 0; \ 68 memcpy(outp, inp-ncopy, sizeof(*outp)*ncopy); \ 69 outp += ncopy; ncopy = 0; \ 76 memcpy(outp, inp-ncopy, sizeof(*outp)*ncopy); \ [all …]
|
/external/mksh/src/ |
D | shf.c | 457 ssize_t ncopy, orig_bsize = bsize; in shf_read() local 470 ncopy = shf->rnleft; in shf_read() 471 if (ncopy > bsize) in shf_read() 472 ncopy = bsize; in shf_read() 473 memcpy(buf, shf->rp, ncopy); in shf_read() 474 buf += ncopy; in shf_read() 475 bsize -= ncopy; in shf_read() 476 shf->rp += ncopy; in shf_read() 477 shf->rnleft -= ncopy; in shf_read() 494 ssize_t ncopy; in shf_getse() local [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_dma_cs.c | 69 unsigned i, ncopy, csize; in si_sdma_clear_buffer() local 92 ncopy = DIV_ROUND_UP(size, SI_DMA_COPY_MAX_DWORD_ALIGNED_SIZE); in si_sdma_clear_buffer() 93 si_need_dma_space(sctx, ncopy * 4, sdst, NULL); in si_sdma_clear_buffer() 95 for (i = 0; i < ncopy; i++) { in si_sdma_clear_buffer() 112 ncopy = DIV_ROUND_UP(size, max_size_per_packet); in si_sdma_clear_buffer() 113 si_need_dma_space(sctx, ncopy * 5, sdst, NULL); in si_sdma_clear_buffer() 115 for (i = 0; i < ncopy; i++) { in si_sdma_clear_buffer() 133 unsigned i, ncopy, csize; in si_sdma_copy_buffer() local 165 ncopy = DIV_ROUND_UP(size, max_size); in si_sdma_copy_buffer() 166 si_need_dma_space(sctx, ncopy * 5, sdst, ssrc); in si_sdma_copy_buffer() [all …]
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | obj_name.c | 26 size_t ncopy; in test_obj_name() local 30 ncopy = name_len < sizeof(attr.prog_name) ? in test_obj_name() 37 memcpy(attr.prog_name, tests[i].name, ncopy); in test_obj_name() 51 ncopy = name_len < sizeof(attr.map_name) ? in test_obj_name() 59 memcpy(attr.map_name, tests[i].name, ncopy); in test_obj_name()
|
/external/wpa_supplicant_8/src/wps/ |
D | httpread.c | 530 int ncopy; in httpread_read_handler() local 608 ncopy = (h->chunk_start + h->chunk_size + 2) - in httpread_read_handler() 617 ncopy = h->content_length - h->body_nbytes; in httpread_read_handler() 619 ncopy = nread; in httpread_read_handler() 622 if (ncopy < 0) { in httpread_read_handler() 624 "httpread: Invalid ncopy=%d", ncopy); in httpread_read_handler() 627 if (ncopy > nread) in httpread_read_handler() 628 ncopy = nread; in httpread_read_handler() 629 os_memcpy(bbp, rbp, ncopy); in httpread_read_handler() 630 bbp += ncopy; in httpread_read_handler() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | evergreen_hw_context.c | 39 unsigned i, ncopy, csize, sub_cmd, shift; in evergreen_dma_copy_buffer() local 61 ncopy = (size / EG_DMA_COPY_MAX_SIZE) + !!(size % EG_DMA_COPY_MAX_SIZE); in evergreen_dma_copy_buffer() 63 r600_need_dma_space(&rctx->b, ncopy * 5, rdst, rsrc); in evergreen_dma_copy_buffer() 64 for (i = 0; i < ncopy; i++) { in evergreen_dma_copy_buffer()
|
D | r600_hw_context.c | 588 unsigned i, ncopy, csize; in r600_dma_copy_buffer() local 599 ncopy = (size / R600_DMA_COPY_MAX_SIZE_DW) + !!(size % R600_DMA_COPY_MAX_SIZE_DW); in r600_dma_copy_buffer() 601 r600_need_dma_space(&rctx->b, ncopy * 5, rdst, rsrc); in r600_dma_copy_buffer() 602 for (i = 0; i < ncopy; i++) { in r600_dma_copy_buffer()
|
D | r600_state.c | 2861 unsigned ncopy, height, cheight, detile, i, x, y, z, src_mode, dst_mode; in r600_dma_copy_tile() local 2920 ncopy = (copy_height / cheight) + !!(copy_height % cheight); in r600_dma_copy_tile() 2921 r600_need_dma_space(&rctx->b, ncopy * 7, &rdst->resource, &rsrc->resource); in r600_dma_copy_tile() 2923 for (i = 0; i < ncopy; i++) { in r600_dma_copy_tile()
|
D | evergreen_state.c | 3783 unsigned ncopy, height, cheight, detile, i, x, y, z, src_mode, dst_mode; in evergreen_dma_copy_tile() local 3854 ncopy = (size / EG_DMA_COPY_MAX_SIZE) + !!(size % EG_DMA_COPY_MAX_SIZE); in evergreen_dma_copy_tile() 3855 r600_need_dma_space(&rctx->b, ncopy * 9, &rdst->resource, &rsrc->resource); in evergreen_dma_copy_tile() 3857 for (i = 0; i < ncopy; i++) { in evergreen_dma_copy_tile()
|
/external/eigen/unsupported/Eigen/ |
D | FFT | 318 size_t ncopy = (std::min)(src.size(),src.size() + resize_input); 322 tmp.head(ncopy) = src.head(ncopy); 323 tmp(ncopy-1) = real(tmp(ncopy-1)); // enforce real-only Nyquist bin 326 nhead = 1+ncopy/2-1; // range [0:pi) 327 ntail = ncopy/2-1; // range (-pi:0)
|
/external/curl/lib/vquic/ |
D | curl_ngtcp2.c | 968 size_t ncopy = memlen; in write_resp_raw() local 971 size_t len = CURLMIN(ncopy, stream->len); in write_resp_raw() 976 ncopy -= len; in write_resp_raw() 981 if(ncopy) { in write_resp_raw() 982 result = Curl_dyn_addn(&stream->overflow, buf, ncopy); in write_resp_raw() 985 stream->stream3_id, ncopy, result)); in write_resp_raw() 1102 size_t ncopy; in cb_h3_recv_header() local 1107 ncopy = msnprintf(line, sizeof(line), "HTTP/3 %03d \r\n", in cb_h3_recv_header() 1111 result = write_resp_raw(cf, data, line, ncopy, FALSE); in cb_h3_recv_header() 1263 size_t ncopy = CURLMIN(overlen, stream->len); in drain_overflow_buffer() local [all …]
|
/external/curl/lib/ |
D | http2.c | 811 size_t left, ncopy; in on_frame_recv() local 917 ncopy = CURLMIN(stream->len, left); in on_frame_recv() 922 ncopy); in on_frame_recv() 923 stream->nread_header_recvbuf += ncopy; in on_frame_recv() 927 stream_id, ncopy, (void *)stream->mem)); in on_frame_recv() 929 stream->len -= ncopy; in on_frame_recv() 930 stream->memlen += ncopy; in on_frame_recv() 1782 size_t ncopy = CURLMIN(len, left); in cf_h2_recv() local 1784 stream->nread_header_recvbuf, ncopy); in cf_h2_recv() 1785 stream->nread_header_recvbuf += ncopy; in cf_h2_recv() [all …]
|
/external/python/cpython3/Modules/ |
D | arraymodule.c | 933 Py_ssize_t ncopy = (done <= newbytes-done) ? done : newbytes-done; in array_repeat() local 934 memcpy(np->ob_item+done, np->ob_item, ncopy); in array_repeat() 935 done += ncopy; in array_repeat()
|
/external/elfutils/src/ |
D | elflint.c | 2810 size_t ncopy = MIN (len - 1, strlen (known_flags[cnt].name)); in section_flags_string() local 2811 cp = mempcpy (cp, known_flags[cnt].name, ncopy); in section_flags_string() 2812 len -= ncopy; in section_flags_string()
|