Home
last modified time | relevance | path

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

/third_party/mksh/
H A 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
520 memcpy(buf, (char *) shf->rp, ncopy); shf_getse() local
660 ssize_t n, ncopy, orig_nbytes = nbytes; shf_write() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A 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()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A 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()
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A 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()
H A 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()
H A 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()
H A 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/backends/backend/
H A Dcanon-sane.c1791 SANE_Int ncopy; in read_fb620() local
1823 ncopy = s->buf_used - s->buf_pos; in read_fb620()
1824 if (ncopy > max_len) in read_fb620()
1825 ncopy = max_len; in read_fb620()
1826 memcpy (buf, &(s->outbuffer[s->buf_pos]), ncopy); in read_fb620()
1828 max_len -= ncopy; in read_fb620()
1829 *len += ncopy; in read_fb620()
1830 buf = &(buf[ncopy]); in read_fb620()
1831 s->buf_pos += ncopy; in read_fb620()
1876 ncopy in read_fb620()
1900 SANE_Int ncopy; read_fb1200() local
[all...]
H A Dhp-scl.c1224 {int ncopy; in process_data_write() local
1229 ncopy = ph->wr_left; in process_data_write()
1230 if (ncopy > nbytes) ncopy = nbytes; in process_data_write()
1232 memcpy (ph->wr_ptr, data, ncopy); in process_data_write()
1233 ph->wr_ptr += ncopy; in process_data_write()
1234 ph->wr_left -= ncopy; in process_data_write()
1235 data += ncopy; in process_data_write()
1236 nbytes -= ncopy; in process_data_write()
/third_party/curl/lib/vquic/
H A 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()
H A 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()
H A 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()
/third_party/openssl/test/
H A 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/
H A 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()

Completed in 41 milliseconds