Home
last modified time | relevance | path

Searched +full:local +full:- +full:cap +full:- +full:size (Results 1 – 25 of 206) sorted by relevance

123456789

/freebsd/crypto/openssl/crypto/bio/
H A Dbss_dgram_pair.c2 * Copyright 2022-2025 The OpenSSL Project Authors. All Rights Reserved.
21 * Byte-wise ring buffer which supports pushing and popping blocks of multiple
26 size_t len; /* size of buffer allocation in bytes */
37 r->start = OPENSSL_malloc(nbytes); in ring_buf_init()
38 if (r->start == NULL) in ring_buf_init()
41 r->len = nbytes; in ring_buf_init()
42 r->idx[0] = r->idx[1] = r->count = 0; in ring_buf_init()
48 OPENSSL_free(r->start); in ring_buf_destroy()
49 r->start = NULL; in ring_buf_destroy()
50 r->len = 0; in ring_buf_destroy()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1 //===--- CGBlocks.cpp - Emit LLVM Code for declarations ---------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
81 static std::string getBlockCaptureStr(const CGBlockInfo::Capture &Cap,
98 for (auto &Cap : BlockInfo.SortedCaptures) { in getBlockDescriptorName() local
99 if (Cap.isConstantOrTrivial()) in getBlockDescriptorName()
102 Name += llvm::to_string(Cap.getOffset().getQuantity()); in getBlockDescriptorName()
104 if (Cap.CopyKind == Cap.DisposeKind) { in getBlockDescriptorName()
107 assert(Cap.CopyKind != BlockCaptureEntityKind::None && in getBlockDescriptorName()
[all …]
/freebsd/contrib/ncurses/ncurses/tty/
H A Dlib_mvcur.c2 * Copyright 2018-2022,2023 Thomas E. Dickey *
3 * Copyright 1998-2016,2017 Free Software Foundation, Inc. *
31 * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 *
33 * and: Thomas E. Dickey 1996-on *
52 ** 4.4BSD curses can't use cuu/cud/cuf/cub/hpa/vpa/tab/cbt for local
54 ** enough, it doesn't use its own hardware-scrolling routine to scroll up
55 ** destination lines for out-of-bounds addresses!
59 ** Compile with -DMAIN to build an interactive tester/timer for the movement
65 ** exercises the non-cup movement capabilities heavily. If you think you've
87 * over-biased toward using cup rather than local motions; if it is too
[all …]
/freebsd/contrib/elftoolchain/elfcopy/
H A Dsymbols.c1 /*-
2 * Copyright (c) 2007-2013 Kai Wang
37 ELFTC_VCSID("$Id: symbols.c 3520 2017-04-17 01:47:52Z kaiwang27 $");
47 Elf32_Sym *l32; /* 32bit local symbol */
49 Elf64_Sym *l64; /* 64bit local symbol */
65 size_t cap; /* buffer capacity */ member
72 struct strimpl l; /* local symbols */
153 /* Compiler generated local symbols that start with .L */ in is_local_label()
168 if (BIT_ISSET(ecp->v_rel, i)) in is_needed_symbol()
172 if (BIT_ISSET(ecp->v_grp, i)) in is_needed_symbol()
[all …]
/freebsd/lib/libutil/
H A Dlogin_cap.c1 /*-
26 * Low-level routines relating to the user capabilities database
46 * Manage a single static pointer for handling a local char* buffer,
198 arrayize(const char *str, const char *chars, int *size) in arrayize() argument
205 /* count the sub-strings */ in arrayize()
241 if (size) in arrayize()
242 *size = i; in arrayize()
258 free(lc->lc_style); in login_close()
259 free(lc->lc_class); in login_close()
260 free(lc->lc_cap); in login_close()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeEmitter.cpp1 //===--- ByteCodeEmitter.cpp - Instruction emitter for the VM ---*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
38 if (!FuncDecl->param_empty() && !FuncDecl->param_begin()) in compileFunc()
43 MD && MD->isLambdaStaticInvoker()) { in compileFunc()
47 // be a non-static member function, this (usually) requiring an in compileFunc()
51 const CXXRecordDecl *ClosureClass = MD->getParent(); in compileFunc()
52 assert(ClosureClass->captures_begin() == ClosureClass->captures_end()); in compileFunc()
53 if (ClosureClass->isGenericLambda()) { in compileFunc()
54 const CXXMethodDecl *LambdaCallOp = ClosureClass->getLambdaCallOperator(); in compileFunc()
[all …]
/freebsd/sys/amd64/vmm/
H A Dx86.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
69 * Compute ceil(log2(x)). Returns -1 if x is zero.
75 return (x == 0 ? -1 : order_base_2(x)); in log2()
118 * no multi-core or SMT. in x86_emulate_cpuid()
158 logical_cpus = MIN(0xFF, threads * cores - 1); in x86_emulate_cpuid()
206 * features are hardware-specific and exposing in x86_emulate_cpuid()
220 * - host TSC frequency is invariant in x86_emulate_cpuid()
221 * - host TSCs are synchronized across physical cpus in x86_emulate_cpuid()
241 * package, and L1 and L2 local to a core. in x86_emulate_cpuid()
[all …]
/freebsd/contrib/ofed/libmlx4/
H A Dverbs.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
43 #include "mlx4-abi.h"
61 snprintf(attr->fw_ver, sizeof attr->fw_ver, in mlx4_query_device()
90 mctx->core_clock.offset = resp.hca_core_clock_offset; in mlx4_query_device_ex()
91 mctx->core_clock.offset_valid = 1; in mlx4_query_device_ex()
98 snprintf(attr->orig_attr.fw_ver, sizeof attr->orig_attr.fw_ver, in mlx4_query_device_ex()
111 if (!ctx->hca_core_clock) in mlx4_read_clock()
112 return -EOPNOTSUPP; in mlx4_read_clock()
116 clockhi = be32toh(READL(ctx->hca_core_clock)); in mlx4_read_clock()
[all …]
/freebsd/sys/dts/arm/
H A Dsocfpga_arria10_socdk_sdmmc.dts1 /*-
6 * Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237
31 /dts-v1/;
36 compatible = "altr,socfpga-arria10", "altr,socfpga";
42 /* Local timer */
44 clock-frequency = <200000000>;
49 compatible = "arm,cortex-a9-global-timer";
52 clock-frequency = <200000000>;
63 clock-frequency = < 50000000 >;
68 num-slots = <1>;
[all …]
/freebsd/sys/contrib/device-tree/Bindings/input/
H A Diqs269a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jef
[all...]
H A Diqs626a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
19 - $ref: touchscreen/touchscreen.yaml#
31 "#address-cells":
34 "#size-cells":
37 azoteq,suspend-mode:
[all …]
/freebsd/contrib/wpa/src/ap/
H A Dieee802_11_eht.c3 * Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc.
71 if (he_oper_chwidth != -1) in ieee80211_eht_mcs_set_size()
116 mode = hapd->iface->current_mode; in hostapd_eid_eht_capab_len()
120 eht_cap = &mode->eht_capab[opmode]; in hostapd_eid_eht_capab_len()
121 if (!eht_cap->eht_supported) in hostapd_eid_eht_capab_len()
124 len += ieee80211_eht_mcs_set_size(mode->mode, hapd->iconf->op_class, in hostapd_eid_eht_capab_len()
125 hapd->iconf->he_oper_chwidth, in hostapd_eid_eht_capab_len()
126 mode->he_capab[opmode].phy_cap, in hostapd_eid_eht_capab_len()
127 eht_cap->phy_cap); in hostapd_eid_eht_capab_len()
128 len += ieee80211_eht_ppet_size(WPA_GET_LE16(&eht_cap->ppet[0]), in hostapd_eid_eht_capab_len()
[all …]
/freebsd/contrib/ofed/libirdma/
H A Dirdma_uverbs.c1 /*-
2 * SPDX-License-Identifier: GPL-2.0 or Linux-OpenIB
4 * Copyright (C) 2019 - 2023 Intel Corporation
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
65 * irdma_uquery_device_ex - query device attributes including extended properties
69 * @attr_size: size of extended device attribute struct
87 print_fw_ver(fw_ver, attr->orig_attr.fw_ver, sizeof(attr->orig_attr.fw_ver)); in irdma_uquery_device_ex()
93 * irdma_uquery_device - call driver to query device for max resources
108 print_fw_ver(fw_ver, attr->fw_ver, sizeof(attr->fw_ver)); in irdma_uquery_device()
[all …]
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dread_termcap.c2 * Copyright 2018-2021,2023 Thomas E. Dickey *
3 * Copyright 1998-2016,2017 Free Software Foundation, Inc. *
31 * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 *
33 * and: Thomas E. Dickey 1996-on *
65 #define TC_NOT_FOUND -1
66 #define TC_SYS_ERR -2
67 #define TC_REF_LOOP -3
68 #define TC_UNRESOLVED -4 /* this is not returned by BSD cgetent */
103 /*-
148 * database. 0 is returned on success, -1 on failure.
[all …]
H A DMKcodes.awk3 # Copyright 2007-2009,2010 Free Software Foundation, Inc. #
83 $1 ~ /^(cap|info)alias/ {next;}
115 print "alloc_array(NCURSES_CONST char ***value, const short *offsets, unsigned size)"
118 print " if ((*value = typeCalloc(NCURSES_CONST char *, size + 1)) != 0) {"
120 print " for (n = 0; n < size; ++n) {"
143 print "/* add local definition */"
/freebsd/usr.sbin/pciconf/
H A Dpciconf.853 normally only the super-user.
60 .Bd -literal
80 hex digits, followed by the sub-class and the interface bytes.
99 .Em multi-function
115 .Bd -literal
122 All fields retain the same definition as with the non-compact form.
143 .Bd -literal
144 window[1c] = type I/O Port, range 16, addr 0x5000-0x8fff, enabled
168 .Bd -literal
169 bar [10] = type Memory, range 32, base 0xda060000, size 131072, enabled
[all …]
/freebsd/contrib/ofed/libibverbs/examples/
H A Dud_pingpong.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
66 int size; member
85 .dlid = dest->lid, in pp_connect_ctx()
94 if (ibv_modify_qp(ctx->qp, &attr, IBV_QP_STATE)) { in pp_connect_ctx()
102 if (ibv_modify_qp(ctx->qp, &attr, in pp_connect_ctx()
109 if (dest->gid.global.interface_id) { in pp_connect_ctx()
112 ah_attr.grh.dgid = dest->gid; in pp_connect_ctx()
116 ctx->ah = ibv_create_ah(ctx->pd, &ah_attr); in pp_connect_ctx()
117 if (!ctx->ah) { in pp_connect_ctx()
[all …]
H A Duc_pingpong.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
65 int size; member
86 .dest_qp_num = dest->qpn, in pp_connect_ctx()
87 .rq_psn = dest->psn, in pp_connect_ctx()
90 .dlid = dest->lid, in pp_connect_ctx()
97 if (dest->gid.global.interface_id) { in pp_connect_ctx()
100 attr.ah_attr.grh.dgid = dest->gid; in pp_connect_ctx()
103 if (ibv_modify_qp(ctx->qp, &attr, in pp_connect_ctx()
115 if (ibv_modify_qp(ctx->qp, &attr, in pp_connect_ctx()
[all …]
H A Dsrq_pingpong.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
68 int size; member
89 for (i = 0; i < ctx->num_qp; ++i) { in pp_connect_ctx()
106 if (dest->gid.global.interface_id) { in pp_connect_ctx()
109 attr.ah_attr.grh.dgid = dest->gid; in pp_connect_ctx()
112 if (ibv_modify_qp(ctx->qp[i], &attr, in pp_connect_ctx()
130 if (ibv_modify_qp(ctx->qp[i], &attr, in pp_connect_ctx()
158 int sockfd = -1; in pp_client_exch_dest()
173 for (t = res; t; t = t->ai_next) { in pp_client_exch_dest()
[all …]
H A Drc_pingpong.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
73 int size; member
83 return use_ts ? ibv_cq_ex_to_cq(ctx->cq_s.cq_ex) : in pp_cq()
84 ctx->cq_s.cq; in pp_cq()
101 .dest_qp_num = dest->qpn, in pp_connect_ctx()
102 .rq_psn = dest->psn, in pp_connect_ctx()
107 .dlid = dest->lid, in pp_connect_ctx()
114 if (dest->gid.global.interface_id) { in pp_connect_ctx()
117 attr.ah_attr.grh.dgid = dest->gid; in pp_connect_ctx()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp1 //===--- CheckExprLifetime.cpp --------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
21 /// full-expression, and that's (probably) fine.
29 /// because the entity is allocated in a new-expression.
40 /// This is a mem-initializer: if it would extend a temporary (other than via
41 /// a default member initializer), the program is ill-formed.
54 /// for the purpose of lifetime-extending a temporary bound to a reference in
60 switch (Entity->getKind()) { in getEntityLifetime()
67 if (Entity->getParent()) in getEntityLifetime()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/socionext/
H A Duniphier-pro4.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
5 // Copyright (C) 2015-2016 Socionext Inc.
8 #include <dt-bindings/gpio/uniphier-gpio.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 compatible = "socionext,uniphier-pro4";
13 #address-cells = <1>;
14 #size-cells = <1>;
17 #address-cells = <1>;
18 #size-cells = <0>;
22 compatible = "arm,cortex-a9";
[all …]
/freebsd/sys/amd64/vmm/intel/
H A Dvmx.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
161 static SYSCTL_NODE(_hw_vmm_vmx, OID_AUTO, cap,
167 "HLT triggers a VM-exit");
171 0, "PAUSE triggers a VM-exit");
175 0, "WBINVD triggers a VM-exit");
212 static int pirvec = -1;
422 return "mce-during-entry"; in exit_reason_to_str()
426 return "apic-access"; in exit_reason_to_str()
448 return "apic-write"; in exit_reason_to_str()
[all …]
/freebsd/sys/contrib/dev/rtw88/
H A Dmain.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2018-2019 Realtek Corporation
231 .n_bitrates = ARRAY_SIZE(rtw_ratetable) - 4,
244 struct rtw_bf_info *bf_info = &rtwdev->bf_info; in rtw_dynamic_csi_rate()
248 if (rtwvif->bfee.role != RTW_BFEE_SU && in rtw_dynamic_csi_rate()
249 rtwvif->bfee.role != RTW_BFEE_MU) in rtw_dynamic_csi_rate()
252 rtw_chip_cfg_csi_rate(rtwdev, rtwdev->dm_info.min_rssi, in rtw_dynamic_csi_rate()
253 bf_info->cur_csi_rpt_rate, in rtw_dynamic_csi_rate()
256 if (new_csi_rate_idx != bf_info->cur_csi_rpt_rate) in rtw_dynamic_csi_rate()
257 bf_info->cur_csi_rpt_rate = new_csi_rate_idx; in rtw_dynamic_csi_rate()
[all …]
/freebsd/contrib/unbound/edns-subnet/
H A Daddrtree.h2 * edns-subnet/addrtree.h -- radix tree for edns subnet cache.
73 /** Size of tree in bytes */
78 * delfunc(addrnode->elem, addrtree->env) */
82 /** External function returning size of elem. Called as
83 * sizefunc(addrnode->elem) */
102 /** A node can have 0-2 edges, set to NULL for unused */
126 * Size of tree in bytes.
128 * @return size of tree in bytes.
134 * @param max_depth: Tree will cap keys to this length.
136 * @param sizefunc: f(element) returning the size of element.
[all …]

123456789