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_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/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/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.c588 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()
Dr600_state.c2866 unsigned ncopy, height, cheight, detile, i, x, y, z, src_mode, dst_mode; in r600_dma_copy_tile() local
2925 ncopy = (copy_height / cheight) + !!(copy_height % cheight); in r600_dma_copy_tile()
2926 r600_need_dma_space(&rctx->b, ncopy * 7, &rdst->resource, &rsrc->resource); in r600_dma_copy_tile()
2928 for (i = 0; i < ncopy; i++) { in r600_dma_copy_tile()
Devergreen_state.c3788 unsigned ncopy, height, cheight, detile, i, x, y, z, src_mode, dst_mode; in evergreen_dma_copy_tile() local
3859 ncopy = (size / EG_DMA_COPY_MAX_SIZE) + !!(size % EG_DMA_COPY_MAX_SIZE); in evergreen_dma_copy_tile()
3860 r600_need_dma_space(&rctx->b, ncopy * 9, &rdst->resource, &rsrc->resource); in evergreen_dma_copy_tile()
3862 for (i = 0; i < ncopy; i++) { in evergreen_dma_copy_tile()
/third_party/curl/lib/vquic/
Dngtcp2.c973 size_t ncopy = memlen; in write_data() local
976 size_t len = CURLMIN(ncopy, stream->len); in write_data()
982 ncopy -= len; in write_data()
985 if(ncopy) in write_data()
986 result = Curl_dyn_addn(&stream->overflow, buf, ncopy); in write_data()
1089 size_t ncopy; in cb_h3_recv_header() local
1092 ncopy = msnprintf(line, sizeof(line), "HTTP/3 %03d \r\n", status); in cb_h3_recv_header()
1093 result = write_data(stream, line, ncopy); in cb_h3_recv_header()
1221 size_t ncopy = CURLMIN(overlen, stream->len); in drain_overflow_buffer() local
1222 if(ncopy > 0) { in drain_overflow_buffer()
[all …]
/third_party/boost/libs/beast/test/extras/include/boost/beast/test/
Dtest_allocator.hpp25 std::size_t ncopy = 0; member
126 ++info_->ncopy; in test_allocator()
134 ++info_->ncopy; in test_allocator()
/third_party/curl/lib/
Dhttp2.c674 size_t left, ncopy; in on_frame_recv() local
758 ncopy = CURLMIN(stream->len, left); in on_frame_recv()
763 ncopy); in on_frame_recv()
764 stream->nread_header_recvbuf += ncopy; in on_frame_recv()
767 ncopy, stream_id, stream->mem)); in on_frame_recv()
769 stream->len -= ncopy; in on_frame_recv()
770 stream->memlen += ncopy; in on_frame_recv()
1646 size_t ncopy = CURLMIN(len, left); in http2_recv() local
1648 stream->nread_header_recvbuf, ncopy); in http2_recv()
1649 stream->nread_header_recvbuf += ncopy; in http2_recv()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/dash/
Dgstxmlhelper.c978 xmlNode *ncopy = NULL; in gst_xml_helper_get_node_as_string() local
988 ncopy = xmlDocCopyNode (a_node, a_node->doc, 1); in gst_xml_helper_get_node_as_string()
990 if (!ncopy) { in gst_xml_helper_get_node_as_string()
994 xmlNodeDumpOutput (out_buf, ncopy->doc, ncopy, 0, 0, txt_encoding); in gst_xml_helper_get_node_as_string()
1015 xmlFreeNode (ncopy); in gst_xml_helper_get_node_as_string()
/third_party/openssl/test/
Devp_test.c154 int ncopy = atoi(value); in evp_test_buffer_ncopy() local
157 if (ncopy <= 0) in evp_test_buffer_ncopy()
163 tbuflen = db->buflen * ncopy; in evp_test_buffer_ncopy()
166 for (i = 0, p = tbuf; i < ncopy; i++, p += db->buflen) in evp_test_buffer_ncopy()
/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()