Home
last modified time | relevance | path

Searched +full:x +full:- +full:size (Results 1 – 25 of 1109) sorted by relevance

12345678910>>...45

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlist.h1 //===-- list.h --------------------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
18 // should be called on all non-zero-initialized objects before using.
24 Current = Current->Next;
35 bool empty() const { return Size == 0; } in empty()
36 uptr size() const { return Size; } in size() function
45 Size = 0; in clear()
60 uptr Size = 0;
66 if (Size == 0) { in checkConsistency()
[all …]
/freebsd/sys/kern/
H A Dsubr_mchain.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
15 * 3. Neither the name of the author nor the names of any co-contributors
63 m->m_len = 0; in mb_init()
72 mbp->mb_top = mbp->mb_cur = m; in mb_initm()
73 mbp->mb_mleft = M_TRAILINGSPACE(m); in mb_initm()
79 if (mbp->mb_top) { in mb_done()
80 m_freem(mbp->mb_top); in mb_done()
81 mbp->mb_top = NULL; in mb_done()
90 m = mbp->mb_top; in mb_detach()
[all …]
/freebsd/contrib/libfido2/src/
H A Dtpm.c3 * Use of this source code is governed by a BSD-style
5 * SPDX-License-Identifier: BSD-2-Clause
44 uint16_t size; /* sizeof(body) */ in PACKED_TYPE()
51 uint16_t size; /* sizeof(body) */
58 uint16_t size; /* sizeof(alg) + sizeof(body) */
88 uint16_t size; /* sizeof(body) */
95 uint16_t size; /* sizeof(body) */
102 tpm_es256_coord_t x;
152 int ok = -1;
154 if ((dgst->size = sizeof(dgst->body)) != SHA_DIGEST_LENGTH ||
[all …]
/freebsd/crypto/krb5/src/lib/crypto/builtin/aes/
H A Dbrg_types.h2 ---------------------------------------------------------------------------
3 Copyright (c) 1998-2013, Brian Gladman, Worcester, UK. All rights reserved.
17 ---------------------------------------------------------------------------
43 /* define unsigned 8-bit type if not available in stdint.h */
48 /* define unsigned 16-bit type if not available in stdint.h */
53 /* define unsigned 32-bit type if not available in stdint.h and define the
58 # define li_32(h) 0x##h##u
63 # define li_32(h) 0x##h##ul
68 # error This code needs 32-bit data types, which Cray machines do not provide
70 # error Please define uint32_t as a 32-bit unsigned integer type in brg_types.h
[all …]
/freebsd/tools/regression/fsx/
H A Dfsx.c2 * Copyright (c) 1998-2001 Apple Computer, Inc. All rights reserved.
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
27 * Rewrite and enhancements 1998-2001 Conrad Minshall -- conrad@mac.com
31 * Small changes to work under Linux -- davej@suse.de
35 * Checks for mmap last-page zero fill.
37 * Updated license to APSL 2.0, 2004/7/27 - Jordan Hubbard
108 long simulatedopcount = 0; /* -b flag */
109 int closeprob = 0; /* -c flag */
110 int invlprob = 0; /* -i flag */
111 int debug = 0; /* -d flag */
[all …]
/freebsd/tools/test/stress2/misc/
H A Dumountf2.sh31 # Test problems with "umount -f and fsx. Results in a "KDB: enter: watchdog timeout"
36 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
41 mycc -o /tmp/fsx -O2 /tmp/fsx.c || exit 1
42 rm -f /tmp/fsx.c
48 mdconfig -l | grep md$mdstart > /dev/null && mdconfig -d -u $mdstart
50 mdconfig -a -t vnode -f $D -u $mdstart
55 /tmp/fsx -S $i -q $mntpoint/xxx$i > /dev/null &
58 umount -f $mntpoint &
61 pgrep -q fsx || break
63 if pgrep -q fsx; then
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz_math_impl.h1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
49 const unsigned ncols = rr->rr_cols; in raidz_rec_q_coeff()
50 const unsigned x = tgtidx[TARGET_X]; in raidz_rec_q_coeff() local
52 coeff[MUL_Q_X] = gf_exp2(255 - (ncols - x - 1)); in raidz_rec_q_coeff()
58 const unsigned ncols = rr->rr_cols; in raidz_rec_r_coeff()
59 const unsigned x = tgtidx[TARGET_X]; in raidz_rec_r_coeff() local
61 coeff[MUL_R_X] = gf_exp4(255 - (ncols - x - 1)); in raidz_rec_r_coeff()
67 const unsigned ncols = rr->rr_cols; in raidz_rec_pq_coeff()
68 const unsigned x = tgtidx[TARGET_X]; in raidz_rec_pq_coeff() local
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/db/
H A Dh_lfsr.c1 /*-
52 *cur ^= (-lsb) & 0xB400u; in next()
83 key.size = (len & 0xff) + 1; in main()
85 memset(kb, c, key.size); in main()
86 val.size = (next(&len) & 0xff) + 1; in main()
87 switch ((*db->put)(db, &key, &val, R_NOOVERWRITE)) { in main()
89 DPRINTF("put %zu %zu %#x\n", in main()
90 key.size, val.size, c); in main()
92 case -1: in main()
93 err(EXIT_FAILURE, "put error %zu %zu %#x", in main()
[all …]
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dsz.h10 * sz module: Size computations.
15 * s, sz: Size
16 * u: Usable size
20 * interpret function names. E.g. sz_psz2ind converts page size to page size
21 * index; sz_sa2u converts a (size, alignment) allocation request to the usable
22 * size that would result from such an allocation.
25 /* Page size index type. */
28 /* Size class index type. */
43 * size classe
57 pszind_t x = lg_floor((psz<<1)-1); sz_psz2ind() local
111 size_t x = lg_floor((psz<<1)-1); sz_psz2u() local
121 sz_size2index_compute(size_t size) sz_size2index_compute() argument
137 szind_t x = lg_floor((size<<1)-1); sz_size2index_compute() local
155 sz_size2index_lookup(size_t size) sz_size2index_lookup() argument
164 sz_size2index(size_t size) sz_size2index() argument
211 sz_s2u_compute(size_t size) sz_s2u_compute() argument
228 size_t x = lg_floor((size<<1)-1); sz_s2u_compute() local
239 sz_s2u_lookup(size_t size) sz_s2u_lookup() argument
251 sz_s2u(size_t size) sz_s2u() argument
263 sz_sa2u(size_t size,size_t alignment) sz_sa2u() argument
[all...]
/freebsd/contrib/file/magic/Magdir/
H A Djavascript2 #------------------------------------------------------------------------------
69 >8 lelong x \b, version %d
83 >>>>0 ulelong^0xC0DE0000 x v8 bytecode, external reference table size: %u bytes,
86 >>>>8 ulelong x source size: %u bytes,
87 >>>>12 ulelong x cpu features: %#08X,
88 >>>>16 ulelong x flag hash: %#08X,
89 >>>>20 ulelong x %u reservations,
90 >>>>28 ulelong x payload size: %u bytes,
91 >>>>32 ulelong x checksum1: %#08X,
92 >>>>36 ulelong x checksum2: %#08X
[all …]
H A Dcompress1 #------------------------------------------------------------------------------
3 # compress: file(1) magic for pure-compression formats (no archives)
13 !:mime application/x-compress
17 >2 byte&0x1f x %d bits
19 # gzip (GNU zip, not to be confused with Info-ZIP or PKWARE zip archiver)
25 # * Produce shorter output - notably, only report compression methods
27 # Note: find defs -iname '*.trid.xml' -exec grep -q '<Bytes>1F8B08' {} \; -ls
30 # KPR KOffice/Calligra KPresenter application/x-kpresenter
31 # KPT KOffice/Calligra KPresenter template? application/x-kpresenter
33 # SAV FarCry (demo) saved game http://www.farcry-thegame.com
[all …]
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dt4.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2009-2013 Chelsio, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
44 #define QID(x) ((x) << QID_SHIF argument
48 PIDX(x) global() argument
53 INGRESSQID(x) global() argument
56 TIMERREG(x) global() argument
59 SEINTARM(x) global() argument
62 CIDXINC(x) global() argument
213 G_CQE_QPID(x) global() argument
214 V_CQE_QPID(x) global() argument
218 G_CQE_SWCQE(x) global() argument
219 V_CQE_SWCQE(x) global() argument
223 G_CQE_STATUS(x) global() argument
224 V_CQE_STATUS(x) global() argument
228 G_CQE_TYPE(x) global() argument
229 V_CQE_TYPE(x) global() argument
233 G_CQE_OPCODE(x) global() argument
234 V_CQE_OPCODE(x) global() argument
236 SW_CQE(x) global() argument
237 CQE_QPID(x) global() argument
238 CQE_TYPE(x) global() argument
239 SQ_TYPE(x) global() argument
240 RQ_TYPE(x) global() argument
241 CQE_STATUS(x) global() argument
242 CQE_OPCODE(x) global() argument
244 CQE_SEND_OPCODE(x) global() argument
250 CQE_LEN(x) global() argument
253 CQE_WRID_STAG(x) global() argument
254 CQE_WRID_MSN(x) global() argument
257 CQE_WRID_SQ_IDX(x) global() argument
258 CQE_WRID_FR_STAG(x) global() argument
261 CQE_WRID_HI(x) global() argument
262 CQE_WRID_LOW(x) global() argument
263 CQE_DRAIN_COOKIE(x) global() argument
268 G_CQE_GENBIT(x) global() argument
269 V_CQE_GENBIT(x) global() argument
273 G_CQE_OVFBIT(x) global() argument
277 G_CQE_IQTYPE(x) global() argument
280 G_CQE_TS(x) global() argument
282 CQE_OVFBIT(x) global() argument
283 CQE_GENBIT(x) global() argument
284 CQE_TS(x) global() argument
325 u16 size; global() member
353 u16 size; global() member
558 u16 size; /* including status page */ global() member
[all...]
/freebsd/contrib/smbfs/lib/smb/
H A Dmbuf.c16 * 4. Neither the name of the author nor the names of any co-contributors
61 m->m_maxlen = len; in m_get()
62 m->m_data = M_TOP(m); in m_get()
79 m = m0->m_next; in m_freem()
92 len += m->m_len; in m_totlen()
93 m = m->m_next; in m_totlen()
106 if (m0->m_next == NULL) { in m_lineup()
114 len = m0->m_len; in m_lineup()
115 bcopy(m0->m_data, dp, len); in m_lineup()
117 m = m0->m_next; in m_lineup()
[all …]
/freebsd/usr.sbin/crunch/crunchide/
H A Dexec_elf32.c1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
63 #define xewtoh(x) ((data == ELFDATA2MSB) ? be32toh(x) : le32toh(x)) argument
64 #define htoxew(x) ((data == ELFDATA2MSB) ? htobe32(x) : htole32(x)) argument
65 #define wewtoh(x) ((data == ELFDATA2MSB) ? be32toh(x) : le32toh(x)) argument
66 #define htowew(x) ((data == ELFDATA2MSB) ? htobe32(x) : htole32(x)) argument
69 #define xewtoh(x) ((data == ELFDATA2MSB) ? be64toh(x) : le64toh(x)) argument
70 #define htoxew(x) ((data == ELFDATA2MSB) ? htobe64(x) : htole64(x)) argument
72 #define wewtoh(x) ((data == ELFDATA2MSB) ? be32toh(x) : le32toh(x)) argument
73 #define htowew(x) ((data == ELFDATA2MSB) ? htobe32(x) : htole32(x)) argument
[all …]
/freebsd/contrib/ofed/libcxgb4/
H A Dt4.h2 * Copyright (c) 2006-2016 Chelsio, Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
17 * - Redistributions in binary form must reproduce the above
54 #define ROUND_UP(x, n) (((x) + (n) - 1u) & ~((n) - 1u)) argument
55 #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
82 #define T4_MAX_EQ_SIZE (65520 - T4_EQ_STATUS_ENTRIES)
83 #define T4_MAX_IQ_SIZE (65520 - 1)
84 #define T4_MAX_RQ_SIZE (8192 - T4_EQ_STATUS_ENTRIES)
85 #define T4_MAX_SQ_SIZE (T4_MAX_EQ_SIZE - 1)
86 #define T4_MAX_QP_DEPTH (T4_MAX_RQ_SIZE - 1)
[all …]
/freebsd/usr.bin/ipcs/
H A Dipc.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
68 #define SHMINFO_XVEC X(shmmax, sizeof(u_long)) \
69 X(shmmin, sizeof(u_long)) \
70 X(shmmni, sizeof(u_long)) \
71 X(shmseg, sizeof(u_long)) \
72 X(shmall, sizeof(u_long))
74 #define SEMINFO_XVEC X(semmni, sizeof(int)) \
75 X(semmns, sizeof(int)) \
76 X(semmnu, sizeof(int)) \
[all …]
/freebsd/usr.sbin/bluetooth/btpand/
H A Dbnep.c3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
92 if (pkt->len < 1) in bnep_recv()
95 type = pkt->ptr[0]; in bnep_recv()
100 if (pkt->len < (ETHER_ADDR_LEN * 2) + ETHER_TYPE_LEN) { in bnep_recv()
101 log_debug("dropped short packet (type 0x%2.2x)", type); in bnep_recv()
105 pkt->dst = pkt->ptr; in bnep_recv()
107 pkt->src = pkt->ptr; in bnep_recv()
109 pkt->type = pkt->ptr; in bnep_recv()
114 len = bnep_recv_control(pkt->chan, pkt->ptr, pkt->len, false); in bnep_recv()
[all …]
/freebsd/tools/tools/indent_wrapper/
H A Dindent_wrapper.c1 /*-
66 size_t size = sizeof(*pb) + (2 * BLOCK_SIZE); in alloc_block() local
68 pb = malloc(size); in alloc_block()
71 memset(pb, 0, size); in alloc_block()
72 pb->data = (void *)(pb + 1); in alloc_block()
73 pb->mask = pb->data + BLOCK_SIZE; in alloc_block()
74 pb->length = BLOCK_SIZE; in alloc_block()
84 return (-1); in write_block()
87 if (write(fd, ptr->data, ptr->length) != ptr->length) in write_block()
88 return (-1); in write_block()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dbitops.h1 /*-
5 * Copyright (c) 2013-2017 Mellanox Technologies, Ltd.
44 #define BITMAP_LAST_WORD_MASK(n) (~0UL >> (BITS_PER_LONG - (n)))
46 #define BIT_MASK(nr) (1UL << ((nr) & (BITS_PER_LONG - 1)))
48 #define GENMASK(h, l) (((~0UL) >> (BITS_PER_LONG - (h) - 1)) & ((~0UL) << (l)))
49 #define GENMASK_ULL(h, l) (((~0ULL) >> (BITS_PER_LONG_LONG - (h) - 1)) & ((~0ULL) << (l)))
54 #define hweight8(x) bitcount((uint8_t)(x)) argument
55 #define hweight16(x) bitcount16(x) argument
56 #define hweight32(x) bitcount32(x) argument
57 #define hweight64(x) bitcount64(x) argument
[all …]
/freebsd/usr.sbin/virtual_oss/virtual_oss/
H A Deq.c1 /*-
42 size_t x; in vclient_tx_equalizer() local
44 f_size = pvc->profile->tx_filter_size; in vclient_tx_equalizer()
48 channels = pvc->channels; in vclient_tx_equalizer()
56 offset = pvc->tx_filter_offset; in vclient_tx_equalizer()
57 delta = f_size - offset; in vclient_tx_equalizer()
62 for (x = 0; x != channels; x++) { in vclient_tx_equalizer()
63 f_data = pvc->profile->tx_filter_data[x]; in vclient_tx_equalizer()
68 pvc->tx_filter_in[x][y + offset] = src[x + y * channels]; in vclient_tx_equalizer()
69 src[x + y * channels] = pvc->tx_filter_out[x][y + offset]; in vclient_tx_equalizer()
[all …]
/freebsd/sys/dev/qlxgbe/
H A Dql_ioctl.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2013-2016 Qlogic Corporation
55 uint32_t size; member
63 uint32_t size; member
149 uint32_t tx_state_offset;/* size = sizeof (qla_drvr_state_tx_t) * num_tx_rings */
150 uint32_t rx_state_offset;/* size = sizeof (qla_drvr_state_rx_t) * num_rx_rings */
151 uint32_t sds_state_offset;/* size = sizeof (qla_drvr_state_sds_t) * num_sds_rings */
154 uint32_t txr_size; /* size of each tx ring in bytes */
156 uint32_t txr_offset; /* start of tx ring [0 - #rings] content */
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interface_java.cpp1 //===-- tsan_interface_java.cpp -------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
41 if (!jctx || addr < jctx->heap_begin || in JavaHeapBlock()
42 addr >= jctx->heap_begin + jctx->heap_size) in JavaHeapBlock()
44 for (uptr p = RoundDown(addr, kMetaShadowCell); p >= jctx->heap_begin; in JavaHeapBlock()
45 p -= kMetaShadowCell) { in JavaHeapBlock()
46 MBlock *b = ctx->metamap.GetBlock(p); in JavaHeapBlock()
49 if (p + b->siz <= addr) in JavaHeapBlock()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRMemoryMap.cpp1 //===-- IRMemoryMap.cpp ---------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
25 m_process_wp = target_sp->GetProcessSP(); in IRMemoryMap()
38 if (iter->second.m_leak) in ~IRMemoryMap()
41 Free(iter->first, err); in ~IRMemoryMap()
46 lldb::addr_t IRMemoryMap::FindSpace(size_t size) { in FindSpace() argument
62 const bool process_is_alive = process_sp && process_sp->IsAlive(); in FindSpace()
65 if (size == 0) in FindSpace()
68 if (process_is_alive && process_sp->CanJIT()) { in FindSpace()
[all …]
/freebsd/sys/contrib/ena-com/
H A Dena_plat.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 2015-2023 Amazon.com, Inc. or its affiliates.
139 const __typeof(((type *)0)->member) *__p = (ptr); \
140 (type *)((uintptr_t)__p - offsetof(type, member)); \
144 ena_log((ctx)->dmadev, level, "%s() [TID:%d]: " \
145 fmt, __func__, curthread->td_tid, ##args)
156 #define unlikely(x) __predict_false(!!(x)) argument
157 #define likely(x) __predict_true(!!(x)) argument
163 #define IS_ERR_VALUE(x) unlikely((x) <= (unsigned long)MAX_ERRNO) argument
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntervalMap.h1 //===- llvm/ADT/IntervalMap.h - A sorted interval map --------
272 erase(unsigned i,unsigned j,unsigned Size) erase() argument
279 erase(unsigned i,unsigned Size) erase() argument
286 shift(unsigned i,unsigned Size) shift() argument
295 transferToLeftSib(unsigned Size,NodeBase & Sib,unsigned SSize,unsigned Count) transferToLeftSib() argument
306 transferToRightSib(unsigned Size,NodeBase & Sib,unsigned SSize,unsigned Count) transferToRightSib() argument
319 adjustFromLeftSib(unsigned Size,NodeBase & Sib,unsigned SSize,int Add) adjustFromLeftSib() argument
515 unsigned size() const { return pip.getInt() + 1; } size() function
582 findFrom(unsigned i,unsigned Size,KeyT x) findFrom() argument
597 safeFind(unsigned i,KeyT x) safeFind() argument
611 safeLookup(KeyT x,ValT NotFound) safeLookup() argument
630 insertFrom(unsigned & Pos,unsigned Size,KeyT a,KeyT b,ValT y) insertFrom() argument
717 findFrom(unsigned i,unsigned Size,KeyT x) findFrom() argument
731 safeFind(unsigned i,KeyT x) safeFind() argument
743 safeLookup(KeyT x) safeLookup() argument
752 insert(unsigned i,unsigned Size,NodeRef Node,KeyT Stop) insert() argument
778 unsigned size; global() member
800 unsigned size(unsigned Level) const { return path[Level].size; } size() function
850 setSize(unsigned Level,unsigned Size) setSize() argument
860 setRoot(void * Node,unsigned Size,unsigned Offset) setRoot() argument
1172 find(KeyT x) find() argument
1178 find(KeyT x) find() argument
1202 treeSafeLookup(KeyT x,ValT NotFound) treeSafeLookup() argument
1221 unsigned size[Nodes]; branchRoot() local
1262 unsigned Size[Nodes]; splitRoot() local
1484 find(KeyT x) find() argument
1494 advanceTo(KeyT x) advanceTo() argument
1509 pathFillFind(KeyT x) pathFillFind() argument
1523 treeFind(KeyT x) treeFind() argument
1533 treeAdvanceTo(KeyT x) treeAdvanceTo() argument
1627 setValueUnchecked(ValT x) setValueUnchecked() argument
1765 setValue(ValT x) setValue() argument
1840 unsigned Size = IM.rootLeaf().insertFrom(P.leafOffset(), IM.rootSize, a, b, y); insert() local
1899 unsigned Size = P.leafSize(); treeInsert() local
2205 advanceTo(KeyType x) advanceTo() argument
[all...]

12345678910>>...45