Searched defs:second (Results 1 - 16 of 16) sorted by relevance

/system/nvram/messages/
H A Dblob.cpp43 void swap(Blob& first, Blob& second) { argument
48 first.data_ = second.data_;
49 first.size_ = second.size_;
50 second.data_ = data_tmp;
51 second.size_ = size_tmp;
/system/nvram/messages/include/nvram/messages/
H A Dvector.h60 friend void swap(Vector<ElementType>& first, Vector<ElementType>& second) { argument
65 first.data_ = second.data_;
66 first.size_ = second.size_;
67 second.data_ = tmp_data;
68 second.size_ = tmp_size;
/system/tools/aidl/tests/
H A Daidl_test_client_parcelables.cpp60 SimpleParcelable("second", 1),
125 PersistableBundle second; local
128 second.putLong(String16("test_long"), 222222l);
130 const vector<PersistableBundle> original{first, second, third};
/system/core/fastboot/
H A Dbootimg_utils.cpp42 void* second, int64_t second_size, off_t second_offset,
74 memcpy(hdr->magic + page_size + kernel_actual + ramdisk_actual, second, second_size);
40 mkbootimg(void* kernel, int64_t kernel_size, off_t kernel_offset, void* ramdisk, int64_t ramdisk_size, off_t ramdisk_offset, void* second, int64_t second_size, off_t second_offset, size_t page_size, size_t base, off_t tags_offset, int64_t* bootimg_size) argument
/system/core/libcutils/tests/
H A Dfs_config.cpp72 size_t second; local
75 for (second = idx + 1; second < paths.size(); ++second) {
76 if (path == paths[second]) {
87 for (second = 0; second < paths.size(); ++second) {
88 if (path == paths[second]) {
90 << paths[idx] << " and " << paths[second]
[all...]
/system/core/logcat/tests/
H A Dlogcat_benchmark.cpp41 int second; member in class:timestamp
50 &minute, &second, &millisecond) == 6;
67 ((second < T.second) ||
68 ((second == T.second) &&
/system/extras/tests/sdcard/
H A Dstopwatch.cpp136 long second = mData[i * 2].mTime.tv_sec - mStart.tv_sec; local
139 SNPRINTF_OR_RETURN(*str, *size, "%f %f\n", double(second) + double(nano) / 1.0e9, mDeltas[i]);
172 long second = mData[i + 1].mTime.tv_sec - mData[i].mTime.tv_sec; local
175 mDeltas[i / 2] = double(second) + double(nano) / 1.0e9;
/system/bt/btcore/src/
H A Duuid.cc90 bool uuid_is_equal(const bt_uuid_t* first, const bt_uuid_t* second) { argument
92 CHECK(second != NULL);
93 return !memcmp(first, second, sizeof(bt_uuid_t));
/system/extras/iotop/
H A Diotop.cpp97 return it->second;
172 bool second = true; local
181 std::vector<pid_t>& pid_list = tgid_it.second;
219 if (!second) {
273 second = false;
/system/extras/memtrack/
H A Dmemtrack.cpp168 it->second.pids.clear();
207 if (it->second.pids.size() > all_[it->first].max_num_pids) {
208 all_[it->first].max_num_pids = it->second.pids.size();
211 all_[it->first].pids = it->second.pids;
213 if (it->second.pss_kb > all_[it->first].max_pss_kb) {
214 all_[it->first].max_pss_kb = it->second.pss_kb;
218 it->second.pss_kb < all_[it->first].min_pss_kb) {
219 all_[it->first].min_pss_kb = it->second.pss_kb;
222 all_[it->first].last_pss_kb = it->second.pss_kb;
224 computeAvg(&all_[it->first].avg_pss_kb, it->second
230 comparePss(const process_info_t *first, const process_info_t *second) argument
[all...]
/system/extras/tests/lib/testUtil/
H A DtestUtil.c101 // second, is later than the time pointed to by first.
103 const struct timespec *second)
108 assert(second != NULL);
110 assert(second->tv_nsec >= 0 && second->tv_nsec < nSecsPerSec);
111 rv.tv_sec = second->tv_sec - first->tv_sec;
112 if (second->tv_nsec >= first->tv_nsec) {
113 rv.tv_nsec = second->tv_nsec - first->tv_nsec;
115 rv.tv_nsec = (second->tv_nsec + nSecsPerSec) - first->tv_nsec;
124 // second, i
102 tsDelta(const struct timespec *first, const struct timespec *second) argument
125 tvDelta(const struct timeval *first, const struct timeval *second) argument
[all...]
/system/libfmq/tests/
H A Dmq_test.cpp292 * Wait should time out in a second.
375 auto second = tx.getSecondRegion(); local
377 ASSERT_EQ(first.getLength() + second.getLength(), dataLen);
390 second = tx.getSecondRegion();
392 ASSERT_EQ(first.getLength() + second.getLength(), dataLen);
428 auto second = tx.getSecondRegion(); local
431 ASSERT_EQ(nullptr, second.getAddress());
468 auto second = tx.getSecondRegion(); local
471 ASSERT_EQ(nullptr, second.getAddress());
536 auto second local
621 auto second = tx.getSecondRegion(); local
[all...]
H A Dmsgq_test_client.cpp193 // creating second reader process.
421 auto second = tx.getSecondRegion(); local
428 ASSERT_EQ(i, *(second.getAddress() + i - firstRegionLength));
467 auto second = tx.getSecondRegion(); local
471 uint16_t* secondBaseAddress = second.getAddress();
/system/update_engine/payload_generator/
H A Dextent_ranges.cc68 Extent UnionOverlappingExtents(const Extent& first, const Extent& second) { argument
70 CHECK_NE(kSparseHole, second.start_block());
71 uint64_t start = std::min(first.start_block(), second.start_block());
73 second.start_block() + second.num_blocks());
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
H A DHidlTestJava.java814 public void takeAMask(byte bf, byte first, IBase.MyMask second, byte third, argument
817 (byte)(second.value & bf), (byte)((bf | bf) & third));
/system/libfmq/include/fmq/
H A DMessageQueue.h278 first(regionFirst), second(regionSecond) {}
282 second = other.second;
337 * Returns a const reference to the second MemRegion in the
340 inline const MemRegion& getSecondRegion() const { return second; }
347 * and second MemRegions and the base addresses to be used for
360 MemRegion second; member in struct:android::hardware::MessageQueue::MemTransaction
455 size_t secondRegionLength = second.getLength();
465 return second.getAddress() + idx - firstRegionLength;
476 size_t secondRegionLength = second
[all...]

Completed in 4554 milliseconds