Home
last modified time | relevance | path

Searched refs:copied (Results 1 – 25 of 84) sorted by relevance

1234

/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dmisc.c54 size_t copied; in strlcpy() local
60 copied = len - 1; in strlcpy()
62 copied = slen; in strlcpy()
63 (void) memcpy(dst, src, copied); in strlcpy()
64 dst[copied] = '\0'; in strlcpy()
77 size_t copied; in strlcat() local
85 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; in strlcat()
86 (void) memcpy(dst + l1, src, copied); in strlcat()
87 dst[l1+copied] = '\0'; in strlcat()
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dcopy.c37 copyinstr(const char *src, char *dst, size_t max_len, size_t *copied) in copyinstr() argument
39 return (copystr(src, dst, max_len, copied)); in copyinstr()
45 size_t copied; in copystr() local
50 copied = strlcpy(dst, src, max_len) + 1; in copystr()
51 if (copied >= max_len) in copystr()
55 *outlen = copied; in copystr()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrlcpy.c41 size_t copied; in strlcpy() local
47 copied = len - 1; in strlcpy()
49 copied = slen; in strlcpy()
50 (void) memcpy(dst, src, copied); in strlcpy()
51 dst[copied] = '\0'; in strlcpy()
H A Dstrlcat.c45 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()
/illumos-gate/usr/src/uts/intel/io/viona/
H A Dviona_rx.c151 size_t copied = 0; in viona_copy_mblk() local
171 copied += to_copy; in viona_copy_mblk()
202 return (copied); in viona_copy_mblk()
213 size_t len, copied = 0; in viona_recv_plain() local
247 copied += viona_copy_mblk(mp, copied, buf, len, &end); in viona_recv_plain()
255 copied += viona_copy_mblk(mp, copied, buf, len, &end); in viona_recv_plain()
259 if (copied != msz) { in viona_recv_plain()
261 uint16_t, cookie, mblk_t *, mp, size_t, copied, in viona_recv_plain()
269 copied += hdr_sz; in viona_recv_plain()
290 vq_pushchain(ring, copied, cookie); in viona_recv_plain()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A DCONVERT.mk31 * files in the original source directory are copied
40 * files matching pattern are not copied into the converted
47 * files in the from directory are copied to the to directory
56 * file files or files in subdirectories to be copied;
57 * explicit files are copied to the to directory;
59 * is recursively copied to the converted directory
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_recv.c340 int copied = 0; in rdsv3_ib_inc_copy_to_user() local
351 while (copied < size && copied < len) { in rdsv3_ib_inc_copy_to_user()
357 to_copy = min(len - copied, RDSV3_FRAG_SIZE - frag_off); in rdsv3_ib_inc_copy_to_user()
358 to_copy = min(size - copied, to_copy); in rdsv3_ib_inc_copy_to_user()
375 copied += to_copy; in rdsv3_ib_inc_copy_to_user()
379 "Return: inc: %p, copied: %d", inc, copied); in rdsv3_ib_inc_copy_to_user()
381 return (copied); in rdsv3_ib_inc_copy_to_user()
605 unsigned long copied; in rdsv3_ib_cong_recv() local
623 copied = 0; in rdsv3_ib_cong_recv()
625 while (copied < RDSV3_CONG_MAP_BYTES) { in rdsv3_ib_cong_recv()
[all …]
H A Dmessage.c399 int copied; in rdsv3_message_inc_copy_to_user() local
411 copied = 0; in rdsv3_message_inc_copy_to_user()
413 while (copied < size && copied < len) { in rdsv3_message_inc_copy_to_user()
415 to_copy = min(len - copied, sg->length - vec_off); in rdsv3_message_inc_copy_to_user()
416 to_copy = min(size - copied, to_copy); in rdsv3_message_inc_copy_to_user()
428 copied += to_copy; in rdsv3_message_inc_copy_to_user()
436 return (copied); in rdsv3_message_inc_copy_to_user()
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj_subr.c97 size_t copied; in stand_strlcat() local
105 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; in stand_strlcat()
106 bcopy(src, dst + l1, copied); in stand_strlcat()
107 dst[l1+copied] = '\0'; in stand_strlcat()
/illumos-gate/usr/src/common/util/
H A Dstring.c620 size_t copied; in strlcat() local
629 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; in strlcat()
630 bcopy(src, dst + l1, copied); in strlcat()
631 dst[l1+copied] = '\0'; in strlcat()
639 size_t copied; in strlcpy() local
645 copied = len - 1; in strlcpy()
647 copied = slen; in strlcpy()
648 bcopy(src, dst, copied); in strlcpy()
649 dst[copied] = '\0'; in strlcpy()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_fsctl_copychunk.c299 uint32_t copied; in smb2_fsctl_copychunk_array() local
324 copied = save_len - cc->length; in smb2_fsctl_copychunk_array()
325 ccr->TotalBytesWritten += copied; in smb2_fsctl_copychunk_array()
328 ccr->ChunkBytesWritten = copied; in smb2_fsctl_copychunk_array()
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c461 int tocopy, copied; in spppcomp_outpkt() local
467 tocopy = copied = MIN(len, sizeof (indata)); in spppcomp_outpkt()
515 zmp = msgpullup(mp, copied); in spppcomp_outpkt()
562 copied -= thislen; in spppcomp_outpkt()
563 ASSERT(copied >= PPP_HDRLEN); in spppcomp_outpkt()
566 copied = 0; in spppcomp_outpkt()
568 if (MBLKL(mp) < copied) { in spppcomp_outpkt()
569 zmp = msgpullup(mp, copied); in spppcomp_outpkt()
580 copied -= PPP_HDRLEN; in spppcomp_outpkt()
581 if (copied > 0) { in spppcomp_outpkt()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/etc/secret/
H A Dtcpkeys.sample5 # This file should be copied into /etc/inet/secret/tcpkeys and modified, and
H A Dipseckeys.sample30 # This file should be copied into /etc/inet/secret/ipseckeys to load the
/illumos-gate/usr/src/compat/bhyve/
H A DREADME6 For headers which would otherwise be copied verbatim from FreeBSD, the
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dstrncpy.S56 ! are copied to s1. If a null character is reached in s2 yet more
57 ! bytes remain to be copied, strncpy will copy null bytes into
62 ! is copied based upon destination alignment. (byte, half-word,
/illumos-gate/usr/src/lib/libc/sparcv9/crt/
H A D__align_cpy_8.S78 bz,pn %xcc, .wrdbl2 ! Only 8 bytes need to be copied.
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_log.c556 size_t dlen, copied; local
631 for (copied = 0; ((ipl = ifs->ifs_iplt[unit]) != NULL); copied += dlen) {
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_subr.c788 ssize_t copied = 0; in so_dequeue_msg() local
793 copied = sod_uioa_mblk(so, mp); in so_dequeue_msg()
794 if (copied > 0) in so_dequeue_msg()
819 copied = oldresid - uiop->uio_resid; in so_dequeue_msg()
823 ASSERT(copied >= 0); in so_dequeue_msg()
824 if (copied > 0 && !(flags & MSG_PEEK)) { in so_dequeue_msg()
826 so->so_rcv_queued -= copied; in so_dequeue_msg()
829 so->so_oobmark -= copied; in so_dequeue_msg()
/illumos-gate/usr/src/tools/cscope-fast/
H A Dmain.c960 int copied = 0; /* copied crossref for these files */ in build() local
1138 if (copied == 0) { in build()
1144 (long)copied); in build()
1181 ++copied; in build()
/illumos-gate/usr/src/cmd/lp/filter/postscript/postscript/
H A DREADME23 Prologues and a few other PostScript files that are copied to /usr/lib/postscript
/illumos-gate/usr/src/cmd/netfiles/
H A Dnsswitch.files27 # An example file that could be copied over to /etc/nsswitch.conf; it
/illumos-gate/usr/src/cmd/ipf/tools/
H A DIPFILTER.LICENCE16 * copied, in part or in whole, and put under another distribution licence
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dstrncpy.S56 ! are copied to s1. If a null character is reached in s2 yet more
57 ! bytes remain to be copied, strncpy will copy null bytes into
62 ! is copied based upon destination alignment. (byte, half-word,
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_subr.c976 int32_t error, lbsize, lbmask, sz, iulen, idlen, copied = 0; in ud_get_next_fid() local
1018 copied = 1; in ud_get_next_fid()
1075 if (copied == 1) { in ud_get_next_fid()
1081 copied = 1; in ud_get_next_fid()
1138 if (copied == 1) { in ud_get_next_fid()

1234