Home
last modified time | relevance | path

Searched refs:cpy (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dlzjb.c55 uchar_t *cpy; in zfs_lzjb_compress_buf() local
84 cpy = src - offset; in zfs_lzjb_compress_buf()
85 if (cpy >= (uchar_t *)s_start && cpy != src && in zfs_lzjb_compress_buf()
86 src[0] == cpy[0] && src[1] == cpy[1] && src[2] == cpy[2]) { in zfs_lzjb_compress_buf()
89 if (src[mlen] != cpy[mlen]) in zfs_lzjb_compress_buf()
112 uchar_t *cpy; in zfs_lzjb_decompress_buf() local
125 if ((cpy = dst - offset) < (uchar_t *)d_start) in zfs_lzjb_decompress_buf()
128 *dst++ = *cpy++; in zfs_lzjb_decompress_buf()
H A Dlz4.c551 BYTE* cpy; in LZ4_decompress_generic() local
607 cpy = op+length; in LZ4_decompress_generic()
610 if ((cpy>oend-32) || (ip+length>iend-32)) { goto safe_literal_copy; } in LZ4_decompress_generic()
611 LZ4_wildCopy32(op, ip, cpy); in LZ4_decompress_generic()
613 if (cpy>oend-8) { goto safe_literal_copy; } in LZ4_decompress_generic()
614 … LZ4_wildCopy8(op, ip, cpy); /* LZ4_decompress_fast() cannot copy more than 8 bytes at a time : in LZ4_decompress_generic()
617 ip += length; op = cpy; in LZ4_decompress_generic()
619 cpy = op+length; in LZ4_decompress_generic()
632 ip += length; op = cpy; in LZ4_decompress_generic()
706 cpy = op + length; in LZ4_decompress_generic()
[all …]
/freebsd/contrib/mandoc/
H A Dtag.c94 char *cpy; in tag_put() local
145 cpy = mandoc_malloc(strlen(s) + 1); in tag_put()
153 cpy[len] = '-'; in tag_put()
163 cpy[len] = *src; in tag_put()
170 cpy[len] = '\0'; in tag_put()
175 s = cpy; in tag_put()
176 se = cpy + len; in tag_put()
233 free(cpy); in tag_put()
/freebsd/sys/cddl/contrib/opensolaris/common/lz4/
H A Dlz4.c908 BYTE *cpy; in LZ4_uncompress_unknownOutputSize() local
930 cpy = op + length; in LZ4_uncompress_unknownOutputSize()
932 if (cpy < op) in LZ4_uncompress_unknownOutputSize()
934 if ((cpy > oend - COPYLENGTH) || in LZ4_uncompress_unknownOutputSize()
936 if (cpy > oend) in LZ4_uncompress_unknownOutputSize()
950 LZ4_WILDCOPY(ip, op, cpy); in LZ4_uncompress_unknownOutputSize()
951 ip -= (op - cpy); in LZ4_uncompress_unknownOutputSize()
952 op = cpy; in LZ4_uncompress_unknownOutputSize()
955 LZ4_READ_LITTLEENDIAN_16(ref, cpy, ip); in LZ4_uncompress_unknownOutputSize()
994 cpy = op + length - (STEPSIZE - 4); in LZ4_uncompress_unknownOutputSize()
[all …]
/freebsd/sys/cddl/boot/zfs/
H A Dlzjb.c53 unsigned char *cpy, copymap = 0; in lzjb_decompress() local
65 if ((cpy = dst - offset) < (unsigned char *)d_start) in lzjb_decompress()
68 *dst++ = *cpy++; in lzjb_decompress()
/freebsd/contrib/libpcap/
H A Dnametoaddr.c473 char *off, *cpy; in pcap_nametoportrange() local
476 if ((cpy = strdup(name)) == NULL) in pcap_nametoportrange()
479 if ((off = strchr(cpy, '-')) == NULL) { in pcap_nametoportrange()
480 free(cpy); in pcap_nametoportrange()
486 if (pcap_nametoport(cpy, port1, proto) == 0) { in pcap_nametoportrange()
487 free(cpy); in pcap_nametoportrange()
493 free(cpy); in pcap_nametoportrange()
496 free(cpy); in pcap_nametoportrange()
H A Dgencode.c6778 char *cpy; in stringtoport() local
6800 cpy = malloc(string_size + 1); /* +1 for terminating '\0' */ in stringtoport()
6801 memcpy(cpy, string, string_size); in stringtoport()
6802 cpy[string_size] = '\0'; in stringtoport()
6803 tcp_port = nametoport(cstate, cpy, IPPROTO_TCP); in stringtoport()
6809 free(cpy); in stringtoport()
6813 udp_port = nametoport(cstate, cpy, IPPROTO_UDP); in stringtoport()
6819 free(cpy); in stringtoport()
6841 cpy); in stringtoport()
6844 free(cpy); in stringtoport()
[all …]
/freebsd/contrib/diff/lib/
H A Dstrftime.c175 #define cpy(n, s) \ macro
547 cpy (len, f);
651 cpy (aw_len, a_wkday);
666 cpy (STRLEN (f_wkday), f_wkday);
682 cpy (am_len, a_month);
697 cpy (STRLEN (f_month), f_month);
763 cpy (len, ubuf);
779 cpy (len, era->era_wname);
782 cpy (len, era->era_name);
857 cpy (digitlen, cp);
[all …]
/freebsd/crypto/openssl/crypto/engine/
H A Deng_dyn.c426 ENGINE cpy; in dynamic_load() local
489 memcpy(&cpy, e, sizeof(ENGINE)); in dynamic_load()
516 memcpy(e, &cpy, sizeof(ENGINE)); in dynamic_load()
/freebsd/contrib/flex/src/
H A Dmisc.c96 char *cpy; in action_define() local
109 cpy = xstrdup(defname); in action_define()
110 buf_append (&defs_buf, &cpy, 1); in action_define()
/freebsd/usr.sbin/bhyve/amd64/
H A Dpci_lpc.c95 char *str, *cpy, *lpcdev, *node_name; in lpc_device_parse() local
99 str = cpy = strdup(opts); in lpc_device_parse()
168 free(cpy); in lpc_device_parse()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_pragma.c246 char *provs, *cpy, *tok; in dt_pragma_depends() local
267 for (cpy = provs; (tok = strsep(&cpy, " ")) != NULL; ) in dt_pragma_depends()
/freebsd/crypto/openssl/include/openssl/
H A Dsafestack.h.in58 …sl_unused ossl_inline OPENSSL_sk_copyfunc ossl_check_##t1##_copyfunc_type(sk_##t1##_copyfunc cpy) \
60 return (OPENSSL_sk_copyfunc)cpy; \
H A Dsafestack.h55 …sl_unused ossl_inline OPENSSL_sk_copyfunc ossl_check_##t1##_copyfunc_type(sk_##t1##_copyfunc cpy) \
57 return (OPENSSL_sk_copyfunc)cpy; \
/freebsd/crypto/heimdal/lib/com_err/
H A DChangeLog188 * Makefile.in: add str{cpy,cat}_truncate
/freebsd/contrib/file/
H A DChangeLog1387 * Replace all str{cpy,cat} functions with strl{cpy,cat}
1388 * Ensure that strl{cpy,cat} are included in libmagic,
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SVEInstrInfo.td807 defm CPY_ZPmI : sve_int_dup_imm_pred_merge<"cpy">;
808 defm CPY_ZPzI : sve_int_dup_imm_pred_zero<"cpy">;
816 defm CPY_ZPmR : sve_int_perm_cpy_r<"cpy", AArch64dup_mt>;
817 defm CPY_ZPmV : sve_int_perm_cpy_v<"cpy", AArch64dup_mt>;