Home
last modified time | relevance | path

Searched +full:static +full:- +full:config (Results 1 – 25 of 1157) sorted by relevance

12345678910>>...47

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dallocator_config.h1 //===-- allocator_config.h --------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
24 // aliasing the `Config` like:
27 // // The instance of Scudo will be initiated with `Config`.
28 // typedef CustomConfig Config;
29 // // Aliasing as default configuration to run the tests with this config.
51 static const bool MaySupportMemoryTagging = true;
57 static const uptr RegionSizeLog = 32U;
58 static const uptr GroupSizeLog = 21U;
[all …]
H A Dsize_class_map.h1 //===-- size_class_map.h --------
[all...]
/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-config.c2 * Copyright (c) 2015-2019, Intel Corporation
34 #include "intel-pt.h"
39 /* A global fake buffer to pacify static analyzers. */
40 static uint8_t buffer[8];
42 static struct ptunit_result from_user_null(void) in from_user_null()
44 struct pt_config config; in from_user_null() local
47 errcode = pt_config_from_user(NULL, &config); in from_user_null()
48 ptu_int_eq(errcode, -pte_internal); in from_user_null()
50 errcode = pt_config_from_user(&config, NULL); in from_user_null()
51 ptu_int_eq(errcode, -pte_invalid); in from_user_null()
[all …]
H A Dptunit-sync.c2 * Copyright (c) 2014-2019, Intel Corporation
34 #include "intel-pt.h"
43 struct pt_config config; member
50 static struct ptunit_result sfix_init(struct sync_fixture *sfix) in sfix_init()
52 memset(sfix->buffer, 0xcd, sizeof(sfix->buffer)); in sfix_init()
54 memset(&sfix->config, 0, sizeof(sfix->config)); in sfix_init()
55 sfix->config.size = sizeof(sfix->config); in sfix_init()
56 sfix->config.begin = sfix->buffer; in sfix_init()
57 sfix->config.end = sfix->buffer + sizeof(sfix->buffer); in sfix_init()
62 static void sfix_encode_psb(uint8_t *pos) in sfix_encode_psb()
[all …]
H A Dptunit-time.c2 * Copyright (c) 2014-2019, Intel Corporation
31 #include "intel-pt.h"
40 struct pt_config config; member
53 static struct ptunit_result tfix_init(struct time_fixture *tfix) in tfix_init()
55 memset(&tfix->config, 0, sizeof(tfix->config)); in tfix_init()
56 tfix->config.size = sizeof(tfix->config); in tfix_init()
57 tfix->config.cpuid_0x15_eax = 2; in tfix_init()
58 tfix->config.cpuid_0x15_ebx = 1; in tfix_init()
59 tfix->config.mtc_freq = 4; in tfix_init()
61 pt_tcal_init(&tfix->tcal); in tfix_init()
[all …]
H A Dptunit-packet_decoder.c33 #include "intel-pt.h"
42 struct pt_config config; member
52 static struct ptunit_result tfix_init(struct test_fixture *tfix) in tfix_init()
54 struct pt_config *config; in tfix_init() local
58 config = &tfix->config; in tfix_init()
59 buffer = tfix->buffer; in tfix_init()
61 memset(buffer, 0, sizeof(tfix->buffer)); in tfix_init()
63 pt_config_init(config); in tfix_init()
64 config->begin = buffer; in tfix_init()
65 config->end = buffer + sizeof(tfix->buffer); in tfix_init()
[all …]
H A Dptunit-block_decoder.c33 #include "intel-pt.h"
42 struct pt_config config; member
52 static struct ptunit_result tfix_init(struct test_fixture *tfix) in tfix_init()
54 struct pt_config *config; in tfix_init() local
58 config = &tfix->config; in tfix_init()
59 buffer = tfix->buffer; in tfix_init()
61 memset(buffer, 0, sizeof(tfix->buffer)); in tfix_init()
63 pt_config_init(config); in tfix_init()
64 config->begin = buffer; in tfix_init()
65 config->end = buffer + sizeof(tfix->buffer); in tfix_init()
[all …]
H A Dptunit-insn_decoder.c33 #include "intel-pt.h"
42 struct pt_config config; member
52 static struct ptunit_result tfix_init(struct test_fixture *tfix) in tfix_init()
54 struct pt_config *config; in tfix_init() local
58 config = &tfix->config; in tfix_init()
59 buffer = tfix->buffer; in tfix_init()
61 memset(buffer, 0, sizeof(tfix->buffer)); in tfix_init()
63 pt_config_init(config); in tfix_init()
64 config->begin = buffer; in tfix_init()
65 config->end = buffer + sizeof(tfix->buffer); in tfix_init()
[all …]
H A Dptunit-encoder.c33 #include "intel-pt.h"
42 struct pt_config config; member
52 static struct ptunit_result tfix_init(struct test_fixture *tfix) in tfix_init()
54 struct pt_config *config; in tfix_init() local
58 config = &tfix->config; in tfix_init()
59 buffer = tfix->buffer; in tfix_init()
61 memset(buffer, 0, sizeof(tfix->buffer)); in tfix_init()
63 pt_config_init(config); in tfix_init()
64 config->begin = buffer; in tfix_init()
65 config->end = buffer + sizeof(tfix->buffer); in tfix_init()
[all …]
/freebsd/usr.sbin/nscd/
H A Dparser.c1 /*-
36 #include "config.h"
41 static void enable_cache(struct configuration *,const char *, int);
42 static struct configuration_entry *find_create_entry(struct configuration *,
44 static int get_number(const char *, int, int);
45 static enum cache_policy_t get_policy(const char *);
46 static int get_yesno(const char *);
47 static int check_cachename(const char *);
48 static void check_files(struct configuration *, const char *, int);
49 static voi
91 find_create_entry(struct configuration * config,const char * entry_name) find_create_entry() argument
115 enable_cache(struct configuration * config,const char * entry_name,int flag) enable_cache() argument
126 set_positive_time_to_live(struct configuration * config,const char * entry_name,int ttl) set_positive_time_to_live() argument
148 set_negative_time_to_live(struct configuration * config,const char * entry_name,int nttl) set_negative_time_to_live() argument
169 set_positive_confidence_threshold(struct configuration * config,const char * entry_name,int conf_thresh) set_positive_confidence_threshold() argument
186 set_negative_confidence_threshold(struct configuration * config,const char * entry_name,int conf_thresh) set_negative_confidence_threshold() argument
204 set_keep_hot_count(struct configuration * config,const char * entry_name,int count) set_keep_hot_count() argument
225 set_positive_policy(struct configuration * config,const char * entry_name,enum cache_policy_t policy) set_positive_policy() argument
241 set_negative_policy(struct configuration * config,const char * entry_name,enum cache_policy_t policy) set_negative_policy() argument
257 set_perform_actual_lookups(struct configuration * config,const char * entry_name,int flag) set_perform_actual_lookups() argument
273 set_suggested_size(struct configuration * config,const char * entry_name,int size) set_suggested_size() argument
292 check_files(struct configuration * config,const char * entry_name,int flag) check_files() argument
356 set_threads_num(struct configuration * config,int value) set_threads_num() argument
368 parse_config_file(struct configuration * config,const char * fname,char const ** error_str,int * error_line) parse_config_file() argument
[all...]
H A Dconfig.c1 /*-
40 #include "config.h"
56 static int configuration_entry_cmp(const void *, const void *);
57 static int configuration_entry_sort_cmp(const void *, const void *);
58 static int configuration_entry_cache_mp_sort_cmp(const void *, const void *);
59 static int configuration_entry_cache_mp_cmp(const void *, const void *);
60 static int configuration_entry_cache_mp_part_cmp(const void *, const void *);
61 static struct configuration_entry *create_configuration_entry(const char *,
67 static int
70 return (strcmp((*((struct configuration_entry **)e1))->name, in configuration_entry_sort_cmp()
[all …]
/freebsd/sys/dev/pci/
H A Dpci_iov_schema.c1 /*-
2 * Copyright (c) 2014-2015 Sandvine Inc.
52 static validate_func pci_iov_schema_validate_bool;
53 static validate_func pci_iov_schema_validate_string;
54 static validate_func pci_iov_schema_validate_uint;
55 static validate_func pci_iov_schema_validate_unicast_mac;
56 static validate_func pci_iov_schema_validate_vlan;
58 static default_validate_t pci_iov_validate_bool_default;
59 static default_validate_t pci_iov_validate_string_default;
60 static default_validate_t pci_iov_validate_uint_default;
[all …]
/freebsd/sys/arm/mv/
H A Dtimer.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (C) 2007-2008 MARVELL INTERNATIONAL LTD.
86 struct mv_timer_config* config; member
89 static struct resource_spec mv_timer_spec[] = {
92 { -1, 0 }
96 static struct ofw_compat_data mv_timer_compat[] = {
97 {"marvell,armada-380-timer", MV_NONE },
98 {"marvell,armada-xp-timer", MV_TMR | MV_WDT },
103 static struct mv_timer_softc *timer_softc = NULL;
[all …]
/freebsd/usr.bin/dpv/
H A Ddpv.c1 /*-
2 * Copyright (c) 2013-2016 Devin Teske <dteske@FreeBSD.org>
48 static uint8_t debug = FALSE;
51 static struct dpv_file_node *file_list = NULL;
52 static unsigned int nfiles = 0;
55 static uint8_t line_mode = FALSE;
56 static uint8_t no_overrun = FALSE;
57 static char *buf = NULL;
58 static int fd = -1;
59 static int output_type = DPV_OUTPUT_NONE;
[all …]
/freebsd/sys/contrib/openzfs/contrib/pam_zfs_key/
H A Dpam_zfs_key.c1 // SPDX-License-Identifier: BSD-3-Clause
48 static void
71 static const char PASSWORD_VAR_NAME[] = "pam_zfs_key_authtok";
72 static const char OLD_PASSWORD_VAR_NAME[] = "pam_zfs_key_oldauthtok";
74 static libzfs_handle_t *g_zfs;
76 static void destroy_pw(pam_handle_t *pamh, void *data, int errcode);
90 static int
100 for (int i = retries; i > 0; --i) { in try_lock()
110 static pw_password_t *
117 pw->len = len; in alloc_pw_size()
[all …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Dconfig_winreg.c3 * Copyright (c) 2003-2019, Jouni Malinen <j@w1.fi>
26 key_mgmt=WPA-PSK
34 #include "config.h"
50 static int wpa_config_read_blobs(struct wpa_config *config, HKEY hk) in wpa_config_read_blobs() argument
60 wpa_printf(MSG_DEBUG, "Could not open wpa_supplicant config " in wpa_config_read_blobs()
86 namelen = TNAMELEN - 1; in wpa_config_read_blobs()
91 datalen = sizeof(data) - 1; in wpa_config_read_blobs()
101 blob->name = os_strdup((char *) name); in wpa_config_read_blobs()
102 blob->data = os_memdup(data, datalen); in wpa_config_read_blobs()
103 if (blob->name == NULL || blob->data == NULL) { in wpa_config_read_blobs()
[all …]
H A Dconfig_file.c3 * Copyright (c) 2003-2019, Jouni Malinen <j@w1.fi>
19 #include "config.h"
26 #include "utils/config.h"
29 static int wpa_config_validate_network(struct wpa_ssid *ssid, int line) in wpa_config_validate_network()
33 if (ssid->passphrase) { in wpa_config_validate_network()
34 if (ssid->psk_set) { in wpa_config_validate_network()
42 if (ssid->disabled == 2) in wpa_config_validate_network()
43 ssid->p2p_persistent_group = 1; in wpa_config_validate_network()
45 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network()
46 !(ssid->pairwise_cipher & (WPA_CIPHER_CCMP | WPA_CIPHER_CCMP_256 | in wpa_config_validate_network()
[all …]
/freebsd/contrib/llvm-project/lld/MachO/
H A DDriver.cpp1 //===- Driver.cpp ---------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 #include "Config.h"
39 #include "llvm/Config/llvm-config.h"
65 std::unique_ptr<Configuration> macho::config; member in macho
68 static HeaderFileType getOutputType(const InputArgList &args) { in getOutputType()
69 // TODO: -r, -dylinker, -preload... in getOutputType()
74 switch (outputArg->getOption().getID()) { in getOutputType()
86 static DenseMap<CachedHashStringRef, StringRef> resolvedLibraries;
[all …]
/freebsd/contrib/tcp_wrappers/
H A Dtli.c6 * in static memory; tli structures are allocated from the heap.
20 static char sccsid[] = "@(#) tli.c 1.15 97/03/21 19:27:25";
56 static void tli_endpoints();
57 static struct netconfig *tli_transport();
58 static void tli_hostname();
59 static void tli_hostaddr();
60 static void tli_cleanup();
61 static char *tli_error();
62 static void tli_sink();
64 /* tli_host - look up endpoint addresses and install conversion methods */
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DDriver.cpp1 //===- Driver.cpp ---------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
19 // be harmful when you are doing cross-linking. Therefore, in LLD, we
23 //===----------------------------------------------------------------------===//
26 #include "Config.h"
53 #include "llvm/Config/llvm-config.h"
81 ConfigWrapper elf::config; member in elf
84 static void setConfigs(opt::InputArgList &args);
85 static void readConfigs(opt::InputArgList &args);
[all …]
/freebsd/contrib/libfido2/windows/
H A Drelease.ps11 # Copyright (c) 2021-2022 Yubico AB. All rights reserved.
2 # Use of this source code is governed by a BSD-style
4 # SPDX-License-Identifier: BSD-2-Clause
9 $Types = @('dynamic', 'static')
10 $Config = 'Release' variable
17 ./build.ps1 -Arch ${Arch} -Type ${Type} -Config ${Config}
23 New-Item -Type Directory `
24 "${OUTPUT}/pkg/${InstallPrefix}/${Config}/v${SDK}/${Type}"
28 Function Package-Headers() { in Package-Headers()
29 Copy-Item "${OUTPUT}\x64\dynamic\include" -Destination "${OUTPUT}\pkg" ` in Package-Headers()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp1 //===- ELFObjcopy.cpp -----------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
54 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection()
58 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection()
62 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred()
71 static Expected<uint64_t> getNewShfFlags(SectionFlag AllFlags, in getNewShfFlags()
96 static uint64_t getSectionFlagsPreserveMask(uint64_t OldFlags, in getSectionFlagsPreserveMask()
110 static void setSectionType(SectionBase &Sec, uint64_t Type) { in setSectionType()
111 // If Sec's type is changed from SHT_NOBITS due to --set-section-flags, in setSectionType()
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dhw.c1 // SPDX-License-Identifier: BSD-3-Clause-Clear
3 * Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
18 static u8 ath11k_hw_ipq8074_mac_from_pdev_id(int pdev_idx) in ath11k_hw_ipq8074_mac_from_pdev_id()
32 static u8 ath11k_hw_ipq6018_mac_from_pdev_id(int pdev_idx) in ath11k_hw_ipq6018_mac_from_pdev_id()
37 static void ath11k_hw_ipq8074_tx_mesh_enable(struct ath11k_base *ab, in ath11k_hw_ipq8074_tx_mesh_enable()
40 tcl_cmd->info2 |= FIELD_PREP(HAL_IPQ8074_TCL_DATA_CMD_INFO2_MESH_ENABLE, in ath11k_hw_ipq8074_tx_mesh_enable()
44 static void ath11k_hw_qcn9074_tx_mesh_enable(struct ath11k_base *ab, in ath11k_hw_qcn9074_tx_mesh_enable()
47 tcl_cmd->info3 |= FIELD_PREP(HAL_QCN9074_TCL_DATA_CMD_INFO3_MESH_ENABLE, in ath11k_hw_qcn9074_tx_mesh_enable()
51 static void ath11k_hw_wcn6855_tx_mesh_enable(struct ath11k_base *ab, in ath11k_hw_wcn6855_tx_mesh_enable()
54 tcl_cmd->info3 |= FIELD_PREP(HAL_QCN9074_TCL_DATA_CMD_INFO3_MESH_ENABLE, in ath11k_hw_wcn6855_tx_mesh_enable()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/wasm/
H A DWasmObjcopy.cpp1 //===- WasmObjcopy.cpp ---------
60 removeSections(const CommonConfig & Config,Object & Obj) removeSections() argument
112 handleArgs(const CommonConfig & Config,Object & Obj) handleArgs() argument
144 executeObjcopyOnBinary(const CommonConfig & Config,const WasmConfig &,object::WasmObjectFile & In,raw_ostream & Out) executeObjcopyOnBinary() argument
[all...]
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp1 //=== llvm-dwarfutil.cpp ---------
172 setConfigToAddNewDebugSections(objcopy::ConfigManager & Config,ObjectFile & ObjFile) setConfigToAddNewDebugSections() argument
259 objcopy::ConfigManager Config; saveSeparateDebugInfo() local
283 objcopy::ConfigManager Config; saveNonDebugInfo() local
320 addSectionsFromLinkedData(objcopy::ConfigManager & Config,ObjectFile & InputFile,DebugInfoBits & LinkedDebugInfoBits) addSectionsFromLinkedData() argument
365 objcopy::ConfigManager Config; saveSeparateLinkedDebugInfo() local
396 objcopy::ConfigManager Config; saveSingleLinkedDebugInfo() local
436 objcopy::ConfigManager Config; saveCopyOfFile() local
[all...]

12345678910>>...47