/freebsd/contrib/bmake/unit-tests/ |
H A D | var-scope-local.exp | 1 Global: .ALLTARGETS = all target-rule.ext dir/subdir/target-rule.ext target-rule.ir-gen-from dir/subdir/target-rule-di [all...] |
H A D | var-scope-local.mk | 1 # $NetBSD: var-scope-local.mk,v 1.11 2024/03/05 23:07:58 rillig Exp $ 3 # Tests for target-local variables, such as ${.TARGET} or $@. These variables 4 # are relatively short-lived as they are created just before making the 8 # The 7 built-in target-local variables are listed in the manual page. They 10 # target-local variables can be defined in dependency lines like 15 # Target-local variables in a target rule 20 # expect: target-rule.ext [all...] |
/freebsd/contrib/wpa/src/crypto/ |
H A D | tls_wolfssl.c | 3 * Copyright (c) 2004-2017, Jouni Malinen <j@w1.fi> 20 #include <wolfssl/error-ssl.h> 114 context->event_cb = conf->event_cb; in tls_context_new() 115 context->cb_ctx = conf->cb_ctx; in tls_context_new() 116 context->cert_in_cb = conf->cert_in_cb; in tls_context_new() 127 in->in_data = buf; in wolfssl_reset_in_data() 128 in->consumed = 0; in wolfssl_reset_in_data() 135 out->out_data = wpabuf_alloc_copy("", 0); in wolfssl_reset_out_data() 146 return -1; in wolfssl_receive_cb() 148 if (get > (wpabuf_len(data->in_data) - data->consumed)) in wolfssl_receive_cb() [all …]
|
H A D | tls_openssl.c | 3 * Copyright (c) 2004-2015, Jouni Malinen <j@w1.fi> 91 if (!ssl->s3 || outlen < SSL3_RANDOM_SIZE) in SSL_get_client_random() 93 os_memcpy(out, ssl->s3->client_random, SSL3_RANDOM_SIZE); in SSL_get_client_random() 101 if (!ssl->s3 || outlen < SSL3_RANDOM_SIZE) in SSL_get_server_random() 103 os_memcpy(out, ssl->s3->server_random, SSL3_RANDOM_SIZE); in SSL_get_server_random() 112 if (!session || session->master_key_length < 0 || in SSL_SESSION_get_master_key() 113 (size_t) session->master_key_length > outlen) in SSL_SESSION_get_master_key() 115 if ((size_t) session->master_key_length < outlen) in SSL_SESSION_get_master_key() 116 outlen = session->master_key_length; in SSL_SESSION_get_master_key() 117 os_memcpy(out, session->master_key, outlen); in SSL_SESSION_get_master_key() [all …]
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | v3_akid.c | 2 * Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved. 46 if (akeyid->keyid) { in STACK_OF() 47 tmp = OPENSSL_buf2hexstr(akeyid->keyid->data, akeyid->keyid->length); in STACK_OF() 52 if (!X509V3_add_value((akeyid->issuer || akeyid->serial) ? "keyid" : NULL, in STACK_OF() 60 if (akeyid->issuer) { in STACK_OF() 61 tmpextlist = i2v_GENERAL_NAMES(NULL, akeyid->issuer, extlist); in STACK_OF() 68 if (akeyid->serial) { in STACK_OF() 69 tmp = OPENSSL_buf2hexstr(akeyid->serial->data, akeyid->serial->length); in STACK_OF() 87 /*- 106 GENERAL_NAME *gen = NULL; in v2i_AUTHORITY_KEYID() local [all …]
|
H A D | v3_san.c | 2 * Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved. 26 static int do_othername(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx); 27 static int do_dirname(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx); 56 GENERAL_NAME *gen; in STACK_OF() local 60 gen = sk_GENERAL_NAME_value(gens, i); in STACK_OF() 63 * wrong we need to free the stack - but only if it was empty when we in STACK_OF() 66 tmpret = i2v_GENERAL_NAME(method, gen, ret); in STACK_OF() 80 GENERAL_NAME *gen, in STACK_OF() 86 switch (gen->type) { in STACK_OF() 88 switch (OBJ_obj2nid(gen->d.otherName->type_id)) { in STACK_OF() [all …]
|
H A D | x_crl.c | 2 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved. 52 if (!a || !a->revoked) in crl_inf_cb() 60 (void)sk_X509_REVOKED_set_cmp_func(a->revoked, X509_REVOKED_cmp); in crl_inf_cb() 96 X509_EXTENSION *ext; variable 99 if (!gtmp && (j != -1)) { 100 crl->flags |= EXFLAG_INVALID; 106 if (crl->issuers == NULL) { 107 crl->issuers = sk_GENERAL_NAMES_new_null(); 108 if (crl->issuers == NULL) { 113 if (!sk_GENERAL_NAMES_push(crl->issuers, gtmp)) { [all …]
|
H A D | v3_purp.c | 2 * Copyright 1999-2023 The OpenSSL Project Authors. All Rights Reserved. 72 return (*a)->purpose - (*b)->purpose; in xp_cmp() 77 * can't because it does recalculate hashes and do other non-const things. 78 * If id == -1 it just calls x509v3_cache_extensions() for its side-effect. 79 * Returns 1 on success, 0 if x does not allow purpose, -1 on (internal) error. 87 return -1; in X509_check_purpose() 88 if (id == -1) in X509_check_purpose() 92 if (idx == -1) in X509_check_purpose() 93 return -1; in X509_check_purpose() 95 return pt->check_purpose(pt, x, require_ca); in X509_check_purpose() [all …]
|
/freebsd/kerberos5/lib/libhdb/ |
H A D | Makefile | 1 PACKAGE= kerberos-lib 4 LDFLAGS= -Wl,--no-undefined ${LDAPLDFLAGS} 5 VERSION_MAP= ${KRB5DIR}/lib/hdb/version-script.map 37 INCS= hdb-protos.h \ 45 ext.c \ 46 hdb-ldap.c \ 50 hdb-sqlite.c \ 51 hdb-keytab.c \ 52 hdb-mitdb.c \ 58 ${GEN:S/.x$/.c/:S/.hx$/.h/} [all …]
|
/freebsd/crypto/openssl/crypto/ct/ |
H A D | ct_prn.c | 2 * Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved. 24 BIO_printf(out, "%02X%02X", sct->hash_alg, sct->sig_alg); in SCT_signature_algorithms_print() 31 ASN1_GENERALIZEDTIME *gen = ASN1_GENERALIZEDTIME_new(); in timestamp_print() local 34 if (gen == NULL) in timestamp_print() 36 ASN1_GENERALIZEDTIME_adj(gen, (time_t)0, in timestamp_print() 44 ASN1_STRING_get0_data(gen), (unsigned int)(timestamp % 1000)); in timestamp_print() 45 if (ASN1_GENERALIZEDTIME_set_string(gen, genstr)) in timestamp_print() 46 ASN1_GENERALIZEDTIME_print(out, gen); in timestamp_print() 47 ASN1_GENERALIZEDTIME_free(gen); in timestamp_print() 76 log = CTLOG_STORE_get0_log_by_id(log_store, sct->log_id, in SCT_print() [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | pascal | 1 #------------------------------------------------------------------------------ 6 !:mime text/x-pascal 8 #!:mime text/x-pascal 10 #!:mime text/x-pascal 20 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/d/dbd-v2.trid.xml 22 #!:mime application/octet-stream 23 !:ext dbd 24 # URL: https://muhaz.org/turbo-pascal-download-details.html 28 #!:mime application/octet-stream 29 !:mime application/x-borland-cbt [all …]
|
H A D | wordprocessors | 2 #------------------------------------------------------------------------------ 17 # /defs/w/wps-works-dos.trid.xml 21 >112 ubeshort =0x0100 Microsoft Works 1-3 (DOS) or 2 (Windows) document 24 !:mime application/vnd-ms-works 25 #!:mime application/x-msworks 28 !:ext wps 35 #!:mime application/x-mspublisher 37 # https://web.archive.org/web/20200930085807/https://reposcope.com/mimetype/application/vnd.ms-publ… 38 !:mime application/vnd.ms-publisher 39 !:ext pub [all …]
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | x509v3.h.in | 2 * {- join("\n * ", @autowarntext) -} 4 * Copyright 1999-2023 The OpenSSL Project Authors. All Rights Reserved. 12 {- 14 -} 45 (*X509V3_EXT_I2V) (const struct v3_ext_method *method, void *ext, 51 void *ext); 54 typedef int (*X509V3_EXT_I2R) (const struct v3_ext_method *method, void *ext, 74 /* The following pair is used for multi-valued extensions */ 110 {- 112 -} [all …]
|
H A D | x509v3.h | 5 * Copyright 1999-2023 The OpenSSL Project Authors. All Rights Reserved. 44 (*X509V3_EXT_I2V) (const struct v3_ext_method *method, void *ext, 50 void *ext); 53 typedef int (*X509V3_EXT_I2R) (const struct v3_ext_method *method, void *ext, 73 /* The following pair is used for multi-valued extensions */ 300 # define CRL_REASON_NONE -1 605 "section:", (val)->section, \ 606 ",name:", (val)->name, ",value:", (val)->value) 610 # define X509V3_set_ctx_nodb(ctx) (ctx)->db = NULL; 634 # define EXT_END { -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} [all …]
|
/freebsd/crypto/heimdal/lib/hdb/ |
H A D | hdb.asn1 | 1 -- $Id$ 7 HDB_DB_FORMAT INTEGER ::= 2 -- format of database, 8 -- update when making changes 10 -- these must have the same value as the pa-* counterparts 11 hdb-pw-salt INTEGER ::= 3 12 hdb-afs3-salt INTEGER ::= 10 21 mkvno[0] INTEGER (0..4294967295) OPTIONAL, -- master key version number 32 initial(0), -- require as-req 33 forwardable(1), -- may issue forwardable 34 proxiable(2), -- may issue proxiable [all …]
|
/freebsd/crypto/heimdal/kadmin/ |
H A D | load.c | 2 * Copyright (c) 1997-2005 Kungliga Tekniska Högskolan 35 #include "kadmin-commands.h" 66 * -1 if error parsing 77 if(strcmp(s, "-") == 0) in parse_time_string() 81 return -1; in parse_time_string() 82 tm.tm_year = year - 1900; in parse_time_string() 83 tm.tm_mon = month - 1; in parse_time_string() 121 if(strcmp(s, "-") == 0) in parse_integer() 124 return -1; in parse_integer() 147 * return -1 if parsing failed [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx6-logicpd-baseboard.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 compatible = "gpio-keys"; 9 button-0 { 13 debounce-interval = <10>; 14 wakeup-source; 17 button-1 { 21 debounce-interval = <10>; 22 wakeup-source; 25 button-2 { 29 debounce-interval = <10>; [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | RISCVTargetDefEmitter.cpp | 1 //===- RISCVTargetDefEmitter.cpp - Generate lists of RISC-V CPUs ----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // and RISCVISAInfo.cpp to parse the RISC-V CPUs and extensions. 12 //===----------------------------------------------------------------------===// 22 StringRef Name = R->getValueAsString("Name"); in getExtensionName() 23 Name.consume_front("experimental-"); in getExtensionName() 36 if (R->getValueAsBit("Experimental") != Experimental) in printExtensionTable() 40 << R->getValueAsInt("MajorVersion") << ", " in printExtensionTable() 41 << R->getValueAsInt("MinorVersion") << "}},\n"; in printExtensionTable() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | imx8qm-mek.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 NXP 7 /dts-v1/; 9 #include <dt-bindings/usb/pd.h> 14 compatible = "fsl,imx8qm-mek", "fsl,imx8qm"; 17 stdout-path = &lpuart0; 21 /delete-node/ cpu-map; 22 /delete-node/ cpu@100; 23 /delete-node/ cpu@101; 26 thermal-zones { [all …]
|
/freebsd/contrib/sendmail/libsmdb/ |
H A D | smdb.c | 2 ** Copyright (c) 1999-2002 Proofpoint, Inc. and its suppliers. 10 #include <sm/gen.h> 11 SM_RCSID("@(#)$Id: smdb.c,v 8.59 2013-11-22 20:51:49 ca Exp $") 24 ** SMDB_MALLOC_DATABASE -- Allocates a database structure. 48 ** SMDB_FREE_DATABASE -- Unallocates a database structure. 51 ** database -- a SMDB_DATABASE pointer to deallocate. 66 ** SMDB_LOCKFILE -- lock a file using flock or (shudder) fcntl locking 69 ** fd -- the file descriptor of the file. 70 ** type -- type of the lock. Bits can be: 71 ** LOCK_EX -- exclusive lock. [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/opt/ |
H A D | NewPMDriver.cpp | 1 //===- NewPMDriver.cpp - Driver for opt with new PM -----------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 22 #include "llvm/Config/llvm-config.h" 47 "debugify-each", 48 cl::desc("Start each pass with debugify and end it with check-debugify")); 51 DebugifyExport("debugify-export", 52 cl::desc("Export per-pass debugify statistics to this file"), 56 "verify-each-debuginfo-preserve", [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/leds/backlight/ |
H A D | qcom-wled.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Kiran Gunda <quic_kgunda@quicinc.com> 21 - qcom,pm8941-wled 22 - qcom,pmi8950-wled 23 - qcom,pmi8994-wled 24 - qcom,pmi8998-wled [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | VOP2Instructions.td | 1 //===-- VOP2Instructions.td - Vector Instruction Definitions --------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 18 let Inst{8-0} = !if(P.HasSrc0, src0, 0); 19 let Inst{16-9} = !if(P.HasSrc1, src1, 0); 20 let Inst{24-17} = !if(P.EmitDst, vdst, 0); 21 let Inst{30-25} = op; 31 let Inst{8-0} = !if(P.HasSrc0, src0, 0); [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pci/ |
H A D | nvidia,tegra194-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/nvidia,tegra194-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Vidya Sagar <vidyas@nvidia.com> 16 inherits all the common properties defined in snps,dw-pcie.yaml. Some of 20 See nvidia,tegra194-pcie-ep.yaml for details on the Endpoint mode device 26 - nvidia,tegra194-pcie [all …]
|
/freebsd/contrib/ncurses/ |
H A D | configure.in | 2 dnl Copyright 2018-2023,2024 Thomas E. Dickey * 3 dnl Copyright 1998-2017,2018 Free Software Foundation, Inc. * 30 dnl Author: Thomas E. Dickey 1995-on 36 dnl https://invisible-island.net/autoconf/ 37 dnl https://invisible-island.net/autoconf/my-autoconf.html 39 dnl --------------------------------------------------------------------------- 56 ### Save the given $CFLAGS to allow user-override. 59 ### Default install-location 69 [ --without-ada suppress check for Ada compiler, don't build demo], 91 [ --without-cxx do not adjust ncurses bool to match C++], [all …]
|