Home
last modified time | relevance | path

Searched refs:ncopy (Results 1 – 14 of 14) sorted by relevance

/external/mksh/src/
Dshf.c457 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/
Dsi_dma.c37 unsigned i, ncopy, count, max_size, sub_cmd, shift; in si_dma_copy_buffer() local
61 ncopy = DIV_ROUND_UP(size, max_size); in si_dma_copy_buffer()
62 si_need_dma_space(&ctx->b, ncopy * 5, rdst, rsrc); in si_dma_copy_buffer()
64 for (i = 0; i < ncopy; i++) { in si_dma_copy_buffer()
86 unsigned i, ncopy, csize; in si_dma_clear_buffer() local
103 ncopy = DIV_ROUND_UP(size, SI_DMA_COPY_MAX_DWORD_ALIGNED_SIZE); in si_dma_clear_buffer()
104 si_need_dma_space(&sctx->b, ncopy * 4, rdst, NULL); in si_dma_clear_buffer()
106 for (i = 0; i < ncopy; i++) { in si_dma_clear_buffer()
146 unsigned ncopy, height, cheight, i; in si_dma_copy_tile() local
192 ncopy = DIV_ROUND_UP(size, SI_DMA_COPY_MAX_DWORD_ALIGNED_SIZE); in si_dma_copy_tile()
[all …]
Dcik_sdma.c36 unsigned i, ncopy, csize; in cik_sdma_copy_buffer() local
49 ncopy = DIV_ROUND_UP(size, CIK_SDMA_COPY_MAX_SIZE); in cik_sdma_copy_buffer()
50 si_need_dma_space(&ctx->b, ncopy * 7, rdst, rsrc); in cik_sdma_copy_buffer()
52 for (i = 0; i < ncopy; i++) { in cik_sdma_copy_buffer()
77 unsigned i, ncopy, csize; in cik_sdma_clear_buffer() local
94 ncopy = DIV_ROUND_UP(size, CIK_SDMA_COPY_MAX_SIZE); in cik_sdma_clear_buffer()
95 si_need_dma_space(&sctx->b, ncopy * 5, rdst, NULL); in cik_sdma_clear_buffer()
97 for (i = 0; i < ncopy; i++) { in cik_sdma_clear_buffer()
/external/wpa_supplicant_8/src/wps/
Dhttpread.c530 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/adhd/cras/src/server/
Dcras_audio_area.c33 unsigned int ncopy; in cras_audio_area_copy() local
36 ncopy = MIN(src->frames - src_offset, dst->frames - dst_offset); in cras_audio_area_copy()
52 ncopy, in cras_audio_area_copy()
59 return ncopy; in cras_audio_area_copy()
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_hw_context.c39 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()
Dr600_hw_context.c576 unsigned i, ncopy, csize; in r600_dma_copy_buffer() local
587 ncopy = (size / R600_DMA_COPY_MAX_SIZE_DW) + !!(size % R600_DMA_COPY_MAX_SIZE_DW); in r600_dma_copy_buffer()
589 r600_need_dma_space(&rctx->b, ncopy * 5, rdst, rsrc); in r600_dma_copy_buffer()
590 for (i = 0; i < ncopy; i++) { in r600_dma_copy_buffer()
Dr600_state.c2856 unsigned ncopy, height, cheight, detile, i, x, y, z, src_mode, dst_mode; in r600_dma_copy_tile() local
2915 ncopy = (copy_height / cheight) + !!(copy_height % cheight); in r600_dma_copy_tile()
2916 r600_need_dma_space(&rctx->b, ncopy * 7, &rdst->resource, &rsrc->resource); in r600_dma_copy_tile()
2918 for (i = 0; i < ncopy; i++) { in r600_dma_copy_tile()
Devergreen_state.c3698 unsigned ncopy, height, cheight, detile, i, x, y, z, src_mode, dst_mode; in evergreen_dma_copy_tile() local
3769 ncopy = (size / EG_DMA_COPY_MAX_SIZE) + !!(size % EG_DMA_COPY_MAX_SIZE); in evergreen_dma_copy_tile()
3770 r600_need_dma_space(&rctx->b, ncopy * 9, &rdst->resource, &rsrc->resource); in evergreen_dma_copy_tile()
3772 for (i = 0; i < ncopy; i++) { in evergreen_dma_copy_tile()
/external/eigen/unsupported/Eigen/
DFFT319 size_t ncopy = (std::min)(src.size(),src.size() + resize_input);
323 tmp.head(ncopy) = src.head(ncopy);
324 tmp(ncopy-1) = real(tmp(ncopy-1)); // enforce real-only Nyquist bin
327 nhead = 1+ncopy/2-1; // range [0:pi)
328 ntail = ncopy/2-1; // range (-pi:0)
/external/curl/lib/
Dhttp2.c641 size_t left, ncopy; in on_frame_recv() local
724 ncopy = CURLMIN(stream->len, left); in on_frame_recv()
728 ncopy); in on_frame_recv()
729 stream->nread_header_recvbuf += ncopy; in on_frame_recv()
732 ncopy, stream_id, stream->mem)); in on_frame_recv()
734 stream->len -= ncopy; in on_frame_recv()
735 stream->memlen += ncopy; in on_frame_recv()
1589 size_t ncopy = CURLMIN(len, left); in http2_recv() local
1591 ncopy); in http2_recv()
1592 stream->nread_header_recvbuf += ncopy; in http2_recv()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_progs.c705 size_t ncopy; in test_obj_name() local
709 ncopy = name_len < sizeof(attr.prog_name) ? in test_obj_name()
716 memcpy(attr.prog_name, tests[i].name, ncopy); in test_obj_name()
730 ncopy = name_len < sizeof(attr.map_name) ? in test_obj_name()
738 memcpy(attr.map_name, tests[i].name, ncopy); in test_obj_name()
/external/python/cpython3/Modules/
Darraymodule.c908 Py_ssize_t ncopy = (done <= newbytes-done) ? done : newbytes-done; in array_repeat() local
909 memcpy(np->ob_item+done, np->ob_item, ncopy); in array_repeat()
910 done += ncopy; in array_repeat()
/external/elfutils/src/
Delflint.c2804 size_t ncopy = MIN (len - 1, strlen (known_flags[cnt].name)); in section_flags_string() local
2805 cp = mempcpy (cp, known_flags[cnt].name, ncopy); in section_flags_string()
2806 len -= ncopy; in section_flags_string()