Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 25 of 2963) sorted by relevance

12345678910>>...119

/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Dcvtpath.c34 cvtpath(char *path, char *copy) in cvtpath() argument
36 *copy++ = '/'; in cvtpath()
41 (void) strcpy(copy, root + (*root == '/' ? 1 : 0)); in cvtpath()
42 copy += strlen(copy); in cvtpath()
43 if (copy[-1] != '/') in cvtpath()
44 *copy++ = '/'; in cvtpath()
47 (void) strcpy(copy, in cvtpath()
49 copy += strlen(copy); in cvtpath()
50 if (copy[-1] != '/') in cvtpath()
51 *copy++ = '/'; in cvtpath()
[all …]
H A Dsrcpath.c44 char *copy; in srcpath() local
47 copy = tmppath; in srcpath()
52 (void) strcpy(copy, dir); in srcpath()
53 copy += theLen; in srcpath()
56 copy[0] = '\0'; in srcpath()
61 (void) snprintf(copy, copyLen, in srcpath()
65 (void) snprintf(copy, copyLen, in srcpath()
/titanic_41/usr/src/lib/libadm/common/
H A Dputtext.c51 wchar_t *copy, *lastword, *lastend, temp[MWIDTH+1]; in puttext() local
91 copy = temp; in puttext()
137 lastend = copy; in puttext()
138 *copy++ = L' '; in puttext()
146 lastend = copy; in puttext()
150 *copy++ = L' '; in puttext()
155 lastend = copy; in puttext()
157 *copy++ = L' '; in puttext()
172 *copy++ = *wp++; in puttext()
179 *copy++ = *wp++; in puttext()
[all …]
H A Dpkgparam.c124 char *mempt, *copy; in fpkgparam() local
138 copy = buffer; in fpkgparam()
147 *copy++ = ch; in fpkgparam()
160 *copy = '\0'; /* Terminate the string. */ in fpkgparam()
162 copy = NULL; /* Comments don't get buffered. */ in fpkgparam()
167 copy = buffer; in fpkgparam()
171 copy = NULL; in fpkgparam()
175 copy = buffer; in fpkgparam()
215 copy -= n - idx; in fpkgparam()
228 copy -= n - idx; in fpkgparam()
[all …]
H A Dgetinput.c44 char *copy, *pt; in getinput() local
49 copy = s; in getinput()
56 *copy++ = *pt++; in getinput()
57 *copy = '\0'; in getinput()
59 if (copy != s) { in getinput()
60 copy--; in getinput()
61 while (isspace((unsigned char)*copy)) in getinput()
62 *copy-- = '\0'; in getinput()
H A Dckdate.c117 char *ptr, *copy; in p_eday() local
128 copy = string; in p_eday()
129 while (isdigit((unsigned char)*copy) && (iday < idaymax)) { in p_eday()
130 daynum[iday] = *copy++; in p_eday()
169 char *copy; in p_month() local
186 copy = string; in p_month()
188 while (((islower((unsigned char)*copy)) || in p_month()
189 (isupper((unsigned char)*copy))) && (imnth < mlen)) { in p_month()
190 mletter[imnth] = toupper((unsigned char)*copy++); in p_month()
/titanic_41/usr/src/uts/common/zmod/
H A Dinflate.c335 unsigned copy, dist; local
355 copy = out - strm->avail_out;
356 if (copy >= state->wsize) {
363 if (dist > copy) dist = copy;
364 zmemcpy(state->window + state->write, strm->next_out - copy, dist);
365 copy -= dist;
366 if (copy) {
367 zmemcpy(state->window, strm->next_out - copy, copy);
368 state->write = copy;
572 unsigned copy; /* number of stored or match bytes to copy */ local
[all …]
/titanic_41/usr/src/cmd/lp/lib/lp/
H A Dgetlist.c79 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; ) {
163 for (n = 0, p = copy; *p; )
170 list[n++] = unq_strdup(copy, sep);
181 copy = p;
[all …]
/titanic_41/usr/src/lib/libpkg/common/
H A Dmappath.c65 char *npt, *pt, *pt2, *copy; in mappath() local
69 copy = buffer; in mappath()
99 *copy++ = *token++; in mappath()
103 *copy++ = *pt++; in mappath()
115 *copy++ = *pt++; in mappath()
124 *copy++ = *pt++; in mappath()
126 *copy++ = *pt++; in mappath()
137 *copy++ = *pt++; in mappath()
143 *copy++ = *pt++; in mappath()
145 *copy = '\0'; in mappath()
/titanic_41/usr/src/lib/libsqlite/test/
H A Dcopy.test17 # $Id: copy.test,v 1.17 2004/02/17 18:26:57 dougcurrie Exp $
22 # Create a file of data from which to copy.
57 do_test copy-1.1 {
64 do_test copy-1.2 {
71 do_test copy-1.3 {
79 do_test copy-1.4 {
87 do_test copy-1.5 {
92 do_test copy-1.6 {
97 do_test copy-1.7 {
105 do_test copy-1.8 {
[all …]
/titanic_41/usr/src/lib/libast/common/port/
H A Dastlicense.c39 #undef copy
210 copy(register Buffer_t* b, register char* s, int n) in copy() function
338 copy(b, "Copyright (c) ", -1); in copyright()
349 copy(b, t, 4); in copyright()
407 copy(&buf, file, -1); in astlicense()
408 copy(&buf, ": cannot open", -1); in astlicense()
416 copy(&buf, file, -1); in astlicense()
417 copy(&buf, ": cannot read", -1); in astlicense()
643 copy(&buf, "\"", -1); in astlicense()
644 copy(&buf, file, -1); in astlicense()
[all …]
/titanic_41/usr/src/lib/libtecla/common/
H A Dstringrp.c170 char *copy; /* The recorded copy of string[] */ in _sg_store_string() local
181 copy = _sg_alloc_string(sg, len); in _sg_store_string()
182 if(copy) { in _sg_store_string()
191 char *dst = copy; /* A pointer into the cached copy of the */ in _sg_store_string()
208 strlcpy(copy, string, len + 1); in _sg_store_string()
215 return copy; in _sg_store_string()
231 char *copy; /* The allocated string */ in _sg_alloc_string() local
272 copy = node->block + sg->block_size - node->unused; in _sg_alloc_string()
277 return copy; in _sg_alloc_string()
/titanic_41/usr/src/lib/libcmd/common/
H A Dcut.c375 register unsigned char *copy; in cutfields() local
398 copy = cp; in cutfields()
400 copy = 0; in cutfields()
404 else if (copy) in cutfields()
405 copy = cp; in cutfields()
434 if (copy) in cutfields()
437 if ((c = cp - copy) > 0 && sfwrite(fdout, (char*)copy, c) < 0) in cutfields()
458 if (copy) in cutfields()
460 copy = bp; in cutfields()
521 if (copy) in cutfields()
[all …]
/titanic_41/usr/src/lib/libc/i386/gen/
H A Dmemcpy.s74 jbe .OneByteCopy / goto fast short copy loop
81 rep; smovb / do the byte part of copy
87 andl %eax,%ecx / complete copy of remaining bytes
90 rep; smovb / do the byte part of copy
104 rep; smovb / do the byte copy
112 movl %ecx,%esi / align source w/byte copy
117 subl %ecx,%edx / copy is done on aligned boundary
122 shrl $2,%ecx / do 4 byte copy RtoL
125 andl %eax,%edx / do 1 byte copy whats left
129 addl %eax,%edi / %edi, %esi by four after each copy
[all …]
/titanic_41/usr/src/cmd/mailx/
H A Dusg.local.c65 copy(name, copy(maildir, mailname)); in findmail()
73 copy(myname, copy(maildir, mailname)); in findmail()
/titanic_41/usr/src/cmd/tcopy/
H A Dtcopy.c60 int copy; variable
80 copy = 1;
86 if (copy) {
123 if (copy) {
162 if (copy) {
180 if (copy)
/titanic_41/usr/src/uts/sun4u/cpu/
H A Dcheetah_copy.s763 sethi %hi(hw_copy_limit_1), %o3 ! Check copy limit
766 bz,pn %icc, .kcopy_small ! if zero, disable HW copy
768 bleu,pt %ncc, .kcopy_small ! go to small copy
770 ba,pt %ncc, .kcopy_more ! otherwise go to large copy
776 sethi %hi(hw_copy_limit_2), %o3 ! Check copy limit
779 bz,pn %icc, .kcopy_small ! if zero, disable HW copy
781 bleu,pt %ncc, .kcopy_small ! go to small copy
783 ba,pt %ncc, .kcopy_more ! otherwise go to large copy
787 sethi %hi(hw_copy_limit_4), %o3 ! Check copy limit
790 bz,pn %icc, .kcopy_small ! if zero, disable HW copy
[all …]
H A Dopl_olympus_copy.s718 sethi %hi(hw_copy_limit_1), %o3 ! Check copy limit
721 bz,pn %icc, .kcopy_small ! if zero, disable HW copy
723 bleu,pt %ncc, .kcopy_small ! go to small copy
725 ba,pt %ncc, .kcopy_more ! otherwise go to large copy
731 sethi %hi(hw_copy_limit_2), %o3 ! Check copy limit
734 bz,pn %icc, .kcopy_small ! if zero, disable HW copy
736 bleu,pt %ncc, .kcopy_small ! go to small copy
738 ba,pt %ncc, .kcopy_more ! otherwise go to large copy
742 sethi %hi(hw_copy_limit_4), %o3 ! Check copy limit
745 bz,pn %icc, .kcopy_small ! if zero, disable HW copy
[all …]
/titanic_41/usr/src/lib/nsswitch/nis/common/
H A Dgethostent.c53 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.c54 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);
/titanic_41/usr/src/cmd/ypcmd/
H A Dgetlist.c52 char *copy; local
56 copy = strdup(str);
57 if (copy == NULL)
61 free(copy);
64 it->name = copy;
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dmisc.c159 struct passwd *copy = xmalloc(sizeof(*copy)); in pwcopy() local
161 memset(copy, 0, sizeof(*copy)); in pwcopy()
162 copy->pw_name = xstrdup(pw->pw_name); in pwcopy()
163 copy->pw_passwd = xstrdup(pw->pw_passwd); in pwcopy()
164 copy->pw_gecos = xstrdup(pw->pw_gecos); in pwcopy()
165 copy->pw_uid = pw->pw_uid; in pwcopy()
166 copy->pw_gid = pw->pw_gid; in pwcopy()
168 copy->pw_expire = pw->pw_expire; in pwcopy()
171 copy->pw_change = pw->pw_change; in pwcopy()
174 copy->pw_class = xstrdup(pw->pw_class); in pwcopy()
[all …]
/titanic_41/usr/src/lib/libc/sparc/gen/
H A Dmemmove.s41 cmp %i1, %i0 ! if from address is >= to use forward copy
43 cmp %i2, 17 ! delay slot, for small counts copy bytes
47 bgu ovbc ! if size is bigger, have do overlapped copy
48 cmp %i2, 17 ! delay slot, for small counts copy bytes
50 ! normal, copy forwards
/titanic_41/usr/src/lib/libc/sparcv9/gen/
H A Dmemmove.s41 cmp %i1, %i0 ! if from address is >= to use forward copy
43 cmp %i2, 17 ! delay slot, for small counts copy bytes
47 bgu %xcc, ovbc ! if size is bigger, have to do overlapped copy
48 cmp %i2, 17 ! delay slot, for small counts copy bytes
50 ! normal, copy forwards
/titanic_41/usr/src/cmd/lp/filter/postscript/dpost/
H A Dps_include.c57 static void copy(FILE *, FILE *, Section *);
176 copy(fin, fout, &prolog); in ps_include()
178 copy(fin, fout, &global[i]); in ps_include()
179 copy(fin, fout, &page); in ps_include()
180 copy(fin, fout, &trailer); in ps_include()
196 copy(FILE *fin, FILE *fout, Section *s) in copy() function

12345678910>>...119