| /freebsd/sys/contrib/openzfs/lib/libspl/ |
| H A D | strlcpy.c | 43 size_t copied; in strlcpy() local 49 copied = len - 1; in strlcpy() 51 copied = slen; in strlcpy() 52 (void) memcpy(dst, src, copied); in strlcpy() 53 dst[copied] = '\0'; in strlcpy()
|
| H A D | strlcat.c | 46 size_t copied; in strlcat() local 54 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; in strlcat() 55 (void) memcpy(dst + l1, src, copied); in strlcat() 56 dst[l1+copied] = '\0'; in strlcat()
|
| /freebsd/crypto/libecc/src/external_deps/ |
| H A D | rand.c | 38 u16 rem = buflen, copied = 0; in fimport() local 55 ret = (int)read(fd, buf + copied, rem); in fimport() 60 copied = (u16)(copied + ret); in fimport() 70 ret = (copied == buflen) ? 0 : -1; in fimport()
|
| /freebsd/sys/ofed/drivers/infiniband/ulp/sdp/ |
| H A D | sdp_zcopy.c | 287 int copied = rx_sa->used - rx_sa->reported; in sdp_post_rdma_rd_compl() local 292 mb = sdp_alloc_mb_rdmardcompl(ssk->socket, copied, 0); in sdp_post_rdma_rd_compl() 294 rx_sa->reported += copied; in sdp_post_rdma_rd_compl() 557 int copied; in sdp_rdma_to_iovec() local 599 copied = rx_sa->umem->length; in sdp_rdma_to_iovec() 601 sdp_update_iov_used(sk, iov, copied); in sdp_rdma_to_iovec() 602 rx_sa->used += copied; in sdp_rdma_to_iovec() 603 atomic_add(copied, &ssk->rcv_nxt); in sdp_rdma_to_iovec() 604 *used = copied; in sdp_rdma_to_iovec() 721 int copied = 0; in sdp_sendmsg_zcopy() local [all …]
|
| /freebsd/sys/dev/cxgbe/tom/ |
| H A D | t4_ddp.c | 166 long copied; in ddp_complete_one() local 169 * If this job had copied data out of the socket buffer before in ddp_complete_one() 173 copied = job->aio_received; in ddp_complete_one() 174 if (copied != 0 || error == 0) in ddp_complete_one() 175 aio_complete(job, copied, 0); in ddp_complete_one() 469 long copied; in insert_ddp_data() local 506 copied = job->aio_received; in insert_ddp_data() 508 if (placed > job->uaiocb.aio_nbytes - copied) in insert_ddp_data() 509 placed = job->uaiocb.aio_nbytes - copied; in insert_ddp_data() 517 * Update the copied lengt in insert_ddp_data() 649 long copied; handle_ddp_data_aio() local 1024 long copied; do_ddp_tcb_rpl() local 1096 long copied; handle_ddp_close() local 2286 long copied; aio_ddp_cancel_one() local 2327 size_t copied, offset, resid; aio_ddp_requeue() local [all...] |
| /freebsd/sys/dev/drm2/ |
| H A D | drm_crtc.c | 1211 int copied = 0, i; in drm_mode_getresources() local 1256 copied = 0; in drm_mode_getresources() 1259 if (put_user(fb->base.id, fb_id + copied)) { in drm_mode_getresources() 1263 copied++; in drm_mode_getresources() 1270 copied = 0; in drm_mode_getresources() 1276 if (put_user(crtc->base.id, crtc_id + copied)) { in drm_mode_getresources() 1280 copied++; in drm_mode_getresources() 1285 crtc_id + copied)) { in drm_mode_getresources() 1289 copied++; in drm_mode_getresources() 1297 copied = 0; in drm_mode_getresources() [all …]
|
| /freebsd/contrib/ncurses/progs/ |
| H A D | tabs.c | 304 char *copied = trimmed_tab_list(value); in add_to_tab_list() local 306 if (copied != NULL && *copied != '\0') { in add_to_tab_list() 308 size_t need = 1 + strlen(copied); in add_to_tab_list() 310 if (*copied == ',') in add_to_tab_list() 329 _nc_STRCAT(result, copied, need); in add_to_tab_list() 333 free(copied); in add_to_tab_list()
|
| /freebsd/contrib/elftoolchain/libelftc/ |
| H A D | elftc_string_table.c | 238 size_t copied, offset, length, newsize; in elftc_string_table_image() local 262 s += length, r += copied) { in elftc_string_table_image() 264 copied = 0; in elftc_string_table_image() 284 copied = length; in elftc_string_table_image() 289 memmove(r, s, copied); in elftc_string_table_image()
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | dmu_os.c | 84 int tocpy, copied, thiscpy; in dmu_write_pages() local 109 for (copied = 0; copied < tocpy; copied += PAGESIZE) { in dmu_write_pages() 112 thiscpy = MIN(PAGESIZE, tocpy - copied); in dmu_write_pages()
|
| /freebsd/sys/netinet/ |
| H A D | accf_http.c | 280 int ccleft, copied; in soishttpconnected() local 293 copied = 0; in soishttpconnected() 306 tocopy = (NCHRS - ccleft) - copied; in soishttpconnected() 310 switch (copied++) { in soishttpconnected()
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | CMS_get1_ReceiptRequest.pod | 49 The signedContentIdentifier is copied to B<pcid>. If the B<allOrFirstTier> 50 option of B<receiptsFrom> is used its value is copied to B<pallorfirst> 51 otherwise the B<receiptList> field is copied to B<plist>. The B<receiptsTo> 52 parameter is copied to B<prto>.
|
| H A D | SSL_get_client_random.pod | 28 total number of bytes that were actually copied. If B<outlen> is 42 B<len> should be provided at B<in>. The supplied master key is copied by the 83 return the number of bytes actually copied, which will be less than or equal to
|
| /freebsd/usr.sbin/iovctl/ |
| H A D | iovctl.c | 123 size_t copied, size; in open_device() local 136 copied = strlcpy(dev, dev_name, size); in open_device() 138 copied = snprintf(dev, size, "/dev/iov/%s", dev_name); in open_device() 141 if (copied >= size) in open_device()
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
| H A D | clonefile.c | 322 ssize_t copied = cf_copy_file_range(sfd, &soff, dfd, &doff, len, 0); in do_copyfilerange() local 323 if (copied < 0) { in do_copyfilerange() 336 if (copied != len) { in do_copyfilerange() 338 "requested=%zu; copied=%zd\n", len, copied); in do_copyfilerange()
|
| /freebsd/crypto/openssl/crypto/dso/ |
| H A D | dso_lib.c | 227 char *copied; in DSO_set_filename() local 238 copied = OPENSSL_strdup(filename); in DSO_set_filename() 239 if (copied == NULL) in DSO_set_filename() 242 dso->filename = copied; in DSO_set_filename()
|
| /freebsd/contrib/ncurses/ncurses/base/ |
| H A D | lib_overlay.c | 170 bool copied = FALSE; in copywin() local 189 copied = TRUE; in copywin() 216 if (copied) in copywin()
|
| /freebsd/contrib/libcbor/oss-fuzz/ |
| H A D | cbor_load_fuzzer.cc | 80 cbor_item_t *copied = cbor_copy(item); in LLVMFuzzerTestOneInput() local 81 cbor_decref(&copied); in LLVMFuzzerTestOneInput()
|
| /freebsd/contrib/ncurses/ncurses/tinfo/ |
| H A D | read_termcap.c | 1039 char *copied = NULL; in _nc_read_termcap_entry() local 1058 if ((copied = strdup(get_termpath())) != NULL) { in _nc_read_termcap_entry() 1059 for (cp = copied; *cp; cp++) { in _nc_read_termcap_entry() 1062 else if (cp == copied || cp[-1] == '\0') { in _nc_read_termcap_entry() 1143 if (copied != NULL) in _nc_read_termcap_entry() 1144 free(copied); in _nc_read_termcap_entry()
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | ring_buf.h | 236 size_t src_len = 0, copied = 0; in ring_buf_resize() local 253 if (!ring_buf_get_buf_at(r, r->ctail_offset + copied, &src, &src_len)) { in ring_buf_resize() 266 copied += src_len; in ring_buf_resize()
|
| /freebsd/contrib/llvm-project/llvm/include/ |
| H A D | module.modulemap.build | 1 // This is copied into the build area for a $src != $build compilation.
|
| /freebsd/contrib/sqlite3/autosetup/teaish/ |
| H A D | README.txt | 3 generation process, they are copied into <TOP>/autoconf/autosetup/teaish
|
| /freebsd/contrib/netcat/ |
| H A D | FREEBSD-upgrade | 5 nc(1) is very small and most of code are just copied as-is from OpenBSD. With a
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | scatterlist.h | 575 size_t len, copied; in sg_pcopy_from_buffer() local 582 copied = 0; in sg_pcopy_from_buffer() 608 copied += len; in sg_pcopy_from_buffer() 617 return (copied); in sg_pcopy_from_buffer()
|
| /freebsd/bin/sh/ |
| H A D | nodetypes | 44 # other - any type that can be copied by assignment 45 # temp - a field that doesn't have to be copied when the node is copied
|
| /freebsd/contrib/less/ |
| H A D | filename.c | 312 typedef struct xcpy { char *dest; size_t copied; } xcpy; member 317 xp->copied++; in xcpy_char() 336 xp.copied = 0; in fexpand_copy() 372 return xp.copied; in fexpand_copy()
|