Home
last modified time | relevance | path

Searched +full:- +full:lh (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/netbsd-src/crypto/external/bsd/openssl/dist/crypto/lhash/
H A Dlhash.c2 * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved.
26 * addressing", Proc. 6th Conference on Very Large Databases: 212-223
27 * https://hackthology.com/pdfs/Litwin-1980-Linear_Hashing.pdf
43 static int expand(OPENSSL_LHASH *lh);
44 static void contract(OPENSSL_LHASH *lh);
45 static OPENSSL_LH_NODE **getrn(OPENSSL_LHASH *lh, const void *data, unsigned long *rhash);
59 if ((ret->b = OPENSSL_zalloc(sizeof(*ret->b) * MIN_NODES)) == NULL) in OPENSSL_LH_new()
61 ret->comp = ((c == NULL) ? (OPENSSL_LH_COMPFUNC)strcmp : c); in OPENSSL_LH_new()
62 ret->hash = ((h == NULL) ? (OPENSSL_LH_HASHFUNC)OPENSSL_LH_strhash : h); in OPENSSL_LH_new()
63 ret->num_nodes = MIN_NODES / 2; in OPENSSL_LH_new()
[all …]
H A Dlh_stats.c2 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
24 void OPENSSL_LH_stats(const OPENSSL_LHASH *lh, FILE *fp) in OPENSSL_LH_stats() argument
32 OPENSSL_LH_stats_bio(lh, bp); in OPENSSL_LH_stats()
36 void OPENSSL_LH_node_stats(const OPENSSL_LHASH *lh, FILE *fp) in OPENSSL_LH_node_stats() argument
44 OPENSSL_LH_node_stats_bio(lh, bp); in OPENSSL_LH_node_stats()
48 void OPENSSL_LH_node_usage_stats(const OPENSSL_LHASH *lh, FILE *fp) in OPENSSL_LH_node_usage_stats() argument
56 OPENSSL_LH_node_usage_stats_bio(lh, bp); in OPENSSL_LH_node_usage_stats()
62 void OPENSSL_LH_stats_bio(const OPENSSL_LHASH *lh, BIO *out) in OPENSSL_LH_stats_bio() argument
64 BIO_printf(out, "num_items = %lu\n", lh->num_items); in OPENSSL_LH_stats_bio()
65 BIO_printf(out, "num_nodes = %u\n", lh->num_nodes); in OPENSSL_LH_stats_bio()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/lhash/
H A Dlhash.c2 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
26 * addressing", Proc. 6th Conference on Very Large Databases: 212-223
27 * https://hackthology.com/pdfs/Litwin-1980-Linear_Hashing.pdf
43 static int expand(OPENSSL_LHASH *lh);
44 static void contract(OPENSSL_LHASH *lh);
45 static OPENSSL_LH_NODE **getrn(OPENSSL_LHASH *lh, const void *data, unsigned long *rhash);
59 if ((ret->b = OPENSSL_zalloc(sizeof(*ret->b) * MIN_NODES)) == NULL) in OPENSSL_LH_new()
61 ret->comp = ((c == NULL) ? (OPENSSL_LH_COMPFUNC)strcmp : c); in OPENSSL_LH_new()
62 ret->hash = ((h == NULL) ? (OPENSSL_LH_HASHFUNC)OPENSSL_LH_strhash : h); in OPENSSL_LH_new()
63 ret->num_nodes = MIN_NODES / 2; in OPENSSL_LH_new()
[all …]
H A Dlh_stats.c2 * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
24 void OPENSSL_LH_stats(const OPENSSL_LHASH *lh, FILE *fp) in OPENSSL_LH_stats() argument
32 OPENSSL_LH_stats_bio(lh, bp); in OPENSSL_LH_stats()
36 void OPENSSL_LH_node_stats(const OPENSSL_LHASH *lh, FILE *fp) in OPENSSL_LH_node_stats() argument
44 OPENSSL_LH_node_stats_bio(lh, bp); in OPENSSL_LH_node_stats()
48 void OPENSSL_LH_node_usage_stats(const OPENSSL_LHASH *lh, FILE *fp) in OPENSSL_LH_node_usage_stats() argument
56 OPENSSL_LH_node_usage_stats_bio(lh, bp); in OPENSSL_LH_node_usage_stats()
62 void OPENSSL_LH_stats_bio(const OPENSSL_LHASH *lh, BIO *out) in OPENSSL_LH_stats_bio() argument
64 BIO_printf(out, "num_items = %lu\n", lh->num_items); in OPENSSL_LH_stats_bio()
65 BIO_printf(out, "num_nodes = %u\n", lh->num_nodes); in OPENSSL_LH_stats_bio()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Dlhash.h.in2 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
10 {-
12 -}
15 * Header for dynamic hash table routines Author - Eric Young
42 * Macros for declaring and implementing type-safe wrappers for LHASH
44 * function pointer casting and the macro-defined callbacks provide
45 * per-variable casting before deferring to the underlying type-specific
82 int OPENSSL_LH_error(OPENSSL_LHASH *lh);
84 void OPENSSL_LH_free(OPENSSL_LHASH *lh);
85 void OPENSSL_LH_flush(OPENSSL_LHASH *lh);
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Dlhash.h2 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
11 * Header for dynamic hash table routines Author - Eric Young
32 * Macros for declaring and implementing type-safe wrappers for LHASH
34 * function pointer casting and the macro-defined callbacks provide
35 * per-variable casting before deferring to the underlying type-specific
72 int OPENSSL_LH_error(OPENSSL_LHASH *lh);
74 void OPENSSL_LH_free(OPENSSL_LHASH *lh);
75 void *OPENSSL_LH_insert(OPENSSL_LHASH *lh, void *data);
76 void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data);
77 void *OPENSSL_LH_retrieve(OPENSSL_LHASH *lh, const void *data);
[all …]
/netbsd-src/external/gpl2/lvm2/dist/lib/label/
H A Dlabel.c4 * Copyright (C) 2002-2004 Sistina Software, Inc. All rights reserved.
5 * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
15 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
55 li->l = l; in _alloc_li()
56 strcpy(li->name, name); in _alloc_li()
78 n = c->n; in label_exit()
80 li->l->ops->destroy(li->l); in label_exit()
94 dm_list_add(&_labellers, &li->list); in label_register_handler()
103 if (!strcmp(li->name, name)) in label_get_handler()
104 return li->l; in label_get_handler()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/util/perl/OpenSSL/
H A Dstackhash.pm2 # Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
89 #define lh_${type}_free(lh) OPENSSL_LH_free(ossl_check_${type}_lh_type(lh))
90 #define lh_${type}_flush(lh) OPENSSL_LH_flush(ossl_check_${type}_lh_type(lh))
91 #define lh_${type}_insert(lh, ptr) ((${type} *)OPENSSL_LH_insert(ossl_check_${type}_lh_type(lh), os…
92 #define lh_${type}_delete(lh, ptr) ((${type} *)OPENSSL_LH_delete(ossl_check_${type}_lh_type(lh), os…
93 #define lh_${type}_retrieve(lh, ptr) ((${type} *)OPENSSL_LH_retrieve(ossl_check_${type}_lh_type(lh)…
94 #define lh_${type}_error(lh) OPENSSL_LH_error(ossl_check_${type}_lh_type(lh))
95 #define lh_${type}_num_items(lh) OPENSSL_LH_num_items(ossl_check_${type}_lh_type(lh))
96 #define lh_${type}_node_stats_bio(lh, out) OPENSSL_LH_node_stats_bio(ossl_check_const_${type}_lh_ty…
97 …efine lh_${type}_node_usage_stats_bio(lh, out) OPENSSL_LH_node_usage_stats_bio(ossl_check_const_${…
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-gimplify.cc2 by the C-based front ends. The structure of gimplified, or
3 language-independent, trees is dictated by the grammar described in this
5 Copyright (C) 2002-2022 Free Software Foundation, Inc.
7 Re-written to support lowering of whole function trees, documentation
31 #include "basic-block.h"
33 #include "tree-iterator.h"
37 #include "c-pretty-print.h"
41 #include "c-ubsan.h"
42 #include "tree-nested.h"
44 /* The gimplification pass converts the language-dependent trees
[all …]
/netbsd-src/crypto/external/bsd/openssl/lib/libcrypto/
H A Dgen4 /- join\(/ {
14 /^\{-/ {
17 /^-}/ {
92 s = substr(s, 1, i - 1);
132 s = substr(s, 1, i - 1);
169 s = substr(s, 1, i - 1);
173 V=V"#define lh_@_free(lh) OPENSSL_LH_free(ossl_check_@_lh_type(lh))\n"
174 V=V"#define lh_@_flush(lh) OPENSSL_LH_flush(ossl_check_@_lh_type(lh))\n"
175 V=V"#define lh_@_insert(lh, ptr) ((@ *)OPENSSL_LH_insert(ossl_check_@_lh_type(lh), ossl_check_@_lh_…
176 V=V"#define lh_@_delete(lh, ptr) ((@ *)OPENSSL_LH_delete(ossl_check_@_lh_type(lh), ossl_check_const…
[all …]
/netbsd-src/external/mpl/dhcp/dist/common/
H A Dfddi.c8 * Copyright (C) 2004-2022 Internet Systems Consortium, Inc. ("ISC")
9 * Copyright (c) 1996-2003 by Internet Software Consortium
54 struct llc lh; local
56 if (to && to -> hlen == 7)
57 memcpy (fh.fddi_dhost, &to -> hbuf [1],
60 &interface -> hw_address.hbuf [1], sizeof (fh.fddi_shost));
65 lh.llc_dsap = LLC_SNAP_LSAP;
66 lh.llc_ssap = LLC_SNAP_LSAP;
67 lh.llc_un.type_snap.control = LLC_UI;
68 lh.llc_un.type_snap.ether_type = htons (ETHERTYPE_IP);
[all …]
/netbsd-src/usr.bin/sed/
H A Dcompile.c3 /*-
43 __FBSDID("$FreeBSD: head/usr.bin/sed/compile.c 259132 2013-12-09 18:57:20Z eadler $");
68 #define LHMASK (LHSZ - 1)
188 link = &cmd->next; in compile_stream()
189 cmd->startline = cmd->nonsel = 0; in compile_stream()
197 cmd->a1 = xmalloc(sizeof(struct s_addr)); in compile_stream()
198 p = compile_addr(p, cmd->a1); in compile_stream()
204 cmd->a2 = xmalloc(sizeof(struct s_addr)); in compile_stream()
205 p = compile_addr(p, cmd->a2); in compile_stream()
208 cmd->a2 = 0; in compile_stream()
[all …]
/netbsd-src/external/bsd/ntp/dist/
H A Dbootstrap3 # This "bootstrap" script performs various pre-autoreconf actions
6 # --force is supported and will be passed to autoreconf
24 # tear-off/redistributable library.
28 # 4. gunzip. The tear-off library is a gzipped tarball.
30 set -e
39 AUTORECONF=${AUTORECONF:-autoreconf}
43 # if fgrep -q 4.2.4 sntp/m4/version.m4; then
44 # AUTOCONF=autoconf-2.59
45 # AUTOHEADER=autoheader-2.59
46 # AUTOMAKE=automake-1.9
[all …]
/netbsd-src/external/gpl2/lvm2/dist/lib/format_text/
H A Dtext_label.c4 * Copyright (C) 2002-2004 Sistina Software, Inc. All rights reserved.
5 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
15 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #include "format-text.h"
32 struct label_header *lh = (struct label_header *) buf; in _text_can_handle() local
34 if (!strncmp((char *)lh->type, LVM2_LABEL, sizeof(lh->type))) in _text_can_handle()
42 struct label_header *lh = (struct label_header *) buf; in _text_write() local
53 strncpy(label->type, LVM2_LABEL, sizeof(label->type)); in _text_write()
55 strncpy((char *)lh->type, label->type, sizeof(label->type)); in _text_write()
57 pvhdr = (struct pv_header *) ((void *) buf + xlate32(lh->offset_xl)); in _text_write()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Drange-op.cc2 Copyright (C) 2017-2020 Free Software Foundation, Inc.
26 #include "insn-codes.h"
31 #include "tree-pass.h"
33 #include "optabs-tree.h"
34 #include "gimple-pretty-print.h"
35 #include "diagnostic-core.h"
37 #include "fold-const.h"
38 #include "stor-layout.h"
41 #include "gimple-fold.h"
42 #include "tree-eh.h"
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/ec/
H A Dec2_smpl.c2 * Copyright 2002-2021 The OpenSSL Project Authors. All Rights Reserved.
25 * Initialize a GF(2^m)-based EC_GROUP structure. Note that all other members
30 group->field = BN_new(); in ossl_ec_GF2m_simple_group_init()
31 group->a = BN_new(); in ossl_ec_GF2m_simple_group_init()
32 group->b = BN_new(); in ossl_ec_GF2m_simple_group_init()
34 if (group->field == NULL || group->a == NULL || group->b == NULL) { in ossl_ec_GF2m_simple_group_init()
35 BN_free(group->field); in ossl_ec_GF2m_simple_group_init()
36 BN_free(group->a); in ossl_ec_GF2m_simple_group_init()
37 BN_free(group->b); in ossl_ec_GF2m_simple_group_init()
44 * Free a GF(2^m)-based EC_GROUP structure. Note that all other members are
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ec/
H A Dec2_smpl.c2 * Copyright 2002-2019 The OpenSSL Project Authors. All Rights Reserved.
19 * Initialize a GF(2^m)-based EC_GROUP structure. Note that all other members
24 group->field = BN_new(); in ec_GF2m_simple_group_init()
25 group->a = BN_new(); in ec_GF2m_simple_group_init()
26 group->b = BN_new(); in ec_GF2m_simple_group_init()
28 if (group->field == NULL || group->a == NULL || group->b == NULL) { in ec_GF2m_simple_group_init()
29 BN_free(group->field); in ec_GF2m_simple_group_init()
30 BN_free(group->a); in ec_GF2m_simple_group_init()
31 BN_free(group->b); in ec_GF2m_simple_group_init()
38 * Free a GF(2^m)-based EC_GROUP structure. Note that all other members are
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Ddwarf2.c2 Copyright (C) 1994-2022 Free Software Foundation, Inc.
29 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
30 MA 02110-1301, USA. */
36 #include "elf-bfd.h"
87 This is a fairly standard radix-256 trie, used to quickly locate which
100 So for a 64-bit address like 0x1234567abcd, we would start at the root and go
101 down child[0x00]->child[0x00]->child[0x01]->child[0x23]->child[0x45] etc.,
104 interior node if possible.) This gives us near-constant lookup times;
106 within a single 256-byte segment of the binary, in which case we have to
114 /* Experiments have shown 16 to be a memory-efficient default leaf size.
[all …]
/netbsd-src/external/bsd/unbound/dist/contrib/
H A Dunbound_cache.sh3 # --------------------------------------------------------------
4 # -- DNS cache save/load script
5 # --
6 # -- Version 1.2
7 # -- By Yuri Voinov (c) 2006, 2014
8 # --------------------------------------------------------------
22 UC="$BASE/sbin/unbound-control"
42 $ECHO "Usage: `$BASENAME $0` [-s] or [-l] or [-r] or [-h] [filename]"
44 …$ECHO "l - Load - default mode. Warming up Unbound DNS cache from saved file. cache-ttl must be hi…
45 $ECHO "s - Save - save Unbound DNS cache contents to plain file with domain names."
[all …]
/netbsd-src/sys/arch/powerpc/stand/mkbootimage/
H A Dmkbootimage.c3 /*-
94 * Macros to get values from multi-byte ELF header fields. These assume
95 * a big-endian image.
120 "machine architecture with the -m flag\n"); in usage()
127 fprintf(stderr, "usage: %s [-Ilsv] [-m machine] [-b bootfile] " in usage()
128 "[-k kernel] [-r rawdev] [- in usage()
603 struct LoaderHeader lh; bebox_write_header() local
[all...]
/netbsd-src/external/mit/libuv/dist/.github/workflows/
H A DCI-unix.yml1 name: CI-unix
6 - '**'
7 - '!docs/**'
8 - '!src/win/**'
9 - '!.**'
10 - '.github/workflows/CI-unix.yml'
13 - v[0-9].*
14 - master
17 build-android:
18 runs-on: ubuntu-latest
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Drange-op.cc2 Copyright (C) 2017-2022 Free Software Foundation, Inc.
26 #include "insn-codes.h"
31 #include "tree-pass.h"
33 #include "optabs-tree.h"
34 #include "gimple-pretty-print.h"
35 #include "diagnostic-core.h"
37 #include "fold-const.h"
38 #include "stor-layout.h"
41 #include "gimple-fold.h"
42 #include "tree-eh.h"
[all …]
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Ddwarf2.c2 Copyright (C) 1994-2024 Free Software Foundation, Inc.
29 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
30 MA 02110-1301, USA. */
37 #include "elf-bfd.h"
40 #include "splay-tree.h"
90 This is a fairly standard radix-256 trie, used to quickly locate which
103 So for a 64-bit address like 0x1234567abcd, we would start at the root and go
104 down child[0x00]->child[0x00]->child[0x01]->child[0x23]->child[0x45] etc.,
107 interior node if possible.) This gives us near-constant lookup times;
109 within a single 256-byte segment of the binary, in which case we have to
[all …]
/netbsd-src/sys/dev/mii/
H A Digphyreg.h5 Copyright (c) 2001-2003, Intel Corporation
45 /* IGP01E1000 Specific Port Config Register - R/W */
54 /* IGP01E1000 Specific Port Status Register - R/O */
56 #define IGPHY_PSSR_AUTONEG_FAILED 0x0001 /* RO LH SC */
69 /* IGP01E1000 Specific Port Control Register - R/W */
76 #define PSCR_FORCE_MDI_MDIX 0x2000 /* 0-MDI, 1-MDIX */
87 #define PLHR_DATA_ERR_1 0x0200 /* LH */
88 #define PLHR_IDLE_ERROR_CNT_OFLOW 0x0400 /* LH */
89 #define PLHR_GIG_REM_RCVR_NOK 0x0800 /* LH */
116 /* IGP01E1000 AGC Registers - stores the cable length values*/
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmtAttr.cpp1 //===--- SemaStmtAttr.cpp - Statement Attribute Handling ------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file implements stmt-related attribute processing.
11 //===----------------------------------------------------------------------===//
31 << A << St->getBeginLoc(); in handleFallThroughAttr()
38 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr()
49 FnScope->setHasFallthroughStmt(); in handleFallThroughAttr()
63 // clang-tidy knows about available rules. in handleSuppressAttr()
79 llvm::StringSwitch<StringRef>(PragmaNameLoc->Ident->getName()) in handleLoopHintAttr()
[all …]

12345678910>>...16