Home
last modified time | relevance | path

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

1234

/titanic_44/usr/src/lib/libfakekernel/common/
H A Dcopy.c23 copyinstr(const char *src, char *dst, size_t max_len, size_t *copied) in copyinstr() argument
25 return (copystr(src, dst, max_len, copied)); in copyinstr()
31 size_t copied; in copystr() local
36 copied = strlcpy(dst, src, max_len) + 1; in copystr()
37 if (copied >= max_len) in copystr()
41 *outlen = copied; in copystr()
/titanic_44/usr/src/lib/libc/port/gen/
H A Dstrlcpy.c43 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 Dstrlcat.c47 size_t copied; in strlcat() local
55 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; in strlcat()
56 (void) memcpy(dst + l1, src, copied); in strlcat()
57 dst[l1+copied] = '\0'; in strlcat()
/titanic_44/usr/src/lib/print/libpapi-common/common/
H A Dmisc.c56 size_t copied; in strlcpy() local
62 copied = len - 1; in strlcpy()
64 copied = slen; in strlcpy()
65 (void) memcpy(dst, src, copied); in strlcpy()
66 dst[copied] = '\0'; in strlcpy()
79 size_t copied; in strlcat() local
87 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; in strlcat()
88 (void) memcpy(dst + l1, src, copied); in strlcat()
89 dst[l1+copied] = '\0'; in strlcat()
/titanic_44/usr/src/uts/common/krtld/
H A Dkobj_subr.c92 size_t copied; in stand_strlcat() local
100 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; in stand_strlcat()
101 bcopy(src, dst + l1, copied); in stand_strlcat()
102 dst[l1+copied] = '\0'; in stand_strlcat()
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_recv.c339 int copied = 0; in rdsv3_ib_inc_copy_to_user() local
350 while (copied < size && copied < len) { in rdsv3_ib_inc_copy_to_user()
356 to_copy = min(len - copied, RDSV3_FRAG_SIZE - frag_off); in rdsv3_ib_inc_copy_to_user()
357 to_copy = min(size - copied, to_copy); in rdsv3_ib_inc_copy_to_user()
374 copied += to_copy; in rdsv3_ib_inc_copy_to_user()
378 "Return: inc: %p, copied: %d", inc, copied); in rdsv3_ib_inc_copy_to_user()
380 return (copied); in rdsv3_ib_inc_copy_to_user()
604 unsigned long copied; in rdsv3_ib_cong_recv() local
622 copied = 0; in rdsv3_ib_cong_recv()
624 while (copied < RDSV3_CONG_MAP_BYTES) { in rdsv3_ib_cong_recv()
[all …]
H A Dmessage.c398 int copied; in rdsv3_message_inc_copy_to_user() local
410 copied = 0; in rdsv3_message_inc_copy_to_user()
412 while (copied < size && copied < len) { in rdsv3_message_inc_copy_to_user()
414 to_copy = min(len - copied, sg->length - vec_off); in rdsv3_message_inc_copy_to_user()
415 to_copy = min(size - copied, to_copy); in rdsv3_message_inc_copy_to_user()
427 copied += to_copy; in rdsv3_message_inc_copy_to_user()
435 return (copied); in rdsv3_message_inc_copy_to_user()
/titanic_44/usr/src/common/util/
H A Dstring.c569 size_t copied; in strlcat() local
578 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; in strlcat()
579 bcopy(src, dst + l1, copied); in strlcat()
580 dst[l1+copied] = '\0'; in strlcat()
588 size_t copied; in strlcpy() local
594 copied = len - 1; in strlcpy()
596 copied = slen; in strlcpy()
597 bcopy(src, dst, copied); in strlcpy()
598 dst[copied] = '\0'; in strlcpy()
/titanic_44/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c458 int tocopy, copied; in spppcomp_outpkt() local
464 tocopy = copied = MIN(len, sizeof (indata)); in spppcomp_outpkt()
512 zmp = msgpullup(mp, copied); in spppcomp_outpkt()
559 copied -= thislen; in spppcomp_outpkt()
560 ASSERT(copied >= PPP_HDRLEN); in spppcomp_outpkt()
563 copied = 0; in spppcomp_outpkt()
565 if (MBLKL(mp) < copied) { in spppcomp_outpkt()
566 zmp = msgpullup(mp, copied); in spppcomp_outpkt()
577 copied -= PPP_HDRLEN; in spppcomp_outpkt()
578 if (copied > 0) { in spppcomp_outpkt()
[all …]
/titanic_44/usr/src/lib/libc/sparcv9/crt/
H A D__align_cpy_8.s78 bz,pn %xcc, .wrdbl2 ! Only 8 bytes need to be copied.
/titanic_44/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,
/titanic_44/usr/src/tools/scripts/
H A Dhgstyle17 start_file_copies = 'copied:\n'
/titanic_44/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) {
/titanic_44/usr/src/cmd/cmd-inet/etc/secret/
H A Dipseckeys.sample32 # This file should be copied into /etc/inet/secret/ipseckeys to load the
/titanic_44/usr/src/cmd/lp/filter/postscript/postscript/
H A DREADME23 Prologues and a few other PostScript files that are copied to /usr/lib/postscript
/titanic_44/usr/src/cmd/ipf/tools/
H A DIPFILTER.LICENCE16 * copied, in part or in whole, and put under another distribution licence
/titanic_44/usr/src/tools/cscope-fast/
H A Dmain.c962 int copied = 0; /* copied crossref for these files */ in build() local
1140 if (copied == 0) { in build()
1146 (long)copied); in build()
1183 ++copied; in build()
/titanic_44/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_subr.c787 ssize_t copied = 0; in so_dequeue_msg() local
792 copied = sod_uioa_mblk(so, mp); in so_dequeue_msg()
793 if (copied > 0) in so_dequeue_msg()
818 copied = oldresid - uiop->uio_resid; in so_dequeue_msg()
822 ASSERT(copied >= 0); in so_dequeue_msg()
823 if (copied > 0 && !(flags & MSG_PEEK)) { in so_dequeue_msg()
825 so->so_rcv_queued -= copied; in so_dequeue_msg()
828 so->so_oobmark -= copied; in so_dequeue_msg()
/titanic_44/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,
/titanic_44/usr/src/cmd/netfiles/
H A Dnsswitch.files28 # An example file that could be copied over to /etc/nsswitch.conf; it
H A Dnsswitch.ldap26 # An example file that could be copied over to /etc/nsswitch.conf; it
H A Dnsswitch.nis26 # An example file that could be copied over to /etc/nsswitch.conf; it
/titanic_44/usr/src/cmd/lp/filter/postscript/font/devpost/charlib/
H A DREADME34 is named by its two character troff name and is copied to the output file,
/titanic_44/usr/src/uts/common/xen/public/
H A DCOPYING10 The intention is that these files can be freely copied into the source
/titanic_44/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