Searched defs:copy (Results 1 - 25 of 108) sorted by relevance

12345

/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dcvtpath.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
34 cvtpath(char *path, char *copy) argument
36 *copy++ = '/';
41 (void) strcpy(copy, root + (*root == '/' ? 1 : 0));
42 copy += strlen(copy);
43 if (copy[-1] != '/')
44 *copy++ = '/';
47 (void) strcpy(copy,
49 copy
[all...]
H A Dsrcpath.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
44 char *copy; local
47 copy = tmppath;
52 (void) strcpy(copy, dir);
53 copy += theLen;
56 copy[0] = '\0';
61 (void) snprintf(copy, copyLen,
65 (void) snprintf(copy, copyLen,
/illumos-gate/usr/src/boot/lib/libstand/
H A Dstrdup.c46 char *copy = NULL; local
50 if ((copy = malloc(len)) == NULL)
52 memcpy(copy, str, len);
54 return (copy);
H A Denvironment.c61 * If the EV_VOLATILE flag is set, a copy of the variable is made.
167 char *value, *copy; local
170 copy = strdup(string);
171 if ((value = strchr(copy, '=')) != NULL)
173 result = setenv(copy, value, 1);
174 free(copy);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dnbloader.S15 * You should have received a copy of the GNU General Public License
63 /* Always copy 32k bytes */
86 jg copy
89 copy: label
105 /* Use word-size copy */
H A Dterminfo.c16 * You should have received a copy of the GNU General Public License
255 ti_get_term(struct terminfo *copy) argument
257 grub_memmove (copy, &term, sizeof (struct terminfo));
/illumos-gate/usr/src/lib/libadm/common/
H A Dgetinput.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
44 char *copy, *pt; local
49 copy = s;
56 *copy++ = *pt++;
57 *copy = '\0';
59 if (copy != s) {
60 copy--;
61 while (isspace((unsigned char)*copy))
62 *copy-- = '\0';
H A Dputtext.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
51 wchar_t *copy, *lastword, *lastend, temp[MWIDTH+1]; local
91 copy = temp;
137 lastend = copy;
138 *copy++ = L' ';
146 lastend = copy;
150 *copy++ = L' ';
155 lastend = copy;
157 *copy++ = L' ';
172 *copy
[all...]
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgethostent.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
53 char *copy; local
56 if ((copy = strdup(argp->key.name)) == 0) {
59 for (mung = copy + (s - argp->key.name);
66 copy, 0);
67 free(copy);
H A Dgethostent6.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
54 char *copy; local
57 if ((copy = strdup(argp->key.ipnode.name)) == 0) {
60 for (mung = copy + (s - argp->key.ipnode.name);
67 copy, 0);
70 free(copy);
/illumos-gate/usr/src/lib/libpkg/common/
H A Dmappath.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
65 char *npt, *pt, *pt2, *copy; local
69 copy = buffer;
97 /* copy in parameter value */
99 *copy++ = *token++;
103 *copy++ = *pt++;
115 *copy++ = *pt++;
124 *copy++ = *pt++;
126 *copy++ = *pt++;
129 * If it's a separator, copy i
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dgetlist.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
52 char *copy; local
56 copy = strdup(str);
57 if (copy == NULL)
61 free(copy);
64 it->name = copy;
/illumos-gate/usr/src/cmd/csh/
H A Dsh.local.h54 #define copy(to, from, size) bcopy(from, to, size) macro
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dgetlist.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
79 char *copy, local
108 copy = begin;
113 copy += strspn(copy, ws);
114 if (!*copy) {
122 p = strchr(copy, '\0');
123 while (--p != copy && strchr(ws, *p))
130 for (n = 0, p = copy; *p; ) {
161 * This loop will copy al
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dstringrp.c7 * copy of this software and associated documentation files (the
9 * without limitation the rights to use, copy, modify, merge, publish,
156 * Make a copy of a string in the specified string group, and return
157 * a pointer to the copy.
163 * other characters when making the copy.
165 * return char * The pointer to the copy of the string,
170 char *copy; /* The recorded copy of string[] */ local
181 copy = _sg_alloc_string(sg, len);
182 if(copy) {
231 char *copy; /* The allocated string */ local
[all...]
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dlp.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
76 int copy = 0; local
130 case 'c': /* copy */
131 copy = 1;
286 else if (copy == 0) /* reference the files in the job, default */
289 else /* copy the files before return, -c */
H A Dlpr.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
79 int copy = 1; /* default is to copy the data */ local
176 copy = 0;
248 else if (copy == 0) /* reference the files in the job, default */
251 else /* copy the files before return, -c */
/illumos-gate/usr/src/cmd/mailx/
H A Dhead.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
246 copy(char *str1, char *str2) function
/illumos-gate/usr/src/cmd/dtrace/test/cmd/baddof/
H A Dbaddof.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
161 unsigned char *dof, *copy; local
188 if ((copy = malloc(len)) == NULL)
189 fatal("could not allocate copy of %d bytes", len);
192 bcopy(dof, copy, len);
201 corrupt(fd, copy, len);
/illumos-gate/usr/src/cmd/tcopy/
H A Dtcopy.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60 int copy; variable
80 copy = 1;
86 if (copy) {
123 if (copy) {
162 if (copy) {
180 if (copy)
/illumos-gate/usr/src/boot/lib/libz/
H A Dgzwrite.c209 /* for small len, copy to input buffer, otherwise compress directly */
211 /* copy to input buffer, compress when full */
213 unsigned have, copy; local
218 copy = state->size - have;
219 if (copy > len)
220 copy = len;
221 memcpy(state->in + have, buf, copy);
222 strm->avail_in += copy;
223 state->x.pos += copy;
224 buf = (const char *)buf + copy;
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_log.cc9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
114 /* Make copy of current log to log pointed to by 'f'. */
116 db_log::copy(db_log *f) function in class:db_log
121 WRITELOCK(f, -1, "w f db_log::copy");
123 WRITEUNLOCK(f, l, "wu f db_log::copy");
132 "db_log::copy: could not append to log file: ");
141 WRITEUNLOCK(f, ret, "wu f db_log::copy");
/illumos-gate/usr/src/lib/libpp/common/
H A Dppfsm.c9 * A copy of the License is available at *
84 #define copy(t,f) (memcpy(&fsm[t][1],&fsm[f][1],(MAX+1)*sizeof(short)),fsm[TERMINAL][(t)+1]=fsm[TERMINAL][(f)+1]) macro
274 /* copy QUICK to QUICK+1 through MAC0+1 */
306 /* copy MAC0+1 to MAC0+2 through MACN */
318 /* copy HIT0+1 to HIT0+2 through HITN */
628 copy(i, c);
/illumos-gate/usr/src/lib/libgss/
H A Doid_ops.c17 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
165 /* Get an enlarged copy of the array */
178 /* Success - copy elements */
461 * Permission to use, copy, modify, distribute, and sell this software
486 gss_OID_set_desc *copy; local
503 if ((copy = (gss_OID_set_desc *) calloc(1, sizeof (*copy))) == NULL) {
508 if ((copy->elements = (gss_OID_desc *)
509 calloc(oidset->count, sizeof (*copy->elements))) == NULL) {
513 copy
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_delete.c256 db_indx_t copy; local
269 copy = h->inp[indx_copy];
273 h->inp[indx] = copy;
494 * by the root page and copy it over the root page. If we can't get a

Completed in 234 milliseconds

12345