Home
last modified time | relevance | path

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

/external/syslinux/com32/lib/sys/
Dfileread.c62 size_t ncopy; in __file_read() local
71 ncopy = pmapi_read_file(&fp->i.fd.handle, bufp, in __file_read()
73 if (!ncopy) { in __file_read()
85 ncopy = min(count, fp->i.nbytes); in __file_read()
86 memcpy(bufp, fp->i.datap, ncopy); in __file_read()
88 fp->i.datap += ncopy; in __file_read()
89 fp->i.offset += ncopy; in __file_read()
90 fp->i.nbytes -= ncopy; in __file_read()
93 n += ncopy; in __file_read()
94 bufp += ncopy; in __file_read()
[all …]
/external/mksh/src/
Dshf.c453 ssize_t ncopy, orig_bsize = bsize; in shf_read() local
466 ncopy = shf->rnleft; in shf_read()
467 if (ncopy > bsize) in shf_read()
468 ncopy = bsize; in shf_read()
469 memcpy(buf, shf->rp, ncopy); in shf_read()
470 buf += ncopy; in shf_read()
471 bsize -= ncopy; in shf_read()
472 shf->rp += ncopy; in shf_read()
473 shf->rnleft -= ncopy; in shf_read()
490 ssize_t ncopy; in shf_getse() local
[all …]
/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/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.c452 size_t left, ncopy; in on_frame_recv() local
529 ncopy = MIN(stream->len, left); in on_frame_recv()
533 ncopy); in on_frame_recv()
534 stream->nread_header_recvbuf += ncopy; in on_frame_recv()
537 ncopy, stream_id, stream->mem)); in on_frame_recv()
539 stream->len -= ncopy; in on_frame_recv()
540 stream->memlen += ncopy; in on_frame_recv()
1309 size_t ncopy = MIN(len, left); in http2_recv() local
1311 ncopy); in http2_recv()
1312 stream->nread_header_recvbuf += ncopy; in http2_recv()
[all …]
/external/elfutils/src/
Dld.h890 size_t ncopy; member
Di386_ld.c599 ++statep->ncopy; in elf_i386_count_relocations()
Delflint.c2772 size_t ncopy = MIN (len - 1, strlen (known_flags[cnt].name)); in section_flags_string() local
2773 cp = mempcpy (cp, known_flags[cnt].name, ncopy); in section_flags_string()
2774 len -= ncopy; in section_flags_string()
Dldgeneric.c3010 if (ld_state.ncopy > 0 || ld_state.common_syms != NULL) in sort_sections_lscript()
3040 if (ld_state.ncopy > 0) in sort_sections_lscript()