/freebsd-13-stable/lib/libc/string/ |
H A D | strndup.c | 6 * 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 D | strdup.c | 46 char *copy; local 49 if ((copy = malloc(len)) == NULL) 51 memcpy(copy, str, len); 52 return (copy);
|
H A D | wcsdup.c | 38 wchar_t *copy; local 42 if ((copy = malloc(len * sizeof(wchar_t))) == NULL) 44 return (wmemcpy(copy, s, len));
|
/freebsd-13-stable/contrib/mandoc/ |
H A D | compat_strndup.c | 14 * Permission to use, copy, modify, and distribute this software for any 35 char *copy; local 41 copy = malloc(len + 1); 42 if (copy != NULL) { 43 (void)memcpy(copy, str, len); 44 copy[len] = '\0'; 47 return copy;
|
/freebsd-13-stable/crypto/openssh/openbsd-compat/ |
H A D | 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;
|
/freebsd-13-stable/contrib/tcpdump/missing/ |
H A D | strdup.c | 45 char *copy; local 48 if ((copy = malloc(len)) == NULL) 50 memcpy(copy, str, len); 51 return (copy);
|
/freebsd-13-stable/contrib/openpam/ |
H A D | autogen.sh | 6 libtoolize --copy --force 9 automake --add-missing --copy --foreign
|
/freebsd-13-stable/sys/libkern/ |
H A D | strndup.c | 44 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 D | strdup.c | 46 char *copy; local 49 copy = malloc(len, type, flags); 50 if (copy == NULL) 52 bcopy(string, copy, len); 53 return (copy);
|
/freebsd-13-stable/contrib/openbsm/ |
H A D | autogen.sh | 3 libtoolize --copy --force
|
/freebsd-13-stable/usr.bin/ssh-copy-id/ |
H A D | Makefile | 3 SCRIPTS= ssh-copy-id.sh 4 MAN= ssh-copy-id.1
|
/freebsd-13-stable/stand/libsa/ |
H A D | strdup.c | 46 char *copy = NULL; local 50 if ((copy = malloc(len)) == NULL) 52 memcpy(copy, str, len); 54 return (copy);
|
/freebsd-13-stable/usr.bin/rctl/ |
H A D | rctl.c | 119 char *copy, *expanded, *tofree; local 122 tofree = copy = strdup(rule); 123 if (copy == NULL) { 128 subject = strsep(©, ":"); 129 subject_id = strsep(©, ":"); 130 resource = strsep(©, ":"); 131 action = strsep(©, "=/"); 132 amount = strsep(©, "/"); 133 per = copy; 137 * The "copy" ha 184 char *copy, *expanded, *resolved, *tofree; local 314 char *copy, *humanized, buf[6], *tofree; local 467 char *copy, *humanized, buf[6], *tofree; local 502 char *copy, *outbuf = NULL, *tmp; local [all...] |
/freebsd-13-stable/contrib/ntp/sntp/libevent/ |
H A D | autogen.sh | 15 automake --add-missing --force-missing --copy
|
/freebsd-13-stable/contrib/subversion/subversion/libsvn_fs_base/bdb/ |
H A D | copies-table.c | 10 * 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(©_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-13-stable/libexec/rtld-elf/ |
H A D | xmalloc.c | 70 char *copy; local 74 copy = xmalloc(len); 75 memcpy(copy, str, len); 76 return (copy);
|
/freebsd-13-stable/contrib/ntp/libntp/ |
H A D | emalloc.c | 66 * 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-13-stable/crypto/openssh/regress/ |
H A D | sftp-uri.sh | 26 ${SFTP} -q -S "$SSH" -F $OBJ/ssh_config "sftp://${USER}@somehost:${PORT}/${DATA}" ${COPY} || fail "copy failed" 27 cmp ${DATA} ${COPY} || fail "corrupted copy" 32 ${SFTP} -q -S "$SSH" -F $OBJ/ssh_config "sftp://${USER}@somehost:${PORT}/${COPY}" ${DIR} || fail "copy failed" 33 cmp ${COPY} ${DIR}/copy || fail "corrupted copy" 40 put ${DATA} copy 46 cmp ${DATA} ${DIR}/copy || fail "corrupted copy" 54 put ${DATA} copy 60 cmp ${DATA} ${DIR}/copy || fai [all...] |
/freebsd-13-stable/sys/contrib/zlib/ |
H A D | inflate.c | 20 * - 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...] |
/freebsd-13-stable/crypto/heimdal/base/ |
H A D | heimbasepriv.h | 66 heim_type_copy copy; member in struct:heim_type_data 77 heim_type_copy copy,
|
/freebsd-13-stable/contrib/libevent/ |
H A D | autogen.sh | 22 automake --add-missing --force-missing --copy
|
/freebsd-13-stable/contrib/lib9p/sbuf/ |
H A D | sbuf.c | 88 va_list copy; local 91 va_copy(copy, args); 92 req = vsnprintf(NULL, 0, fmt, copy); 93 va_end(copy);
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_copies/ |
H A D | zfs_copies.kshlib | 9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 98 typeset copy=$2 105 log_must $ZFS create -V $VOLSIZE -o copies=$copy $vol 117 (( nfilesize = copy * ${FILESIZE%m} )) 136 "copies as $copy"
|
/freebsd-13-stable/sys/netgraph/ |
H A D | ng_message.h | 414 * Make a copy of message. Sets "copy" to NULL if fails. 416 #define NG_COPYMESSAGE(copy, msg, how) \ 418 (copy) = malloc(sizeof(struct ng_mesg) \ 420 if ((copy) == NULL) \ 422 (copy)->header.version = NG_VERSION; \ 423 (copy)->header.arglen = (msg)->header.arglen; \ 424 (copy)->header.token = (msg)->header.token; \ 425 (copy)->header.typecookie = (msg)->header.typecookie; \ 426 (copy) [all...] |
/freebsd-13-stable/sys/dev/cxgbe/cudbg/ |
H A D | fastlz.c | 8 Permission is hereby granted, free of charge, to any person obtaining a copy 11 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 196 unsigned int copy; local 201 /* create literal copy only */ 215 /* we start with literal copy */ 216 copy = 2; 318 /* if we have copied something, adjust the copy count */ 319 if (copy) 320 /* copy is biased, '0' means 1 byte copy */ [all...] |