/freebsd-10.3-release/sys/boot/arm/at91/libat91/ |
H A D | strcpy.c | 32 strcpy(char *to, const char *from) argument 35 *to++ = *from++; 36 *to++ = '\0'; 37 return (to);
|
H A D | memcmp.c | 32 p_memcmp(const char *to, const char *from, unsigned size) argument 34 while ((--size) && (*to++ == *from++)) 37 return (size || (*to != *from));
|
H A D | p_string.c | 5 * Instantiation of basic string operations to prevent inclusion of full 7 * for speed, but rather to show intent. 17 * relating to merchantability or fitness for any purpose is provided. All 32 * number of bytes to value. 44 * int p_memcmp(char *to, char *from, unsigned size) 45 * This global function compares data at to against data at from for 51 p_memcmp(const char *to, const char *from, unsigned size) argument 53 while ((--size) && (*to++ == *from++)) 56 return (*to != *from);
|
/freebsd-10.3-release/crypto/heimdal/lib/asn1/ |
H A D | der_copy.c | 20 * may be used to endorse or promote products derived from this software 42 heim_general_string *to) 44 *to = strdup(*from); 45 if(*to == NULL) 51 der_copy_integer (const int *from, int *to) argument 53 *to = *from; 58 der_copy_unsigned (const unsigned *from, unsigned *to) argument 60 *to = *from; 65 der_copy_generalized_time (const time_t *from, time_t *to) argument 67 *to 41 der_copy_general_string(const heim_general_string *from, heim_general_string *to) argument 72 der_copy_utctime(const time_t *from, time_t *to) argument 79 der_copy_utf8string(const heim_utf8_string *from, heim_utf8_string *to) argument 85 der_copy_printable_string(const heim_printable_string *from, heim_printable_string *to) argument 98 der_copy_ia5_string(const heim_ia5_string *from, heim_ia5_string *to) argument 105 der_copy_bmp_string(const heim_bmp_string *from, heim_bmp_string *to) argument 116 der_copy_universal_string(const heim_universal_string *from, heim_universal_string *to) argument 128 der_copy_visible_string(const heim_visible_string *from, heim_visible_string *to) argument 135 der_copy_octet_string(const heim_octet_string *from, heim_octet_string *to) argument 146 der_copy_heim_integer(const heim_integer *from, heim_integer *to) argument 158 der_copy_oid(const heim_oid *from, heim_oid *to) argument 170 der_copy_bit_string(const heim_bit_string *from, heim_bit_string *to) argument [all...] |
/freebsd-10.3-release/contrib/ipfilter/lib/ |
H A D | bcopywrap.c | 13 int bcopywrap(from, to, size) 14 void *from, *to; 17 bcopy((caddr_t)from, (caddr_t)to, size);
|
H A D | kmemcpywrap.c | 14 int kmemcpywrap(from, to, size) 15 void *from, *to; 20 ret = kmemcpy((caddr_t)to, (u_long)from, size);
|
/freebsd-10.3-release/crypto/heimdal/lib/roken/ |
H A D | swab.c | 18 * may be used to endorse or promote products derived from this software 40 swab (char *from, char *to, int nbytes) argument 43 *(to + 1) = *from; 44 *to = *(from + 1); 45 to += 2;
|
/freebsd-10.3-release/lib/libc/string/ |
H A D | stpcpy.c | 16 * may be used to endorse or promote products derived from this software 41 stpcpy(char * __restrict to, const char * __restrict from) argument 44 for (; (*to = *from); ++from, ++to); 45 return(to);
|
H A D | strcpy.c | 14 * may be used to endorse or promote products derived from this software 39 strcpy(char * __restrict to, const char * __restrict from) argument 41 char *save = to; 43 for (; (*to = *from); ++from, ++to);
|
H A D | wcpcpy.c | 16 * may be used to endorse or promote products derived from this software 41 wcpcpy(wchar_t * __restrict to, const wchar_t * __restrict from) argument 44 for (; (*to = *from); ++from, ++to); 45 return(to);
|
/freebsd-10.3-release/sys/libkern/ |
H A D | strcpy.c | 14 * may be used to endorse or promote products derived from this software 36 strcpy(char * __restrict to, const char * __restrict from) argument 38 char *save = to; 40 for (; (*to = *from) != 0; ++from, ++to);
|
/freebsd-10.3-release/usr.sbin/fifolog/lib/ |
H A D | miniobj.h | 29 #define ALLOC_OBJ(to, type_magic) \ 31 (to) = calloc(sizeof *(to), 1); \ 32 if ((to) != NULL) \ 33 (to)->magic = (type_magic); \ 36 #define FREE_OBJ(to) \ 38 (to)->magic = (0); \ 39 free(to); \ 62 #define CAST_OBJ(to, from, type_magic) \ 64 (to) [all...] |
/freebsd-10.3-release/lib/libc/amd64/string/ |
H A D | strcpy.c | 34 strcpy(char * __restrict to, const char * __restrict from) argument 36 __stpcpy(to, from); 37 return(to);
|
/freebsd-10.3-release/sys/kern/ |
H A D | tty_outq.c | 49 * bits for parity marking and such. This mechanism is similar to the 50 * old clists, but only contains the features we need to buffer the 61 #define TTYOUTQ_INSERT_TAIL(to, tob) do { \ 62 if (to->to_end == 0) { \ 63 tob->tob_next = to->to_firstblock; \ 64 to->to_firstblock = tob; \ 66 tob->tob_next = to->to_lastblock->tob_next; \ 67 to->to_lastblock->tob_next = tob; \ 69 to->to_nblocks++; \ 72 #define TTYOUTQ_REMOVE_HEAD(to) d 85 ttyoutq_flush(struct ttyoutq *to) argument 93 ttyoutq_setsize(struct ttyoutq *to, struct tty *tp, size_t size) argument 119 ttyoutq_free(struct ttyoutq *to) argument 135 ttyoutq_read(struct ttyoutq *to, void *buf, size_t len) argument 196 ttyoutq_read_uio(struct ttyoutq *to, struct tty *tp, struct uio *uio) argument 272 ttyoutq_write(struct ttyoutq *to, const void *buf, size_t nbytes) argument 317 ttyoutq_write_nofrag(struct ttyoutq *to, const void *buf, size_t nbytes) argument [all...] |
/freebsd-10.3-release/contrib/gcclibs/libiberty/ |
H A D | bzero.c | 20 bzero (void *to, size_t count) argument 22 memset (to, 0, count);
|
/freebsd-10.3-release/contrib/binutils/libiberty/ |
H A D | bzero.c | 20 bzero (void *to, size_t count) argument 22 memset (to, 0, count);
|
/freebsd-10.3-release/sys/ofed/include/asm/ |
H A D | uaccess.h | 36 copy_to_user(void *to, const void *from, unsigned long n) argument 38 if (copyout(from, to, n) != 0) 44 copy_from_user(void *to, const void *from, unsigned long n) argument 46 if (copyin(from, to, n) != 0)
|
/freebsd-10.3-release/crypto/heimdal/lib/krb5/ |
H A D | copy_host_realm.c | 18 * may be used to endorse or promote products derived from this software 37 * Copy the list of realms from `from' to `to'. 40 * @param from list of realms to copy from. 41 * @param to list of realms to copy to, free list of krb5_free_host_realm(). 43 * @return Returns 0 to indicate success. Otherwise an kerberos et 52 krb5_realm **to) 60 *to 50 krb5_copy_host_realm(krb5_context context, const krb5_realm *from, krb5_realm **to) argument [all...] |
/freebsd-10.3-release/contrib/unbound/compat/ |
H A D | memmove.c | 17 uint8_t* to = (uint8_t*) dest; local 19 if (from == to || n == 0) 21 if (to > from && to-from < (int)n) { 22 /* to overlaps with from */ 24 /* <to........> */ 25 /* copy in reverse, to avoid overwriting from */ 28 to[i] = from[i]; 31 if (from > to && from-to < (in [all...] |
/freebsd-10.3-release/contrib/libarchive/libarchive/ |
H A D | archive_write_disk_private.h | 30 #error This header is only to be used internally to libarchive.
|
/freebsd-10.3-release/contrib/ldns/compat/ |
H A D | memmove.c | 17 uint8_t* to = (uint8_t*) dest; local 19 if (from == to || n == 0) 21 if (to > from && to-from < (int)n) { 22 /* to overlaps with from */ 24 /* <to........> */ 25 /* copy in reverse, to avoid overwriting from */ 28 to[i] = from[i]; 31 if (from > to && from-to < (in [all...] |
/freebsd-10.3-release/sys/fs/tmpfs/ |
H A D | tmpfs_fifoops.h | 7 * This code is derived from software contributed to The NetBSD Foundation 39 #error not supposed to be exposed to userland.
|
/freebsd-10.3-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-statvfs.c | 6 * Permission to use, copy, modify, and distribute this software for any 31 copy_statfs_to_statvfs(struct statvfs *to, struct statfs *from) argument 33 to->f_bsize = from->f_bsize; 34 to->f_frsize = from->f_bsize; /* no exact equivalent */ 35 to->f_blocks = from->f_blocks; 36 to->f_bfree = from->f_bfree; 37 to->f_bavail = from->f_bavail; 38 to->f_files = from->f_files; 39 to->f_ffree = from->f_ffree; 40 to [all...] |
/freebsd-10.3-release/contrib/openbsm/compat/ |
H A D | endian.h | 43 * permit encoding to and decoding from byte streams. For those systems, we 51 unsigned char *to; local 55 to = (unsigned char *) &t; 57 to[0] = from[1]; 58 to[1] = from[0]; 67 unsigned char *to; local 71 to = (unsigned char *) &t; 73 to[0] = from[3]; 74 to[1] = from[2]; 75 to[ 85 unsigned char *to; local [all...] |
/freebsd-10.3-release/crypto/openssl/crypto/rsa/ |
H A D | rsa_none.c | 7 * The implementation was written so as to conform with Netscapes SSL. 10 * the following conditions are aheared to. The following conditions 11 * apply to all code found in this distribution, be it the RC4, RSA, 17 * the code are not to be removed. 65 int RSA_padding_add_none(unsigned char *to, int tlen, argument 78 memcpy(to, from, (unsigned int)flen); 82 int RSA_padding_check_none(unsigned char *to, int tlen, argument 91 memset(to, 0, tlen - flen); 92 memcpy(to + tlen - flen, from, flen);
|