/freebsd/sys/contrib/openzfs/lib/libspl/ |
H A D | strlcpy.c | 42 size_t copied; in strlcpy() local 48 copied = len - 1; in strlcpy() 50 copied = slen; in strlcpy() 51 (void) memcpy(dst, src, copied); in strlcpy() 52 dst[copied] = '\0'; in strlcpy()
|
H A D | strlcat.c | 45 size_t copied; in strlcat() local 53 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; in strlcat() 54 (void) memcpy(dst + l1, src, copied); in strlcat() 55 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 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() 522 } else if (copied + placed != 0) { in insert_ddp_data() 525 __func__, job, copied, placed); in insert_ddp_data() [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 != 0 && *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 | 83 int tocpy, copied, thiscpy; in dmu_write_pages() local 101 for (copied = 0; copied < tocpy; copied += PAGESIZE) { in dmu_write_pages() 104 thiscpy = MIN(PAGESIZE, tocpy - copied); in dmu_write_pages()
|
/freebsd/sys/netinet/ |
H A D | accf_http.c | 281 int ccleft, copied; in soishttpconnected() local 294 copied = 0; in soishttpconnected() 307 tocopy = (NCHRS - ccleft) - copied; in soishttpconnected() 311 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
|
H A D | SSL_CTX_set_record_padding_callback.pod | 34 for TLS 1.3 records. The value set in B<ctx> is copied to a new SSL by SSL_new(). 40 set in B<ctx> is copied to a new SSL by SSL_new().
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | clonefile.c | 318 ssize_t copied = cf_copy_file_range(sfd, &soff, dfd, &doff, len, 0); in do_copyfilerange() local 319 if (copied < 0) { in do_copyfilerange() 332 if (copied != len) { in do_copyfilerange() 334 "requested=%lu; copied=%lu\n", len, copied); in do_copyfilerange()
|
/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/crypto/openssl/crypto/dso/ |
H A D | dso_lib.c | 232 char *copied; in DSO_set_filename() local 243 copied = OPENSSL_strdup(filename); in DSO_set_filename() 244 if (copied == NULL) { in DSO_set_filename() 249 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 = 0; in _nc_read_termcap_entry() local 1058 if ((copied = strdup(get_termpath())) != 0) { 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 != 0) in _nc_read_termcap_entry() 1144 free(copied); in _nc_read_termcap_entry()
|
/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/sys/compat/linuxkpi/common/include/linux/ |
H A D | scatterlist.h | 575 size_t len, copied; in sg_pcopy_from_buffer() 582 copied = 0; in sg_pcopy_from_buffer() 606 /* We copied so nothing more to skip. */ in sg_pcopy_from_buffer() 608 copied += len; in sg_pcopy_from_buffer() 617 return (copied); 572 size_t len, copied; sg_pcopy_from_buffer() local
|
/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/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/usr.bin/bmake/tests/ |
H A D | README | 116 are copied from the source to the working directory 119 may be copied from/to sub-directories. The sub-directory 138 it is automatically copied to the working directory.
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
H A D | redacted_contents.ksh | 91 [[ -f $recv_mnt/f1.copied ]] && log_fail "Found moved file in redacted receive." 104 [[ -f $recv_mnt/f1.copied ]] && log_fail "Found moved file in redacted receive."
|