Home
last modified time | relevance | path

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

12345678910>>...93

/illumos-gate/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()
/illumos-gate/usr/src/lib/libadm/common/
H A Dputtext.c91 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()
234 *copy++ = *wp++; in puttext()
276 *copy = L'\0'; in puttext()
285 copy = temp; in puttext()
[all …]
H A Dpkgparam.c138 copy = buffer; in fpkgparam()
147 *copy++ = ch; in fpkgparam()
167 copy = buffer; in fpkgparam()
171 copy = NULL; in fpkgparam()
175 copy = buffer; in fpkgparam()
260 if (copy) *copy++ = ch; in fpkgparam()
291 while (copy && isspace((unsigned char)*(copy - 1)) && n-- > 0) in fpkgparam()
292 copy--; in fpkgparam()
300 if (copy) { in fpkgparam()
301 *copy = '\0'; 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
126 copy = string; in p_eday()
127 while (isdigit((unsigned char)*copy) && (iday < idaymax)) { in p_eday()
128 copy++; in p_eday()
166 char *copy; in p_month() local
183 copy = string; in p_month()
185 while (((islower((unsigned char)*copy)) || in p_month()
186 (isupper((unsigned char)*copy))) && (imnth < mlen)) { in p_month()
187 mletter[imnth] = toupper((unsigned char)*copy++); in p_month()
/illumos-gate/usr/src/contrib/zlib/
H A Dinflate.c411 if (dist > copy) dist = copy; in updatewindow()
414 if (copy) { in updatewindow()
415 zmemcpy(state->window, end - copy, copy); in updatewindow()
741 if (copy > have) copy = have; in inflate()
896 if (copy > have) copy = have; in inflate()
897 if (copy > left) copy = left; in inflate()
1146 copy = state->offset - copy; in inflate()
1157 if (copy > left) copy = left; in inflate()
1173 if (copy > state->length) copy = state->length; in inflate()
1179 if (copy > left) copy = left; in inflate()
[all …]
H A Dinfback.c336 if (copy > have) copy = have; in inflateBack()
337 if (copy > left) copy = left; in inflateBack()
339 have -= copy; in inflateBack()
340 next += copy; in inflateBack()
341 left -= copy; in inflateBack()
342 put += copy; in inflateBack()
582 copy = left - copy; in inflateBack()
586 copy = left; in inflateBack()
588 if (copy > state->length) copy = state->length; in inflateBack()
590 left -= copy; in inflateBack()
[all …]
/illumos-gate/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 …]
/illumos-gate/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()
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dcopy.test57 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 {
130 do_test copy-2.1 {
142 do_test copy-3.1 {
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dastlicense.c47 #undef copy
399 copy(b, t, 4); in copyright()
441 copy(buf, file, -1); in push()
470 copy(buf, file, -1); in push()
480 copy(buf, file, -1); in push()
784 copy(&buf, x, -1); in astlicense()
844 copy(&tmp, " ", -1); in astlicense()
869 copy(&tmp, ")", -1); in astlicense()
889 copy(&tmp, " ", -1); in astlicense()
899 copy(&tmp, " ", -1); in astlicense()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dcut.c394 copy = cp; in cutfields()
396 copy = 0; in cutfields()
400 else if (copy) in cutfields()
401 copy = cp; in cutfields()
430 if (copy) in cutfields()
454 if (copy) in cutfields()
517 if (copy) in cutfields()
520 if ((c = wp - copy) > 0 && sfwrite(fdout, (char*)copy, c) < 0) in cutfields()
522 copy = 0; in cutfields()
530 if (!copy) in cutfields()
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dfastlz.c208 unsigned int copy; in FASTLZ_COMPRESSOR() local
228 copy = 2; in FASTLZ_COMPRESSOR()
331 if (copy) in FASTLZ_COMPRESSOR()
333 *(op - copy - 1) = copy - 1; in FASTLZ_COMPRESSOR()
339 copy = 0; in FASTLZ_COMPRESSOR()
411 copy++; in FASTLZ_COMPRESSOR()
413 copy = 0; in FASTLZ_COMPRESSOR()
422 copy++; in FASTLZ_COMPRESSOR()
424 copy = 0; in FASTLZ_COMPRESSOR()
430 if (copy) in FASTLZ_COMPRESSOR()
[all …]
/illumos-gate/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 …]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dstrdup.c40 char *copy = NULL; in strdup() local
44 if ((copy = malloc(len)) == NULL) in strdup()
46 memcpy(copy, str, len); in strdup()
48 return (copy); in strdup()
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dcheetah_copy.s753 bleu,pt %ncc, .kcopy_small ! go to small copy
766 bleu,pt %ncc, .kcopy_small ! go to small copy
777 bleu,pt %ncc, .kcopy_small ! go to small copy
787 bleu,pt %ncc, .kcopy_small ! go to small copy
928 bleu,pt %ncc, .bcopy_small ! go to small copy
941 bleu,pt %ncc, .bcopy_small ! go to small copy
952 bleu,pt %ncc, .bcopy_small ! go to small copy
962 bleu,pt %ncc, .bcopy_small ! go to small copy
2565 bleu,pt %ncc, .copyin_small ! go to small copy
2578 bleu,pt %ncc, .copyin_small ! go to small copy
[all …]
H A Dopl_olympus_copy.s710 bleu,pt %ncc, .kcopy_small ! go to small copy
723 bleu,pt %ncc, .kcopy_small ! go to small copy
734 bleu,pt %ncc, .kcopy_small ! go to small copy
744 bleu,pt %ncc, .kcopy_small ! go to small copy
885 bleu,pt %ncc, .bcopy_small ! go to small copy
898 bleu,pt %ncc, .bcopy_small ! go to small copy
909 bleu,pt %ncc, .bcopy_small ! go to small copy
919 bleu,pt %ncc, .bcopy_small ! go to small copy
2490 bleu,pt %ncc, .copyin_small ! go to small copy
2503 bleu,pt %ncc, .copyin_small ! go to small copy
[all …]
/illumos-gate/usr/src/cmd/mailx/
H A Dusg.local.c65 copy(name, copy(maildir, mailname)); in findmail()
73 copy(myname, copy(maildir, mailname)); in findmail()
/illumos-gate/usr/src/cmd/tcopy/
H A Dtcopy.c58 int copy; variable
77 copy = 1; in main()
83 if (copy) { in main()
120 if (copy) { in main()
159 if (copy) { in main()
177 if (copy) in main()
/illumos-gate/usr/src/cmd/bhyve/
H A Dconfig.c52 char *copy, *name, *tofree; in _lookup_config_node() local
55 copy = strdup(path); in _lookup_config_node()
56 if (copy == NULL) in _lookup_config_node()
58 tofree = copy; in _lookup_config_node()
60 while ((name = strsep(&copy, ".")) != NULL) { in _lookup_config_node()
69 for (copy = tofree; copy < name; copy++) in _lookup_config_node()
70 if (*copy == '\0') in _lookup_config_node()
71 *copy = '.'; in _lookup_config_node()
/illumos-gate/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;
/illumos-gate/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);
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dratz.c2575 if (dist > copy) dist = copy;
2578 if (copy) {
2579 zmemcpy(state->window, strm->next_out - copy, copy);
2902 if (copy > have) copy = have;
3042 if (copy > have) copy = have;
3043 if (copy > left) copy = left;
3269 copy = state->offset - copy;
3276 if (copy > state->length) copy = state->length;
3282 if (copy > left) copy = left;
3578 copy->lencode = copy->codes + (state->lencode - state->codes);
[all …]

12345678910>>...93