/external/syslinux/com32/lib/sys/ |
H A D | fileread.c | 62 size_t ncopy; local 71 ncopy = pmapi_read_file(&fp->i.fd.handle, bufp, 73 if (!ncopy) { 85 ncopy = min(count, fp->i.nbytes); 86 memcpy(bufp, fp->i.datap, ncopy); 88 fp->i.datap += ncopy; 89 fp->i.offset += ncopy; 90 fp->i.nbytes -= ncopy; 93 n += ncopy; 94 bufp += ncopy; [all...] |
/external/mksh/src/ |
H A D | shf.c | 455 ssize_t ncopy, orig_bsize = bsize; local 468 ncopy = shf->rnleft; 469 if (ncopy > bsize) 470 ncopy = bsize; 471 memcpy(buf, shf->rp, ncopy); 472 buf += ncopy; 473 bsize -= ncopy; 474 shf->rp += ncopy; 475 shf->rnleft -= ncopy; 492 ssize_t ncopy; local 518 memcpy(buf, (char *) shf->rp, ncopy); local 657 ssize_t n, ncopy, orig_nbytes = nbytes; local [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_dma.c | 40 unsigned i, ncopy, count, max_size, sub_cmd, shift; local 64 ncopy = DIV_ROUND_UP(size, max_size); 65 r600_need_dma_space(&ctx->b, ncopy * 5, rdst, rsrc); 67 for (i = 0; i < ncopy; i++) { 89 unsigned i, ncopy, csize; local 105 ncopy = DIV_ROUND_UP(size, SI_DMA_COPY_MAX_DWORD_ALIGNED_SIZE); 106 r600_need_dma_space(&sctx->b, ncopy * 4, rdst, NULL); 108 for (i = 0; i < ncopy; i++) { 148 unsigned ncopy, height, cheight, i; local 194 ncopy [all...] |
H A D | cik_sdma.c | 39 unsigned i, ncopy, csize; local 52 ncopy = DIV_ROUND_UP(size, CIK_SDMA_COPY_MAX_SIZE); 53 r600_need_dma_space(&ctx->b, ncopy * 7, rdst, rsrc); 55 for (i = 0; i < ncopy; i++) { 80 unsigned i, ncopy, csize; local 96 ncopy = DIV_ROUND_UP(size, CIK_SDMA_COPY_MAX_SIZE); 97 r600_need_dma_space(&sctx->b, ncopy * 5, rdst, NULL); 99 for (i = 0; i < ncopy; i++) {
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | evergreen_hw_context.c | 39 unsigned i, ncopy, csize, sub_cmd, shift; local 61 ncopy = (size / EG_DMA_COPY_MAX_SIZE) + !!(size % EG_DMA_COPY_MAX_SIZE); 63 r600_need_dma_space(&rctx->b, ncopy * 5, rdst, rsrc); 64 for (i = 0; i < ncopy; i++) {
|
H A D | r600_hw_context.c | 528 unsigned i, ncopy, csize; local 539 ncopy = (size / R600_DMA_COPY_MAX_SIZE_DW) + !!(size % R600_DMA_COPY_MAX_SIZE_DW); 541 r600_need_dma_space(&rctx->b, ncopy * 5, rdst, rsrc); 542 for (i = 0; i < ncopy; i++) {
|
H A D | evergreen_state.c | 3356 unsigned ncopy, height, cheight, detile, i, x, y, z, src_mode, dst_mode; local 3427 ncopy = (size / EG_DMA_COPY_MAX_SIZE) + !!(size % EG_DMA_COPY_MAX_SIZE); 3428 r600_need_dma_space(&rctx->b, ncopy * 9, &rdst->resource, &rsrc->resource); 3430 for (i = 0; i < ncopy; i++) {
|
H A D | r600_state.c | 2824 unsigned ncopy, height, cheight, detile, i, x, y, z, src_mode, dst_mode; local 2883 ncopy = (copy_height / cheight) + !!(copy_height % cheight); 2884 r600_need_dma_space(&rctx->b, ncopy * 7, &rdst->resource, &rsrc->resource); 2886 for (i = 0; i < ncopy; i++) {
|
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | httpread.c | 530 int ncopy; local 608 ncopy = (h->chunk_start + h->chunk_size + 2) - 617 ncopy = h->content_length - h->body_nbytes; 619 ncopy = nread; 622 if (ncopy < 0) { 624 "httpread: Invalid ncopy=%d", ncopy); 627 if (ncopy > nread) 628 ncopy = nread; 629 os_memcpy(bbp, rbp, ncopy); [all...] |
/external/wpa_supplicant_8/src/wps/ |
H A D | httpread.c | 530 int ncopy; local 608 ncopy = (h->chunk_start + h->chunk_size + 2) - 617 ncopy = h->content_length - h->body_nbytes; 619 ncopy = nread; 622 if (ncopy < 0) { 624 "httpread: Invalid ncopy=%d", ncopy); 627 if (ncopy > nread) 628 ncopy = nread; 629 os_memcpy(bbp, rbp, ncopy); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | httpread.c | 530 int ncopy; local 608 ncopy = (h->chunk_start + h->chunk_size + 2) - 617 ncopy = h->content_length - h->body_nbytes; 619 ncopy = nread; 622 if (ncopy < 0) { 624 "httpread: Invalid ncopy=%d", ncopy); 627 if (ncopy > nread) 628 ncopy = nread; 629 os_memcpy(bbp, rbp, ncopy); [all...] |
/external/curl/lib/ |
H A D | http2.c | 457 size_t left, ncopy; local 537 ncopy = MIN(stream->len, left); 541 ncopy); 542 stream->nread_header_recvbuf += ncopy; 545 ncopy, stream_id, stream->mem)); 547 stream->len -= ncopy; 548 stream->memlen += ncopy; 1384 size_t ncopy = MIN(len, left); local 1386 ncopy); 1387 stream->nread_header_recvbuf += ncopy; [all...] |
/external/elfutils/src/ |
H A D | ld.h | 890 size_t ncopy; member in struct:ld_state
|
H A D | i386_ld.c | 599 ++statep->ncopy;
|
H A D | elflint.c | 2772 size_t ncopy = MIN (len - 1, strlen (known_flags[cnt].name)); local 2773 cp = mempcpy (cp, known_flags[cnt].name, ncopy); 2774 len -= ncopy;
|
H A D | ldgeneric.c | 3010 if (ld_state.ncopy > 0 || ld_state.common_syms != NULL) 3040 if (ld_state.ncopy > 0)
|