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

1234567891011>>

/freebsd-11-stable/lib/libc/string/
H A Dstrndup.c6 * Permission to use, copy, modify, and distribute this software for any
29 char *copy; local
33 copy = malloc(len + 1);
34 if (copy != NULL) {
35 (void)memcpy(copy, str, len);
36 copy[len] = '\0';
39 return copy;
H A Dstrdup.c44 char *copy; local
47 if ((copy = malloc(len)) == NULL)
49 memcpy(copy, str, len);
50 return (copy);
H A Dwcsdup.c36 wchar_t *copy; local
40 if ((copy = malloc(len * sizeof(wchar_t))) == NULL)
42 return (wmemcpy(copy, s, len));
/freebsd-11-stable/contrib/tcpdump/missing/
H A Dstrdup.c45 char *copy; local
48 if ((copy = malloc(len)) == NULL)
50 memcpy(copy, str, len);
51 return (copy);
/freebsd-11-stable/contrib/openpam/
H A Dautogen.sh6 libtoolize --copy --force
9 automake --add-missing --copy --foreign
/freebsd-11-stable/sys/libkern/
H A Dstrndup.c44 char *copy; local
47 copy = malloc(len, type, M_WAITOK);
48 bcopy(string, copy, len);
49 copy[len - 1] = '\0';
50 return (copy);
H A Dstrdup.c44 char *copy; local
47 copy = malloc(len, type, M_WAITOK);
48 bcopy(string, copy, len);
49 return (copy);
/freebsd-11-stable/contrib/openbsm/
H A Dautogen.sh3 libtoolize --copy --force
/freebsd-11-stable/usr.bin/ssh-copy-id/
H A DMakefile3 SCRIPTS= ssh-copy-id.sh
4 MAN= ssh-copy-id.1
/freebsd-11-stable/stand/libsa/
H A Dstrdup.c46 char *copy = NULL; local
50 if ((copy = malloc(len)) == NULL)
52 memcpy(copy, str, len);
54 return (copy);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Darwin/
H A DCFUtils.h30 CFReleaser(const CFReleaser &copy) : _ptr(copy.get()) { argument
37 CFReleaser &operator=(const CFReleaser<T> &copy) { argument
38 if (copy != *this) {
40 reset(copy.get());
/freebsd-11-stable/gnu/usr.bin/rcs/lib/
H A Drcskeys.c19 You should have received a copy of the GNU General Public License
124 char *copy, *next; local
127 copy = strdup(arg);
128 next = copy;
137 free(copy);
153 free(copy);
163 char *copy, *next, *key; local
166 copy = strdup(string);
167 next = copy;
185 free(copy);
[all...]
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dargv.c16 You should have received a copy of the GNU Library General Public
68 char **copy; local
75 copy = (char **) malloc ((argc + 1) * sizeof (char *));
76 if (copy == NULL)
83 copy[argc] = (char *) malloc (len + 1);
84 if (copy[argc] == NULL)
86 freeargv (copy);
89 strcpy (copy[argc], argv[argc]);
91 copy[argc] = NULL;
92 return copy;
[all...]
/freebsd-11-stable/usr.bin/rctl/
H A Drctl.c120 char *copy, *expanded, *tofree; local
123 tofree = copy = strdup(rule);
124 if (copy == NULL) {
129 subject = strsep(&copy, ":");
130 subject_id = strsep(&copy, ":");
131 resource = strsep(&copy, ":");
132 action = strsep(&copy, "=/");
133 amount = strsep(&copy, "/");
134 per = copy;
138 * The "copy" ha
185 char *copy, *expanded, *resolved, *tofree; local
315 char *copy, *humanized, buf[6], *tofree; local
467 char *copy, *humanized, buf[6], *tofree; local
502 char *copy, *outbuf = NULL, *tmp; local
[all...]
/freebsd-11-stable/crypto/openssl/util/
H A Dcopy-if-different.pl7 # copy-if-different.pl
59 goto copy if !sysread(OUT, $b2, 10240) || $buf ne $b2;
61 goto copy if sysread(OUT, $buf, 1);
67 copy: label
/freebsd-11-stable/contrib/gdb/gdb/
H A Dlinespec.c18 You should have received a copy of the GNU General Public License
71 char *copy,
75 static int collect_methods (char *copy, struct type *t,
114 static struct symtabs_and_lines decode_dollar (char *copy,
120 static struct symtabs_and_lines decode_variable (char *copy,
129 char *copy,
664 char *copy;
768 copy = (char *) alloca (p - *argptr + 1);
769 memcpy (copy, *argptr, p - *argptr);
770 copy[
663 char *copy; local
1079 char *copy = NULL; local
1170 char *copy; local
1372 char *copy; local
1399 find_method(int funfirstline, char ***canonical, char *saved_arg, char *copy, struct type *t, struct symbol *sym_class) argument
1465 collect_methods(char *copy, struct type *t, struct symbol **sym_arr) argument
1506 char *copy; local
1644 decode_dollar(char *copy, int funfirstline, struct symtab *default_symtab, char ***canonical, struct symtab *file_symtab) argument
1721 decode_variable(char *copy, int funfirstline, char ***canonical, struct symtab *file_symtab, int *not_found_ptr) argument
1776 symbol_found(int funfirstline, char ***canonical, char *copy, struct symbol *sym, struct symtab *file_symtab, struct symtab *sym_symtab) argument
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Dautogen.sh15 automake --add-missing --force-missing --copy
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_base/bdb/
H A Dcopies-table.c10 * with the License. You may obtain a copy of the License at
71 /* Store COPY as a copy named COPY_ID in FS as part of TRAIL. */
75 const copy_t *copy,
85 SVN_ERR(svn_fs_base__unparse_copy_skel(&copy_skel, copy, pool));
92 return BDB_WRAP(fs, N_("storing copy record"),
115 SVN_ERR(BDB_WRAP(fs, N_("allocating new copy ID (getting 'next-key')"),
133 return BDB_WRAP(fs, N_("bumping next copy key"), db_err);
147 copy_t copy; local
148 copy.kind = kind;
149 copy
74 put_copy(svn_fs_t *fs, const copy_t *copy, const char *copy_id, trail_t *trail, apr_pool_t *pool) argument
186 copy_t *copy; local
[all...]
/freebsd-11-stable/libexec/rtld-elf/
H A Dxmalloc.c62 char *copy; local
66 copy = xmalloc(len);
67 memcpy(copy, str, len);
68 return (copy);
/freebsd-11-stable/contrib/ntp/libntp/
H A Demalloc.c66 * Permission to use, copy, modify, and distribute this software for any
126 char * copy; local
130 copy = ereallocz(NULL, bytes, 0, FALSE
135 memcpy(copy, str, bytes);
137 return copy;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dinflate.c27 * - Unroll direct copy to three copies per loop in inffast.c
44 * - Make MATCH copy in inflate() much faster for when inflate_fast() not used
53 * - Unroll last copy for window match in inflate_fast()
335 unsigned copy, dist; local
354 /* copy state->wsize or less output bytes into the circular window */
355 copy = out - strm->avail_out;
356 if (copy >= state->wsize) {
363 if (dist > copy) dist = copy;
364 zmemcpy(state->window + state->write, strm->next_out - copy, dis
572 unsigned copy; /* number of stored or match bytes to copy */ local
[all...]
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dargv.c16 You should have received a copy of the GNU Library General Public
68 char **copy; local
75 copy = (char **) malloc ((argc + 1) * sizeof (char *));
76 if (copy == NULL)
83 copy[argc] = (char *) malloc (len + 1);
84 if (copy[argc] == NULL)
86 freeargv (copy);
89 strcpy (copy[argc], argv[argc]);
91 copy[argc] = NULL;
92 return copy;
[all...]
/freebsd-11-stable/crypto/openssh/regress/
H A Ddynamic-forward.sh44 somehost cat $DATA > $OBJ/ls.copy
45 test -f $OBJ/ls.copy || fail "failed copy $DATA"
46 cmp $DATA $OBJ/ls.copy || fail "corrupted copy of $DATA"
/freebsd-11-stable/contrib/gcc/
H A Drtl.c17 You should have received a copy of the GNU General Public License
212 /* Create a new copy of an rtx.
219 rtx copy;
255 then reloading one copy of this mem will cause all copies to appear
266 copy = shallow_copy_rtx (orig);
268 /* We do not copy the USED flag, which is used as a mark bit during
270 RTX_FLAG (copy, used) = 0;
272 /* We do not copy FRAME_RELATED for INSNs. */
274 RTX_FLAG (copy, frame_related) = 0;
275 RTX_FLAG (copy, jum
216 rtx copy; local
319 rtx copy; local
[all...]
/freebsd-11-stable/sys/contrib/zlib/
H A Dinflate.c20 * - Unroll direct copy to three copies per loop in inffast.c
37 * - Make MATCH copy in inflate() much faster for when inflate_fast() not used
46 * - Unroll last copy for window match in inflate_fast()
98 unsigned copy));
396 local int updatewindow(strm, end, copy)
399 unsigned copy;
421 /* copy state->wsize or less output bytes into the circular window */
422 if (copy >= state->wsize) {
429 if (dist > copy) dist = copy;
633 unsigned copy; /* number of stored or match bytes to copy */ local
[all...]

Completed in 160 milliseconds

1234567891011>>