| /freebsd/lib/libugidfw/ |
| H A D | ugidfw.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2005 Networks Associates Technology, Inc. 9 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the 67 char *cur, type[sizeof(rule->mbr_object.mbo_type) * CHAR_BIT + 1]; in bsde_rule_to_string() 68 size_t left, len; in bsde_rule_to_string() local 72 left = buflen; in bsde_rule_to_string() 74 len = snprintf(cur, left, "subject "); in bsde_rule_to_string() 75 if (len < 0 || len > left) in bsde_rule_to_string() 77 left -= len; in bsde_rule_to_string() [all …]
|
| /freebsd/contrib/unbound/util/ |
| H A D | rbtree.c | 2 * rbtree.c -- generic red black tree 4 * Copyright (c) 2001-2007, NLnet Labs. All rights reserved. 55 RBTREE_NULL, /* Left. */ 61 /** rotate subtree left (to preserve redblack property) */ 98 rbtree->root = RBTREE_NULL; in rbtree_init() 99 rbtree->count = 0; in rbtree_init() 100 rbtree->cmp = cmpf; in rbtree_init() 104 * Rotates the node to the left. 110 rbnode_type *right = node->right; in rbtree_rotate_left() 111 node->right = right->left; in rbtree_rotate_left() [all …]
|
| /freebsd/share/misc/ |
| H A D | operator | 2 ------------------------------------------------------------- 3 () [] -> . left to right 4 ! ~ ++ -- - (type) * & sizeof new delete right to left 5 ->* .* left to right 6 * / % left to right 7 + - left to right 8 << >> left to right 9 < <= > >= left to right 10 == != left to right 11 & left to right [all …]
|
| /freebsd/contrib/ldns/ |
| H A D | rbtree.c | 2 * rbtree.c -- generic red black tree 6 * Copyright (c) 2001-2008, NLnet Labs. All rights reserved. 57 LDNS_RBTREE_NULL, /* Left. */ 64 /** rotate subtree left (to preserve redblack property) */ 100 rbtree->root = LDNS_RBTREE_NULL; in ldns_rbtree_init() 101 rbtree->count = 0; in ldns_rbtree_init() 102 rbtree->cmp = cmpf; in ldns_rbtree_init() 112 * Rotates the node to the left. 118 ldns_rbnode_t *right = node->right; in ldns_rbtree_rotate_left() 119 node->right = right->left; in ldns_rbtree_rotate_left() [all …]
|
| /freebsd/share/i18n/csmapper/APPLE/ |
| H A D | HEBREW%UCS.src | 4 SRC_ZONE 0x00-0xFF 16 # Copyright: (c) 1995-2002, 2005 by Apple Computer, Inc., all rights 23 # c02 2005-Apr-05 Update header comments; add section on 26 # b3,c1 2002-Dec-19 Don't require left-right context for digits 27 # 0x30-0x39. Change mapping of 0x81 to use 31 # b02 1999-Sep-22 Update contact e-mail address. Matches 34 # n03 1998-Feb-05 Show required Unicode character 40 # n01 1995-Nov-15 First version. Matches internal ufrm<n8>. 43 # ---------------- 68 # ------- [all …]
|
| /freebsd/crypto/openssl/crypto/bio/ |
| H A D | bio_cb.c | 2 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 25 int left; in BIO_debug_callback_ex() local 33 left = BIO_snprintf(buf, sizeof(buf), "BIO[%p]: ", (void *)bio); in BIO_debug_callback_ex() 36 if (left < 0) in BIO_debug_callback_ex() 37 left = 0; in BIO_debug_callback_ex() 38 p = buf + left; in BIO_debug_callback_ex() 39 left = sizeof(buf) - left; in BIO_debug_callback_ex() 43 BIO_snprintf(p, left, "Free - %s\n", bio->method->name); in BIO_debug_callback_ex() 46 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback_ex() 47 BIO_snprintf(p, left, "read(%d,%zu) - %s fd=%d\n", in BIO_debug_callback_ex() [all …]
|
| /freebsd/crypto/krb5/src/lib/crypto/builtin/des/ |
| H A D | f_tables.h | 1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 32 * des_tables.h - declarations to import the DES tables, used internally 38 #include "k5-platform.h" 62 * is easy to compute algorithmically, especially if done out-of-order. 64 * below. Since SP[0-7] don't have any bits in common set it is okay 82 * left, right and temp should be unsigned DES_INT32 values. left and right 95 * DES_SP_{EN,DE}CRYPT_ROUND(left, right, temp, kp); 96 * DES_SP_{EN,DE}CRYPT_ROUND(right, left, temp, kp); 100 * left and right at the end of each round. By doing two rounds at 101 * a time and swapping left and right in the code we can avoid the [all …]
|
| H A D | f_aead.c | 1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 38 unsigned DES_INT32 left, right; in krb5int_des_cbc_encrypt() local 47 /* Initialize left and right with the contents of the initial vector. */ in krb5int_des_cbc_encrypt() 49 left = load_32_be(ip); in krb5int_des_cbc_encrypt() 55 left ^= load_32_be(block); in krb5int_des_cbc_encrypt() 59 DES_DO_ENCRYPT(left, right, kp); in krb5int_des_cbc_encrypt() 60 store_32_be(left, block); in krb5int_des_cbc_encrypt() 67 store_32_be(left, ivec); in krb5int_des_cbc_encrypt() 77 unsigned DES_INT32 left, right; in krb5int_des_cbc_decrypt() local 101 /* Split this block into left and right. */ in krb5int_des_cbc_decrypt() [all …]
|
| /freebsd/contrib/ofed/libibverbs/ |
| H A D | memory.c | 15 * - Redistributions of source code must retain the above 19 * - Redistributions in binary form must reproduce the above 55 struct ibv_mem_node *left, *right; member 107 n = sscanf(buf, "%" SCNxPTR "-%" SCNxPTR, &range_start, &range_end); in get_page_size() 148 tmp_aligned = (void *) ((uintptr_t) tmp & ~(size - 1)); in ibv_fork_init() 166 mm_root->parent = NULL; in ibv_fork_init() 167 mm_root->left = NULL; in ibv_fork_init() 168 mm_root->right = NULL; in ibv_fork_init() 169 mm_root->color = IBV_BLACK; in ibv_fork_init() 170 mm_root->start = 0; in ibv_fork_init() [all …]
|
| /freebsd/sys/netpfil/ipfilter/netinet/ |
| H A D | ipf_rb.h | 14 struct _t *left; \ 42 parent = node->_f.parent; \ 43 tmp1 = node->_f.right; \ 44 tmp2 = tmp1->_f.left; \ 45 node->_f.right = tmp2; \ 47 tmp2->_f.parent = node; \ 49 head->top._f.right = tmp1; \ 50 else if (parent->_f.right == node) \ 51 parent->_f.right = tmp1; \ 53 parent->_f.left = tmp1; \ [all …]
|
| /freebsd/share/man/man7/ |
| H A D | operator.7 | 35 .Bd -ragged -offset indent -compact 36 .Bl -column "! ~ ++ -- - (type) * & sizeof new delete" 38 .It "-------- -------------" 39 .It "() [] -> . left to right" 40 .It "! ~ ++ -- - (type) * & sizeof new delete right to left" 41 .It "->* .* left to right" 42 .It "* / % left to right" 43 .It "+ - left to right" 44 .It "<< >> left to right" 45 .It "< <= > >= left to right" [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Format/ |
| H A D | TokenAnnotator.cpp | 1 //===--- TokenAnnotator.cpp - Format C++ code -----------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 22 #define DEBUG_TYPE "format-token-annotator" 49 /// an Objective-C \c \@selector, \c false otherwise. 52 /// Objective-C++, C++ keywords like \c new and \c delete are 53 /// lexed as tok::kw_*, not tok::identifier, even for Objective-C. 55 /// For Objective-C and Objective-C++, both identifiers and keywords 58 /// keyword as a potential Objective-C selector component. [all …]
|
| /freebsd/contrib/libdiff/lib/ |
| H A D | diff_output_unidiff.c | 36 return c->left_start->pos; in diff_chunk_get_left_start_pos() 42 return c->right_start->pos; in diff_chunk_get_right_start_pos() 48 return diff_range_empty(&cc->chunk); in diff_chunk_context_empty() 55 int left_start = diff_atom_root_idx(r->left, c->left_start); in diff_chunk_get_left_start() 56 return MAX(0, left_start - context_lines); in diff_chunk_get_left_start() 64 return MIN(r->left->atoms.len, in diff_chunk_get_left_end() 65 left_start + c->left_count + context_lines); in diff_chunk_get_left_end() 72 int right_start = diff_atom_root_idx(r->right, c->right_start); in diff_chunk_get_right_start() 73 return MAX(0, right_start - context_lines); in diff_chunk_get_right_start() 81 return MIN(r->right->atoms.len, in diff_chunk_get_right_end() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | GCNILPSched.cpp | 1 //===---------------------------- GCNILPSched.cpp - -----------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 17 #define DEBUG_TYPE "machine-scheduler" 37 /// CurCycle - The current scheduler state corresponds to this cycle. 42 const SUnit *pickBest(const SUnit *left, const SUnit *right); 55 /// CalcNodeSethiUllmanNumber - Compute Sethi Ullman number. 59 unsigned &SethiUllmanNumber = SUNumbers[SU->NodeNum]; in CalcNodeSethiUllmanNumber() 64 for (const SDep &Pred : SU->Preds) { in CalcNodeSethiUllmanNumber() [all …]
|
| /freebsd/sys/contrib/openzfs/lib/libspl/include/ |
| H A D | assert.h | 1 // SPDX-License-Identifier: CDDL-1.0 11 * or https://opensource.org/licenses/CDDL-1.0. 38 /* Workaround for non-Clang compilers */ 50 /* Set to non-zero to avoid abort()ing on an assertion failure */ 87 #define VERIFY3B(LEFT, OP, RIGHT) \ argument 89 const boolean_t __left = (boolean_t)!!(LEFT); \ 94 "(%d %s %d)", #LEFT, #OP, #RIGHT, \ 98 #define VERIFY3S(LEFT, OP, RIGHT) \ argument 100 const int64_t __left = (int64_t)(LEFT); \ 105 "(%lld %s 0x%lld)", #LEFT, #OP, #RIGHT, \ [all …]
|
| /freebsd/tests/sys/kern/ |
| H A D | socket_splice.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 25 #include <atf-c.h> 54 ATF_REQUIRE_MSG(flags != -1, "fcntl failed: %s", strerror(errno)); in noblocking() 100 error = bind(sd[0], sinp, sinp->sa_len); in tcp_socketpair() 105 error = getsockname(sd[0], sinp, &(socklen_t){ sinp->sa_len }); in tcp_socketpair() 108 error = connect(sd[1], sinp, sinp->sa_len); in tcp_socketpair() 157 sp->sp_fd = fd; in splice_init() 158 sp->sp_max = max; in splice_init() 160 sp->sp_idle = *tv; in splice_init() [all …]
|
| /freebsd/sys/netgraph/ |
| H A D | ng_tee.c | 6 /*- 7 * Copyright (c) 1996-1999 Whistle Communications, Inc. 25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. 45 * It has 4 hooks: left, right, left2right, and right2left. Data 46 * entering from the right is passed to the left and duplicated on 47 * right2left, and data entering from the left is passed to the right 49 * sent to left, and data from right2left to right. 79 struct hookinfo left; member 177 hinfo = &privdata->right; in ng_tee_newhook() 178 if (privdata->left.dest) in ng_tee_newhook() [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | sftp-realpath.c | 1 /* $OpenBSD: sftp-realpath.c,v 1.2 2021/09/02 21:03:54 deraadt Exp $ */ 46 /* XXX rewrite sftp-server to use POSIX realpath and remove this hack */ 55 * in which case the path which caused trouble is left in (resolved). 65 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; in sftp_realpath() local 89 left_len = strlcpy(left, path + 1, sizeof(left)); in sftp_realpath() 99 left_len = strlcpy(left, path, sizeof(left)); in sftp_realpath() 101 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) { in sftp_realpath() 107 * Iterate over path components in `left'. in sftp_realpath() 111 * Extract the next path component and adjust `left' in sftp_realpath() 114 p = strchr(left, '/'); in sftp_realpath() [all …]
|
| /freebsd/crypto/heimdal/doc/doxyout/gssapi/html/ |
| H A D | doxygen.css | 2 font-family: Geneva, Arial, Helvetica, sans-serif; 5 font-size: 90%; 8 text-align: center; 9 font-size: 160%; 12 font-size: 120%; 15 font-size: 100%; 18 font-weight: bold 22 background-color: #e8eef2; 24 text-align: center; 27 line-height: 140%; [all …]
|
| /freebsd/crypto/heimdal/doc/doxyout/hcrypto/html/ |
| H A D | doxygen.css | 2 font-family: Geneva, Arial, Helvetica, sans-serif; 5 font-size: 90%; 8 text-align: center; 9 font-size: 160%; 12 font-size: 120%; 15 font-size: 100%; 18 font-weight: bold 22 background-color: #e8eef2; 24 text-align: center; 27 line-height: 140%; [all …]
|
| /freebsd/crypto/heimdal/doc/doxyout/hdb/html/ |
| H A D | doxygen.css | 2 font-family: Geneva, Arial, Helvetica, sans-serif; 5 font-size: 90%; 8 text-align: center; 9 font-size: 160%; 12 font-size: 120%; 15 font-size: 100%; 18 font-weight: bold 22 background-color: #e8eef2; 24 text-align: center; 27 line-height: 140%; [all …]
|
| /freebsd/crypto/heimdal/doc/doxyout/hx509/html/ |
| H A D | doxygen.css | 2 font-family: Geneva, Arial, Helvetica, sans-serif; 5 font-size: 90%; 8 text-align: center; 9 font-size: 160%; 12 font-size: 120%; 15 font-size: 100%; 18 font-weight: bold 22 background-color: #e8eef2; 24 text-align: center; 27 line-height: 140%; [all …]
|
| /freebsd/crypto/heimdal/doc/doxyout/krb5/html/ |
| H A D | doxygen.css | 2 font-family: Geneva, Arial, Helvetica, sans-serif; 5 font-size: 90%; 8 text-align: center; 9 font-size: 160%; 12 font-size: 120%; 15 font-size: 100%; 18 font-weight: bold 22 background-color: #e8eef2; 24 text-align: center; 27 line-height: 140%; [all …]
|
| /freebsd/crypto/heimdal/doc/doxyout/ntlm/html/ |
| H A D | doxygen.css | 2 font-family: Geneva, Arial, Helvetica, sans-serif; 5 font-size: 90%; 8 text-align: center; 9 font-size: 160%; 12 font-size: 120%; 15 font-size: 100%; 18 font-weight: bold 22 background-color: #e8eef2; 24 text-align: center; 27 line-height: 140%; [all …]
|
| /freebsd/crypto/heimdal/doc/doxyout/wind/html/ |
| H A D | doxygen.css | 2 font-family: Geneva, Arial, Helvetica, sans-serif; 5 font-size: 90%; 8 text-align: center; 9 font-size: 160%; 12 font-size: 120%; 15 font-size: 100%; 18 font-weight: bold 22 background-color: #e8eef2; 24 text-align: center; 27 line-height: 140%; [all …]
|