bin/cp/cp.c
299
exit(copy(argv, type, fts_options));
bin/cp/cp.c
96
static int copy(char *[], enum op, int);
bin/ksh/var.c
257
local(const char *n, bool copy)
bin/ksh/var.c
276
if (copy && !(vp->flag & DEFINED)) {
bin/mv/mv.c
265
fastcopy(from, to, &sb) : copy(from, to));
bin/mv/mv.c
72
static int copy(char *, char *);
bin/pax/extern.h
93
int copy(void);
bin/pax/pax.c
328
rval = copy();
common/dist/zlib/deflate.c
1124
ulg copy = s->pending_buf_size - s->pending;
common/dist/zlib/deflate.c
1126
s->gzhead->extra + s->gzindex, copy);
common/dist/zlib/deflate.c
1129
s->gzindex += copy;
common/dist/zlib/deflate.c
1136
left -= copy;
common/dist/zlib/examples/zran.c
114
unsigned copy = recent > next->dict ? next->dict : recent;
common/dist/zlib/examples/zran.c
115
memcpy(next->window + next->dict - copy, window + recent - copy, copy);
common/dist/zlib/examples/zran.c
116
copy = next->dict - copy;
common/dist/zlib/examples/zran.c
117
memcpy(next->window, window + WINSIZE - copy, copy);
common/dist/zlib/gzwrite.c
210
unsigned have, copy;
common/dist/zlib/gzwrite.c
216
copy = state->size - have;
common/dist/zlib/gzwrite.c
217
if (copy > len)
common/dist/zlib/gzwrite.c
218
copy = (unsigned)len;
common/dist/zlib/gzwrite.c
219
memcpy(state->in + have, buf, copy);
common/dist/zlib/gzwrite.c
220
state->strm.avail_in += copy;
common/dist/zlib/gzwrite.c
221
state->x.pos += copy;
common/dist/zlib/gzwrite.c
222
buf = (const char *)buf + copy;
common/dist/zlib/gzwrite.c
223
len -= copy;
common/dist/zlib/infback.c
201
unsigned copy; /* number of stored or match bytes to copy */
common/dist/zlib/infback.c
280
copy = state->length;
common/dist/zlib/infback.c
283
if (copy > have) copy = have;
common/dist/zlib/infback.c
284
if (copy > left) copy = left;
common/dist/zlib/infback.c
285
zmemcpy(put, next, copy);
common/dist/zlib/infback.c
286
have -= copy;
common/dist/zlib/infback.c
287
next += copy;
common/dist/zlib/infback.c
288
left -= copy;
common/dist/zlib/infback.c
289
put += copy;
common/dist/zlib/infback.c
290
state->length -= copy;
common/dist/zlib/infback.c
359
copy = 3 + BITS(2);
common/dist/zlib/infback.c
366
copy = 3 + BITS(3);
common/dist/zlib/infback.c
373
copy = 11 + BITS(7);
common/dist/zlib/infback.c
376
if (state->have + copy > state->nlen + state->ndist) {
common/dist/zlib/infback.c
382
while (copy--)
common/dist/zlib/infback.c
531
copy = state->wsize - state->offset;
common/dist/zlib/infback.c
532
if (copy < left) {
common/dist/zlib/infback.c
533
from = put + copy;
common/dist/zlib/infback.c
534
copy = left - copy;
common/dist/zlib/infback.c
538
copy = left;
common/dist/zlib/infback.c
540
if (copy > state->length) copy = state->length;
common/dist/zlib/infback.c
541
state->length -= copy;
common/dist/zlib/infback.c
542
left -= copy;
common/dist/zlib/infback.c
545
} while (--copy);
common/dist/zlib/inflate.c
1031
copy = out - left;
common/dist/zlib/inflate.c
1032
if (state->offset > copy) { /* copy from window */
common/dist/zlib/inflate.c
1033
copy = state->offset - copy;
common/dist/zlib/inflate.c
1034
if (copy > state->whave) {
common/dist/zlib/inflate.c
1043
copy -= state->whave;
common/dist/zlib/inflate.c
1044
if (copy > state->length) copy = state->length;
common/dist/zlib/inflate.c
1045
if (copy > left) copy = left;
common/dist/zlib/inflate.c
1046
left -= copy;
common/dist/zlib/inflate.c
1047
state->length -= copy;
common/dist/zlib/inflate.c
1050
} while (--copy);
common/dist/zlib/inflate.c
1055
if (copy > state->wnext) {
common/dist/zlib/inflate.c
1056
copy -= state->wnext;
common/dist/zlib/inflate.c
1057
from = state->window + (state->wsize - copy);
common/dist/zlib/inflate.c
1060
from = state->window + (state->wnext - copy);
common/dist/zlib/inflate.c
1061
if (copy > state->length) copy = state->length;
common/dist/zlib/inflate.c
1065
copy = state->length;
common/dist/zlib/inflate.c
1067
if (copy > left) copy = left;
common/dist/zlib/inflate.c
1068
left -= copy;
common/dist/zlib/inflate.c
1069
state->length -= copy;
common/dist/zlib/inflate.c
1072
} while (--copy);
common/dist/zlib/inflate.c
1339
struct inflate_state FAR *copy;
common/dist/zlib/inflate.c
1348
copy = (struct inflate_state FAR *)
common/dist/zlib/inflate.c
1350
if (copy == Z_NULL) return Z_MEM_ERROR;
common/dist/zlib/inflate.c
1351
zmemzero(copy, sizeof(struct inflate_state));
common/dist/zlib/inflate.c
1357
ZFREE(source, copy);
common/dist/zlib/inflate.c
1364
zmemcpy(copy, state, sizeof(struct inflate_state));
common/dist/zlib/inflate.c
1365
copy->strm = dest;
common/dist/zlib/inflate.c
1368
copy->lencode = copy->codes + (state->lencode - state->codes);
common/dist/zlib/inflate.c
1369
copy->distcode = copy->codes + (state->distcode - state->codes);
common/dist/zlib/inflate.c
1371
copy->next = copy->codes + (state->next - state->codes);
common/dist/zlib/inflate.c
1374
copy->window = window;
common/dist/zlib/inflate.c
1375
dest->state = (struct internal_state FAR *)copy;
common/dist/zlib/inflate.c
254
local int updatewindow(z_streamp strm, const Bytef *end, unsigned copy) {
common/dist/zlib/inflate.c
276
if (copy >= state->wsize) {
common/dist/zlib/inflate.c
283
if (dist > copy) dist = copy;
common/dist/zlib/inflate.c
284
zmemcpy(state->window + state->wnext, end - copy, dist);
common/dist/zlib/inflate.c
285
copy -= dist;
common/dist/zlib/inflate.c
286
if (copy) {
common/dist/zlib/inflate.c
287
zmemcpy(state->window, end - copy, copy);
common/dist/zlib/inflate.c
288
state->wnext = copy;
common/dist/zlib/inflate.c
484
unsigned copy; /* number of stored or match bytes to copy */
common/dist/zlib/inflate.c
620
copy = state->length;
common/dist/zlib/inflate.c
621
if (copy > have) copy = have;
common/dist/zlib/inflate.c
622
if (copy) {
common/dist/zlib/inflate.c
628
len + copy > state->head->extra_max ?
common/dist/zlib/inflate.c
629
state->head->extra_max - len : copy);
common/dist/zlib/inflate.c
632
state->check = crc32(state->check, next, copy);
common/dist/zlib/inflate.c
633
have -= copy;
common/dist/zlib/inflate.c
634
next += copy;
common/dist/zlib/inflate.c
635
state->length -= copy;
common/dist/zlib/inflate.c
645
copy = 0;
common/dist/zlib/inflate.c
647
len = (unsigned)(next[copy++]);
common/dist/zlib/inflate.c
652
} while (len && copy < have);
common/dist/zlib/inflate.c
654
state->check = crc32(state->check, next, copy);
common/dist/zlib/inflate.c
655
have -= copy;
common/dist/zlib/inflate.c
656
next += copy;
common/dist/zlib/inflate.c
667
copy = 0;
common/dist/zlib/inflate.c
669
len = (unsigned)(next[copy++]);
common/dist/zlib/inflate.c
674
} while (len && copy < have);
common/dist/zlib/inflate.c
676
state->check = crc32(state->check, next, copy);
common/dist/zlib/inflate.c
677
have -= copy;
common/dist/zlib/inflate.c
678
next += copy;
common/dist/zlib/inflate.c
775
copy = state->length;
common/dist/zlib/inflate.c
776
if (copy) {
common/dist/zlib/inflate.c
777
if (copy > have) copy = have;
common/dist/zlib/inflate.c
778
if (copy > left) copy = left;
common/dist/zlib/inflate.c
779
if (copy == 0) goto inf_leave;
common/dist/zlib/inflate.c
780
zmemcpy(put, next, copy);
common/dist/zlib/inflate.c
781
have -= copy;
common/dist/zlib/inflate.c
782
next += copy;
common/dist/zlib/inflate.c
783
left -= copy;
common/dist/zlib/inflate.c
784
put += copy;
common/dist/zlib/inflate.c
785
state->length -= copy;
common/dist/zlib/inflate.c
855
copy = 3 + BITS(2);
common/dist/zlib/inflate.c
862
copy = 3 + BITS(3);
common/dist/zlib/inflate.c
869
copy = 11 + BITS(7);
common/dist/zlib/inflate.c
872
if (state->have + copy > state->nlen + state->ndist) {
common/dist/zlib/inflate.c
878
while (copy--)
common/dist/zlib/test/infcover.c
290
z_stream strm, copy;
common/dist/zlib/test/infcover.c
335
ret = inflateCopy(©, &strm); assert(ret == Z_OK);
common/dist/zlib/test/infcover.c
336
ret = inflateEnd(©); assert(ret == Z_OK);
common/dist/zlib/test/infcover.c
391
z_stream strm, copy;
common/dist/zlib/test/infcover.c
438
ret = inflateCopy(©, &strm); assert(ret == Z_MEM_ERROR);
common/lib/libppath/ppath.c
631
bool copy, success;
common/lib/libppath/ppath.c
649
copy = (npo == po);
common/lib/libppath/ppath.c
653
if (copy && (npo = prop_array_copy_mutable(po)) == NULL)
common/lib/libppath/ppath.c
660
if (copy &&
common/lib/libppath/ppath.c
671
if (copy)
games/fortune/fortune/fortune.c
148
static char *copy(const char *, size_t);
games/fortune/fortune/fortune.c
615
new = copy(file, strlen(file) + 2);
games/fortune/fortune/fortune.c
707
name = copy(dirent->d_name, NAMLEN(dirent));
games/fortune/fortune/fortune.c
786
datfile = copy(file, strlen(file) + 4); /* +4 for ".dat" */
games/fortune/fortune/fortune.c
799
*posp = copy(file, strlen(file) + 4); /* +4 for ".dat" */
games/sail/pl_7.c
322
char *copy;
games/sail/pl_7.c
325
copy = strdup(text);
games/sail/pl_7.c
326
if (copy == NULL) {
games/sail/pl_7.c
329
if (stringarray_add(sc_lines, copy, NULL)) {
lib/libc/compat/stdlib/compat_putenv.c
64
char *copy;
lib/libc/compat/stdlib/compat_putenv.c
75
if ((copy = strdup(name)) == NULL)
lib/libc/compat/stdlib/compat_putenv.c
77
copy[l_name++] = '\0';
lib/libc/compat/stdlib/compat_putenv.c
79
rv = setenv(copy, copy + l_name, 1);
lib/libc/compat/stdlib/compat_putenv.c
81
free(copy);
lib/libc/db/btree/bt_utils.c
114
} else if (copy || F_ISSET(t, B_DB_LOCK)) {
lib/libc/db/btree/bt_utils.c
69
__bt_ret(BTREE *t, EPG *e, DBT *key, DBT *rkey, DBT *data, DBT *rdata, int copy)
lib/libc/db/btree/bt_utils.c
89
} else if (copy || F_ISSET(t, B_DB_LOCK)) {
lib/libc/gen/glob.c
895
char *copy;
lib/libc/gen/glob.c
922
if ((copy = malloc(len)) != NULL) {
lib/libc/gen/glob.c
923
if (g_Ctoc(path, copy, len)) {
lib/libc/gen/glob.c
924
free(copy);
lib/libc/gen/glob.c
927
pathv[pglob->gl_offs + pglob->gl_pathc++] = copy;
lib/libc/gen/glob.c
935
return copy == NULL ? GLOB_NOSPACE : 0;
lib/libc/regex/regcomp.c
1585
sopno copy;
lib/libc/regex/regcomp.c
1621
copy = dupl(p, start+1, finish+1);
lib/libc/regex/regcomp.c
1622
assert(copy == finish+4);
lib/libc/regex/regcomp.c
1623
repeat(p, copy, 1, to-1);
lib/libc/regex/regcomp.c
1630
copy = dupl(p, start, finish);
lib/libc/regex/regcomp.c
1631
repeat(p, copy, from-1, to-1);
lib/libc/regex/regcomp.c
1634
copy = dupl(p, start, finish);
lib/libc/regex/regcomp.c
1635
repeat(p, copy, from-1, to);
lib/libc/rpc/svc_fdset.c
402
fd_set *copy = calloc(1, __NFD_BYTES(size));
lib/libc/rpc/svc_fdset.c
403
if (copy == NULL)
lib/libc/rpc/svc_fdset.c
406
memcpy(copy, orig, __NFD_BYTES(size));
lib/libc/rpc/svc_fdset.c
407
return copy;
lib/libc/rpc/svc_fdset.c
454
struct pollfd *copy = calloc(size, sizeof(*orig));
lib/libc/rpc/svc_fdset.c
455
if (copy == NULL)
lib/libc/rpc/svc_fdset.c
458
memcpy(copy, orig, size * sizeof(*orig));
lib/libc/rpc/svc_fdset.c
459
return copy;
lib/libc/stdlib/setenv.c
117
copy:
lib/libc/stdlib/setenv.c
99
goto copy;
lib/libc/string/strdup.c
56
char *copy;
lib/libc/string/strdup.c
61
if (!(copy = malloc(len)))
lib/libc/string/strdup.c
63
memcpy(copy, str, len);
lib/libc/string/strdup.c
64
return (copy);
lib/libc/string/strndup.c
61
char *copy;
lib/libc/string/strndup.c
68
if (!(copy = malloc(len + 1)))
lib/libc/string/strndup.c
70
memcpy(copy, str, len);
lib/libc/string/strndup.c
71
copy[len] = '\0';
lib/libc/string/strndup.c
72
return (copy);
lib/libc/string/wcsdup.c
31
wchar_t *copy;
lib/libc/string/wcsdup.c
38
copy = NULL;
lib/libc/string/wcsdup.c
39
errno = reallocarr(©, len, sizeof(*copy));
lib/libc/string/wcsdup.c
43
return wmemcpy(copy, str, len);
libexec/ld.elf_so/xmalloc.c
455
char *copy;
libexec/ld.elf_so/xmalloc.c
458
copy = xmalloc(len);
libexec/ld.elf_so/xmalloc.c
459
memcpy(copy, str, len);
libexec/ld.elf_so/xmalloc.c
460
return (copy);
sys/arch/hppa/include/asm.h
69
copy %rp, %arg0 !\
sys/arch/hppa/include/som.h
90
u_int copy : 1;
sys/arch/ia64/stand/common/environment.c
168
char *value, *copy;
sys/arch/ia64/stand/common/environment.c
171
copy = strdup(string);
sys/arch/ia64/stand/common/environment.c
172
if ((value = strchr(copy, '=')) != NULL)
sys/arch/ia64/stand/common/environment.c
174
result = setenv(copy, value, 1);
sys/arch/ia64/stand/common/environment.c
175
free(copy);
sys/arch/ia64/stand/common/interp_parse.c
174
free(copy);
sys/arch/ia64/stand/common/interp_parse.c
60
free(copy); \
sys/arch/ia64/stand/common/interp_parse.c
86
char *val, *p, *q, *copy = NULL;
sys/arch/ia64/stand/common/interp_parse.c
93
if (!str || (p = copy = backslash(str)) == NULL)
sys/arch/ia64/stand/common/strdup.c
53
char *copy = NULL;
sys/arch/ia64/stand/common/strdup.c
57
if ((copy = alloc(len)) == NULL)
sys/arch/ia64/stand/common/strdup.c
59
memcpy(copy, str, len);
sys/arch/ia64/stand/common/strdup.c
61
return (copy);
sys/arch/m68k/fpsp/fpsp.h
98
* of these registers, it should modify the saved copy and let
sys/arch/powerpc/oea/pmap.c
155
#define pmap_copy PMAPNAME(copy)
sys/arch/x86/x86/x86_tlb.c
509
pmap_tlb_packet_t copy;
sys/arch/x86/x86/x86_tlb.c
515
copy = *source;
sys/arch/x86/x86/x86_tlb.c
532
pmap_tlb_invalidate(©);
sys/arch/x86/x86/x86_tlb.c
542
if (ci->ci_tlbstate == TLBSTATE_LAZY && TP_GET_USERPMAP(©) != 0) {
sys/dev/pci/if_vte.c
691
int copy, error, padlen;
sys/dev/pci/if_vte.c
716
copy = 0;
sys/dev/pci/if_vte.c
718
copy++;
sys/dev/pci/if_vte.c
721
copy++;
sys/dev/pci/if_vte.c
722
if (copy != 0) {
sys/dev/wsfont/wsfont.c
692
wsfont_add0(struct wsdisplay_font *font, int copy)
sys/dev/wsfont/wsfont.c
700
if (!copy) {
sys/dev/wsfont/wsfont.c
726
wsfont_add(struct wsdisplay_font *font, int copy)
sys/dev/wsfont/wsfont.c
735
ent = wsfont_add0(font, copy);
sys/kern/kern_core.c
319
goto copy;
sys/kern/kern_core.c
324
copy: *d = *s;
sys/kern/kern_ksyms.c
1476
Elf_Sym *sym = NULL, copy;
sys/kern/kern_ksyms.c
1526
memcpy(©, sym, sizeof(copy));
sys/kern/kern_ksyms.c
1528
error = copyout(©, okg->kg_sym, sizeof(Elf_Sym));
sys/kern/kern_todr.c
501
struct timeval copy = *tvp;
sys/kern/kern_todr.c
502
copy.tv_sec -= rtc_offset * 60;
sys/kern/kern_todr.c
504
rv = tch->todr_settime(tch, ©);
sys/kern/vfs_cwd.c
52
struct cwdinfo *copy;
sys/kern/vfs_cwd.c
57
copy = curproc->p_cwdi;
sys/kern/vfs_cwd.c
59
rw_enter(©->cwdi_lock, RW_READER);
sys/kern/vfs_cwd.c
60
cwdi->cwdi_cdir = copy->cwdi_cdir;
sys/kern/vfs_cwd.c
63
cwdi->cwdi_rdir = copy->cwdi_rdir;
sys/kern/vfs_cwd.c
66
cwdi->cwdi_edir = copy->cwdi_edir;
sys/kern/vfs_cwd.c
69
rw_exit(©->cwdi_lock);
sys/kern/vfs_cwd.c
71
cwdi->cwdi_cmask = copy->cwdi_cmask;
sys/net/zlib.c
5103
} copy; /* if EXT or COPY, where and how much */
sys/net/zlib.c
5189
c->sub.copy.get = e & 15;
sys/net/zlib.c
5211
j = c->sub.copy.get;
sys/net/zlib.c
5228
c->sub.copy.get = e & 15;
sys/net/zlib.c
5229
c->sub.copy.dist = t->base;
sys/net/zlib.c
5244
j = c->sub.copy.get;
sys/net/zlib.c
5246
c->sub.copy.dist += (uInt)b & inflate_mask[j];
sys/net/zlib.c
5248
Tracevv((stderr, "inflate: distance %u\n", c->sub.copy.dist));
sys/net/zlib.c
5252
f = q - c->sub.copy.dist;
sys/netinet/tcp_vtw.c
2059
vtw_v4_t copy = *(vtw_v4_t*)vp->vtw;
sys/netinet/tcp_vtw.c
2061
vtw_t *cp = ©.common;
sys/netinet/tcp_vtw.c
2086
v4->faddr = copy.faddr;
sys/netinet/tcp_vtw.c
2087
v4->laddr = copy.laddr;
sys/netinet/tcp_vtw.c
2088
v4->fport = copy.fport;
sys/netinet/tcp_vtw.c
2089
v4->lport = copy.lport;
sys/netinet/tcp_vtw.c
2107
vtw_v6_t copy = *(vtw_v6_t*)vp->vtw;
sys/netinet/tcp_vtw.c
2109
vtw_t *cp = ©.common;
sys/netinet/tcp_vtw.c
2136
v6->faddr = copy.faddr;
sys/netinet/tcp_vtw.c
2137
v6->laddr = copy.laddr;
sys/netinet/tcp_vtw.c
2138
v6->fport = copy.fport;
sys/netinet/tcp_vtw.c
2139
v6->lport = copy.lport;
sys/ufs/ext2fs/ext2fs_inode.c
506
int32_t *copy = NULL; /* XXX ondisk32 */
sys/ufs/ext2fs/ext2fs_inode.c
555
copy = kmem_alloc(fs->e2fs_bsize, KM_SLEEP);
sys/ufs/ext2fs/ext2fs_inode.c
556
memcpy((void *)copy, (void *)bap, (u_int)fs->e2fs_bsize);
sys/ufs/ext2fs/ext2fs_inode.c
562
bap = copy;
sys/ufs/ext2fs/ext2fs_inode.c
603
if (copy != NULL) {
sys/ufs/ext2fs/ext2fs_inode.c
604
kmem_free(copy, fs->e2fs_bsize);
sys/ufs/ffs/ffs_inode.c
636
char *copy = NULL;
sys/ufs/ffs/ffs_inode.c
713
copy = kmem_alloc(fs->fs_bsize, KM_SLEEP);
sys/ufs/ffs/ffs_inode.c
714
memcpy((void *)copy, bp->b_data, (u_int)fs->fs_bsize);
sys/ufs/ffs/ffs_inode.c
722
bap1 = (int32_t *)copy;
sys/ufs/ffs/ffs_inode.c
724
bap2 = (int64_t *)copy;
sys/ufs/ffs/ffs_inode.c
787
if (copy != NULL) {
sys/ufs/ffs/ffs_inode.c
788
kmem_free(copy, fs->fs_bsize);
sys/uvm/pmap/pmap.c
1899
PMAP_COUNT(copy);
sys/uvm/pmap/pmap.c
195
PMAP_COUNTER(copy, "copies");
tests/lib/libc/gen/t_arc4random.c
167
struct arc4random_prng *prng, copy;
tests/lib/libc/gen/t_arc4random.c
193
copy = *prng;
tests/lib/libc/gen/t_arc4random.c
199
ATF_CHECK(memcmp(&prng->arc4_prng, ©.arc4_prng,
tests/lib/libc/gen/t_arc4random.c
200
sizeof(copy.arc4_prng)) != 0);
tests/lib/libc/gen/t_arc4random.c
205
copy = *prng;
tests/lib/libc/gen/t_arc4random.c
211
ATF_CHECK(memcmp(&prng->arc4_prng, ©.arc4_prng,
tests/lib/libc/gen/t_arc4random.c
212
sizeof(copy.arc4_prng)) != 0);
usr.bin/audio/common/decode.c
120
free(copy);
usr.bin/audio/common/decode.c
80
char *copy = strdup(arg);
usr.bin/audio/common/decode.c
83
if (copy == NULL)
usr.bin/audio/common/decode.c
87
s = copy;
usr.bin/dc/bcode.c
803
struct value *v, copy;
usr.bin/dc/bcode.c
814
push(stack_dup_value(v, ©));
usr.bin/dc/bcode.c
878
struct value *v, copy;
usr.bin/dc/bcode.c
899
push(stack_dup_value(v, ©));
usr.bin/dc/stack.c
106
struct value copy;
usr.bin/dc/stack.c
113
stack_push(stack, stack_dup_value(value, ©));
usr.bin/dc/stack.c
119
struct value copy;
usr.bin/dc/stack.c
125
copy = stack->stack[stack->sp];
usr.bin/dc/stack.c
127
stack->stack[stack->sp-1] = copy;
usr.bin/dc/stack.c
74
stack_dup_value(const struct value *a, struct value *copy)
usr.bin/dc/stack.c
76
copy->type = a->type;
usr.bin/dc/stack.c
82
copy->u.num = dup_number(a->u.num);
usr.bin/dc/stack.c
85
copy->u.string = strdup(a->u.string);
usr.bin/dc/stack.c
86
if (copy->u.string == NULL)
usr.bin/dc/stack.c
91
copy->array = a->array == NULL ? NULL : array_dup(a->array);
usr.bin/dc/stack.c
93
return copy;
usr.bin/elf2aout/elf2aout.c
432
copy(outfile, infile, ph[i].p_offset, ph[i].p_filesz);
usr.bin/elf2aout/elf2aout.c
70
static void copy(int, int, off_t, off_t);
usr.bin/elf2ecoff/elf2ecoff.c
442
copy(outfile, infile, ph[i].p_offset, ph[i].p_filesz);
usr.bin/elf2ecoff/elf2ecoff.c
87
static void copy(int, int, off_t, off_t);
usr.bin/mail/extern.h
289
char * copy(char *, char *);
usr.bin/mail/names.c
203
cp = copy(p->n_name, cp);
usr.bin/mail/tty.c
107
cp = copy(src, canonb);
usr.bin/mail/tty.c
109
cp = copy(__UNCONST(""), canonb);
usr.bin/make/arch.c
398
char copy[AR_MAX_NAME_LEN + 1];
usr.bin/make/arch.c
402
snprintf(copy, sizeof copy, "%s", member);
usr.bin/make/arch.c
403
hdr = HashTable_FindValue(&ar->members, copy);
usr.bin/make/util.c
108
goto copy;
usr.bin/make/util.c
137
copy:
usr.bin/make/var.c
2734
bool copy = false; /* pattern should be, or has been, copied */
usr.bin/make/var.c
2755
copy = true;
usr.bin/make/var.c
2772
if (copy) {
usr.bin/man/manconf.c
75
char *copy;
usr.bin/man/manconf.c
78
copy = malloc(len);
usr.bin/man/manconf.c
79
if (!copy)
usr.bin/man/manconf.c
81
(void)memcpy(copy, str, len);
usr.bin/man/manconf.c
84
return copy;
usr.bin/printf/printf.c
670
static char copy[64];
usr.bin/printf/printf.c
674
if (len > sizeof copy) {
usr.bin/printf/printf.c
679
(void)memmove(copy, str, len - 3);
usr.bin/printf/printf.c
680
copy[len - 3] = longer;
usr.bin/printf/printf.c
681
copy[len - 2] = ch;
usr.bin/printf/printf.c
682
copy[len - 1] = '\0';
usr.bin/printf/printf.c
683
return copy;
usr.bin/tset/map.c
159
badmopt: errx(1, "illegal -m option format: %s", copy);
usr.bin/tset/map.c
180
free(copy);
usr.bin/tset/map.c
78
char *copy, *p, *termp;
usr.bin/tset/map.c
80
copy = strdup(arg);
usr.bin/tset/map.c
82
if (copy == NULL || mapp == NULL)
usr.bin/units/units.c
553
char *copy;
usr.bin/units/units.c
561
copy = dupstr(unit);
usr.bin/units/units.c
562
copy[strlen(copy) - 1] = 0;
usr.bin/units/units.c
564
if (!strcmp(unittable[i].uname, copy)) {
usr.bin/units/units.c
565
strlcpy(buffer, copy, sizeof(buffer));
usr.bin/units/units.c
566
free(copy);
usr.bin/units/units.c
570
free(copy);
usr.bin/units/units.c
573
copy = dupstr(unit);
usr.bin/units/units.c
574
copy[strlen(copy) - 1] = 0;
usr.bin/units/units.c
576
if (!strcmp(unittable[i].uname, copy)) {
usr.bin/units/units.c
577
strlcpy(buffer, copy, sizeof(buffer));
usr.bin/units/units.c
578
free(copy);
usr.bin/units/units.c
582
if (copy[strlen(copy) - 1] == 'e') {
usr.bin/units/units.c
583
copy[strlen(copy) - 1] = 0;
usr.bin/units/units.c
585
if (!strcmp(unittable[i].uname, copy)) {
usr.bin/units/units.c
586
strlcpy(buffer, copy, sizeof(buffer));
usr.bin/units/units.c
587
free(copy);
usr.bin/units/units.c
592
free(copy);
usr.bin/xinstall/xinstall.c
162
static char *copy(int, char *, int, char *, off_t);
usr.bin/xinstall/xinstall.c
764
copy(from_fd, from_name, to_fd, to_name, from_sb.st_size);
usr.bin/xinstall/xinstall.c
786
copy(to_fd, to_name, -1, NULL, size);
usr.sbin/acpitools/aml/aml_evalobj.c
189
struct aml_environ *copy;
usr.sbin/acpitools/aml/aml_evalobj.c
201
copy = memman_alloc(aml_memman, memid_aml_environ);
usr.sbin/acpitools/aml/aml_evalobj.c
202
if (copy == NULL) {
usr.sbin/acpitools/aml/aml_evalobj.c
240
*copy = *env;
usr.sbin/acpitools/aml/aml_evalobj.c
241
copy->curname = aname;
usr.sbin/acpitools/aml/aml_evalobj.c
242
copy->dp = aname->property->meth.from;
usr.sbin/acpitools/aml/aml_evalobj.c
243
copy->end = aname->property->meth.to;
usr.sbin/acpitools/aml/aml_evalobj.c
244
copy->stat = aml_stat_none;
usr.sbin/acpitools/aml/aml_evalobj.c
258
AML_DEBUGGER(env, copy);
usr.sbin/acpitools/aml/aml_evalobj.c
260
tmp = aml_execute_method(copy);
usr.sbin/acpitools/aml/aml_evalobj.c
262
if (copy->stat == aml_stat_panic) {
usr.sbin/acpitools/aml/aml_evalobj.c
306
memman_free(aml_memman, memid_aml_environ, copy);
usr.sbin/acpitools/aml/aml_parse.c
1004
struct aml_environ *copy;
usr.sbin/acpitools/aml/aml_parse.c
1010
copy = memman_alloc(aml_memman, memid_aml_environ);
usr.sbin/acpitools/aml/aml_parse.c
1011
if (copy == NULL) {
usr.sbin/acpitools/aml/aml_parse.c
1023
*copy = *env;
usr.sbin/acpitools/aml/aml_parse.c
1024
AML_CREATE_NAME(copy->curname, env, name,);
usr.sbin/acpitools/aml/aml_parse.c
1025
if (copy->curname->property != NULL) {
usr.sbin/acpitools/aml/aml_parse.c
1030
copy->curname->property = obj;
usr.sbin/acpitools/aml/aml_parse.c
1031
env->dp = copy->end = start + pkglength;
usr.sbin/acpitools/aml/aml_parse.c
1033
aml_parse_objectlist(copy, indent + 1);
usr.sbin/acpitools/aml/aml_parse.c
1036
aml_free_objectcontent(©->tempobject);
usr.sbin/acpitools/aml/aml_parse.c
1038
AML_SYSASSERT(copy->dp == copy->end);
usr.sbin/acpitools/aml/aml_parse.c
1040
memman_free(aml_memman, memid_aml_environ, copy);
usr.sbin/acpitools/aml/aml_parse.c
1049
struct aml_environ *copy;
usr.sbin/acpitools/aml/aml_parse.c
1053
copy = memman_alloc(aml_memman, memid_aml_environ);
usr.sbin/acpitools/aml/aml_parse.c
1054
if (copy == NULL) {
usr.sbin/acpitools/aml/aml_parse.c
1062
*copy = *env;
usr.sbin/acpitools/aml/aml_parse.c
1063
AML_CREATE_NAME(copy->curname, env, name,);
usr.sbin/acpitools/aml/aml_parse.c
1064
if (copy->curname->property != NULL) {
usr.sbin/acpitools/aml/aml_parse.c
1069
AML_ALLOC_OBJECT(copy->curname->property, env, aml_t_therm,);
usr.sbin/acpitools/aml/aml_parse.c
1070
env->dp = copy->end = start + pkglength;
usr.sbin/acpitools/aml/aml_parse.c
1071
aml_parse_objectlist(copy, indent + 1);
usr.sbin/acpitools/aml/aml_parse.c
1074
aml_free_objectcontent(©->tempobject);
usr.sbin/acpitools/aml/aml_parse.c
1075
AML_SYSASSERT(copy->dp == copy->end);
usr.sbin/acpitools/aml/aml_parse.c
1077
memman_free(aml_memman, memid_aml_environ, copy);
usr.sbin/acpitools/aml/aml_parse.c
549
struct aml_environ *copy;
usr.sbin/acpitools/aml/aml_parse.c
556
copy = memman_alloc(aml_memman, memid_aml_environ);
usr.sbin/acpitools/aml/aml_parse.c
557
if (copy == NULL) {
usr.sbin/acpitools/aml/aml_parse.c
574
*copy = *env;
usr.sbin/acpitools/aml/aml_parse.c
575
env->dp = copy->end = start + pkglength;
usr.sbin/acpitools/aml/aml_parse.c
578
while ((copy->dp < copy->end) && (i < numelements)) {
usr.sbin/acpitools/aml/aml_parse.c
580
tmpname = aml_parse_termobj(copy, indent + 1);
usr.sbin/acpitools/aml/aml_parse.c
583
objects[i] = aml_copy_object(copy, tmpname->property);
usr.sbin/acpitools/aml/aml_parse.c
588
aml_free_objectcontent(©->tempobject);
usr.sbin/acpitools/aml/aml_parse.c
597
memman_free(aml_memman, memid_aml_environ, copy);
usr.sbin/acpitools/aml/aml_parse.c
608
struct aml_environ *copy;
usr.sbin/acpitools/aml/aml_parse.c
615
copy = memman_alloc(aml_memman, memid_aml_environ);
usr.sbin/acpitools/aml/aml_parse.c
616
if (copy == NULL) {
usr.sbin/acpitools/aml/aml_parse.c
638
*copy = *env;
usr.sbin/acpitools/aml/aml_parse.c
641
meth->to = env->dp = copy->end = start + pkglength;
usr.sbin/acpitools/aml/aml_parse.c
645
memman_free(aml_memman, memid_aml_environ, copy);
usr.sbin/acpitools/aml/aml_parse.c
782
struct aml_environ *copy;
usr.sbin/acpitools/aml/aml_parse.c
790
copy = memman_alloc(aml_memman, memid_aml_environ);
usr.sbin/acpitools/aml/aml_parse.c
791
if (copy == NULL) {
usr.sbin/acpitools/aml/aml_parse.c
801
*copy = *env;
usr.sbin/acpitools/aml/aml_parse.c
802
env->dp = copy->end = start + pkglength;
usr.sbin/acpitools/aml/aml_parse.c
811
aml_parse_fieldlist(copy, &fieldtemplate, indent + 1);
usr.sbin/acpitools/aml/aml_parse.c
814
aml_free_objectcontent(©->tempobject);
usr.sbin/acpitools/aml/aml_parse.c
816
AML_SYSASSERT(copy->dp == copy->end);
usr.sbin/acpitools/aml/aml_parse.c
817
memman_free(aml_memman, memid_aml_environ, copy);
usr.sbin/acpitools/aml/aml_parse.c
826
struct aml_environ *copy;
usr.sbin/acpitools/aml/aml_parse.c
834
copy = memman_alloc(aml_memman, memid_aml_environ);
usr.sbin/acpitools/aml/aml_parse.c
835
if (copy == NULL) {
usr.sbin/acpitools/aml/aml_parse.c
854
*copy = *env;
usr.sbin/acpitools/aml/aml_parse.c
855
env->dp = copy->end = start + pkglength;
usr.sbin/acpitools/aml/aml_parse.c
856
aml_parse_fieldlist(copy, &template, indent + 1);
usr.sbin/acpitools/aml/aml_parse.c
859
aml_free_objectcontent(©->tempobject);
usr.sbin/acpitools/aml/aml_parse.c
861
AML_SYSASSERT(copy->dp == copy->end);
usr.sbin/acpitools/aml/aml_parse.c
862
memman_free(aml_memman, memid_aml_environ, copy);
usr.sbin/acpitools/aml/aml_parse.c
871
struct aml_environ *copy;
usr.sbin/acpitools/aml/aml_parse.c
880
copy = memman_alloc(aml_memman, memid_aml_environ);
usr.sbin/acpitools/aml/aml_parse.c
881
if (copy == NULL) {
usr.sbin/acpitools/aml/aml_parse.c
900
*copy = *env;
usr.sbin/acpitools/aml/aml_parse.c
901
env->dp = copy->end = start + pkglength;
usr.sbin/acpitools/aml/aml_parse.c
906
aml_parse_fieldlist(copy, &template, indent + 1);
usr.sbin/acpitools/aml/aml_parse.c
910
aml_free_objectcontent(©->tempobject);
usr.sbin/acpitools/aml/aml_parse.c
911
AML_SYSASSERT(copy->dp == copy->end);
usr.sbin/acpitools/aml/aml_parse.c
912
memman_free(aml_memman, memid_aml_environ, copy);
usr.sbin/acpitools/aml/aml_parse.c
921
struct aml_environ *copy;
usr.sbin/acpitools/aml/aml_parse.c
925
copy = memman_alloc(aml_memman, memid_aml_environ);
usr.sbin/acpitools/aml/aml_parse.c
926
if (copy == NULL) {
usr.sbin/acpitools/aml/aml_parse.c
934
*copy = *env;
usr.sbin/acpitools/aml/aml_parse.c
935
AML_CREATE_NAME(copy->curname, env, name,);
usr.sbin/acpitools/aml/aml_parse.c
936
if (copy->curname->property != NULL) {
usr.sbin/acpitools/aml/aml_parse.c
941
AML_ALLOC_OBJECT(copy->curname->property, env, aml_t_device,);
usr.sbin/acpitools/aml/aml_parse.c
942
env->dp = copy->end = start + pkglength;
usr.sbin/acpitools/aml/aml_parse.c
943
aml_parse_objectlist(copy, indent + 1);
usr.sbin/acpitools/aml/aml_parse.c
946
aml_free_objectcontent(©->tempobject);
usr.sbin/acpitools/aml/aml_parse.c
948
AML_SYSASSERT(copy->dp == copy->end);
usr.sbin/acpitools/aml/aml_parse.c
950
memman_free(aml_memman, memid_aml_environ, copy);
usr.sbin/acpitools/aml/aml_parse.c
959
struct aml_environ *copy;
usr.sbin/acpitools/aml/aml_parse.c
965
copy = memman_alloc(aml_memman, memid_aml_environ);
usr.sbin/acpitools/aml/aml_parse.c
966
if (copy == NULL) {
usr.sbin/acpitools/aml/aml_parse.c
979
*copy = *env;
usr.sbin/acpitools/aml/aml_parse.c
980
AML_CREATE_NAME(copy->curname, env, name,);
usr.sbin/acpitools/aml/aml_parse.c
981
if (copy->curname->property != NULL) {
usr.sbin/acpitools/aml/aml_parse.c
986
copy->curname->property = obj;
usr.sbin/acpitools/aml/aml_parse.c
987
env->dp = copy->end = start + pkglength;
usr.sbin/acpitools/aml/aml_parse.c
988
aml_parse_objectlist(copy, indent + 1);
usr.sbin/acpitools/aml/aml_parse.c
991
aml_free_objectcontent(©->tempobject);
usr.sbin/acpitools/aml/aml_parse.c
993
AML_SYSASSERT(copy->dp == copy->end);
usr.sbin/acpitools/aml/aml_parse.c
995
memman_free(aml_memman, memid_aml_environ, copy);
usr.sbin/autofs/common.c
125
char *component, *copy, *tofree, *partial, *tmp;
usr.sbin/autofs/common.c
133
copy = tofree = checked_strdup(path + 1);
usr.sbin/autofs/common.c
137
component = strsep(©, "/");
usr.sbin/bad144/bad144.c
131
copy = 1;
usr.sbin/bad144/bad144.c
425
if (!copy ||
usr.sbin/bad144/bad144.c
81
static int add, copy, verbose, nflag;
usr.sbin/fstyp/hammer2_disk.h
537
hammer2_volconf_t copy; /* copy spec */
usr.sbin/lpr/lpr/lpr.c
108
static void copy(int, const char *);
usr.sbin/lpr/lpr/lpr.c
337
copy(0, " ");
usr.sbin/lpr/lpr/lpr.c
341
copy(0, " ");
usr.sbin/lpr/lpr/lpr.c
376
copy(i, arg);
usr.sbin/mailwrapper/mailwrapper.c
68
addarg(struct arglist *al, const char *arg, int copy)
usr.sbin/mailwrapper/mailwrapper.c
76
if (copy) {
usr.sbin/makefs/cd9660.c
1235
cd9660_count_collisions(cd9660node *copy)
usr.sbin/makefs/cd9660.c
1240
for (iter = copy;
usr.sbin/puffs/mount_psshfs/node.c
693
goto copy;
usr.sbin/puffs/mount_psshfs/node.c
717
copy: