/freebsd-current/lib/libc/gen/ |
H A D | statvfs.c | 40 static int sfs2svfs(const struct statfs *from, struct statvfs *to); 95 sfs2svfs(const struct statfs *from, struct statvfs *to) argument 101 if (from->f_flags & MNT_RDONLY) 103 if (from->f_flags & MNT_NOSUID) 109 to->field = from->field; \ 110 if (from->field != to->field) { \ 121 to->f_bsize = from->f_iosize; 122 to->f_frsize = from->f_bsize;
|
/freebsd-current/usr.bin/tr/ |
H A D | cmap.c | 65 * Add a mapping from "from" to "to" to the map. 68 cmap_add(struct cmap *cm, wint_t from, wint_t to) argument 78 cmn->cmn_from = from; 82 cm->cm_min = cm->cm_max = from; 86 cmn = cm->cm_root = cmap_splay(cm->cm_root, from); 88 if (cmn->cmn_from == from) { 96 ncmn->cmn_from = from; 98 if (from < cmn->cmn_from) { 107 if (from < c [all...] |
/freebsd-current/contrib/ntp/scripts/monitoring/ |
H A D | ntptrap | 232 warn("$0: select: $!\n"),last if $ret < 0; # give up on error return from select 251 $from = recv(S,$buf,$len,0); 252 ;# give up on error return from recv 253 warn("$0: recv: $!\n"), last unless (defined($from)); 255 $from = (unpack("Sna4",$from))[$[+2]; # keep host addr only 257 &debug("-Packet from ",&hostname($from)); 261 &ntp'handle_packet($buf,$from); # '; 262 &debug(sprintf("%s uses auth_keyid %d",&hostname($from), [all...] |
/freebsd-current/contrib/pf/tftp-proxy/ |
H A D | tftp-proxy.c | 16 * derived from this software without specific prior written permission. 85 struct sockaddr_storage from, proxy, server, proxy_to_server, s_in; local 150 j = sizeof(from); 152 (struct sockaddr *)&from, &j)) < 0) { 160 msg.msg_name = &from; 161 msg.msg_namelen = sizeof(from); 175 peer = socket(from.ss_family, SOCK_DGRAM, 0); 181 s_in.ss_family = from.ss_family; 182 s_in.ss_len = from.ss_len; 199 if (connect(peer, (struct sockaddr *)&from, fro [all...] |
/freebsd-current/crypto/openssl/crypto/rsa/ |
H A D | rsa_x931.c | 23 const unsigned char *from, int flen) 30 * nibble and 2 trailer bytes: but 1 hash if is already in 'from'. 53 memcpy(p, from, (unsigned int)flen); 60 const unsigned char *from, int flen, int num) 65 p = from; 22 RSA_padding_add_X931(unsigned char *to, int tlen, const unsigned char *from, int flen) argument 59 RSA_padding_check_X931(unsigned char *to, int tlen, const unsigned char *from, int flen, int num) argument
|
/freebsd-current/sys/cddl/compat/opensolaris/sys/ |
H A D | sunddi.h | 37 #define ddi_copyin(from, to, size, flag) \ 38 (copyin((from), (to), (size)), 0) 39 #define ddi_copyout(from, to, size, flag) \ 40 (copyout((from), (to), (size)), 0)
|
/freebsd-current/lib/libc/powerpc/gen/ |
H A D | syncicache.c | 20 * derived from this software without specific prior written permission. 74 __syncicache(void *from, int len) argument 84 off = (u_int)from & (cacheline_size - 1); 86 p = (char *)from - off; 93 p = (char *)from - off;
|
/freebsd-current/lib/libc/powerpc64/gen/ |
H A D | syncicache.c | 20 * derived from this software without specific prior written permission. 74 __syncicache(void *from, int len) argument 84 off = (uintptr_t)from & (cacheline_size - 1); 86 p = (char *)from - off; 93 p = (char *)from - off;
|
/freebsd-current/contrib/bmake/unit-tests/ |
H A D | hanoi-include.mk | 16 # an endless loop, since variables from the command line cannot be overridden 21 FROM?= A # ... from this stack ... 32 . for from to in ${FROM} ${TO} 34 @echo "Move the upper disk from stack ${from} to stack ${to}." 41 . for from to in ${FROM} ${TO} 43 @echo "Move the upper disk from stack ${from} to stack ${to}."
|
H A D | var-scope-local.exp | 1 Global: .ALLTARGETS = all target-rule.ext dir/subdir/target-rule.ext target-rule.ir-gen-from dir/subdir/target-rule-dir.ir-gen-from inference-rule.ir-to dir/subdir/inference-rule.ir-to inference-rule.ir-from dir/subdir/inference-rule.ir-from inference-rule-chain.ir-to dir/subdir/inference-rule-chain.ir-to inference-rule-chain.ir-gen-from dir/subdir/inference-rule-chain.ir-gen-from one 2 Global: .ALLTARGETS = all target-rule.ext dir/subdir/target-rule.ext target-rule.ir-gen-from dir/subdir/target-rule-dir.ir-gen-from inference-rule.ir-to dir/subdir/inference-rule.ir-to inference-rule.ir-from dir/subdir/inference-rule.ir-from inferenc [all...] |
H A D | include-main.exp | 7 in .for loop from include-sub.inc:31 with i = include 8 in .for loop from include-sub.inc:30 with i = nested 9 in .for loop from include-sub.inc:29 with i = deeply
|
/freebsd-current/stand/libsa/powerpc/ |
H A D | syncicache.c | 18 * derived from this software without specific prior written permission. 72 __syncicache(void *from, int len) argument 82 off = (u_int)from & (cacheline_size - 1); 84 p = (char *)from - off; 91 p = (char *)from - off;
|
/freebsd-current/tools/tools/nanobsd/ |
H A D | mtree-dedup.awk | 31 # additions from NanoBSD to augment its build to communicate when 35 # All mtree lines from the metafile have a path, followed by 40 # unlink[=x] remove the path from the output. 41 # copy_from=x create new entry for path copied from 42 # the keywords from x. 43 # move_from=x create new entry for path copied from 44 # the keywords from x. Remove path from 141 # A file copied from another location, preserve its 143 # Also merge any new attributes from thi [all...] |
/freebsd-current/contrib/wpa/src/common/ |
H A D | ctrl_iface_common.c | 143 int ctrl_iface_attach(struct dl_list *ctrl_dst, struct sockaddr_storage *from, argument 150 if (!sockaddr_compare(from, fromlen, 159 os_memcpy(&dst->addr, from, fromlen); 165 sockaddr_print(MSG_DEBUG, "CTRL_IFACE monitor attached", from, fromlen); 170 int ctrl_iface_detach(struct dl_list *ctrl_dst, struct sockaddr_storage *from, argument 176 if (!sockaddr_compare(from, fromlen, 179 from, fromlen); 190 int ctrl_iface_level(struct dl_list *ctrl_dst, struct sockaddr_storage *from, argument 198 if (!sockaddr_compare(from, fromlen, 202 from, fromle [all...] |
/freebsd-current/crypto/openssh/ |
H A D | canohost.c | 161 struct sockaddr_storage from; local 169 fromlen = sizeof(from); 170 memset(&from, 0, sizeof(from)); 172 if (getsockname(sock, (struct sockaddr *)&from, &fromlen) == -1) { 177 if (getpeername(sock, (struct sockaddr *)&from, &fromlen) == -1) { 184 if (from.ss_family == AF_INET6) 188 if (from.ss_family != AF_INET && from.ss_family != AF_INET6) 192 if ((r = getnameinfo((struct sockaddr *)&from, fromle [all...] |
/freebsd-current/contrib/ncurses/ncurses/tinfo/ |
H A D | alloc_ttype.c | 101 DEBUG(4, ("extending " #num " from %d to %d", \ 115 int to1, to2, from; local 128 from = 0; 134 if (find_name(to->ext_Names, to1, to2, ext_Names[m + from])) { 146 from = ext_Booleans; 152 if (find_name(to->ext_Names, to1, to2, ext_Names[m + from])) { 164 from = ext_Booleans + ext_Numbers; 170 if (find_name(to->ext_Names, to1, to2, ext_Names[m + from])) { 229 * Lookup an entry from extended-names, returning -1 if not found 371 * cancellation of a name that is inherited from anothe 374 adjust_cancels(TERMTYPE2 *to, TERMTYPE2 *from) argument 419 _nc_align_termtype(TERMTYPE2 *to, TERMTYPE2 *from) argument [all...] |
/freebsd-current/contrib/llvm-project/lld/COFF/ |
H A D | CallGraphSort.cpp | 29 int from; member in struct:__anon1323::Edge 104 int from = getOrCreateNode(fromSec); local 109 if (from == to) 114 if (toC.bestPred.from == -1 || toC.bestPred.weight < weight) { 115 toC.bestPred.from = from; 141 Cluster &from, int fromIdx) { 142 int tail1 = into.prev, tail2 = from.prev; 145 from.prev = tail1; 147 into.size += from 140 mergeClusters(std::vector<Cluster> &cs, Cluster &into, int intoIdx, Cluster &from, int fromIdx) argument [all...] |
/freebsd-current/contrib/llvm-project/lld/ELF/ |
H A D | CallGraphSort.cpp | 41 int from; member in struct:__anon1310::Edge 81 /// * Build a weighted call graph from the call graph profile 142 int from = getOrCreateNode(fromSB); local 147 if (from == to) 152 if (toC.bestPred.from == -1 || toC.bestPred.weight < weight) { 153 toC.bestPred.from = from; 179 Cluster &from, int fromIdx) { 180 int tail1 = into.prev, tail2 = from.prev; 183 from 178 mergeClusters(std::vector<Cluster> &cs, Cluster &into, int intoIdx, Cluster &from, int fromIdx) argument 309 size_t from = getOrCreateNode(fromSB); local [all...] |
/freebsd-current/contrib/nvi/ex/ |
H A D | ex_shift.c | 69 recno_t from, to; local 102 for (from = cmdp->addr1.lno, to = cmdp->addr2.lno; from <= to; ++from) { 103 if (db_get(sp, from, DBG_FATAL, &p, &len)) 106 if (sp->lno == from) 132 if (sp->lno == from) 160 if (db_set(sp, from, bp, (tbp + (len - oldidx)) - bp)) { 168 * collection of cursor semantics. If called from vi, the 170 * of the lowest numbered line shifted. If called from e [all...] |
/freebsd-current/sbin/routed/ |
H A D | input.c | 16 * may be used to endorse or promote products derived from this software 46 struct sockaddr_in from; local 64 fromlen = sizeof(from); 66 (struct sockaddr*)&from, &fromlen); 90 if (aifp->int_addr == from.sin_addr.s_addr) 96 msglim(&bad_name, from.sin_addr.s_addr, 100 && aifp->int_dstaddr!=from.sin_addr.s_addr) 102 && !on_net(from.sin_addr.s_addr, 112 aifp = iflookup(from.sin_addr.s_addr); 117 input(&from, sif 125 input(struct sockaddr_in *from, struct interface *sifp, struct interface *aifp, struct rip *rip, int cc) argument 933 ck_passwd(struct interface *aifp, struct rip *rip, void *lim, naddr from, struct msg_limit *use_authp) argument [all...] |
/freebsd-current/tools/test/stress2/misc/ |
H A D | msdos14.sh | 57 char from[64], to[64]; 60 snprintf(from, sizeof(from), "x.%" PRIu64 ".from", x); 63 fd = open(from, O_CREAT | O_TRUNC | O_EXCL, 0666); 65 err(1, "open %s", from); 67 error = rename(from, to); 69 err(1, "rename %s %s", from, to);
|
/freebsd-current/sys/opencrypto/ |
H A D | cryptodev.c | 26 * derived from this software without specific prior written permission. 138 session_op_from_32(const struct session_op32 *from, struct session2_op *to) argument 142 CP(*from, *to, cipher); 143 CP(*from, *to, mac); 144 CP(*from, *to, keylen); 145 PTRIN_CP(*from, *to, key); 146 CP(*from, *to, mackeylen); 147 PTRIN_CP(*from, *to, mackey); 148 CP(*from, *to, ses); 153 session2_op_from_32(const struct session2_op32 *from, struc argument 163 session_op_to_32(const struct session2_op *from, struct session_op32 *to) argument 176 session2_op_to_32(const struct session2_op *from, struct session2_op32 *to) argument 184 crypt_op_from_32(const struct crypt_op32 *from, struct crypt_op *to) argument 198 crypt_op_to_32(const struct crypt_op *from, struct crypt_op32 *to) argument 212 crypt_aead_from_32(const struct crypt_aead32 *from, struct crypt_aead *to) argument 229 crypt_aead_to_32(const struct crypt_aead *from, struct crypt_aead32 *to) argument 247 session2_op_from_op(const struct session_op *from, struct session2_op *to) argument 256 session2_op_to_op(const struct session2_op *from, struct session_op *to) argument [all...] |
/freebsd-current/sys/crypto/aesni/ |
H A D | aesni.h | 79 size_t len, const uint8_t *from, uint8_t *to, 84 size_t len, const uint8_t *from, uint8_t *to); 86 size_t len, const uint8_t *from, uint8_t *to); 88 size_t len, const uint8_t *from, uint8_t *to, 93 const uint8_t *from, uint8_t *to, 97 const uint8_t *from, uint8_t *to,
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_interceptors.cpp | 175 // argument irrespective of the |from| length. 176 INTERCEPTOR(char *, strcat, char *to, const char *from) { argument 180 uptr from_length = internal_strlen(from); 181 MEMPROF_READ_RANGE(from, from_length + 1); 185 return REAL(strcat)(to, from); 188 INTERCEPTOR(char *, strncat, char *to, const char *from, uptr size) { argument 192 uptr from_length = MaybeRealStrnlen(from, size); 194 MEMPROF_READ_RANGE(from, copy_length); 198 return REAL(strncat)(to, from, size); 201 INTERCEPTOR(char *, strcpy, char *to, const char *from) { argument 242 INTERCEPTOR(char *, strncpy, char *to, const char *from, uptr size) argument [all...] |
/freebsd-current/tools/test/netfibs/ |
H A D | reflect.c | 68 /* Nuke the \n from echo | netcat. */ 149 struct sockaddr_in6 from; local 154 fromlen = sizeof(from); 155 l = recvfrom(s, buf, sizeof(buf), 0, (struct sockaddr *)&from, 159 rc = connect(s, (struct sockaddr *)&from, fromlen); 161 if (inet_ntop(PF_INET6, &from, buf, sizeof(buf)) == NULL) 167 error = reflect_conn(s, buf, sizeof(buf), l, (struct sockaddr *)&from, 172 fromlen = sizeof(from); 173 bzero(&from, fromlen); 174 from [all...] |