Searched defs:to (Results 1 - 25 of 281) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libmail/common/
H A Dabspath.c4 * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
34 * abspath - expand a path relative to some `.'
37 * string *abspath(char *path, char *dot, string *to)
42 * returned in "to". Otherwise, the value of "path" is
43 * returned in "to".
49 abspath(char *path, char *dot, string *to) argument
52 to = s_append(to, path);
54 to
[all...]
H A Dstrmove.c4 * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
40 * void strmove(char *to, char *from)
45 * It does it left-to-right, a byte at a time.
49 strmove(char *to, char *from) argument
51 while ((*to++ = *from++) != 0)
/illumos-gate/usr/src/cmd/oamuser/lib/
H A Dputgrent.c4 * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
37 * putgrent() function to write a group structure to a file
41 putgrent(struct group *grpstr, FILE *to) argument
49 * we assume that fgetgrent() set gr_gid to 0 so
55 (void) fprintf(to, "%s:%s:", grpstr->gr_name,
59 (void) fprintf(to, ":");
61 (void) fprintf(to, "%ld:", grpstr->gr_gid);
67 (void) fprintf(to, "
[all...]
H A Dputprojent.c4 * The contents of this file are subject to the terms of the
34 * putprojent() function to write a project structure to a file
37 putprojent(struct project *projstr, FILE *to) argument
41 (void) fprintf(to, "%s:%d:%s:", projstr->pj_name,
50 (void) fprintf(to, "%s", *memptr);
53 (void) fprintf(to, ",");
56 (void) fprintf(to, ":");
64 (void) fprintf(to, "%s", *memptr);
67 (void) fprintf(to, ",");
[all...]
/illumos-gate/usr/src/boot/lib/libc/string/
H A Dstpcpy.c16 * may be used to endorse or promote products derived from this software
37 stpcpy(char * __restrict to, const char * __restrict from) argument
40 for (; (*to = *from); ++from, ++to);
41 return (to);
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
41 char *save = to;
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
52 tp = (char *)to;
54 /* round to multiple of 8 */
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dcp_key_cnt.c3 * Use is subject to license terms.
15 * export to obtain such a license before exporting.
17 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
23 * to distribution of the software without specific, written prior
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);
49 if (!to->contents)
52 ret = krb5_copy_keyblock_data(context, from, to);
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfflush.c7 * This code is derived from software contributed to Berkeley by
10 * By using this file, you agree to the terms and conditions set
32 ** SM_IO_FLUSH -- flush the buffer for a 'fp' to the "file"
34 ** Flush a single file. We don't allow this function to flush
38 ** fp -- the file pointer buffer to flush
39 ** timeout -- time to complete the flush
52 struct timeval to; local
67 SM_CONVERT_TIME(fp, fd, timeout, &to);
79 ** fp -- file pointer to be flushed
124 ** Set these immediately to avoi
[all...]
H A Dsetvbuf.c7 * This code is derived from software contributed to Berkeley by
10 * By using this file, you agree to the terms and conditions set
37 ** fp -- the file that buffering is to be changed for
39 ** buf -- buffer to use
40 ** mode -- buffering method to use
60 struct timeval to; local
65 ** Verify arguments. The `int' limit on `size' is due to this
83 SM_CONVERT_TIME(fp, fd, timeout, &to);
103 ** a `tty flag' to suggest that we check isatty(fd), but we do not
104 ** care since our caller told us how to buffe
[all...]
H A Drefill.c7 * This code is derived from software contributed to Berkeley by
10 * By using this file, you agree to the terms and conditions set
37 ** This #define uses a select() to wait for the 'fd' to become readable.
38 ** The select() can be active for up to 'To' time. The select() may not
40 ** measured to decide how much to subtract from 'To' to update it. On some
44 ** since a BSD-like system will have updated it and we don't want to
51 ** fd -- raw file descriptor (from 'fp') to us
147 struct timeval to; local
[all...]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioCopy.cc4 * The contents of this file are subject to the terms of the
42 Audio* to) // output sink
48 return (AudioCopy(from, to, frompos, topos, limit));
56 Audio* to, // output sink
59 Double& limit) // amount to copy (updated)
61 return (from->Copy(to, frompos, topos, limit));
69 Audio* to, // output sink
72 Double& limit) // amount to copy (updated)
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.c3 * Use is subject to license terms.
15 * export to obtain such a license before exporting.
17 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
23 * to distribution of the software without specific, written prior
46 const krb5_keyblock *from, krb5_keyblock *to)
50 /* If nothing to copy, return no error */
51 if (from == NULL || to == NULL)
54 if ((to->contents == NULL || from->contents == NULL) &&
58 to->magic = from->magic;
59 to
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.c4 * The contents of this file are subject to the terms of the
23 * Use is subject to license terms.
31 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.c4 * The contents of this file are subject to the terms of the
48 * Rename a file relative to a given directory
51 renameat(int ffd, char *from, int tfd, char *to) argument
57 if (from == NULL || to == NULL)
61 if ((error = fgetstartvp(tfd, to, &tstartvp)) != 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));
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwscrl.c4 * The contents of this file are subject to the terms of the
56 int y, x, width, start, finish, to; local
65 /* Shuffle pointers in order to scroll. The region
66 * from start to finish inclusive will be moved to
72 to = w->_bottom;
76 to = w->_top;
84 (void) __m_ptr_move((void **) w->_line, w->_maxy, start, finish, to);
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwscrl.c4 * The contents of this file are subject to the terms of the
59 int start, finish, to; local
108 * Shuffle pointers in order to scroll. The region
109 * from start to finish inclusive will be moved to
115 to = w->_bottom;
119 to = w->_top;
127 start, finish, to);
H A Dptrmove.c4 * The contents of this file are subject to the terms of the
51 * Return -1 if the region to move is out of bounds or the target
58 unsigned int start, unsigned int finish, unsigned int to)
63 if (to < start) {
64 reverse(array, to, start-1);
66 reverse(array, to, finish);
67 } else if (finish < to && to <= length) {
69 reverse(array, finish+1, to-1);
70 reverse(array, start, to
57 __m_ptr_move(void **array, unsigned int length, unsigned int start, unsigned int finish, unsigned int to) argument
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A DmemSset.c4 * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
48 * additional memory routine to deal with memory areas in units of chtypes.
58 char *to; /* %r6 */ local
64 to = (char *)(sfrom + 1);
68 /* bcopy (count, to, from) */
75 char *to; /* 0(%fp) */
83 to = (char *)(sfrom + 1);
88 /* them in myself below to the regs where they belong. */
90 asm(" movw 0(%fp),%r1"); /* to */
110 memcpy(char *to, char *from, int count) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dswab.c4 * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
43 #define STEP (void)((temp = *from++), (*to++ = *from++), (*to++ = temp))
50 char *to = (char *)dest; local
55 /* round to multiple of 8 */
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_path.c4 * The contents of this file are subject to the terms of the
23 * Use is subject to license terms.
32 prom_path_gettoken(register char *from, register char *to) argument
40 *to = '\0';
43 *to++ = *from++;
46 *to = '\0';
51 * Given an OBP pathname, do the best we can to fully expand
54 * If we have to complete the addrspec of any component, we can
63 char *to = pathname; local
70 if ((to
159 prom_strip_options(char *from, char *to) argument
[all...]
/illumos-gate/usr/src/lib/libast/common/string/
H A Dswapmem.c34 * swap n bytes according to op
35 * from==to is ok
39 swapmem(int op, const void* from, void* to, register size_t n) argument
42 register char* t = (char*)to;
108 return to;
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dgetargs.c4 * The contents of this file are subject to the terms of the
25 * Use is subject to license terms.
37 * generate a vector of pointers (arps) to the
40 * s -> string to analyze -- s GETS MODIFIED
86 char *str, *to, *cp; local
91 for (to = str; *str; str++) {
113 *to++ = '\\';
114 *to++ = 'N';
116 *to++ = (char)num;
121 *to
[all...]
/illumos-gate/usr/src/common/crypto/ecc/
H A Dsecitem.c4 * The contents of this file are subject to the Mozilla Public License Version
27 * of those above. If you wish to allow use of your version of this file only
28 * under the terms of either the GPL or the LGPL, and not to allow others to
38 * Use is subject to license terms.
40 * Sun elects to use this software under the MPL license.
126 * item->len to 0.
133 SECITEM_CopyItem(PRArenaPool *arena, SECItem *to, const SECItem *from, argument
136 to->type = from->type;
139 to
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_atp.c4 * The contents of this file are subject to the terms of the
101 char *to = NULL; local
107 to = atp_trel[atp_tmo(ci)];
125 if (to != NULL)
126 (void) snprintf(p, tail-p, " %s", to);

Completed in 188 milliseconds

1234567891011>>