Searched refs:from (Results 176 - 200 of 1111) sorted by relevance

1234567891011>>

/freebsd-current/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_util.c56 safe_realloc(void *from, size_t size) argument
60 if ((data = realloc(from, size)) == NULL) {
/freebsd-current/contrib/llvm-project/llvm/lib/TargetParser/Unix/
H A DHost.inc50 // Reset the OS to darwin as the OS version from `uname` doesn't use the
/freebsd-current/crypto/openssl/crypto/rsa/
H A Drsa_meth.c107 (int flen, const unsigned char *from,
114 int (*pub_enc) (int flen, const unsigned char *from,
123 (int flen, const unsigned char *from,
130 int (*pub_dec) (int flen, const unsigned char *from,
139 (int flen, const unsigned char *from,
146 int (*priv_enc) (int flen, const unsigned char *from,
155 (int flen, const unsigned char *from,
162 int (*priv_dec) (int flen, const unsigned char *from,
113 RSA_meth_set_pub_enc(RSA_METHOD *meth, int (*pub_enc) (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)) argument
129 RSA_meth_set_pub_dec(RSA_METHOD *meth, int (*pub_dec) (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)) argument
145 RSA_meth_set_priv_enc(RSA_METHOD *meth, int (*priv_enc) (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)) argument
161 RSA_meth_set_priv_dec(RSA_METHOD *meth, int (*priv_dec) (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)) argument
/freebsd-current/lib/libc/tests/net/getaddrinfo/
H A DMakefile10 .error This testcase needs to be ported to FreeBSD (the output from getaddrinfo_test differs from NetBSD)
/freebsd-current/include/
H A Dmk-osreldate.sh37 ${ECHO} creating osreldate.h from newvers.sh
/freebsd-current/sys/netinet/
H A Dsctputil.h20 * from this software without specific prior written permission.
274 sctp_misc_ints(uint8_t from, uint32_t a, uint32_t b, uint32_t c, uint32_t d);
278 uint32_t wake_cnt, int from);
286 sctp_log_mb(struct mbuf *m, int from);
289 sctp_log_mbc(struct mbuf *m, int from);
294 struct sctp_tcb *stcb, int from, int incr);
299 int from);
301 void rto_logging(struct sctp_nets *net, int from);
305 void sctp_log_lock(struct sctp_inpcb *inp, struct sctp_tcb *stcb, uint8_t from);
/freebsd-current/contrib/bmake/unit-tests/
H A Dvarmod-loop-delete.mk9 # from 2016-02-18 and before var.c 1.963 from 2021-12-05, a variable could be
28 # one from the target. That scope only contains a few variables like
30 # variables get modified from the outside.
H A Ddeptgt-end-fail.exp3 : Making all from all-dep.
5 : Making .END from end-dep.
11 : Making all from all-dep.
22 : Making all from all-dep.
24 : Making .END from end-dep.
34 : Making all from all-dep.
85 : Making all from all-dep.
95 : Making all from all-dep.
105 : Making all from all-dep.
115 : Making all from al
[all...]
H A Dvarmod-sysv.mk3 # Tests for the variable modifier ':from=to', which replaces the suffix
4 # "from" with "to". It can also use '%' as a wildcard.
10 # A typical use case for the modifier ':from=to' is conversion of filename
26 # The modifier ':from=to' is therefore often combined with the modifier ':M'.
31 # Another use case for the modifier ':from=to' is to append a suffix to each
32 # word. In this case, the "from" string is empty, therefore it always
38 # The modifier ':from=to' can also be used to surround each word by strings.
45 # When the modifier ':from=to' is parsed, it lasts until the closing brace
52 # In the modifier ':from=to', both parts can contain expressions.
57 # In the modifier ':from
[all...]
H A Dvar-scope-local.mk29 .SUFFIXES: .ir-gen-from .ir-from .ir-to
34 # expect: target-rule.ir-gen-from: * = <target-rule>
35 all: target-rule.ir-gen-from dir/subdir/target-rule-dir.ir-gen-from
36 target-rule.ir-gen-from dir/subdir/target-rule-dir.ir-gen-from:
43 .ir-from.ir-to:
49 .ir-gen-from.ir-from
[all...]
/freebsd-current/contrib/expat/lib/
H A Dxmltok.c328 _INTERNAL_trim_to_complete_utf8_characters(const char *from, argument
332 for (; fromLim > from; fromLim--, walked++) {
381 /* Avoid copying partial characters (from incomplete input). */
410 const char *from = *fromP; local
411 while (from < fromLim && to < toLim) {
412 switch (SB_BYTE_TYPE(enc, from)) {
414 if (fromLim - from < 2) {
418 *to++ = (unsigned short)(((from[0] & 0x1f) << 6) | (from[1] & 0x3f));
419 from
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Dumountf7.sh109 char from[80], to[80];
115 snprintf(from, sizeof(from), "f%06d.%06d", pid, i);
117 if (rename(from, to) == -1)
118 warn("rename(%s, %s)", from, to);
H A Dsendfile5.sh97 int child, error, from, status;
100 errx(1, "Usage: %s from", argv[0]);
103 from = open(from_name, O_RDONLY);
104 if (from == -1)
107 error = fstat(from, &st);
122 error = sendfile(from, sv[0], pos, st.st_size - pos,
H A Dsendfile22.sh120 int error, from, i1, msgsock, n, on, port, r, status, tcpsock, to;
128 if ((from = open(from_name, O_RDONLY)) == -1)
131 if ((error = fstat(from, &st)) == -1)
172 MAP_PRIVATE, from, 0)) == MAP_FAILED)
174 if (fsync(from) == -1)
190 error = sendfile(from, tcpsock, pos, st.st_size -
209 close(from);
H A Dsendfile21.sh41 # Without the fixes from r359767 and r359818, the kernel should panic or
128 int error, from, n, status, sv[2], to;
138 if ((from = open(from_name, O_RDONLY)) == -1)
141 if ((error = fstat(from, &st)) == -1)
152 MAP_PRIVATE, from, 0)) == MAP_FAILED)
154 if (fsync(from) == -1)
172 error = sendfile(from, sv[0], pos, st.st_size - pos,
192 close(from);
/freebsd-current/usr.sbin/autofs/
H A Dautomount.c7 * from the FreeBSD Foundation.
100 mount_autofs(const char *from, const char *fspath, const char *options, argument
110 from, fspath, prefix, options);
117 build_iovec(&iov, &iovlen, "from",
118 __DECONST(void *, from), (size_t)-1);
135 from, fspath, errmsg);
137 log_err(1, "cannot mount %s on %s", from, fspath);
148 char *from; local
151 ret = asprintf(&from, "map %s", map);
162 * XXX: Compare options and 'from',
[all...]
/freebsd-current/sys/nfs/
H A Dkrpc_subr.c27 * may be used to endorse or promote products derived from this software
186 * the address from whence the response came is saved there.
194 struct sockaddr *from; local
215 from = NULL;
249 * because some NFS servers refuse requests from
337 if (from) {
338 free(from, M_SONAME);
339 from = NULL;
348 error = soreceive(so, &from, &auio, &m, NULL, &rcvflg);
421 *from_p = from;
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h51 bool can_merge(const QuarantineBatch* const from) const {
52 return count + from->count <= kSize;
55 void merge(QuarantineBatch* const from) { argument
56 CHECK_LE(count + from->count, kSize);
59 for (uptr i = 0; i < from->count; ++i)
60 batch[count + i] = from->batch[i];
61 count += from->count;
62 size += from->quarantined_size();
64 from->count = 0;
65 from
[all...]
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dwpa_priv.c57 struct sockaddr_un *from, socklen_t fromlen)
109 os_memcpy(&iface->drv_addr, from, fromlen);
121 struct sockaddr_un *from)
182 struct sockaddr_un *from,
214 sendto(iface->fd, buf, pos - buf, 0, (struct sockaddr *) from, fromlen);
223 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen);
228 struct sockaddr_un *from,
235 wpa_priv_get_scan_results2(iface, from, fromlen);
237 sendto(iface->fd, "", 0, 0, (struct sockaddr *) from, fromlen);
342 struct sockaddr_un *from, socklen_
56 wpa_priv_cmd_register(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) argument
120 wpa_priv_cmd_unregister(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
181 wpa_priv_get_scan_results2(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) argument
227 wpa_priv_cmd_get_scan_results(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) argument
341 wpa_priv_cmd_get_bssid(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) argument
362 wpa_priv_cmd_get_ssid(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) argument
423 wpa_priv_cmd_get_capa(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) argument
480 wpa_priv_cmd_l2_register(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen, void *buf, size_t len) argument
541 wpa_priv_cmd_l2_unregister(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen) argument
565 wpa_priv_cmd_l2_notify_auth_start(struct wpa_priv_interface *iface, struct sockaddr_un *from) argument
577 wpa_priv_cmd_l2_send(struct wpa_priv_interface *iface, struct sockaddr_un *from, socklen_t fromlen, void *buf, size_t len) argument
640 struct sockaddr_un from; local
[all...]
/freebsd-current/contrib/nvi/ex/
H A Dex_print.c91 recno_t from, to; local
99 for (from = fp->lno, to = tp->lno; from <= to; ++from) {
108 if (from <= 999999) {
109 SPRINTF(buf, SIZE(buf), L("%6u "), from);
122 if (db_get(sp, from, DBG_FATAL, &p, &len))
/freebsd-current/sys/dev/syscons/
H A Dschistory.c18 * derived from this software without specific prior written permission.
57 * each syscons unit, and added and subtracted from the dynamic
81 static void copy_history(sc_vtb_t *from, sc_vtb_t *to);
162 copy_history(sc_vtb_t *from, sc_vtb_t *to) argument
171 lines = sc_vtb_rows(from);
172 cols1 = sc_vtb_cols(from);
175 pos = sc_vtb_tail(from);
177 sc_vtb_append(from, pos, to, cols);
182 pos = sc_vtb_pos(from, pos, cols1);
215 /* restore the screen by copying from th
[all...]
/freebsd-current/contrib/llvm-project/libcxx/src/filesystem/
H A Doperations.cpp104 void __copy(const path& from, const path& to, copy_options options, error_code* ec) { argument
105 ErrorHandler<void> err("copy", ec, &from, &to);
114 sym_status || sym_status2 ? detail::posix_lstat(from, f_st, &m_ec1) : detail::posix_stat(from, f_st, &m_ec1);
136 __copy_symlink(from, to, ec);
145 __create_symlink(from, to, ec);
147 __create_hard_link(from, to, ec);
149 __copy_file(from, to / from.filename(), options, ec);
151 __copy_file(from, t
262 __copy_file(const path& from, const path& to, copy_options options, error_code* ec) argument
434 __create_directory_symlink(path const& from, path const& to, error_code* ec) argument
440 __create_hard_link(const path& from, const path& to, error_code* ec) argument
446 __create_symlink(path const& from, path const& to, error_code* ec) argument
846 __rename(const path& from, const path& to, error_code* ec) argument
[all...]
/freebsd-current/crypto/openssl/crypto/x509/
H A Dx_name.c390 unsigned char *to, *from; local
406 from = to;
418 while (len > 0 && ossl_isspace(*from)) {
419 from++;
423 to = from + len;
436 if (!ossl_isascii(*from)) {
437 *to++ = *from++;
441 else if (ossl_isspace(*from)) {
450 from++;
453 while (ossl_isspace(*from));
[all...]
/freebsd-current/libexec/rpc.sprayd/
H A Dsprayd.c74 struct sockaddr_storage from; local
80 fromlen = sizeof(from);
81 if (getsockname(0, (struct sockaddr *)&from, &fromlen) < 0) {
/freebsd-current/sys/libkern/
H A Diconv.c166 iconv_lookupcs(const char *to, const char *from, struct iconv_cspair **cspp) argument
172 strcasecmp(csp->cp_from, from) == 0) {
182 iconv_register_cspair(const char *to, const char *from, argument
190 if (iconv_lookupcs(to, from, NULL) == 0)
196 ucsfrom = strcmp(from, iconv_unicode_string) == 0;
198 csize += strlen(from) + 1;
211 strcpy(cp, from);
237 iconv_open(const char *to, const char *from, void **handle) argument
247 error = iconv_lookupcs(to, from, &csp);
259 error = iconv_lookupcs(cnvname, from,
388 iconv_add(const char *converter, const char *to, const char *from) argument
[all...]

Completed in 194 milliseconds

1234567891011>>