Home
last modified time | relevance | path

Searched +full:key +full:- +full:value (Results 1 – 25 of 1105) sorted by relevance

12345678910>>...45

/freebsd/contrib/libyaml/tests/
H A Dexample-deconstructor-alt.c34 if (strcmp(argv[k], "-h") == 0 in main()
35 || strcmp(argv[k], "--help") == 0) { in main()
39 else if (strcmp(argv[k], "-c") == 0 in main()
40 || strcmp(argv[k], "--canonical") == 0) { in main()
44 else if (strcmp(argv[k], "-u") == 0 in main()
45 || strcmp(argv[k], "--unicode") == 0) { in main()
51 "Try `%s --help` for more information.\n", in main()
62 "or\n%s -h | --help\nDeconstruct a YAML stream\n\nOptions:\n" in main()
63 "-h, --help\t\tdisplay this help and exit\n" in main()
64 "-c, --canonical\t\toutput in the canonical YAML format\n" in main()
[all …]
/freebsd/crypto/openssl/include/internal/
H A Dhashtable.h2 * Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved.
23 * Represents a key to a hashtable
31 * Represents a value in the hash table
34 void *value; member
36 HT_KEY key; member
53 uint64_t (*ht_hash_fn)(uint8_t *key, size_t keylen);
60 * Hashtable key rules
61 * Any struct can be used to formulate a hash table key, as long as the
63 * 1) The first element of the struct defining the key must be an HT_KEY
65 * 3) Pointers can be used, but the value of the pointer, rather than
[all …]
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueDictionary.cpp1 //===-- OptionValueDictionary.cpp -----------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
42 for (const auto &value : m_values) { in DumpValue() local
43 sorted_values[value.first()] = value.second.get(); in DumpValue()
45 for (const auto &value : sorted_values) { in DumpValue() local
46 OptionValue *option_value = value.second; in DumpValue()
53 strm.Indent(value.first); in DumpValue()
64 option_value->DumpValue(exe_ctx, strm, dump_mask | extra_dump_options); in DumpValue()
79 option_value->DumpValue(exe_ctx, strm, in DumpValue()
[all …]
/freebsd/crypto/krb5/src/windows/installer/wix/
H A Dfiles.wxi1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
26 -->
28 <Property Id="DISABLEADVTSHORTCUTS" Value="1" />
40 …<RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\MIT_KFW…
41 <RegistryValue Name="Asynchronous" Type="integer" Value="0" />
42 <RegistryValue Name="Impersonate" Type="integer" Value="0" />
43 <RegistryValue Name="DLLName" Type="string" Value="[#filekfwlogon_DLL]" />
44 <RegistryValue Name="Logon" Type="string" Value="KFW_Logon_Event" />
46 …<RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\MIT Kerberos\NetworkProvider" Acti…
[all …]
/freebsd/crypto/heimdal/lib/hdb/
H A Dcommon.c2 * Copyright (c) 1997-2002 Kungliga Tekniska Högskolan
37 hdb_principal2key(krb5_context context, krb5_const_principal p, krb5_data *key) in hdb_principal2key() argument
48 ASN1_MALLOC_ENCODE(Principal, key->data, key->length, &new, &len, ret); in hdb_principal2key()
49 if (ret == 0 && key->length != len) in hdb_principal2key()
56 hdb_key2principal(krb5_context context, krb5_data *key, krb5_principal p) in hdb_key2principal() argument
58 return decode_Principal(key->data, key->length, p, NULL); in hdb_key2principal()
62 hdb_entry2value(krb5_context context, const hdb_entry *ent, krb5_data *value) in hdb_entry2value() argument
67 ASN1_MALLOC_ENCODE(hdb_entry, value->data, value->length, ent, &len, ret); in hdb_entry2value()
68 if (ret == 0 && value->length != len) in hdb_entry2value()
74 hdb_value2entry(krb5_context context, krb5_data *value, hdb_entry *ent) in hdb_value2entry() argument
[all …]
/freebsd/sys/sys/
H A Diov.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2013-2015 Sandvine Inc.
37 #define VF_PREFIX "VF-"
53 * configurations, the SR-IOV infrastructure dynamically queries the PF
60 * 1) All keys are case-insensitive.
64 * key is mandatory then the associated value is also mandatory.
68 * 1) There must be a top-level key with the name PF_CONFIG_NAME. The value
69 * associated with this key is a nvlist that follows the device schema
72 * 2) There must be a top-level key with the name VF_SCHEMA_NAME. The value
[all …]
/freebsd/secure/usr.bin/openssl/man/
H A Dopenssl-genpkey.11 .\" -*- mode: troff; coding: utf-8 -*-
57 .IX Title "OPENSSL-GENPKEY 1ossl"
58 .TH OPENSSL-GENPKEY 1ossl 2025-09-30 3.5.4 OpenSSL
64 openssl\-genpkey \- generate a private key or key pair
68 [\fB\-help\fR]
69 [\fB\-out\fR \fIfilename\fR]
70 [\fB\-outpubkey\fR \fIfilename\fR]
71 [\fB\-outform\fR \fBDER\fR|\fBPEM\fR]
72 [\fB\-verbose\fR]
73 [\fB\-quiet\fR]
[all …]
H A Dopenssl-pkeyutl.11 .\" -*- mode: troff; coding: utf-8 -*-
57 .IX Title "OPENSSL-PKEYUTL 1ossl"
58 .TH OPENSSL-PKEYUTL 1ossl 2025-09-30 3.5.4 OpenSSL
64 openssl\-pkeyutl \- asymmetric key command
68 [\fB\-help\fR]
69 [\fB\-in\fR \fIfile\fR]
70 [\fB\-rawin\fR]
71 [\fB\-digest\fR \fIalgorithm\fR]
72 [\fB\-out\fR \fIfile\fR]
73 [\fB\-secret\fR \fIfile\fR]
[all …]
/freebsd/crypto/krb5/src/util/
H A Dgen-map.pl1 #!perl -w
4 @parms = qw(NAME KEY VALUE COMPARE COPYKEY FREEKEY FREEVALUE);
16 * key: <KEY>
17 * value: <VALUE>
24 <KEY> key;
25 <VALUE> value;
34 head->first = NULL;
40 void (*free_key)(<KEY>) = <FREEKEY>;
41 void (*free_value)(<VALUE>) = <FREEVALUE>;
42 for (e = head->first; e; e = e_next) {
[all …]
/freebsd/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_dict_helpers.c2 * WPA Supplicant / dbus-based control interface
102 const char *key, const int value_type) in _wpa_dbus_add_dict_entry_start() argument
110 &key); in _wpa_dbus_add_dict_entry_start()
126 const char *key, in _wpa_dbus_add_dict_entry_basic() argument
128 const void *value) in _wpa_dbus_add_dict_entry_basic() argument
133 if (key == NULL) in _wpa_dbus_add_dict_entry_basic()
141 key, value_type) || in _wpa_dbus_add_dict_entry_basic()
145 !dbus_message_iter_append_basic(&iter_dict_val, value_type, value)) in _wpa_dbus_add_dict_entry_basic()
154 DBusMessageIter *iter_dict, const char *key, in _wpa_dbus_add_dict_entry_byte_array() argument
155 const char *value, const dbus_uint32_t value_len) in _wpa_dbus_add_dict_entry_byte_array() argument
[all …]
/freebsd/sys/contrib/openzfs/lib/libzfsbootenv/
H A Dlzbe_pair.c1 // SPDX-License-Identifier: CDDL-1.0
24 * Get or create nvlist. If key is not NULL, get nvlist from bootenv,
28 lzbe_nvlist_get(const char *pool, const char *key, void **ptr) in lzbe_nvlist_get() argument
33 int rv = -1; in lzbe_nvlist_get()
52 if (key != NULL) { in lzbe_nvlist_get()
53 rv = nvlist_lookup_nvlist(nv, key, &nvl); in lzbe_nvlist_get()
75 lzbe_nvlist_set(const char *pool, const char *key, void *ptr) in lzbe_nvlist_set() argument
81 int rv = -1; in lzbe_nvlist_set()
96 if (key != NULL) { in lzbe_nvlist_set()
114 rv = nvlist_add_nvlist(nv, key, ptr); in lzbe_nvlist_set()
[all …]
/freebsd/crypto/heimdal/base/
H A Ddict.c41 heim_object_t key; member
42 heim_object_t value; member
56 for (h = dict->tab; h < &dict->tab[dict->size]; ++h) { in dict_dealloc()
58 i = g->next; in dict_dealloc()
59 heim_release(g->key); in dict_dealloc()
60 heim_release(g->value); in dict_dealloc()
64 free(dict->tab); in dict_dealloc()
69 "dict-object",
118 dict->size = findprime(size); in heim_dict_create()
119 if (dict->size == 0) { in heim_dict_create()
[all …]
/freebsd/lib/libnv/tests/
H A Ddnv_tests.cc1 /*-
2 * Copyright (c) 2014-2015 Sandvine Inc. All rights reserved.
31 #include <atf-c++.hpp>
37 const char *key; in ATF_TEST_CASE_BODY() local
38 bool value; in ATF_TEST_CASE_BODY() local
42 key = "name"; in ATF_TEST_CASE_BODY()
43 value = true; in ATF_TEST_CASE_BODY()
44 nvlist_add_bool(nvl, key, value); in ATF_TEST_CASE_BODY()
46 ATF_REQUIRE_EQ(dnvlist_get_bool(nvl, key, false), value); in ATF_TEST_CASE_BODY()
47 ATF_REQUIRE_EQ(dnvlist_get_bool(nvl, "name", false), value); in ATF_TEST_CASE_BODY()
[all …]
/freebsd/contrib/bsnmp/snmp_mibII/
H A DmibII_route.c2 * Copyright (c) 2001-2003
65 return (memcmp(s1->index, s2->index, 13)); in sroute_compare()
73 oid->len = sub + 13; in sroute_index_append()
75 oid->subs[sub + i] = s->index[i]; in sroute_index_append()
84 for (i = 0; i < 13 - 1; i++)
85 printf("%u.", r->index[i]);
86 printf("%u proto=%u type=%u", r->index[i], r->proto, r->type);
100 struct sroute key; in mib_sroute_process() local
104 if (dst == NULL || gw == NULL || dst->sa_family != AF_INET || in mib_sroute_process()
105 gw->sa_family != AF_INET) in mib_sroute_process()
[all …]
/freebsd/sys/contrib/ck/include/
H A Dck_ht.h2 * Copyright 2012-2015 Samy Al Bahra.
54 uint64_t value; member
64 #define CK_HT_KEY_LENGTH ((sizeof(void *) * 8) - CK_MD_VMA_BITS)
65 #define CK_HT_KEY_MASK ((1U << CK_HT_KEY_LENGTH) - 1)
72 uintptr_t key; member
73 uintptr_t value CK_CC_PACKED;
76 uintptr_t key;
77 uintptr_t value;
96 * Hash callback function. First argument is updated to contain a hash value,
97 * second argument is the key, third argument is key length and final argument
[all …]
/freebsd/secure/lib/libcrypto/man/man3/
H A DEVP_PKEY_CTX_ctrl.31 .\" -*- mode: troff; coding: utf-8 -*-
58 .TH EVP_PKEY_CTX_CTRL 3ossl 2025-09-30 3.5.4 OpenSSL
132 \&\- algorithm specific control operations
141 \& int cmd, uint64_t value);
143 \& const char *value);
150 \& int EVP_PKEY_CTX_set_mac_key(EVP_PKEY_CTX *ctx, const unsigned char *key,
240 hidden entirely by defining \fBOPENSSL_API_COMPAT\fR with a suitable version value,
258 \&\fBEVP_PKEY_CTX_ctrl()\fR sends a control operation to the context \fIctx\fR. The key
259 type used must match \fIkeytype\fR if it is not \-1. The parameter \fIoptype\fR is a
264 For \fIcmd\fR = \fBEVP_PKEY_CTRL_SET_MAC_KEY\fR, \fIp1\fR is the length of the MAC key,
[all …]
/freebsd/usr.sbin/iovctl/
H A Dparse.c1 /*-
2 * Copyright (c) 2014-2015 Sandvine Inc.
46 report_config_error(const char *key, const ucl_object_t *obj, const char *type) in report_config_error() argument
49 errx(1, "Value '%s' of key '%s' is not of type %s", in report_config_error()
50 ucl_object_tostring(obj), key, type); in report_config_error()
54 * Verifies that the value specified in the config file is a boolean value, and
55 * then adds the value to the configuration.
58 add_bool_config(const char *key, const ucl_object_t *obj, nvlist_t *config) in add_bool_config() argument
63 report_config_error(key, obj, "bool"); in add_bool_config()
65 nvlist_add_bool(config, key, val); in add_bool_config()
[all …]
/freebsd/contrib/bearssl/inc/
H A Dbearssl_rsa.h47 * ## Key Elements
50 * such integers are represented with big-endian unsigned notation:
51 * first byte is the most significant, and the value is positive (so
52 * there is no dedicated "sign bit"). Public and private key structures
53 * thus contain, for each such integer, a pointer to the first value byte
55 * relevant bytes. As a general rule, minimal-length encoding is not
56 * enforced: values may have extra leading bytes of value 0.
60 * - the modulus (`n`);
61 * - the public exponent (`e`).
66 * - the modulus (`n`);
[all …]
/freebsd/sys/contrib/ck/src/
H A Dck_ht.c2 * Copyright 2012-2015 Samy Al Bahra.
53 #define CK_HT_BUCKET_MASK (CK_HT_BUCKET_LENGTH - 1)
98 struct ck_ht_map *map = table->map; in ck_ht_stat()
100 st->n_entries = map->n_entries; in ck_ht_stat()
101 st->probe_maximum = map->probe_maximum; in ck_ht_stat()
108 const void *key, in ck_ht_hash() argument
112 table->h(h, key, key_length, table->seed); in ck_ht_hash()
119 uintptr_t key) in ck_ht_hash_direct() argument
122 ck_ht_hash(h, table, &key, sizeof(key)); in ck_ht_hash_direct()
128 const void *key, in ck_ht_hash_wrapper() argument
[all …]
/freebsd/contrib/wireguard-tools/
H A Dipc-uapi.h1 // SPDX-License-Identifier: MIT
3 * Copyright (C) 2015-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
23 #include "ipc-uapi-windows.h"
25 #include "ipc-uapi-unix.h"
34 int ret, set_errno = -EPROTO; in userspace_set_device()
37 char *key = NULL, *value; in userspace_set_device() local
39 f = userspace_interface_file(dev->name); in userspace_set_device()
41 return -errno; in userspace_set_device()
44 if (dev->flags & WGDEVICE_HAS_PRIVATE_KEY) { in userspace_set_device()
45 key_to_hex(hex, dev->private_key); in userspace_set_device()
[all …]
/freebsd/usr.sbin/moused/moused/
H A Dquirks.c24 /* This has the hallmarks of a library to make it re-usable from the tests
25 * and from the list-quirks tool. It doesn't have all of the features from a
48 #include "util-list.h"
78 * Generic value holder for the property types we support. The type
79 * identifies which value in the union is defined and we expect callers to
80 * already know which type yields which value.
98 } value; member
148 uint32_t product[64]; /* zero-terminated */
220 if (ctx->log_type == QLOG_MOUSED_LOGGING) in quirk_log_msg_va()
229 ctx->log_handler(priority, in quirk_log_msg_va()
[all …]
/freebsd/contrib/kyua/utils/config/
H A Dnodes.cpp68 /// \param node The node to fill. Should be the fresh return value of a
73 node->_dynamic = _dynamic; in copy_into()
76 base_node* new_node = (*iter).second->deep_copy(); in copy_into()
78 node->_children[(*iter).first] = new_node; in copy_into()
90 /// for invoking this twice so that the two key sets are combined if they happen
93 /// \param key Key to this node.
101 const tree_key& key, in combine_children_into() argument
109 if (node->_children.find(name) != node->_children.end()) { in combine_children_into()
117 new_node.reset((*iter1).second->deep_copy()); in combine_children_into()
119 tree_key child_key = key; in combine_children_into()
[all …]
/freebsd/sbin/zfsbootcfg/
H A Dzfsbootcfg.c1 /*-
44 add_pair(const char *name, const char *nvlist, const char *key, in add_pair() argument
45 const char *type, const char *value) in add_pair() argument
59 data = __DECONST(void *, value); in add_pair()
61 rv = lzbe_add_pair(nv, key, type, data, size); in add_pair()
65 v = strtoull(value, &end, 0); in add_pair()
69 rv = lzbe_add_pair(nv, key, type, &v, size); in add_pair()
73 v = strtoll(value, &end, 0); in add_pair()
77 rv = lzbe_add_pair(nv, key, type, &v, size); in add_pair()
81 v = strtoul(value, &end, 0); in add_pair()
[all …]
/freebsd/crypto/openssl/doc/man1/
H A Dopenssl-genpkey.pod.in4 {- join("\n", @autowarntext) -}
10 openssl-genpkey - generate a private key or key pair
15 [B<-help>]
16 [B<-out> I<filename>]
17 [B<-outpubkey> I<filename>]
18 [B<-outform> B<DER>|B<PEM>]
19 [B<-verbose>]
20 [B<-quiet>]
21 [B<-pass> I<arg>]
22 [B<-I<cipher>>]
[all …]
/freebsd/crypto/heimdal/doc/doxyout/hx509/man/man3/
H A Dhx509_env.31 …"hx509 environment functions" 3 "11 Jan 2012" "Version 1.5.2" "Heimdalx509library" \" -*- nroff -*-
5 hx509 environment functions \-
10 …nt \fBhx509_env_add\fP (hx509_context context, hx509_env *env, const char *key, const char *value)"
13 .RI "int \fBhx509_env_add_binding\fP (hx509_context context, hx509_env *env, const char *key, hx509…
16 .RI "const char * \fBhx509_env_lfind\fP (hx509_context context, hx509_env env, const char *key, siz…
19 .RI "const char * \fBhx509_env_find\fP (hx509_context context, hx509_env env, const char *key)"
22 .RI "hx509_env \fBhx509_env_find_binding\fP (hx509_context context, hx509_env env, const char *key)"
33 … "int hx509_env_add (hx509_context context, hx509_env * env, const char * key, const char * value)"
35 Add a new key/value pair to the hx509_env.
43 \fIkey\fP key to add
[all …]

12345678910>>...45