Home
last modified time | relevance | path

Searched refs:swap (Results 1 - 25 of 1168) sorted by relevance

12345678910>>...47

/third_party/node/deps/openssl/openssl/crypto/perlasm/
H A Dcbc.pl35 local($name,$enc_func,$dec_func,$swap,$iv_off,$enc_off,$p1,$p2,$p3)=@_;
38 # swap is true if byte order needs to be reversed
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;
[all...]
/third_party/openssl/crypto/perlasm/
H A Dcbc.pl35 local($name,$enc_func,$dec_func,$swap,$iv_off,$enc_off,$p1,$p2,$p3)=@_;
38 # swap is true if byte order needs to be reversed
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;
[all...]
/third_party/skia/src/sksl/dsl/
H A DDSLVar.cpp82 void DSLVarBase::swap(DSLVarBase& other) { in swap() function in SkSL::dsl::DSLVarBase
84 std::swap(fModifiers, other.fModifiers); in swap()
85 std::swap(fType, other.fType); in swap()
86 std::swap(fUniformHandle, other.fUniformHandle); in swap()
87 std::swap(fDeclaration, other.fDeclaration); in swap()
88 std::swap(fVar, other.fVar); in swap()
89 std::swap(fRawName, other.fRawName); in swap()
90 std::swap(fName, other.fName); in swap()
91 std::swap(fInitialValue.fExpression, other.fInitialValue.fExpression); in swap()
92 std::swap(fDeclare in swap()
97 void DSLVar::swap(DSLVar& other) { swap() function in SkSL::dsl::DSLVar
140 void DSLGlobalVar::swap(DSLGlobalVar& other) { swap() function in SkSL::dsl::DSLGlobalVar
148 void DSLParameter::swap(DSLParameter& other) { swap() function in SkSL::dsl::DSLParameter
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DSmallPtrSet.cpp213 void SmallPtrSetImplBase::swap(SmallPtrSetImplBase &RHS) {
218 std::swap(this->CurArray, RHS.CurArray);
219 std::swap(this->CurArraySize, RHS.CurArraySize);
220 std::swap(this->NumNonEmpty, RHS.NumNonEmpty);
221 std::swap(this->NumTombstones, RHS.NumTombstones);
232 std::swap(RHS.CurArraySize, this->CurArraySize);
233 std::swap(this->NumNonEmpty, RHS.NumNonEmpty);
234 std::swap(this->NumTombstones, RHS.NumTombstones);
246 std::swap(RHS.CurArraySize, this->CurArraySize);
247 std::swap(RH
[all...]
/third_party/node/benchmark/buffers/
H A Dbuffer-swap.js23 function swap(b, n, m) { function
33 swap(this, i, i + 1);
42 swap(this, i, i + 3);
43 swap(this, i + 1, i + 2);
52 swap(this, i, i + 7);
53 swap(this, i + 1, i + 6);
54 swap(this, i + 2, i + 5);
55 swap(this, i + 3, i + 4);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DPassManagerInternal.h67 friend void swap(PassModel &LHS, PassModel &RHS) { in swap() function
68 using std::swap; in swap()
69 swap(LHS.Pass, RHS.Pass); in swap()
73 swap(*this, RHS); in operator =()
176 friend void swap(AnalysisResultModel &LHS, AnalysisResultModel &RHS) { in swap() function
177 using std::swap; in swap()
178 swap(LHS.Result, RHS.Result); in swap()
182 swap(*this, RHS); in operator =()
215 friend void swap(AnalysisResultModel &LHS, AnalysisResultModel &RHS) { in swap() function
216 using std::swap; in swap()
270 friend void swap(AnalysisPassModel &LHS, AnalysisPassModel &RHS) { swap() function
[all...]
/third_party/toybox/toys/other/
H A Dmkswap.c1 /* mkswap.c - Format swap device.
13 Set up a Linux swap area on a device or file.
27 unsigned int pages = (len/pagesize)-1, *swap = (unsigned int *)toybuf; in mkswap_main() local
28 char *label = (char *)(swap+7), *uuid = (char *)(swap+3); in mkswap_main()
33 swap[0] = 1; in mkswap_main()
34 swap[1] = pages; in mkswap_main()
38 xwrite(fd, swap, 129*sizeof(unsigned int)); in mkswap_main()
/third_party/mesa3d/src/gallium/drivers/r600/sb/
H A Dsb_peephole.cpp131 std::swap(a->src[0],a->src[1]); in optimize_cc_op2()
215 bool swap = false; in optimize_CNDcc_op() local
218 swap = !swap; in optimize_CNDcc_op()
283 swap = !swap; in optimize_CNDcc_op()
288 case AF_CC_GT: dcc = AF_CC_GE; swap = !swap; break; in optimize_CNDcc_op()
289 case AF_CC_GE: dcc = AF_CC_GT; swap = !swap; brea in optimize_CNDcc_op()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DSmallPtrSet.cpp239 void SmallPtrSetImplBase::swap(SmallPtrSetImplBase &RHS) {
244 std::swap(this->CurArray, RHS.CurArray);
245 std::swap(this->CurArraySize, RHS.CurArraySize);
246 std::swap(this->NumNonEmpty, RHS.NumNonEmpty);
247 std::swap(this->NumTombstones, RHS.NumTombstones);
258 std::swap(RHS.CurArraySize, this->CurArraySize);
259 std::swap(this->NumNonEmpty, RHS.NumNonEmpty);
260 std::swap(this->NumTombstones, RHS.NumTombstones);
272 std::swap(RHS.CurArraySize, this->CurArraySize);
273 std::swap(RH
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/
H A DProfile.h105 friend void swap(Profile &L, Profile &R) { in swap() function in llvm::xray::Profile
106 using std::swap; in swap()
107 swap(L.Blocks, R.Blocks); in swap()
108 swap(L.NodeStorage, R.NodeStorage); in swap()
109 swap(L.Roots, R.Roots); in swap()
110 swap(L.PathIDMap, R.PathIDMap); in swap()
111 swap(L.NextID, R.NextID); in swap()
/third_party/ffmpeg/libswscale/
H A Drgb2rgb.c329 #define DEFINE_RGB48TOBGR48(need_bswap, swap) \
338 d[i ] = swap ? av_bswap16(s[i + 2]) : s[i + 2]; \
339 d[i + 1] = swap ? av_bswap16(s[i + 1]) : s[i + 1]; \
340 d[i + 2] = swap ? av_bswap16(s[i ]) : s[i ]; \
347 #define DEFINE_RGB64TOBGR48(need_bswap, swap) \
356 d[3 * i ] = swap ? av_bswap16(s[4 * i + 2]) : s[4 * i + 2]; \
357 d[3 * i + 1] = swap ? av_bswap16(s[4 * i + 1]) : s[4 * i + 1]; \
358 d[3 * i + 2] = swap ? av_bswap16(s[4 * i ]) : s[4 * i ]; \
365 #define DEFINE_RGB64TO48(need_bswap, swap) \
374 d[3 * i ] = swap
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dtest_instance_tracker_test.cc51 using std::swap; in TEST()
52 swap(move_assign, copy); in TEST()
53 swap(copy, move_assign); in TEST()
85 using std::swap; in TEST()
86 swap(src, copy); in TEST()
87 swap(copy, src); in TEST()
110 using std::swap; in TEST()
112 swap(move_assign, other); in TEST()
113 swap(other, move_assign); in TEST()
/third_party/eudev/src/shared/
H A Dhashmap.c114 * for these "swap" buckets. */
126 /* Storage space for the "swap" buckets.
419 static struct ordered_hashmap_entry *bucket_at_swap(struct swap_entries *swap, unsigned idx) { in bucket_at_swap() argument
420 return &swap->e[idx - _IDX_SWAP_BEGIN]; in bucket_at_swap()
424 * Understands real indexes and swap indexes, hence "_virtual". */
425 static struct hashmap_base_entry *bucket_at_virtual(HashmapBase *h, struct swap_entries *swap, in bucket_at_virtual() argument
431 return &bucket_at_swap(swap, idx)->p.b; in bucket_at_virtual()
490 static void bucket_move_entry(HashmapBase *h, struct swap_entries *swap, in bucket_move_entry() argument
496 e_from = bucket_at_virtual(h, swap, from); in bucket_move_entry()
497 e_to = bucket_at_virtual(h, swap, t in bucket_move_entry()
963 hashmap_put_robin_hood(HashmapBase *h, unsigned idx, struct swap_entries *swap) hashmap_put_robin_hood() argument
1021 hashmap_base_put_boldly(HashmapBase *h, unsigned idx, struct swap_entries *swap, bool may_resize) hashmap_base_put_boldly() argument
1076 struct swap_entries swap; resize_buckets() local
1240 struct swap_entries swap; hashmap_put() local
1262 struct swap_entries swap; set_put() local
1279 struct swap_entries swap; hashmap_replace() local
1421 struct swap_entries swap; hashmap_remove_and_put() local
1448 struct swap_entries swap; set_remove_and_put() local
1474 struct swap_entries swap; hashmap_remove_and_replace() local
1664 struct swap_entries swap; internal_hashmap_move() local
1709 struct swap_entries swap; internal_hashmap_move_one() local
[all...]
/third_party/googletest/googletest/src/
H A Dgtest-assertion-result.cc52 void AssertionResult::swap(AssertionResult& other) { in swap() function in testing::AssertionResult
53 using std::swap; in swap()
54 swap(success_, other.success_); in swap()
55 swap(message_, other.message_); in swap()
/third_party/node/deps/googletest/src/
H A Dgtest-assertion-result.cc52 void AssertionResult::swap(AssertionResult& other) { in swap() function in testing::AssertionResult
53 using std::swap; in swap()
54 swap(success_, other.success_); in swap()
55 swap(message_, other.message_); in swap()
/third_party/skia/include/gpu/gl/
H A DGrGLExtensions.h34 void swap(GrGLExtensions* that) { in swap() function in GrGLExtensions
35 using std::swap; in swap()
36 swap(fStrings, that->fStrings); in swap()
37 swap(fInitialized, that->fInitialized); in swap()
/third_party/gn/src/base/
H A Dscoped_generic.h104 void swap(ScopedGeneric& other) { in swap() function in base::ScopedGeneric
105 // Standard swap idiom: 'using std::swap' ensures that std::swap is in swap()
106 // present in the overload set, but we call swap unqualified so that in swap()
108 using std::swap; in swap()
109 swap(static_cast<Traits&>(data_), static_cast<Traits&>(other.data_)); in swap()
110 swap(data_.generic, other.data_.generic); in swap()
168 void swap(const ScopedGeneric<T, Traits>& a, in swap() function
170 a.swap( in swap()
[all...]
/third_party/libexif/test/
H A Dtest-parse.c82 static void test_parse(const char *filename, void *callback_data, int swap) in test_parse() argument
102 if (swap) { in test_parse()
123 typedef void (*test_parse_func) (const char *filename, void *callback_data, int swap);
161 int swap = 0; in main() local
164 if (argc > 1 && !strcmp(argv[1], "--swap-byte-order")) { in main()
165 swap = 1; in main()
171 test_parse(argv[i], callback_data, swap); in main()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-helpers-sort.c38 ecma_value_t swap = array_p[index]; in ecma_builtin_helper_array_to_heap() local
64 /* Compare current child node with the swap (tree top). */ in ecma_builtin_helper_array_to_heap()
65 ECMA_TRY_CATCH (swap_compare_value, sort_cb (array_p[child], swap, compare_func), ret_value); in ecma_builtin_helper_array_to_heap()
70 /* Break from loop if current child is less than swap (tree top) */ in ecma_builtin_helper_array_to_heap()
75 /* We have to move 'swap' lower in the tree, so shift current child up in the hierarchy. */ in ecma_builtin_helper_array_to_heap()
89 * Loop ended, either current child does not exist, or is less than swap. in ecma_builtin_helper_array_to_heap()
90 * This means that 'swap' should be placed in the parent node. in ecma_builtin_helper_array_to_heap()
94 array_p[parent] = swap; in ecma_builtin_helper_array_to_heap()
134 ecma_value_t swap = array_p[0]; in ecma_builtin_helper_array_heap_sort_helper() local
136 array_p[i] = swap; in ecma_builtin_helper_array_heap_sort_helper()
[all...]
/third_party/musl/src/passwd/
H A Dnscd_query.c18 FILE *__nscd_query(int32_t req, const char *key, int32_t *buf, size_t len, int *swap) in __nscd_query() argument
37 *swap = 0; in __nscd_query()
83 if (!*swap) { in __nscd_query()
88 *swap = 1; in __nscd_query()
96 if (*swap) { in __nscd_query()
/third_party/musl/porting/liteos_a/user/src/passwd/
H A Dnscd_query.c18 FILE *__nscd_query(int32_t req, const char *key, int32_t *buf, size_t len, int *swap) in __nscd_query() argument
37 *swap = 0; in __nscd_query()
83 if (!*swap) { in __nscd_query()
88 *swap = 1; in __nscd_query()
96 if (*swap) { in __nscd_query()
/third_party/libphonenumber/cpp/src/phonenumbers/base/memory/
H A Dscoped_ptr.h22 #include <algorithm> // For std::swap().
164 void swap(scoped_ptr_impl& p2) { in swap() function in i18n::phonenumbers::scoped_ptr_impl
165 // Standard swap idiom: 'using std::swap' ensures that std::swap is in swap()
166 // present in the overload set, but we call swap unqualified so that in swap()
168 using std::swap; in swap()
169 swap(static_cast<D&>(data_), static_cast<D&>(p2.data_)); in swap()
170 swap(data_.ptr, p2.data_.ptr); in swap()
297 void swap(scoped_pt function in i18n::phonenumbers::scoped_ptr
381 void swap(scoped_ptr& p2) { swap() function in i18n::phonenumbers::scoped_ptr
424 void swap(scoped_ptr<T, D>& p1, scoped_ptr<T, D>& p2) { swap() function
[all...]
/third_party/skia/src/android/
H A DSkAnimatedImage.cpp132 using std::swap; in init()
133 swap(tmp, fBitmap); in init()
232 using std::swap; in decodeNextFrame()
233 swap(fDisplayFrame, *frame); in decodeNextFrame()
257 using std::swap; in decodeNextFrame()
258 swap(fDecodingFrame, fRestoreFrame); in decodeNextFrame()
285 using std::swap; in decodeNextFrame()
286 swap(fDecodingFrame, fRestoreFrame); in decodeNextFrame()
313 using std::swap; in decodeNextFrame()
314 swap(fDecodingFram in decodeNextFrame()
[all...]
/third_party/icu/icu4c/source/common/unicode/
H A Dlocalpointer.h280 void swap(LocalPointer<T> &other) U_NOEXCEPT {
286 * Non-member LocalPointer swap function.
291 friend inline void swap(LocalPointer<T> &p1, LocalPointer<T> &p2) U_NOEXCEPT {
292 p1.swap(p2);
455 void swap(LocalArray<T> &other) U_NOEXCEPT {
461 * Non-member LocalArray swap function.
466 friend inline void swap(LocalArray<T> &p1, LocalArray<T> &p2) U_NOEXCEPT {
467 p1.swap(p2);
575 void swap(LocalPointerClassName &other) U_NOEXCEPT { \
580 friend inline void swap(LocalPointerClassNam
[all...]
/third_party/node/deps/icu-small/source/common/unicode/
H A Dlocalpointer.h280 void swap(LocalPointer<T> &other) noexcept {
286 * Non-member LocalPointer swap function.
291 friend inline void swap(LocalPointer<T> &p1, LocalPointer<T> &p2) noexcept {
292 p1.swap(p2);
455 void swap(LocalArray<T> &other) noexcept {
461 * Non-member LocalArray swap function.
466 friend inline void swap(LocalArray<T> &p1, LocalArray<T> &p2) noexcept {
467 p1.swap(p2);
575 void swap(LocalPointerClassName &other) noexcept { \
580 friend inline void swap(LocalPointerClassNam
[all...]

Completed in 12 milliseconds

12345678910>>...47