Home
last modified time | relevance | path

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

12345678910>>...134

/titanic_53/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_53/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_53/usr/src/boot/lib/libz/
H A Dinflate.c97 unsigned copy));
379 local int updatewindow(strm, end, copy) in updatewindow() argument
382 unsigned copy;
405 if (copy >= state->wsize) {
412 if (dist > copy) dist = copy;
413 zmemcpy(state->window + state->wnext, end - copy, dist);
414 copy -= dist;
415 if (copy) {
416 zmemcpy(state->window, end - copy, copy);
417 state->wnext = copy;
[all …]
H A Dinfback.c263 unsigned copy; /* number of stored or match bytes to copy */ local
342 copy = state->length;
345 if (copy > have) copy = have;
346 if (copy > left) copy = left;
347 zmemcpy(put, next, copy);
348 have -= copy;
349 next += copy;
350 left -= copy;
351 put += copy;
352 state->length -= copy;
[all …]
/titanic_53/usr/src/contrib/zlib/
H A Dinflate.c98 unsigned copy));
382 local int updatewindow(z_streamp strm, const Bytef *end, unsigned copy) in updatewindow() argument
405 if (copy >= state->wsize) { in updatewindow()
412 if (dist > copy) dist = copy; in updatewindow()
413 zmemcpy(state->window + state->wnext, end - copy, dist); in updatewindow()
414 copy -= dist; in updatewindow()
415 if (copy) { in updatewindow()
416 zmemcpy(state->window, end - copy, copy); in updatewindow()
417 state->wnext = copy; in updatewindow()
614 unsigned copy; /* number of stored or match bytes to copy */ in inflate() local
[all …]
H A Dinfback.c254 unsigned copy; /* number of stored or match bytes to copy */ in inflateBack() local
333 copy = state->length; in inflateBack()
336 if (copy > have) copy = have; in inflateBack()
337 if (copy > left) copy = left; in inflateBack()
338 zmemcpy(put, next, copy); in inflateBack()
339 have -= copy; in inflateBack()
340 next += copy; in inflateBack()
341 left -= copy; in inflateBack()
342 put += copy; in inflateBack()
343 state->length -= copy; in inflateBack()
[all …]
/titanic_53/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_53/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_53/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_53/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_53/usr/src/contrib/ast/src/lib/libast/port/
H A Dastlicense.c47 #undef copy
228 copy(register Buffer_t* b, register char* s, int n) in copy() function
381 copy(b, "Copyright (c) ", -1); in copyright()
399 copy(b, t, 4); in copyright()
441 copy(buf, file, -1); in push()
442 copy(buf, ": no space", -1); in push()
470 copy(buf, file, -1); in push()
471 copy(buf, ": cannot open", -1); in push()
480 copy(buf, file, -1); in push()
481 copy(buf, ": cannot read", -1); in push()
[all …]
/titanic_53/usr/src/contrib/ast/src/lib/libcmd/
H A Dcut.c373 register unsigned char *copy; in cutfields() local
396 copy = cp; in cutfields()
398 copy = 0; in cutfields()
402 else if (copy) in cutfields()
403 copy = cp; in cutfields()
432 if (copy) in cutfields()
435 if ((c = cp - copy) > 0 && sfwrite(fdout, (char*)copy, c) < 0) in cutfields()
456 if (copy) in cutfields()
458 copy = bp; in cutfields()
519 if (copy) in cutfields()
[all …]
/titanic_53/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_53/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);
/titanic_53/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_53/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_53/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_53/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_53/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);

12345678910>>...134