Searched defs:from (Results 1 - 25 of 283) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libmail/common/
H A Dstrmove.c40 * void strmove(char *to, char *from)
49 strmove(char *to, char *from) argument
51 while ((*to++ = *from++) != 0)
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Dmemcmp.c32 p_memcmp(const char *to, const char *from, unsigned size) argument
34 while ((--size) && (*to++ == *from++))
37 return (size || (*to != *from));
H A Dstrcpy.c32 strcpy(char *to, const char *from) argument
34 while (*from)
35 *to++ = *from++;
H A Dp_string.c44 * 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);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dcp_key_cnt.c12 * Export of this software from the United States of America may
13 * require a specific license from the United States Government.
42 krb5_copy_keyblock_contents(krb5_context context, const krb5_keyblock *from, krb5_keyblock *to) argument
47 if (to != NULL && from != NULL) {
48 to->contents = (krb5_octet *)malloc(from->length);
52 ret = krb5_copy_keyblock_data(context, from, to);
H A Dcopy_tick.c7 * Export of this software from the United States of America may
8 * require a specific license from the United States Government.
95 krb5_copy_ticket(krb5_context context, const krb5_ticket *from, krb5_ticket **pto) argument
103 *tempto = *from;
104 retval = krb5_copy_principal(context, from->server, &tempto->server);
109 retval = krb5_copy_data(context, &from->enc_part.ciphertext, &scratch);
117 retval = krb5_copy_enc_tkt_part(context, from->enc_part2, &tempto->enc_part2);
/illumos-gate/usr/src/boot/lib/libc/string/
H A Dstrcpy.c14 * may be used to endorse or promote products derived from this software
39 strcpy(char * __restrict to, const char * __restrict from) argument
43 for (; (*to = *from); ++from, ++to);
H A Dswab.c5 * This code is derived from software contributed to Berkeley by
17 * may be used to endorse or promote products derived from this software
42 swab(const void * __restrict from, void * __restrict to, ssize_t len) argument
51 fp = (char *)from;
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioCopy.cc41 Audio* from, // input source
48 return (AudioCopy(from, to, frompos, topos, limit));
55 Audio* from, // input source
61 return (from->Copy(to, frompos, topos, limit));
68 Audio* from, // input source
74 return (from->AsyncCopy(to, frompos, topos, limit));
40 AudioCopy( Audio* from, Audio* to) argument
54 AudioCopy( Audio* from, Audio* to, Double& frompos, Double& topos, Double& limit) argument
67 AudioAsyncCopy( Audio* from, Audio* to, Double& frompos, Double& topos, Double& limit) argument
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dcopy_key.c12 * Export of this software from the United States of America may
13 * require a specific license from the United States Government.
46 const krb5_keyblock *from, krb5_keyblock *to)
51 if (from == NULL || to == NULL)
54 if ((to->contents == NULL || from->contents == NULL) &&
55 from->length > 0)
58 to->magic = from->magic;
59 to->enctype = from->enctype;
60 to->length = from->length;
63 if (from
45 krb5_copy_keyblock_data(krb5_context context, const krb5_keyblock *from, krb5_keyblock *to) argument
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Duucopy.c31 uucopy(const void *from, void *to, size_t size) argument
38 ucopy(from, to, size);
46 uucopystr(const char *from, char *to, size_t size) argument
54 ucopystr(from, to, size, &len);
H A Drename.c30 * Portions of this source code were derived from Berkeley 4.3 BSD
31 * under license from the Regents of the University of California.
51 renameat(int ffd, char *from, int tfd, char *to) argument
57 if (from == NULL || to == NULL)
59 if ((error = fgetstartvp(ffd, from, &fstartvp)) != 0)
64 error = vn_renameat(fstartvp, from, tstartvp, to, UIO_USERSPACE);
77 rename(char *from, char *to) argument
79 return (renameat(AT_FDCWD, from, AT_FDCWD, to));
H A Dlink.c30 * Portions of this source code were derived from Berkeley 4.3 BSD
31 * under license from the Regents of the University of California.
51 linkat(int ffd, char *from, int tfd, char *to, int flag) argument
62 if (from == NULL || to == NULL)
64 if ((error = fgetstartvp(ffd, from, &fstartvp)) != 0)
69 error = vn_linkat(fstartvp, from, follow, tstartvp, to, UIO_USERSPACE);
82 link(char *from, char *to) argument
84 return (linkat(AT_FDCWD, from, AT_FDCWD, to, 0));
/illumos-gate/usr/src/lib/libcurses/screen/
H A DmemSset.c35 * University Acknowledgment- Portions of this document are derived from
57 char *from; /* %r7 */ local
65 from = (char *)sfrom;
68 /* bcopy (count, to, from) */
76 char *from; /* 4(%fp) */
84 from = (char *)sfrom;
91 asm(" movw 4(%fp),%r0"); /* from */
110 memcpy(char *to, char *from, int count) argument
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dswab.c43 #define STEP (void)((temp = *from++), (*to++ = *from++), (*to++ = temp))
49 const char *from = (const char *)src; local
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_path.c32 prom_path_gettoken(register char *from, register char *to) argument
34 while (*from) {
35 switch (*from) {
41 return (from);
43 *to++ = *from++;
47 return (from);
62 char *from = tmp; local
83 if ((uintptr_t)from > (uint32_t)-1) {
84 from = promplat_alloc(OBP_MAXPATHLEN);
85 if (from
159 prom_strip_options(char *from, char *to) argument
[all...]
/illumos-gate/usr/src/lib/libast/common/string/
H A Dswapmem.c35 * from==to is ok
39 swapmem(int op, const void* from, void* to, register size_t n) argument
41 register char* f = (char*)from;
/illumos-gate/usr/src/common/crypto/ecc/
H A Dsecitem.c133 SECITEM_CopyItem(PRArenaPool *arena, SECItem *to, const SECItem *from, argument
136 to->type = from->type;
137 if (from->data && from->len) {
139 to->data = (unsigned char*) PORT_ArenaAlloc(arena, from->len,
142 to->data = (unsigned char*) PORT_Alloc(from->len, kmflag);
148 PORT_Memcpy(to->data, from->data, from->len);
149 to->len = from->len;
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Ddispatch.c11 * Export of this software from the United States of America may
12 * require a specific license from the United States Government.
47 dispatch(krb5_data *pkt, const krb5_fulladdr *from, krb5_data **response) argument
63 name = (char *) inet_ntop (ADDRTYPE2FAMILY (from->address->addrtype),
64 from->address->contents, buf, sizeof (buf));
68 "DISPATCH: repeated (retransmitted?) request from %s, resending previous response",
81 /* Grab random data from OS every hour*/
98 retval = process_tgs_req(pkt, from, response);
106 retval = process_as_req(as_req, pkt, from, response);
113 retval = process_v4(pkt, from, respons
[all...]
/illumos-gate/usr/src/ucbcmd/ln/
H A Dln.c76 linkit(char *from, char *to) argument
84 if (sflag == 0 && fflag == 0 && stat(from, &stb) >= 0 &&
86 printf("%s is a directory\n", from);
90 tail = strrchr(from, '/');
92 tail = from;
103 if ((*linkf)(from, to) < 0) {
106 else if (access(from, 0) < 0)
107 Perror(from);
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Drtime.c35 * University Acknowledgment- Portions of this document are derived from
43 * rtime - get time from remote machine
45 * gets time, obtaining value from host
85 struct sockaddr_in from; local
120 fromlen = sizeof (from);
122 (struct sockaddr *)&from, &fromlen);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_delete.c7 * This code is derived from software contributed to Berkeley by
23 * may be used to endorse or promote products derived from this software
146 * __REC_DLEAF -- Delete a single record from a recno leaf page.
164 char *from; local
168 * Delete a record from a recno leaf page. Internal records are never
169 * deleted from internal pages, regardless of the records that caused
186 from = (char *)h + h->upper;
187 memmove(from + nbytes, from, (char *)to - from);
[all...]
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dmovedir.c47 * Move directory contents from one place to another
50 move_dir(char *from, char *to, char *login, int flags) argument
51 /* directory to move files from */
64 if (access(from, F_OK) == 0) { /* home dir exists */
68 from, to);
71 errmsg(M_NOSPACE, from, to);
76 * Check that to dir is not a subdirectory of from
78 len = strlen(from);
79 if (strncmp(from, to, len) == 0 &&
85 if (stat(from,
[all...]
/illumos-gate/usr/src/boot/lib/libstand/powerpc/
H A Dsyncicache.c18 * derived from this software without specific prior written permission.
77 __syncicache(void *from, int len) argument
87 off = (u_int)from & (cacheline_size - 1);
89 p = (char *)from - off;
96 p = (char *)from - off;
/illumos-gate/usr/src/cmd/tcpd/
H A DMakefile8 PROG= safe_finger tcpd tcpdchk tcpdmatch try-from
19 tcpd tcpdmatch try-from := \
40 try-from := LDFLAGS +=$(MAPFILE.INT.F:%=-M%)
59 try-from: try-from.o fakelog.o $(LIB) $(MAPFILE.INTF.F)
60 $(LINK.c) -o $@ try-from.o fakelog.o $(LDLIBS)
71 # The rest of this file contains definitions more-or-less directly from the
116 # The LOG_XXX names below are taken from the /usr/include/syslog.h file.

Completed in 90 milliseconds

1234567891011>>