Home
last modified time | relevance | path

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

12345678910>>...114

/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.c90 copy = temp; in puttext()
136 lastend = copy; in puttext()
137 *copy++ = L' '; in puttext()
145 lastend = copy; in puttext()
149 *copy++ = L' '; in puttext()
154 lastend = copy; in puttext()
156 *copy++ = L' '; in puttext()
233 *copy++ = *wp++; in puttext()
275 *copy = L'\0'; in puttext()
284 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.c43 char *copy, *pt; in getinput() local
48 copy = s; in getinput()
55 *copy++ = *pt++; in getinput()
56 *copy = '\0'; in getinput()
58 if (copy != s) { in getinput()
59 copy--; in getinput()
60 while (isspace((unsigned char)*copy)) in getinput()
61 *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.c412 if (dist > copy) dist = copy; in updatewindow()
415 if (copy) { in updatewindow()
416 zmemcpy(state->window, end - copy, copy); in updatewindow()
744 if (copy > have) copy = have; in inflate()
900 if (copy > have) copy = have; in inflate()
901 if (copy > left) copy = left; in inflate()
1152 copy = state->offset - copy; in inflate()
1163 if (copy > left) copy = left; in inflate()
1179 if (copy > state->length) copy = state->length; in inflate()
1185 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/libsqlite/test/
H A Dcopy.test55 do_test copy-1.1 {
62 do_test copy-1.2 {
69 do_test copy-1.3 {
77 do_test copy-1.4 {
85 do_test copy-1.5 {
90 do_test copy-1.6 {
95 do_test copy-1.7 {
103 do_test copy-1.8 {
128 do_test copy-2.1 {
140 do_test copy-3.1 {
[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/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/lib/libtecla/common/
H A Dstringrp.c168 char *copy; /* The recorded copy of string[] */ in _sg_store_string() local
179 copy = _sg_alloc_string(sg, len); in _sg_store_string()
180 if(copy) { in _sg_store_string()
189 char *dst = copy; /* A pointer into the cached copy of the */ in _sg_store_string()
206 strlcpy(copy, string, len + 1); in _sg_store_string()
213 return copy; in _sg_store_string()
229 char *copy; /* The allocated string */ in _sg_alloc_string() local
270 copy = node->block + sg->block_size - node->unused; in _sg_alloc_string()
275 return copy; in _sg_alloc_string()
/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/libsa/
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.c63 copy(name, copy(maildir, mailname)); in findmail()
71 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/ypcmd/
H A Dgetlist.c50 char *copy; local
54 copy = strdup(str);
55 if (copy == NULL)
59 free(copy);
62 it->name = copy;
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgethostent.c51 char *copy; local
54 if ((copy = strdup(argp->key.name)) == 0) {
57 for (mung = copy + (s - argp->key.name);
64 copy, 0);
65 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 …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dconfig.c54 char *copy, *name, *tofree; in _lookup_config_node() local
57 copy = strdup(path); in _lookup_config_node()
58 if (copy == NULL) in _lookup_config_node()
60 tofree = copy; in _lookup_config_node()
62 while ((name = strsep(&copy, ".")) != NULL) { in _lookup_config_node()
81 for (copy = tofree; copy < name; copy++) in _lookup_config_node()
82 if (*copy == '\0') in _lookup_config_node()
83 *copy = '.'; in _lookup_config_node()

12345678910>>...114