Home
last modified time | relevance | path

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

/third_party/markupsafe/
D_speedups.c37 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 …]
/third_party/mksh/
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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 …]
/third_party/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.c587 unsigned i, ncopy, csize; in r600_dma_copy_buffer() local
598 ncopy = (size / R600_DMA_COPY_MAX_SIZE_DW) + !!(size % R600_DMA_COPY_MAX_SIZE_DW); in r600_dma_copy_buffer()
600 r600_need_dma_space(&rctx->b, ncopy * 5, rdst, rsrc); in r600_dma_copy_buffer()
601 for (i = 0; i < ncopy; i++) { in r600_dma_copy_buffer()
Dr600_state.c2869 unsigned ncopy, height, cheight, detile, i, x, y, z, src_mode, dst_mode; in r600_dma_copy_tile() local
2928 ncopy = (copy_height / cheight) + !!(copy_height % cheight); in r600_dma_copy_tile()
2929 r600_need_dma_space(&rctx->b, ncopy * 7, &rdst->resource, &rsrc->resource); in r600_dma_copy_tile()
2931 for (i = 0; i < ncopy; i++) { in r600_dma_copy_tile()
Devergreen_state.c3783 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()
/third_party/curl/lib/vquic/
Dcurl_msh3.c353 size_t ncopy; in msh3_header_received() local
358 ncopy = msnprintf(line, sizeof(line), "HTTP/3 %03d \r\n", in msh3_header_received()
360 result = write_resp_raw(data, line, ncopy); in msh3_header_received()
Dcurl_osslq.c755 size_t ncopy; in cb_h3_recv_header() local
761 ncopy = msnprintf(line, sizeof(line), "HTTP/3 %03d \r\n", in cb_h3_recv_header()
764 result = write_resp_raw(cf, data, line, ncopy, FALSE); in cb_h3_recv_header()
Dcurl_ngtcp2.c928 size_t ncopy; in cb_h3_recv_header() local
934 ncopy = msnprintf(line, sizeof(line), "HTTP/3 %03d \r\n", in cb_h3_recv_header()
937 result = write_resp_raw(cf, data, line, ncopy, FALSE); in cb_h3_recv_header()
/third_party/python/Modules/
Darraymodule.c933 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()
/third_party/openssl/test/
Devp_test.c165 int ncopy = atoi(value); in evp_test_buffer_ncopy() local
168 if (ncopy <= 0) in evp_test_buffer_ncopy()
174 tbuflen = db->buflen * ncopy; in evp_test_buffer_ncopy()
177 for (i = 0, p = tbuf; i < ncopy; i++, p += db->buflen) in evp_test_buffer_ncopy()
/third_party/elfutils/src/
Delflint.c2810 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()