Searched refs:copy (Results 1 - 25 of 542) sorted by relevance

1234567891011>>

/src/lib/libc/compat/stdlib/
H A Dcompat_putenv.c64 char *copy; local in function:__weak_alias
75 if ((copy = strdup(name)) == NULL)
77 copy[l_name++] = '\0';
79 rv = setenv(copy, copy + l_name, 1);
81 free(copy);
/src/sys/arch/ia64/stand/common/
H A Dstrdup.c53 char *copy = NULL; local in function:strdup
57 if ((copy = alloc(len)) == NULL)
59 memcpy(copy, str, len);
61 return (copy);
/src/lib/libc/string/
H A Dstrdup.c56 char *copy; local in function:__weak_alias
61 if (!(copy = malloc(len)))
63 memcpy(copy, str, len);
64 return (copy);
H A Dstrndup.c61 char *copy; local in function:__weak_alias
68 if (!(copy = malloc(len + 1)))
70 memcpy(copy, str, len);
71 copy[len] = '\0';
72 return (copy);
H A Dwcsdup.c9 * Permission to use or copy this software for any purpose is hereby granted
31 wchar_t *copy; local in function:__weak_alias
38 copy = NULL;
39 errno = reallocarr(&copy, len, sizeof(*copy));
43 return wmemcpy(copy, str, len);
/src/tests/kernel/arch/hppa/
H A Dthreadspfunc.S42 copy %sp, %ret0 /* return sp */
/src/lib/csu/arch/hppa/
H A Dcrt0.S54 copy %r27, %r19
60 copy %arg0, %arg2 ; ps_strings -> tmp
61 copy %arg1, %arg0 ; cleanup -> arg0
63 copy %arg2, %arg1 ; ps_strings -> arg1
H A Dcrti.S46 copy %r3, %r1 ! \
47 copy %sp, %r3 ! \
/src/lib/libc/arch/hppa/sys/
H A D__vfork14.S55 copy %rp, %t4
62 copy %t4, %rp // delay slot of branch to __cerror
H A D__clone.S62 copy %arg2, %arg0
80 copy %r31, %rp
84 copy %ret0, %arg0
H A Dpipe.S57 copy %r0, %ret0
/src/sys/kern/
H A Dvfs_cwd.c52 struct cwdinfo *copy; local in function:cwdinit
57 copy = curproc->p_cwdi;
59 rw_enter(&copy->cwdi_lock, RW_READER);
60 cwdi->cwdi_cdir = copy->cwdi_cdir;
63 cwdi->cwdi_rdir = copy->cwdi_rdir;
66 cwdi->cwdi_edir = copy->cwdi_edir;
69 rw_exit(&copy->cwdi_lock);
71 cwdi->cwdi_cmask = copy->cwdi_cmask;
/src/common/dist/zlib/
H A Dinflate.c22 * - Unroll direct copy to three copies per loop in inffast.c
39 * - Make MATCH copy in inflate() much faster for when inflate_fast() not used
48 * - Unroll last copy for window match in inflate_fast()
370 local int updatewindow(z_streamp strm, const Bytef *end, unsigned copy) { argument
391 /* copy state->wsize or less output bytes into the circular window */
392 if (copy >= state->wsize) {
399 if (dist > copy) dist = copy;
400 zmemcpy(state->window + state->wnext, end - copy, dist);
401 copy
600 unsigned copy; /* number of stored or match bytes to copy */ local in function:inflate
1450 struct inflate_state FAR *copy; local in function:inflateCopy
[all...]
H A Dinfback.c252 unsigned copy; /* number of stored or match bytes to copy */ local in function:inflateBack
253 unsigned char FAR *from; /* where to copy match bytes from */
256 unsigned len; /* length to copy for repeats, bits to drop */
329 /* copy stored block from input to output */
331 copy = state->length;
334 if (copy > have) copy = have;
335 if (copy > left) copy
[all...]
/src/sys/lib/libkern/arch/hppa/
H A Dmilli_extra.S41 copy %arg0, %ret0
/src/common/dist/zlib/contrib/infback9/
H A Dinfback9.c226 unsigned long length; /* literal or length of data to copy */
227 unsigned long offset; /* distance back to copy string from */
228 unsigned long copy; /* number of stored or match bytes to copy */ local in function:inflateBack9
229 unsigned char FAR *from; /* where to copy match bytes from */
236 unsigned len; /* length to copy for repeats, bits to drop */
316 /* copy stored block from input to output */
318 copy = length;
321 if (copy > have) copy
[all...]
/src/libexec/ld.elf_so/arch/hppa/
H A Drtld_start.S40 copy %r3, %r1
41 copy %sp, %r3
79 copy %arg1, %r4 ; save for later
99 copy %r4, %arg1 ; %arg1 = relocbase
113 copy %r0, %rp
161 copy %r3, %r1
162 copy %sp, %r3
199 copy %r19, %arg1
206 copy %r21, %r19
238 copy
[all...]
/src/common/dist/zlib/contrib/minizip/
H A Dmake_vms.com1 $ if f$search("ioapi.h_orig") .eqs. "" then copy ioapi.h ioapi.h_orig
3 $ copy sys$input: zdef
12 $ copy vmsdefs.h,ioapi.h_orig ioapi.h
/src/sys/arch/hppa/hppa/
H A Dsigcode.S51 * permission to use, copy, modify, and distribute this file
100 * code wanted it set to. Since we copy it into arg0,
106 copy %r3, %arg0
112 copy %ret0, %arg0
/src/lib/libc/arch/x86_64/string/
H A Dswab.S22 testq $7,%rdx # copy first group of 1 to 7 words
31 L2: shrq $3,%rdx # copy remainder 8 words at a time
/src/lib/libc/compat/arch/hppa/sys/
H A Dcompat___sigtramp1.S54 * permission to use, copy, modify, and distribute this file
95 * code wanted it set to. Since we copy it into arg0,
101 copy %r3, %arg0
107 copy %ret0, %arg0
/src/usr.bin/resize/
H A DMakefile17 .if make(copy)
20 copy:: ${.CURDIR}/${i} target
/src/usr.bin/audio/common/
H A Ddecode.c80 char *copy = strdup(arg); local in function:decode_time
83 if (copy == NULL)
84 err(1, "could not allocate a copy of %s", arg);
87 s = copy;
120 free(copy);
/src/lib/libc/arch/hppa/gen/
H A D__setjmp14.S99 copy %r3, %r1
100 copy %sp, %r3
106 copy %r0, %arg0 ; set up ss
117 copy %r0, %arg1 ; set = NULL
119 copy %r0, %arg0 ; action = 0 <ignored>
126 copy %r0, %ret0
/src/sys/external/bsd/drm2/dist/drm/qxl/
H A Dqxl_draw.c7 * copy of this software and associated documentation files (the "Software"),
9 * on the rights to use, copy, modify, merge, publish, distribute, sub
226 drawable->u.copy.src_area.top = 0;
227 drawable->u.copy.src_area.bottom = height;
228 drawable->u.copy.src_area.left = 0;
229 drawable->u.copy.src_area.right = width;
231 drawable->u.copy.rop_descriptor = SPICE_ROPD_OP_PUT;
232 drawable->u.copy.scale_mode = 0;
233 drawable->u.copy.mask.flags = 0;
234 drawable->u.copy
[all...]

Completed in 13 milliseconds

1234567891011>>