Home
last modified time | relevance | path

Searched refs:swap (Results 1 – 25 of 1554) sorted by relevance

12345678910>>...63

/freebsd/contrib/netbsd-tests/sbin/resize_ffs/
H A Dt_grow_swapped.sh40 test_case grow_16M_v0_4096 resize_ffs 4096 512 32768 131072 0 28 swap
41 test_case grow_16M_v0_8192 resize_ffs 8192 1024 32768 131072 0 28 swap
42 test_case grow_16M_v0_16384 resize_ffs 16384 2048 32768 131072 0 29 swap
43 test_case grow_16M_v0_32768 resize_ffs 32768 4096 32768 131072 0 28 swap
44 test_case grow_16M_v0_65536 resize_ffs 65536 8192 32768 131072 0 26 swap
46 test_case grow_24M_v0_4096 resize_ffs 4096 512 49152 65536 0 41 swap
47 test_case grow_24M_v0_8192 resize_ffs 8192 1024 49152 65536 0 42 swap
48 test_case grow_24M_v0_16384 resize_ffs 16384 2048 49152 65536 0 43 swap
49 test_case grow_24M_v0_32768 resize_ffs 32768 4096 49152 65536 0 42 swap
50 test_case grow_24M_v0_65536 resize_ffs 65536 8192 49152 65536 0 38 swap
[all …]
H A Dt_shrink_swapped.sh38 test_case shrink_24M_16M_v0_4096 resize_ffs 4096 512 49152 32768 0 41 swap
39 test_case shrink_24M_16M_v0_8192 resize_ffs 8192 1024 49152 32768 0 42 swap
40 test_case shrink_24M_16M_v0_16384 resize_ffs 16384 2048 49152 32768 0 43 swap
41 test_case shrink_24M_16M_v0_32768 resize_ffs 32768 4096 49152 32768 0 42 swap
42 test_case shrink_24M_16M_v0_65536 resize_ffs 65536 8192 49152 32768 0 38 swap
43 test_case shrink_32M_24M_v0_4096 resize_ffs 4096 512 65536 49152 0 55 swap
44 test_case shrink_32M_24M_v0_8192 resize_ffs 8192 1024 65536 49152 0 56 swap
45 test_case shrink_32M_24M_v0_16384 resize_ffs 16384 2048 65536 49152 0 58 swap
46 test_case shrink_32M_24M_v0_32768 resize_ffs 32768 4096 65536 49152 0 56 swap
47 test_case_xfail shrink_32M_24M_v0_65536 "PR bin/44204" resize_ffs 65536 8192 65536 49152 0 51 swap
[all …]
/freebsd/contrib/file/src/
H A Delfclass.h32 swap = (u.c[sizeof(int32_t) - 1] + 1) != elfhdr.e_ident[EI_DATA];
34 type = elf_getu16(swap, elfhdr.e_type);
39 phnum = elf_getu16(swap, elfhdr.e_phnum);
43 if (dophn_core(ms, clazz, swap, fd,
44 CAST(off_t, elf_getu(swap, elfhdr.e_phoff)), phnum,
45 CAST(size_t, elf_getu16(swap, elfhdr.e_phentsize)),
52 phnum = elf_getu16(swap, elfhdr.e_phnum);
55 shnum = elf_getu16(swap, elfhdr.e_shnum);
58 if (dophn_exec(ms, clazz, swap, fd,
59 CAST(off_t, elf_getu(swap, elfhdr.e_phoff)), phnum,
[all …]
H A Dreadelf.c93 getu16(int swap, uint16_t value) in getu16() argument
100 if (swap) { in getu16()
112 getu32(int swap, uint32_t value) in getu32() argument
119 if (swap) { in getu32()
133 getu64(int swap, uint64_t value) in getu64() argument
140 if (swap) { in getu64()
157 #define elf_getu16(swap, value) getu16(swap, value) argument
158 #define elf_getu32(swap, value) getu32(swap, value) argument
159 #define elf_getu64(swap, value) getu64(swap, value) argument
168 ? elf_getu32(swap, sh32.sh_size) \
[all …]
/freebsd/crypto/openssl/crypto/perlasm/
H A Dcbc.pl35 local($name,$enc_func,$dec_func,$swap,$iv_off,$enc_off,$p1,$p2,$p3)=@_;
126 &bswap("eax") if $swap;
127 &bswap("ebx") if $swap;
137 &bswap("eax") if $swap;
138 &bswap("ebx") if $swap;
196 &bswap("eax") if $swap;
197 &bswap("ebx") if $swap;
207 &bswap("eax") if $swap;
208 &bswap("ebx") if $swap;
229 &bswap("eax") if $swap;
[all …]
/freebsd/sys/contrib/openzfs/cmd/zstream/
H A Dzstream_fletcher4.c55 fletcher_4_incremental(boolean_t swap, void *buff, size_t size, void *cksum) in fletcher_4_incremental() argument
57 if (swap) { in fletcher_4_incremental()
65 fletcher_4(boolean_t swap, void *buff, size_t size, void *cksum) in fletcher_4() argument
67 if (swap) { in fletcher_4()
137 boolean_t swap = ATTR_IS_SET(CA_BYTESWAPPED); in chain_calc_fletcher4() local
139 fletcher_4(swap, data, write_size, fragment); in chain_calc_fletcher4()
149 fletcher_4(swap, data, write_size, fragment); in chain_calc_fletcher4()
227 boolean_t swap = (context->fc_operation == F4_VALIDATE && in chain_fletcher4() local
230 uint32_t drr_type = swap ? BSWAP_32(drr->drr_type) : drr->drr_type; in chain_fletcher4()
245 validate_or_exit(stream_cksum, end_cksum, swap, in chain_fletcher4()
[all …]
/freebsd/share/examples/bootforth/
H A Dframes.4th74 2dup 1+ swap 5 pick + swap 4 pick 1- -rot
76 2dup swap 1+ swap 5 pick 1- -rot
78 2dup swap 1+ swap 4 pick + 5 pick 1- -rot
82 2dup swap 5 pick + swap at-xy rt_el @ emit \ Draw right top corner
83 2 pick + swap 3 pick + swap at-xy rb_el @ emit
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPassManagerInternal.h79 friend void swap(PassModel &LHS, PassModel &RHS) { in swap() function
80 using std::swap; in swap()
81 swap(LHS.Pass, RHS.Pass); in swap()
85 swap(*this, RHS);
204 friend void swap(AnalysisResultModel &LHS, AnalysisResultModel &RHS) {
205 using std::swap;
206 swap(LHS.Result, RHS.Result);
210 swap(*this, RHS);
242 friend void swap(AnalysisResultModel &LHS, AnalysisResultModel &RHS) {
243 using std::swap;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__concepts/
H A Dswappable.h43 void swap(_Tp&, _Tp&) = delete;
50 swap(std::forward<_Tp>(__t), std::forward<_Up>(__u)); in requires()
76 noexcept(noexcept(swap(std::forward<_Tp>(__t), std::forward<_Up>(__u)))) { in operator()
77 swap(std::forward<_Tp>(__t), std::forward<_Up>(__u)); in operator()
101 inline constexpr auto swap = __swap::__fn{};
106 concept swappable = requires(_Tp& __a, _Tp& __b) { ranges::swap(__a, __b); }; in requires()
110 ranges::swap(std::forward<_Tp>(__t), std::forward<_Tp>(__t)); in requires()
111 ranges::swap(std::forward<_Up>(__u), std::forward<_Up>(__u)); in requires()
112 ranges::swap(std::forward<_Tp>(__t), std::forward<_Up>(__u)); in requires()
113 ranges::swap(std::forward<_Up>(__u), std::forward<_Tp>(__t)); in requires()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSmallPtrSet.cpp239 void SmallPtrSetImplBase::swap(const void **SmallStorage, in swap() function in SmallPtrSetImplBase
246 std::swap(this->CurArray, RHS.CurArray); in swap()
247 std::swap(this->CurArraySize, RHS.CurArraySize); in swap()
248 std::swap(this->NumNonEmpty, RHS.NumNonEmpty); in swap()
249 std::swap(this->NumTombstones, RHS.NumTombstones); in swap()
259 std::swap(RHS.CurArraySize, this->CurArraySize); in swap()
260 std::swap(this->NumNonEmpty, RHS.NumNonEmpty); in swap()
261 std::swap(this->NumTombstones, RHS.NumTombstones); in swap()
274 std::swap(RHS.CurArraySize, this->CurArraySize); in swap()
275 std::swap(RHS.NumNonEmpty, this->NumNonEmpty); in swap()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A D__split_buffer179 _LIBCPP_HIDE_FROM_ABI void swap(__split_buffer& __x);
270 swap(__buf);
384 void __split_buffer<_Tp, _Allocator>::swap(__split_buffer& __x) {
385 std::swap(__first_, __x.__first_);
386 std::swap(__begin_, __x.__begin_);
387 std::swap(__end_, __x.__end_);
388 std::swap(__end_cap(), __x.__end_cap());
397 std::swap(__first_, __t.__first_);
398 std::swap(__begin_, __t.__begin_);
399 std::swap(__end_, __t.__end_);
[all …]
/freebsd/tools/test/stress2/misc/
H A Dswap.sh37 sed '1,/^EOF/d' < $odir/$0 > $dir/swap.c
38 mycc -o swap -Wall -Wextra -O2 swap.c || exit 1
39 rm -f swap.c
49 log=/tmp/swap.log
51 /tmp/swap $((size / 4096))
56 rm -f /tmp/swap
H A Dunionfs14.sh40 mdconfig -a -t swap -s 256m -u $mdstart
45 mdconfig -a -t swap -s 512m -u $((mdstart + i))
56 (cd ../testcases/swap; ./swap -t 5m -i 20 > /dev/null) &
79 while pgrep -q swap; do pkill swap; done
H A Dunionfs9.sh45 mdconfig -a -t swap -s 256m -u $mdstart
50 mdconfig -a -t swap -s 512m -u $((mdstart + i))
60 (cd ../testcases/swap; ./swap -t 5m -i 20 > /dev/null) &
85 while pgrep -q swap; do pkill swap; done
H A Dswap6.sh37 (cd ../testcases/swap; ./swap -t 10m -i 100 -l 100 -h > /dev/null) &
40 while pgrep -q swap; do
43 [ $mx -ge $min ] && pkill swap
H A Dsyzkaller20.sh101 (cd ../testcases/swap; ./swap -t 1m -i 20 -h > /dev/null 2>&1) &
104 pkill -9 syzkaller20 swap
105 while pgrep -q swap; do pkill swap; done
H A Dlockf3.sh42 mdconfig -a -t swap -s 40m -u $mdstart
49 $here/../testcases/swap/swap -t 10m -i 200 > /dev/null &
51 pkill swap
54 while pgrep -q swap; do
55 pkill swap
H A Dnullfs30.sh49 mdconfig -a -t swap -s 256m -u $md1
52 mdconfig -a -t swap -s 256m -u $md2
71 (cd ../testcases/swap; ./swap -t 5m -i 20 > /dev/null) &
93 while pgrep -q swap; do pkill swap; done
/freebsd/contrib/llvm-project/libcxx/src/
H A Dios.cpp341 void ios_base::swap(ios_base& rhs) noexcept { in swap() function in ios_base
342 std::swap(__fmtflags_, rhs.__fmtflags_); in swap()
343 std::swap(__precision_, rhs.__precision_); in swap()
344 std::swap(__width_, rhs.__width_); in swap()
345 std::swap(__rdstate_, rhs.__rdstate_); in swap()
346 std::swap(__exceptions_, rhs.__exceptions_); in swap()
349 std::swap(lhs_loc, rhs_loc); in swap()
350 std::swap(__fn_, rhs.__fn_); in swap()
351 std::swap(__index_, rhs.__index_); in swap()
352 std::swap(__event_size_, rhs.__event_size_); in swap()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/
H A Dx25519_ref10.c66 unsigned int swap; in crypto_scalarmult_curve25519_ref10() local
84 swap = 0; in crypto_scalarmult_curve25519_ref10()
88 swap ^= b; in crypto_scalarmult_curve25519_ref10()
89 fe25519_cswap(x2, x3, swap); in crypto_scalarmult_curve25519_ref10()
90 fe25519_cswap(z2, z3, swap); in crypto_scalarmult_curve25519_ref10()
91 swap = b; in crypto_scalarmult_curve25519_ref10()
111 fe25519_cswap(x2, x3, swap); in crypto_scalarmult_curve25519_ref10()
112 fe25519_cswap(z2, z3, swap); in crypto_scalarmult_curve25519_ref10()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_005_neg.ksh47 swap -l | grep -qF $voldev && log_must swap -d $voldev
63 log_must swap -a $voldev
65 log_must swap -d $voldev
69 log_mustnot swap -a $voldev
/freebsd/stand/forth/
H A Dframes.4th128 swap rot ( y x w -- R: y+h )
130 swap R> R> R> execute
139 2dup 1+ swap 5 pick + swap 4 pick 1- -rot
141 2dup swap 1+ swap 5 pick 1- -rot
143 2dup swap 1+ swap 4 pick + 5 pick 1- -rot
147 2dup swap 5 pick + swap at-xy rt_el @ xemit \ Draw right top corner
148 2 pick + swap 3 pick + swap at-xy rb_el @ xemit
/freebsd/contrib/llvm-project/llvm/include/llvm/XRay/
H A DProfile.h106 friend void swap(Profile &L, Profile &R) { in swap() function
107 using std::swap; in swap()
108 swap(L.Blocks, R.Blocks); in swap()
109 swap(L.NodeStorage, R.NodeStorage); in swap()
110 swap(L.Roots, R.Roots); in swap()
111 swap(L.PathIDMap, R.PathIDMap); in swap()
112 swap(L.NextID, R.NextID); in swap()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dsort.h36 #define sort(base, num, size, cmp, swap) do { \ argument
37 BUILD_BUG_ON(swap); \
41 #define sort_r(base, num, size, cmp, swap, priv) do { \ argument
42 BUILD_BUG_ON(swap); \
/freebsd/contrib/llvm-project/libcxx/include/
H A D__node_handle50 void swap(node-handle&)
54 friend void swap(node-handle& x, node-handle& y) noexcept(noexcept(x.swap(y))) {
55 x.swap(y);
153 _LIBCPP_HIDE_FROM_ABI void swap(__basic_node_handle& __other) noexcept(
155 using std::swap;
156 swap(__ptr_, __other.__ptr_);
159 swap(__alloc_, __other.__alloc_);
163 swap(__basic_node_handle& __a, __basic_node_handle& __b) noexcept(noexcept(__a.swap(__b))) {
164 __a.swap(__b);

12345678910>>...63