/system/connectivity/dhcp_client/ |
H A D | dhcp_options_parser.cc | 138 uint32_t second = *reinterpret_cast<const uint32_t*>(buffer); local 139 second = ntohl(second); 140 value_vector->push_back(std::pair<uint32_t, uint32_t>(first, second));
|
/system/core/logcat/tests/ |
H A D | logcat_benchmark.cpp | 38 int second; member in class:timestamp 48 &month, &day, &hour, &minute, &second, &millisecond) == 6; 68 && ((second < T.second) 69 || ((second == T.second)
|
/system/tools/aidl/tests/ |
H A D | aidl_test_client_parcelables.cpp | 60 SimpleParcelable("second", 1), 125 PersistableBundle second; local 128 second.putLong(String16("test_long"), 222222l); 130 const vector<PersistableBundle> original{first, second, third};
|
/system/bt/btcore/src/ |
H A D | bdaddr.c | 33 bool bdaddr_equals(const bt_bdaddr_t *first, const bt_bdaddr_t *second) { argument 35 assert(second != NULL); 37 return memcmp(first, second, sizeof(bt_bdaddr_t)) == 0;
|
H A D | uuid.c | 94 bool uuid_is_equal(const bt_uuid_t *first, const bt_uuid_t *second) { argument 96 assert(second != NULL); 97 return !memcmp(first, second, sizeof(bt_uuid_t));
|
/system/core/fastboot/ |
H A D | bootimg_utils.cpp | 42 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/extras/tests/sdcard/ |
H A D | stopwatch.cpp | 136 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/connectivity/shill/ |
H A D | key_value_store_unittest.cc | 308 KeyValueStore first, second; local 311 EXPECT_NE(first, second); 314 second.Clear(); 315 second.SetBool("boolKey", true); 316 EXPECT_NE(first, second); 319 second.Clear(); 321 second.SetBool("boolOtherKey", true); 322 EXPECT_NE(first, second); 325 second.Clear(); 327 second [all...] |
/system/connectivity/shill/wifi/ |
H A D | scan_session.cc | 335 const WiFiProvider::FrequencyCount& second) { 336 return first.connection_count > second.connection_count; 333 CompareFrequencyCount( const WiFiProvider::FrequencyCount& first, const WiFiProvider::FrequencyCount& second) argument
|
/system/extras/iotop/ |
H A D | iotop.cpp | 97 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 D | memtrack.cpp | 172 it->second.pids.clear(); 211 if (it->second.pids.size() > all_[it->first].max_num_pids) { 212 all_[it->first].max_num_pids = it->second.pids.size(); 215 all_[it->first].pids = it->second.pids; 217 if (it->second.pss_kb > all_[it->first].max_pss_kb) { 218 all_[it->first].max_pss_kb = it->second.pss_kb; 222 it->second.pss_kb < all_[it->first].min_pss_kb) { 223 all_[it->first].min_pss_kb = it->second.pss_kb; 226 all_[it->first].last_pss_kb = it->second.pss_kb; 228 computeAvg(&all_[it->first].avg_pss_kb, it->second 234 comparePss(const process_info_t *first, const process_info_t *second) argument [all...] |
/system/extras/tests/lib/testUtil/ |
H A D | testUtil.c | 102 // second, is later than the time pointed to by first. 104 const struct timespec *second) 109 assert(second != NULL); 111 assert(second->tv_nsec >= 0 && second->tv_nsec < nSecsPerSec); 112 rv.tv_sec = second->tv_sec - first->tv_sec; 113 if (second->tv_nsec >= first->tv_nsec) { 114 rv.tv_nsec = second->tv_nsec - first->tv_nsec; 116 rv.tv_nsec = (second->tv_nsec + nSecsPerSec) - first->tv_nsec; 125 // second, i 103 tsDelta(const struct timespec *first, const struct timespec *second) argument 126 tvDelta(const struct timeval *first, const struct timeval *second) argument [all...] |
/system/update_engine/payload_generator/ |
H A D | extent_ranges.cc | 67 Extent UnionOverlappingExtents(const Extent& first, const Extent& second) { argument 69 CHECK_NE(kSparseHole, second.start_block()); 70 uint64_t start = std::min(first.start_block(), second.start_block()); 72 second.start_block() + second.num_blocks());
|