Searched refs:to (Results 1 - 25 of 808) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/mail/
H A Dcat.c4 * The contents of this file are subject to the terms of the
32 void cat(char *to, char *from1, char *from2)
35 cat() concatenates "from1" and "from2" to "to"
36 to -> destination string
42 cat(to, from1, from2)
43 register char *to, *from1, *from2;
45 for (; *from1;) *to++ = *from1++;
46 for (; *from2;) *to++ = *from2++;
47 *to
[all...]
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Dstrcpy.c32 strcpy(char *to, const char *from) argument
35 *to++ = *from++;
36 *to++ = '\0';
37 return (to);
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 Dp_string.c5 * 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);
/illumos-gate/usr/src/cmd/audio/include/
H A Darchdep.h4 * The contents of this file are subject to the terms of the
43 * The following macros are used to generate architecture-specific
50 #define DECODE_SHORT(from, to) *((short *)(to)) = *((short *)(from))
51 #define DECODE_LONG(from, to) *((long *)(to)) = *((long *)(from))
52 #define DECODE_FLOAT(from, to) *((float *)(to)) = *((float *)(from))
53 #define DECODE_DOUBLE(from, to) *((double *)(to))
[all...]
H A Daiff.h4 * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
45 * to make the conversion easier.
49 * order. Thus it is not possible to create a condensed header structure
61 * application should read the next integer to get the size and then
62 * seek past the unknown chunk to the next chunk.
83 * The COMMon chunk definitions. Due to an unfortunate layout, the integer
84 * aiff_comm_frames is not on a 4 byte boundary, which most compilers pad to
86 * gets around this. There are convenience macros to aid in getting and setting
87 * the value. Also, some compilers will pad the end of the data structure to
[all...]
/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)
H A Ds_string.c4 * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
38 /* global to this file */
111 * take a larger increment to avoid mallocing too often
166 sp->ptr = sp->end - (size_t)1; /* point to NULL terminator */
170 /* convert string to lower case */
187 /* append a char array to a string */
189 s_append(string *to, char *from) argument
191 if (to == NULL)
192 to
214 s_seq_read(FILE *fp, string *to, int lineortoken) argument
287 string *to = s_new(); local
300 string *to = s_clone(from); local
317 s_read_line(FILE *fp, string *to) argument
351 s_read_to_eof(FILE *fp, string *to) argument
388 s_parse(string *from, string *to) argument
[all...]
/illumos-gate/usr/src/cmd/vi/port/
H A Dbcopy.c4 * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
33 bcopy(from, to, count)
35 unsigned char *from, *to;
43 unsigned char *from, *to;
49 unsigned char *from, *to;
53 *to++ = *from++;
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dbcopywrap.c3 int bcopywrap(from, to, size)
4 void *from, *to;
7 bcopy((caddr_t)from, (caddr_t)to, size);
H A Dkmemcpywrap.c4 int kmemcpywrap(from, to, size)
5 void *from, *to;
10 ret = kmemcpy((caddr_t)to, (u_long)from, size);
/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/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/oamuser/lib/
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...]
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...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dswab.c4 * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
36 swab(from, to, n)
37 register char *from, *to;
45 #define STEP temp = *from++,*to++ = *from++,*to++ = temp
46 /* round to multiple of 8 */
/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/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
41 char *save = to;
43 for (; (*to = *from); ++from, ++to);
/illumos-gate/usr/src/cmd/initpkg/
H A Dnscd.conf4 # The contents of this file are subject to the terms of the
23 # Use is subject to license terms.
40 positive-time-to-live audit_user 3600
41 negative-time-to-live audit_user 5
45 positive-time-to-live auth_attr 3600
46 negative-time-to-live auth_attr 5
50 positive-time-to-live bootparams 3600
51 negative-time-to-live bootparams 5
55 positive-time-to-live ethers 3600
56 negative-time-to
[all...]
/illumos-gate/usr/src/head/audio/
H A Dau.h4 * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
44 * used to store additional information. At the minimum, it is at
54 * set to AUDIO_AU_UNKNOWN_SIZE.
117 #define AUDIO_AU_FILE2HOST(from, to) *((long *)(to)) = *((long *)(from))
119 #define AUDIO_AU_FILE2HOST(from, to) \
120 ((char *)(to))[0] = ((char *)(from))[3]; \
121 ((char *)(to))[1] = ((char *)(from))[2]; \
122 ((char *)(to))[
[all...]
/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/libxcurses2/src/libc/xcurses/
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/head/iso/
H A Dstdarg_c99.h4 * The contents of this file are subject to the terms of the
28 * Use is subject to license terms.
59 * va_copy was initially a Solaris extension to provide a portable
60 * way to perform a variable argument list ``bookmarking'' function.
67 #define va_copy(to, from) __va_copy(to, from)
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dmemmove.c33 memmove(void* to, const void* from, register size_t n)
35 register char* out = (char*)to;
41 return(memcpy(to, from, n)); /* hope it's fast*/
50 return(to);

Completed in 194 milliseconds

1234567891011>>