/freebsd/contrib/bc/tests/bc/ |
H A D | sine.txt | 4 s(0) 5 s(0.5) 6 s(1) 7 s(2) 8 s(3) 9 s(-0.5) 10 s(-1) 11 s(-2) 12 s(-3) 13 s(p / 7) [all …]
|
/freebsd/share/examples/mdoc/ |
H A D | deshallify.sh | 5 sed -e 's/s shall define/s define/g' \ 6 -e 's/shall define/defines/g' \ 7 -e 's/shall attempt/attempts/g' \ 8 -e 's/shall include/includes/g' \ 9 -e 's/shall return zero and have/returns zero and has/g' \ 10 -e 's/shall return/returns/g' \ 11 -e 's/shall also include/also includes/g' \ 12 -e 's/pipe or FIFO shall be /pipe of FIFO are /g' \ 13 -e 's/s shall be /s are /g' \ 14 -e 's/shall be /is /g' \ [all …]
|
/freebsd/sys/kern/ |
H A D | subr_sbuf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2000-2008 Poul-Henning Kamp 5 * Copyright (c) 2000-2008 Dag-Erling Smørgrav 67 #define SBUF_ISDYNAMIC(s) ((s)->s_flags & SBUF_DYNAMIC) argument 68 #define SBUF_ISDYNSTRUCT(s) ((s)->s_flags & SBUF_DYNSTRUCT) argument 69 #define SBUF_ISFINISHED(s) ((s)->s_flags & SBUF_FINISHED) argument 70 #define SBUF_ISDRAINATEOL(s) ((s)->s_flags & SBUF_DRAINATEOL) argument 71 #define SBUF_HASROOM(s) ((s)->s_len < (s)->s_size - 1) argument 72 #define SBUF_FREESPACE(s) ((s)->s_size - ((s)->s_len + 1)) argument [all …]
|
/freebsd/contrib/bzip2/ |
H A D | decompress.c | 2 /*-------------------------------------------------------------*/ 3 /*--- Decompression machinery ---*/ 4 /*--- decompress.c ---*/ 5 /*-------------------------------------------------------------*/ 7 /* ------------------------------------------------------------------ 9 lossless, block-sorting data compression. 12 Copyright (C) 1996-2019 Julian Seward <jseward@acm.org> 19 ------------------------------------------------------------------ */ 25 /*---------------------------------------------------*/ 27 void makeMaps_d ( DState* s ) in makeMaps_d() argument [all …]
|
/freebsd/crypto/openssl/ssl/ |
H A D | tls_srp.c | 2 * Copyright 2004-2022 The OpenSSL Project Authors. All Rights Reserved. 16 * APIs - which are themselves deprecated. 36 OPENSSL_free(ctx->srp_ctx.login); in ssl_ctx_srp_ctx_free_intern() 37 OPENSSL_free(ctx->srp_ctx.info); in ssl_ctx_srp_ctx_free_intern() 38 BN_free(ctx->srp_ctx.N); in ssl_ctx_srp_ctx_free_intern() 39 BN_free(ctx->srp_ctx.g); in ssl_ctx_srp_ctx_free_intern() 40 BN_free(ctx->srp_ctx.s); in ssl_ctx_srp_ctx_free_intern() 41 BN_free(ctx->srp_ctx.B); in ssl_ctx_srp_ctx_free_intern() 42 BN_free(ctx->srp_ctx.A); in ssl_ctx_srp_ctx_free_intern() 43 BN_free(ctx->srp_ctx.a); in ssl_ctx_srp_ctx_free_intern() [all …]
|
/freebsd/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_stream.c | 42 /* Position in variable-length integers and Check fields */ 45 /* Variable-length integer decoded by dec_vli() */ 164 * Fill s->temp by copying data starting from b->in[b->in_pos]. Caller 165 * must have set s->temp.pos to indicate how much data we are supposed 166 * to copy into s->temp.buf. Return true once s->temp.pos has reached 167 * s->temp.size. 169 static bool fill_temp(struct xz_dec *s, struct xz_buf *b) in fill_temp() argument 172 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp() 174 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp() 175 b->in_pos += copy_size; in fill_temp() [all …]
|
H A D | xz_dec_lzma2.c | 5 * Igor Pavlov <https://7-zip.org/> 35 * In multi-call mode, also these are true: 40 * Most of these variables are size_t to support single-call mode, 64 * End of the dictionary buffer. In multi-call mode, this is 65 * the same as the dictionary size. In single-call mode, this 78 * Maximum allowed dictionary size in multi-call mode. 79 * This is ignored in single-call mode. 107 * temp.buf or the caller-provided input buffer. 122 /* Probabilities for match lengths 2-9 */ 125 /* Probabilities for match lengths 10-17 */ [all …]
|
/freebsd/sys/contrib/zlib/ |
H A D | deflate.c | 1 /* deflate.c -- compress data using the deflation algorithm 2 * Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler 23 * A similar algorithm is used in comic (by Jan-Mark Wams) and freeze 33 * The idea of lazy evaluation of matches is due to Jan-Mark Wams, and 43 * "Algorithms" by R. Sedgewick, Addison-Wesley, p252. 46 * Data Compression with Finite Windows, Comm.ACM, 32,4 (1989) 490-595 55 " deflate 1.3.1 Copyright 1995-2024 Jean-loup Gailly and Mark Adler "; 70 typedef block_state (*compress_func)(deflate_state *s, int flush); 73 local block_state deflate_stored(deflate_state *s, int flush); 74 local block_state deflate_fast(deflate_state *s, int flush); [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | StmtProfile.cpp | 1 //===---- StmtProfile.cpp - Profile implementation for Stmt ASTs ----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 41 void VisitStmt(const Stmt *S); 43 void VisitStmtNoChildren(const Stmt *S) { in VisitStmtNoChildren() argument 44 HandleStmtClass(S->getStmtClass()); in VisitStmtNoChildren() 49 #define STMT(Node, Base) void Visit##Node(const Node *S); 63 /// Visit identifiers that are not in Decl's or Type's. 66 /// Visit a nested-name-specifier that occurs within an expression [all …]
|
/freebsd/usr.sbin/bluetooth/bthidd/ |
H A D | session.c | 5 /*- 6 * SPDX-License-Identifier: BSD-2-Clause 59 bthid_session_p s; in session_open() local 64 if ((s = (bthid_session_p) malloc(sizeof(*s))) == NULL) in session_open() 67 s->srv = srv; in session_open() 68 memcpy(&s->bdaddr, &d->bdaddr, sizeof(s->bdaddr)); in session_open() 69 s->ctrl = -1; in session_open() 70 s->intr = -1; in session_open() 71 s->vkbd = -1; in session_open() 72 s->ctx = NULL; in session_open() [all …]
|
/freebsd/contrib/wpa/src/fst/ |
H A D | fst_session.c | 2 * FST module - FST Session implementation 28 #define fst_printf_session(s, level, format, ...) \ argument 30 (s)->id, (s)->data.fsts_id, \ 31 MAC2STR((s)->data.old_peer_addr), \ 32 MAC2STR((s)->data.new_peer_addr), \ 35 #define fst_printf_siface(s, iface, level, format, ...) \ argument 36 fst_printf_session((s), (level), "%s: " format, \ 39 #define fst_printf_sframe(s, is_old, level, format, ...) \ argument 40 fst_printf_siface((s), \ 41 (is_old) ? (s)->data.old_iface : (s)->data.new_iface, \ [all …]
|
/freebsd/sys/modules/ossl/ |
H A D | Makefile | 19 aes-armv4.S \ 20 bsaes-armv7.S \ 21 chacha-armv4.S \ 22 ghash-armv4.S \ 23 poly1305-armv4.S \ 24 sha1-armv4-large.S \ 25 sha256-armv4.S \ 26 sha512-armv4.S \ 31 chacha-armv8.S \ 32 poly1305-armv8.S \ [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/i18n/ |
H A D | en_US.txt | 4 #//===---------- [all...] |
/freebsd/crypto/openssl/ssl/statem/ |
H A D | statem_clnt.c | 2 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved. 31 static MSG_PROCESS_RETURN tls_process_as_hello_retry_request(SSL *s, PACKET *pkt); 32 static MSG_PROCESS_RETURN tls_process_encrypted_extensions(SSL *s, PACKET *pkt); 34 static ossl_inline int cert_req_allowed(SSL *s); 35 static int key_exchange_expected(SSL *s); 36 static int ssl_cipher_list_to_bytes(SSL *s, STACK_OF(SSL_CIPHER) *sk, 46 static ossl_inline int cert_req_allowed(SSL *s) in cert_req_allowed() argument 48 /* TLS does not like anon-DH with client cert */ in cert_req_allowed() 49 if ((s->version > SSL3_VERSION in cert_req_allowed() 50 && (s->s3.tmp.new_cipher->algorithm_auth & SSL_aNULL)) in cert_req_allowed() [all …]
|
H A D | extensions_clnt.c | 2 * Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved. 15 EXT_RETURN tls_construct_ctos_renegotiate(SSL *s, WPACKET *pkt, in tls_construct_ctos_renegotiate() argument 20 if (!s->renegotiate) in tls_construct_ctos_renegotiate() 25 || !WPACKET_sub_memcpy_u8(pkt, s->s3.previous_client_finished, in tls_construct_ctos_renegotiate() 26 s->s3.previous_client_finished_len) in tls_construct_ctos_renegotiate() 28 SSLfatal(s, SSL_AD_INTERNAL_ERROR, ERR_R_INTERNAL_ERROR); in tls_construct_ctos_renegotiate() 35 EXT_RETURN tls_construct_ctos_server_name(SSL *s, WPACKET *pkt, in tls_construct_ctos_server_name() argument 39 if (s->ext.hostname == NULL) in tls_construct_ctos_server_name() 44 /* Sub-packet for server_name extension */ in tls_construct_ctos_server_name() 46 /* Sub-packet for servername list (always 1 hostname)*/ in tls_construct_ctos_server_name() [all …]
|
H A D | statem.c | 2 * Copyright 2015-2022 The OpenSSL Project Authors. All Rights Reserved. 30 * including handling of non-blocking IO events, flushing of the underlying 32 * separate sub-state machines which control reading and writing respectively. 40 * --------------------------------------------- ------------------- 44 * | -------------------- -------------------- | Transition | Handshake state | 46 * | | sub-state | | sub-state | |----------->| | 49 * | -------------------- -------------------- | | | 51 * --------------------------------------------- ------------------- 65 static int state_machine(SSL *s, int server); 66 static void init_read_state_machine(SSL *s); [all …]
|
H A D | statem_srvr.c | 2 * Copyright 1995-2025 The OpenSSL Project Authors. All Rights Reserved. 46 static int tls_construct_encrypted_extensions(SSL *s, WPACKET *pkt); 52 * The current state is in |s->statem.hand_state|. 57 static int ossl_statem_server13_read_transition(SSL *s, int mt) in ossl_statem_server13_read_transition() argument 59 OSSL_STATEM *st = &s->statem; in ossl_statem_server13_read_transition() 66 switch (st->hand_state) { in ossl_statem_server13_read_transition() 71 if (s->hello_retry_request == SSL_HRR_PENDING) { in ossl_statem_server13_read_transition() 73 st->hand_state = TLS_ST_SR_CLNT_HELLO; in ossl_statem_server13_read_transition() 77 } else if (s->ext.early_data == SSL_EARLY_DATA_ACCEPTED) { in ossl_statem_server13_read_transition() 79 st->hand_state = TLS_ST_SR_END_OF_EARLY_DATA; in ossl_statem_server13_read_transition() [all …]
|
H A D | statem_lib.c | 2 * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved. 40 * send s->init_buf in records of type 'type' (SSL3_RT_HANDSHAKE or 43 int ssl3_do_write(SSL *s, int type) in ssl3_do_write() argument 48 ret = ssl3_write_bytes(s, type, &s->init_buf->data[s->init_off], in ssl3_do_write() 49 s->init_num, &written); in ssl3_do_write() 51 return -1; in ssl3_do_write() 54 * should not be done for 'Hello Request's, but in that case we'll in ssl3_do_write() 58 if (!SSL_IS_TLS13(s) || (s->statem.hand_state != TLS_ST_SW_SESSION_TICKET in ssl3_do_write() 59 && s->statem.hand_state != TLS_ST_CW_KEY_UPDATE in ssl3_do_write() 60 && s->statem.hand_state != TLS_ST_SW_KEY_UPDATE)) in ssl3_do_write() [all …]
|
/freebsd/contrib/byacc/ |
H A D | error.c | 10 fprintf(stderr, "%s: f - %s\n", myname, msg); in fatal() 27 fprintf(stderr, "%s: f - cannot open \"%s\"\n", myname, filename); in open_error() 34 fprintf(stderr, "%s: e - line %d of \"%s\", missing '}'\n", in missing_brace() 42 fprintf(stderr, "%s: e - line %d of \"%s\", unexpected end-of-file\n", in unexpected_EOF() 50 const char *s; in print_pos() local 54 for (s = st_line; *s != '\n'; ++s) in print_pos() 56 if (isprint(UCH(*s)) || *s == '\t') in print_pos() 57 putc(*s, stderr); in print_pos() 62 for (s = st_line; s < st_cptr; ++s) in print_pos() 64 if (*s == '\t') in print_pos() [all …]
|
/freebsd/contrib/netbsd-tests/net/if/ |
H A D | t_ifconfig.sh | 1 # $NetBSD: t_ifconfig.sh,v 1.15 2017/01/20 08:35:33 ozaki-r Exp $ 32 "-lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpnet_netinet6 -lrumpnet_shmif" 33 RUMP_FLAGS="${RUMP_FLAGS} -lrumpdev" 50 atf_check -s exit:0 rump_server ${RUMP_FLAGS} ${RUMP_SERVER1} 55 atf_check -s exit:0 rump.ifconfig shmif0 create 56 atf_check -s exit:0 rump.ifconfig shmif0 destroy 59 atf_check -s exit:0 rump.ifconfig shmif0 create 60 atf_check -s exit:0 rump.ifconfig shmif0 linkstr shmbus 61 atf_check -s exit:0 rump.ifconfig shmif0 192.168.0.1/24 62 atf_check -s exit:0 rump.ifconfig shmif0 up [all …]
|
/freebsd/secure/lib/libcrypto/man/man7/ |
H A D | OSSL_PROVIDER-default.7 | 18 .\" Set up some character translations and predefined strings. \*(-- will 24 .tr \(*W- 27 . ds -- \(*W- 29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch 37 . ds -- \|\(em\| 45 .\" Escape single quotes in literal strings from groff's Unicode transform. 71 .\" Fear. Run. Save yourself. No user-serviceable parts. 81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m) 97 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | udivmoddi4.c | 1 //===-- udivmoddi4.c - Implement __udivmoddi4 -----------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 18 // Translated from Figure 3-40 of The PowerPC Compiler Writer's Guide 22 // warn-as-error 38 if (n.s.high == 0) { in __udivmoddi4() 39 if (d.s.high == 0) { in __udivmoddi4() 41 // --- in __udivmoddi4() 44 *rem = n.s.low % d.s.low; in __udivmoddi4() [all …]
|
/freebsd/crypto/openssl/crypto/sha/ |
H A D | build.info | 4 IF[{- !$disabled{asm} -}] 5 $SHA1ASM_x86=sha1-586.S sha256-586.S sha512-586.S 8 sha1-x86_64.s sha25 [all...] |
/freebsd/contrib/mtree/ |
H A D | compare.c | 3 /*- 76 len = printf("%s changed\n", RP(p)); \ 79 len = printf("%s: ", RP(p)); \ 85 printf("%*s", INDENTNAMELEN - (int)len, ""); \ 95 if (flags != p->fts_statp->st_flags) { \ 99 sf = flags_to_string(p->fts_statp->st_flags, "none"); \ 100 printf("%sflags (\"%s\"", tab, sf); \ 103 if (lchflags(p->fts_accpath, flags)) { \ 105 printf(", not modified: %s)\n", \ 109 printf(", modified to \"%s\")\n", sf); \ [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Interp.h | 1 //===--- Interp.h - Interpreter for the constexpr VM ------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 43 bool ReturnValue(const InterpState &S, const T &V, APValue &R) { in ReturnValue() argument 44 R = V.toAPValue(S.getCtx()); in ReturnValue() 49 bool CheckExtern(InterpState &S, CodePtr OpPC, const Pointer &Ptr); 52 bool CheckArray(InterpState &S, CodePtr OpPC, const Pointer &Ptr); 55 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, 59 bool CheckDummy(InterpState &S, CodePtr OpPC, const Pointer &Ptr, [all …]
|