/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/NetBSD/ |
H A D | PlatformNetBSD.cpp | 1 //===-- PlatformNetBSD.cpp -------- 133 struct utsname un; GetStatus() local [all...] |
/freebsd/lib/libc/stdio/ |
H A D | xprintf_float.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2005 Poul-Henning Kamp 51 #include <un-namespace.h> 58 * conservative overestimate even for a 128-bit uintmax_t. 65 /* various globals ---------------------------------------------------*/ 68 /* padding function---------------------------------------------------*/ 71 n2 = (ep) - (p); \ 76 ret += __printf_pad(io, (len) - (n2 > 0 ? n2 : 0), (with)); \ 79 /* misc --------------------------------------------------------------*/ [all …]
|
H A D | vfprintf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 63 #include "un-namespace.h" 80 char *thousands_sep; /* locale-specific thousands separator */ 82 const char *grouping; /* locale-specific numeric grouping rules */ 99 gs->grouping = locale->grouping; in grouping_init() 100 gs->thousands_sep = locale->thousands_sep; in grouping_init() 101 gs->thousep_len = strlen(gs->thousands_sep); in grouping_init() 103 gs->nseps = gs->nrepeats = 0; in grouping_init() 104 gs->lead = ndigits; in grouping_init() [all …]
|
H A D | vfwprintf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 62 #include "un-namespace.h" 79 wchar_t thousands_sep; /* locale-specific thousands separator */ 80 const char *grouping; /* locale-specific numeric grouping rules */ 96 nconv = mbrtowc(&decpt, localeconv_l(locale)->decimal_point, MB_CUR_MAX, &mbs); in get_decpt() 97 if (nconv == (size_t)-1 || nconv == (size_t)-2) in get_decpt() 110 nconv = mbrtowc(&thousep, localeconv_l(locale)->thousands_sep, in get_thousep() 112 if (nconv == (size_t)-1 || nconv == (size_t)-2) in get_thousep() 126 gs->grouping = localeconv_l(locale)->grouping; in grouping_init() [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-domain.c | 26 #include "netdissect-stdinc.h" 127 for (bitp = cp + 1, b = bitlen; bitp < lim && b > 7; b -= 8, bitp++) { in blabel_print() 133 ND_PRINT("%02x", tc & (0xff << (8 - b))); in blabel_print() 137 ND_PRINT("%1x", ((tc >> 4) & 0x0f) & (0x0f << (4 - b))); in blabel_print() 150 return(-1); in labellen() 158 return(-1); in labellen() 161 return(-1); in labellen() 177 return(-1); in labellen() 181 /* print a <domain-name> */ 193 if ((l = labellen(ndo, cp)) == (u_int)-1) in fqdn_print() [all …]
|
H A D | print-nfs.c | 26 #include "netdissect-stdinc.h" 119 * was primarily BSD-derived. 130 { 18, "Cross-device link" }, /* EXDEV */ 138 { 30, "Read-only file system" }, /* EROFS */ 210 strlcpy(srcaddr, GET_IPADDR_STRING(ip->ip_src), sizeof(srcaddr)); in nfsaddr_print() 211 strlcpy(dstaddr, GET_IPADDR_STRING(ip->ip_dst), sizeof(dstaddr)); in nfsaddr_print() 215 strlcpy(srcaddr, GET_IP6ADDR_STRING(ip6->ip6_src), in nfsaddr_print() 217 strlcpy(dstaddr, GET_IP6ADDR_STRING(ip6->ip6_dst), in nfsaddr_print() 261 sa3->sa_modeset = GET_BE_U_4(dp); in parse_sattr3() 263 if (sa3->sa_modeset) { in parse_sattr3() [all …]
|
/freebsd/lib/libc/stdtime/ |
H A D | strptime.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 48 #include "un-namespace.h" 72 5 * ((year - 1) % 4) + in first_wday_of() 73 4 * ((year - 1) % 100) + in first_wday_of() 74 6 * ((year - in first_wday_of() [all...] |
/freebsd/usr.sbin/ppp/ |
H A D | link.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 33 #include <sys/un.h> 77 if (l->stats.gather) { in link_AddInOctets() 78 throughput_addin(&l->stats.total, n); in link_AddInOctets() 79 if (l->stats.parent) in link_AddInOctets() 80 throughput_addin(l->stats.parent, n); in link_AddInOctets() 87 if (l->stats.gather) { in link_AddOutOctets() 88 throughput_addout(&l->stats.total, n); in link_AddOutOctets() 89 if (l->stats.parent) in link_AddOutOctets() [all …]
|
/freebsd/contrib/libpcap/rpcapd/ |
H A D | daemon.c | 2 * Copyright (c) 2002 - 2003 62 #include "rpcap-protocol.h" 105 // and a platform-dependent (UN*X vs. Windows) identifier for the 108 // value for a pthread_t on UN*X. 170 uint8 type; // ContentType - will be 22, for Handshake 173 // This is *not* aligned on a 2-byte boundary; we just 180 #define TLS_RECORD_HEADER_LEN 5 // Don't use sizeof in case it's padded 201 * Maximum sizes for fixed-bit-width values. 251 // a TLS handshake message or a non-TLS rpcapd message. in daemon_serviceloop() 263 if (nrecv == -1) in daemon_serviceloop() [all …]
|
/freebsd/contrib/libpcap/ |
H A D | CHANGES | 5 Mark pcap_vasprintf() as printf-like. 16 Avoid casting hack for the Windows cleanup-on-exit routine. 21 Remove the unused pcap-rpcap-int.h header file. 23 Make some static variables thread-local; fixes issue #1174. 36 Avoid 32-bit unsigned integer overflow in USB captures. Fixes 49 Report {non-existent zone}/{interface} errors appropriately. 50 Allow attaching to links owned by a non-global zone. (Based on 55 in recent SDKs, including tagging pcap-namedb.h routines. 63 Report non-existent devices correctly. 89 CVE-2023-7256: Clean up sock_initaddress() and its callers to avoid [all …]
|
H A D | pcap.c | 39 #include <pcap-types.h> 67 #include "diag-control.h" 69 #include "thread-local.h" 72 #include "os-proto.h" 76 #include "pcap-dos.h" 79 #include "pcap-int.h" 84 #include "pcap-dag.h" 88 #include "pcap-septel.h" 92 #include "pcap-snf.h" 96 #include "pcap-tc.h" [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/QM/ |
H A D | fsl_qman.h | 3 � 1995-2003, 2004, 2005-2011 Freescale Semiconductor, Inc. 50 /* QMan s/w corenet portal, low-level i/face */ 53 e_QmPortalPCI = 0, /* PI index, cache-inhibited */ 54 e_QmPortalPCE, /* PI index, cache-enabled */ 55 e_QmPortalPVB /* valid-bit */ 59 e_QmPortalEqcrCCI = 0, /* CI index, cache-inhibited */ 60 e_QmPortalEqcrCCE /* CI index, cache-enabled */ 64 e_QmPortalDqrrCCI = 0, /* CI index, cache-inhibited */ 65 e_QmPortalDqrrCCE, /* CI index, cache-enabled */ 70 e_QmPortalMrCCI = 0, /* CI index, cache-inhibited */ [all …]
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | ChangeLog | 1 2008-07-14 Love Hörnquist Åstrand <lha@kth.se> 5 2008-06-21 Love Hörnquist Åstrand <lha@kth.se> 12 2008-05-23 Love Hörnquist Åstrand <lha@kth.se> 16 2008-04-29 Love Hörnquist Åstrand <lha@it.su.se> 18 * sel-lex.l: Use _hx509_sel_yyerror() instead of error_message(). 20 2008-04-20 Love Hörnquist Åstrand <lha@it.su.se> 22 * sel-lex.l: Include <config.h> 24 2008-04-17 Love Hörnquist Åstrand <lha@it.su.se> 26 * Makefile.am: Update make-proto usage. 28 2008-04-15 Love Hörnquist Åstrand <lha@it.su.se> [all …]
|
/freebsd/crypto/heimdal/ |
H A D | ChangeLog.2003 | 1 2003-12-19 Love Hörnquist Åstrand <lha@it.su.se> 9 2003-12-18 Love Hörnquist Åstrand <lha@it.su.se> 11 * kuser/kinit.c: make -9 work again 13 2003-12-17 Love Hörnquist Åstrand <lha@it.su.se> 20 2003-12-16 Love Hörnquist Åstrand <lha@it.su.se> 22 * lib/hdb/hdb.asn1: remove enforce-transited-policy, its no longer 25 2003-12-11 Love Hörnquist Åstrand <lha@it.su.se> 30 2003-12-07 Love Hörnquist Åstrand <lha@it.su.se> 39 * lib/krb5/fcache.c: internally export x{,un}lock and thus prefix 44 krb-cred [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | WasmObjectWriter.cpp | 1 //===- lib/MC/WasmObjectWriter.cpp - Wasm File Writer -------- [all...] |
/freebsd/sys/dev/pms/RefTisa/sallsdk/spc/ |
H A D | sainit.c | 2 *Copyright (c) 2014 PMC-Sierra, Inc. All rights reserved. 66 * \param usecsPerTick micro-seconds per tick for the LL layer 69 * \return -void- 105 memoryRequirement->agMemory[LLROOT_MEM_INDEX].singleElementLength = sizeof(agsaLLRoot_t); in saGetRequirements() 106 memoryRequirement->agMemory[LLROOT_MEM_INDEX].numElements = 1; in saGetRequirements() 107 memoryRequirement->agMemory[LLROOT_MEM_INDEX].totalLength = sizeof(agsaLLRoot_t); in saGetRequirements() 108 memoryRequirement->agMemory[LLROOT_MEM_INDEX].alignment = sizeof(void *); in saGetRequirements() 109 memoryRequirement->agMemory[LLROOT_MEM_INDEX].type = AGSA_CACHED_MEM; in saGetRequirements() 113 memoryRequirement->agMemory[LLROOT_MEM_INDEX].singleElementLength, in saGetRequirements() 114 memoryRequirement->agMemory[LLROOT_MEM_INDEX].totalLength, in saGetRequirements() [all …]
|
/freebsd/crypto/openssl/ssl/quic/ |
H A D | quic_ackm.c | 2 * Copyright 2022-2023 The OpenSSL Project Authors. All Rights Reserved. 46 * list non-monotonically, so packet numbers must be greater than or equal 64 return (unsigned long)pkt->pkt_num; in tx_pkt_info_hash() 70 if (a->pkt_num < b->pkt_num) in tx_pkt_info_compare() 71 return -1; in tx_pkt_info_compare() 72 if (a->pkt_num > b->pkt_num) in tx_pkt_info_compare() 80 ossl_list_tx_history_init(&h->packets); in tx_pkt_history_init() 81 h->watermark = 0; in tx_pkt_history_init() 82 h->highest_sent = 0; in tx_pkt_history_init() 84 h->map = lh_OSSL_ACKM_TX_PKT_new(tx_pkt_info_hash, tx_pkt_info_compare); in tx_pkt_history_init() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 1 //===- AddressSanitizer.cpp - memory error detector -----------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 16 //===----------------------------------------------------------------------===// 194 // Command-line flags. 197 "asan-kernel", cl::desc("Enable KernelAddressSanitizer instrumentation"), 201 "asan-recover", 202 cl::desc("Enable recovery mode (continue-after-error)."), 206 "asan-guard-against-version-mismatch", 210 // This flag may need to be replaced with -f[no-]asan-reads. [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | images | 2 #------------------------------------------------------------------------------ 4 # images: file(1) magic for image formats (see also "iff", and "c-lang" for 9 # merging several one- and two-line files into here. 13 # Targa - matches `povray', `ppmtotga' and `xv' outputs 19 # Note: called by DROID "Truevision TGA Bitmap" version 1.0 via PUID x-fmt/367 23 # or theoretically 2-128 reserved for use by Truevision or 128-255 may be used for developer applic… 32 # Targa image data (strength=70=110-40) before some Commodore disc image (strength=70=70+0 ./c64) l… 35 !:strength -40 37 #>(2.S-2) belong !0x28632943 52 >>>>>>>0 use tga-image [all …]
|
/freebsd/sys/dev/ath/ |
H A D | if_ath.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 44 * by the driver - eg, calls to ath_hal_gettsf32(). 132 * Only enable this if you're working on PS-POLL support. 240 static int ath_anicalinterval = 100; /* ANI calibration - 100 msec */ 269 switch (sc->sc_txqsetup &~ (1<<sc->sc_cabq->axq_qnum)) { in ath_legacy_attach_comp_func() 271 TASK_INIT(&sc->sc_txtask, 0, ath_tx_proc_q0, sc); in ath_legacy_attach_comp_func() 274 TASK_INIT(&sc->sc_txtask, 0, ath_tx_proc_q0123, sc); in ath_legacy_attach_comp_func() 277 TASK_INIT(&sc->sc_txtask, 0, ath_tx_proc, sc); in ath_legacy_attach_comp_func() [all …]
|
/freebsd/sys/dev/mxge/ |
H A D | if_mxge.c | 2 SPDX-License-Identifier: BSD-2-Clause 4 Copyright (c) 2006-2013, Myricom Inc. 161 device_set_desc(dev, "Myri10G-PCIE-8A"); in mxge_probe() 164 device_set_desc(dev, "Myri10G-PCIE-8B"); in mxge_probe() 167 device_set_desc(dev, "Myri10G-PCIE-8??"); in mxge_probe() 184 sc->wc = 1; in mxge_enable_wc() 185 len = rman_get_size(sc->mem_res); in mxge_enable_wc() 186 err = pmap_change_attr((vm_offset_t) sc->sram, in mxge_enable_wc() 189 device_printf(sc->dev, "pmap_change_attr failed, %d\n", in mxge_enable_wc() 191 sc->wc = 0; in mxge_enable_wc() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Format/ |
H A D | Format.h | 1 //===--- Format.h - Format C++ code -----------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 116 /// {-1, 93463, "world"}, 126 /// {-1, 93463, "world"}, 138 /// As of clang-format 15 this option only applied to arrays with equal 148 /// - None 149 /// - Consecutive 150 /// - AcrossEmptyLines [all …]
|
/freebsd/sys/dev/iwm/ |
H A D | if_iwmreg.h | 10 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 31 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 35 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 73 * BEGIN iwl-csr.h 81 * low power states due to driver-invoked device resets 82 * (e.g. IWM_CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes. 95 #define IWM_CSR_INT_COALESCING (0x004) /* accum ints, 32-usec units */ 109 * 31-16: Reserved 110 * 15- [all...] |
/freebsd/sys/dev/iwx/ |
H A D | if_iwxreg.h | 1 /*- 2 * SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 7 /*- 8 * Based on BSD-licensed source modules in the Linux iwlwifi driver, 19 * Copyright(c) 2018 - 2019 Intel Corporation 33 * Copyright(c) 2018 - 2019 Intel Corporation 71 * enum iwx_context_info_flags - Context information control flags 77 * exponent, the actual size is 2**value, valid sizes are 8-2048. 80 * default is short format - not supported by the driver) 114 * struct iwx_context_info_version - version structure [all …]
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | hsi_struct_def.h | 1 /*- 34 * Copyright(c) 2001-2025, Broadcom. All rights reserved. The 71 * * 0x0-0xFFF8 - The function ID 72 * * 0xFFF8-0xFFFC, 0xFFFE - Reserved for internal processors 73 * * 0xFFFD - Reserved for user-space HWRM interface 74 * * 0xFFFF - HWRM 122 /* Engine CKV - The Alias key EC curve and ECC public key information. */ 124 /* Engine CKV - Initialization vector. */ 126 /* Engine CKV - Authentication tag. */ 128 /* Engine CKV - The encrypted data. */ [all …]
|