Searched refs:swap (Results 26 - 44 of 44) sorted by relevance

12

/system/core/libpixelflinger/
H A Dfixed.cpp248 static inline void swap(T& a, T& b) { function
330 swap(a, b);
H A Dtrap.cpp90 static inline void swap(T& a, T& b) { function in namespace:android
529 // so if we get a CW triangle, we need to swap two of its vertices
531 swap(x0, x1);
532 swap(y0, y1);
677 swap(top, bot);
733 swap(left, right);
867 swap(top, bot);
1012 swap(l_min, l_max);
1019 swap(r_min, r_max);
/system/core/logcat/
H A Dgetopt_long.cpp104 char* swap = nargv[pos]; local
106 const_cast<char**>(nargv)[cstart] = swap;
/system/chre/util/include/chre/util/
H A Dfixed_size_vector_impl.h140 void FixedSizeVector<ElementType, kCapacity>::swap(size_t index0,
H A Ddynamic_vector_impl.h275 void DynamicVector<ElementType>::swap(size_type index0, size_type index1) {
/system/chre/util/tests/
H A Ddynamic_vector_test.cc526 EXPECT_DEATH(vector.swap(0, 2), "");
533 EXPECT_DEATH(vector.swap(2, 3), "");
541 vector.swap(0, 1);
697 vector.swap(1, 3);
/system/netd/libnetdutils/
H A DSyscalls.cpp233 Syscalls& SyscallsHolder::swap(Syscalls& syscalls) { function in class:android::netdutils::SyscallsHolder
/system/netd/libnetdutils/include/netdutils/
H A DSyscalls.h177 Syscalls& swap(Syscalls& syscalls);
/system/update_engine/payload_consumer/
H A Dpayload_verifier.cc169 out_hash_data->swap(hash_data);
H A Ddelta_performer.cc1637 brillo::Blob().swap(buffer_);
/system/update_engine/payload_generator/
H A Dcycle_breaker.cc99 out_cut_edges->swap(cut_edges_);
H A Dinplace_generator.cc200 out_cuts->swap(cuts);
261 reverse_op_indexes->swap(table);
295 op_indexes->swap(ret);
350 op_indexes->swap(new_op_indexes);
H A Dpayload_signer.cc379 out_signature->swap(signature);
/system/core/adb/
H A Dtransport_local.cpp214 retry_ports.swap(ports);
H A Dsysdeps_win32.cpp2356 combined_buffer.swap(console_output_buffer);
/system/extras/perfprofd/quipper/
H A Dperf_reader.cc78 LOG(WARNING) << "Attempting to byte swap on a single byte.";
90 LOG(FATAL) << "Invalid size for byte swap: " << sizeof(T) << " bytes";
95 u64 MaybeSwap(u64 value, bool swap) { argument
96 if (swap)
101 u32 MaybeSwap(u32 value, bool swap) { argument
102 if (swap)
115 // performs an endian swap of the bitfield, assuming the compiler that produced
1003 // ... So swap it back:
/system/security/keystore/
H A Dauthorization_set.cpp111 std::swap(data_, result);
/system/bt/service/
H A Dgatt_server_old.cc218 std::swap(ch.blob, ch.next_blob);
/system/core/fs_mgr/
H A Dfs_mgr.cpp28 #include <sys/swap.h>
821 /* Skip swap and raw partition entries such as boot, recovery, etc */
822 if (!strcmp(fstab->recs[i].fs_type, "swap") ||
1045 /* If this swap or a raw partition, report an error */
1046 if (!strcmp(fstab->recs[i].fs_type, "swap") ||
1183 /* Skip non-swap entries */
1184 if (strcmp(fstab->recs[i].fs_type, "swap")) {
1226 /* Initialize the swap area */

Completed in 419 milliseconds

12