| /src/external/bsd/libbind/dist/ |
| include4netbsd | 25 copy() function 36 copy $LIBBIND/include/$i $INCLUDE/$i 43 copy $LIBBIND/include/arpa/$i $INCLUDE/arpa/$i
|
| /src/lib/libc/string/ |
| strdup.c | 56 char *copy; local 61 if (!(copy = malloc(len))) 63 memcpy(copy, str, len); 64 return (copy);
|
| strndup.c | 61 char *copy; local 68 if (!(copy = malloc(len + 1))) 70 memcpy(copy, str, len); 71 copy[len] = '\0'; 72 return (copy);
|
| wcsdup.c | 9 * Permission to use or copy this software for any purpose is hereby granted 31 wchar_t *copy; local 38 copy = NULL; 39 errno = reallocarr(©, len, sizeof(*copy)); 43 return wmemcpy(copy, str, len);
|
| /src/sys/arch/ia64/stand/common/ |
| strdup.c | 53 char *copy = NULL; local 57 if ((copy = alloc(len)) == NULL) 59 memcpy(copy, str, len); 61 return (copy);
|
| /src/crypto/external/apache2/openssl/dist/crypto/asn1/ |
| d2i_pu.c | 5 * this file except in compliance with the License. You can obtain a copy 32 EVP_PKEY *copy = NULL; local 45 if (!evp_pkey_copy_downgraded(©, ret)) 51 if ((type != EVP_PKEY_get_id(ret) || copy != NULL) 74 if (copy != NULL) { 75 /* use downgraded parameters from copy */ 76 ret->pkey.ec = copy->pkey.ec; 77 copy->pkey.ec = NULL; 91 EVP_PKEY_free(copy); 96 EVP_PKEY_free(copy); [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/asn1/ |
| d2i_pu.c | 5 * this file except in compliance with the License. You can obtain a copy 32 EVP_PKEY *copy = NULL; local 45 if (!evp_pkey_copy_downgraded(©, ret)) 51 if ((type != EVP_PKEY_get_id(ret) || copy != NULL) 74 if (copy != NULL) { 75 /* use downgraded parameters from copy */ 76 ret->pkey.ec = copy->pkey.ec; 77 copy->pkey.ec = NULL; 91 EVP_PKEY_free(copy); 96 EVP_PKEY_free(copy); [all...] |
| /src/external/bsd/mdocml/dist/ |
| compat_strndup.c | 7 * Permission to use, copy, modify, and distribute this software for any 29 char *copy; local 35 copy = malloc(len + 1); 36 if (copy != NULL) { 37 (void)memcpy(copy, str, len); 38 copy[len] = '\0'; 41 return copy;
|
| /src/external/bsd/nvi/dist/clib/ |
| strdup.c | 58 char *copy; local 61 if (!(copy = malloc((u_int)len))) 63 memcpy(copy, str, len); 64 return (copy);
|
| /src/external/bsd/tcpdump/dist/missing/ |
| strdup.c | 45 char *copy; local 48 if ((copy = malloc(len)) == NULL) 50 memcpy(copy, str, len); 51 return (copy);
|
| /src/external/bsd/tmux/dist/compat/ |
| strndup.c | 6 * Permission to use, copy, modify, and distribute this software for any 30 char *copy; local 34 copy = malloc(len + 1); 35 if (copy != NULL) { 36 (void)memcpy(copy, str, len); 37 copy[len] = '\0'; 40 return copy;
|
| /src/external/gpl3/gdb/dist/gnulib/import/malloc/ |
| scratch_buffer_dupfree.c | 15 You should have received a copy of the GNU Lesser General Public 32 void *copy = malloc (size); local 33 return copy != NULL ? memcpy (copy, data, size) : NULL; 37 void *copy = realloc (data, size); local 38 return copy != NULL ? copy : data;
|
| /src/external/gpl3/gdb.old/dist/gnulib/import/malloc/ |
| scratch_buffer_dupfree.c | 15 You should have received a copy of the GNU Lesser General Public 32 void *copy = malloc (size); local 33 return copy != NULL ? memcpy (copy, data, size) : NULL; 37 void *copy = realloc (data, size); local 38 return copy != NULL ? copy : data;
|
| /src/lib/libc/compat/stdlib/ |
| compat_putenv.c | 64 char *copy; local 75 if ((copy = strdup(name)) == NULL) 77 copy[l_name++] = '\0'; 79 rv = setenv(copy, copy + l_name, 1); 81 free(copy);
|
| /src/distrib/common/ |
| parselist.awk | 78 # IMP COPY src dest [perm] copy src to dest. perm defaults to 0444 80 # IMP COPYDIR src dest recursively copy files under src to 163 $1 == "COPY" \ 166 err("Usage: COPY src dest [perm]"); 168 copy($2, $3, $4); 193 copy(srcdir "/" srcfile, destdir "/" srcfile, ""); 224 copy(ENVIRON["OBJDIR"] "/" ENVIRON["CRUNCHBIN"], 303 function copy (src, dest, perm) \ function
|
| /src/sys/kern/ |
| vfs_cwd.c | 52 struct cwdinfo *copy; local 57 copy = curproc->p_cwdi; 59 rw_enter(©->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(©->cwdi_lock); 71 cwdi->cwdi_cmask = copy->cwdi_cmask;
|
| /src/external/bsd/pkg_install/dist/add/ |
| parse_cross.c | 34 char *copy = xstrdup(text); local 35 char *p = copy, *q, *r; 41 *machine_arch = copy;
|
| /src/sys/arch/x68k/stand/common/ |
| execkern.S | 49 | copy image 57 jbsr copy 118 | copy %d0 bytes from higher (%a0) to lower (%a1) address 120 copy: subql #1,%d0 label
|
| /src/external/bsd/ntp/dist/libntp/ |
| emalloc.c | 68 * Permission to use, copy, modify, and distribute this software for any 128 char * copy; local 132 copy = ereallocz(NULL, bytes, 0, FALSE 137 memcpy(copy, str, bytes); 139 return copy;
|
| /src/external/gpl2/dtc/dist/tests/ |
| check_path.c | 28 void *dt, *copy; local 31 copy = xmalloc(FDT_COPY_SIZE); 36 CHECK(fdt_open_into(dt, copy, FDT_COPY_SIZE)); 38 return copy;
|
| overlay_bad_fixup.c | 29 void *dt, *copy; local 33 copy = xmalloc(FDT_COPY_SIZE); 38 CHECK(fdt_open_into(dt, copy, FDT_COPY_SIZE), 0); 40 return copy;
|
| /src/external/gpl3/gcc/dist/libobjc/ |
| objects.c | 20 You should have received a copy of the GNU General Public License and 21 a copy of the GCC Runtime Library Exception along with this program; 74 id copy = class_createInstance (object->class_pointer, extraBytes); local 75 memcpy (copy, object, object->class_pointer->instance_size + extraBytes); 76 return copy;
|
| /src/external/gpl3/gcc.old/dist/libobjc/ |
| objects.c | 20 You should have received a copy of the GNU General Public License and 21 a copy of the GCC Runtime Library Exception along with this program; 74 id copy = class_createInstance (object->class_pointer, extraBytes); local 75 memcpy (copy, object, object->class_pointer->instance_size + extraBytes); 76 return copy;
|
| /src/external/ibm-public/postfix/dist/src/util/ |
| clean_env.c | 69 char *copy; local 80 copy = mystrdup(*cpp); 81 err = split_nameval(copy, &key, &val); 85 myfree(copy); 117 char *copy; local 128 copy = mystrdup(*cpp); 129 err = split_nameval(copy, &key, &val); 133 myfree(copy);
|
| /src/external/mit/isl/dist/ |
| isl_pw_lift_templ.c | 25 EL *copy; local 30 copy = FN(EL,copy)(el); 31 copy = FN(EL,lift)(copy, isl_set_get_space(lift)); 33 if (fn(lift, copy, user) < 0) 65 el = FN(EL,copy)(pw->p[i].FIELD);
|