Searched defs:first (Results 1 - 25 of 50) sorted by relevance

12

/system/chre/util/include/chre/util/
H A Dmemory_impl.h30 inline void destroy(ElementType *first, size_t count) { argument
32 first[i].~ElementType();
/system/nvram/messages/
H A Dblob.cpp43 void swap(Blob& first, Blob& second) { argument
46 uint8_t* data_tmp = first.data_;
47 size_t size_tmp = first.size_;
48 first.data_ = second.data_;
49 first.size_ = second.size_;
/system/nvram/messages/include/nvram/messages/
H A Dvector.h60 friend void swap(Vector<ElementType>& first, Vector<ElementType>& second) { argument
63 ElementType* tmp_data = first.data_;
64 size_t tmp_size = first.size_;
65 first.data_ = second.data_;
66 first.size_ = second.size_;
/system/tools/aidl/tests/
H A Daidl_test_client_parcelables.cpp59 const vector<SimpleParcelable> original{SimpleParcelable("first", 0),
124 PersistableBundle first; local
127 first.putInt(String16("test_int"), 1231);
130 const vector<PersistableBundle> original{first, second, third};
/system/update_engine/update_manager/
H A Dupdate_manager.h39 bool operator()(const scoped_refptr<T>& first, argument
41 return first.get() < second.get();
/system/core/libunwindstack/
H A DDwarfEhFrameWithHdr.cpp37 // Read the first four bytes all at once.
122 size_t first = 0; local
124 while (first < last) {
125 size_t current = (first + last) / 2;
137 first = current + 1;
H A DElfInterfaceArm.cpp35 size_t first = 0; local
37 while (first < last) {
38 size_t current = (first + last) / 2;
53 first = current + 1;
104 // different function, always try and unwind with the dwarf information first.
H A DSymbols.cpp40 size_t first = 0; local
42 while (first < last) {
43 size_t current = first + (last - first) / 2;
50 first = current + 1;
H A DMaps.cpp43 size_t first = 0; local
45 while (first < last) {
46 size_t index = (first + last) / 2;
53 first = index + 1;
/system/extras/perfprofd/
H A Dmap_utils.h40 // Maybe we need to extend the first one.
42 AggregatedSymbol& first = map_.begin()->second; local
43 CHECK_LT(val, map_.begin()->first);
44 if (first.symbol == sym) {
/system/keymaster/ng/include/
H A Dkeystore_hidl_support.h38 inline static std::ostream& formatArgs(std::ostream& out, First&& first, Args&&... args) { argument
39 out << first; local
/system/security/keystore/include/keystore/
H A Dkeystore_hidl_support.h44 inline static std::ostream& formatArgs(std::ostream& out, First&& first, Args&&... args) { argument
45 out << first; local
130 ++pos; // skip first byte
/system/extras/simpleperf/
H A DInplaceSamplerClient.cpp106 bool first = true; local
108 if (first) {
109 first = false;
/system/libhwbinder/vts/performance/
H A DPerfTest.cpp115 // each may execute following statements and only the first one actually
138 bool first = true; local
141 cout << (first ? "" : ",") << to_string(nano);
142 first = false;
/system/tools/hidl/utils/
H A DStringHelper.cpp232 bool first = true; local
234 if (!first) {
239 first = false;
/system/core/adb/
H A Dsocket_test.cpp49 int first[2]; local
58 ASSERT_EQ(0, adb_socketpair(first)) << strerror(errno);
60 asocket* prev_tail = create_local_socket(first[1]);
92 ASSERT_TRUE(WriteFdExactly(first[0], &read_buffer[0], read_buffer.size()));
97 ASSERT_EQ(0, adb_close(first[0]));
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
H A Dutil.c58 static bool first, first_global = true; variable
229 for (first = true, c = 0; c == 0 || !(lflag || qflag); ) {
368 (first || since_printed > Bflag))
378 first = false;
/system/extras/iotop/
H A Diotop.cpp173 bool first = true; local
183 pid_t tgid = tgid_it.first;
220 if (!first) {
280 first = false;
/system/extras/memtrack/
H A Dmemtrack.cpp198 if (all_.count(it->first) == 0) {
200 all_[it->first].num_samples = 0;
201 all_[it->first].name = it->first;
202 all_[it->first].avg_pss_kb = 0;
203 all_[it->first].min_pss_kb = 0;
204 all_[it->first].max_pss_kb = 0;
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]
230 comparePss(const process_info_t *first, const process_info_t *second) argument
[all...]
/system/extras/tests/lib/testUtil/
H A DtestUtil.c99 // second, is later than the time pointed to by first.
100 struct timespec tsDelta(const struct timespec *first, argument
105 assert(first != NULL);
107 assert(first->tv_nsec >= 0 && first->tv_nsec < nSecsPerSec);
109 rv.tv_sec = second->tv_sec - first->tv_sec;
110 if (second->tv_nsec >= first->tv_nsec) {
111 rv.tv_nsec = second->tv_nsec - first->tv_nsec;
113 rv.tv_nsec = (second->tv_nsec + nSecsPerSec) - first->tv_nsec;
122 // second, is later than the time pointed to by first
123 tvDelta(const struct timeval *first, const struct timeval *second) argument
[all...]
/system/libfmq/tests/
H A Dmq_test.cpp374 auto first = tx.getFirstRegion(); local
377 ASSERT_EQ(first.getLength() + second.getLength(), dataLen);
389 first = tx.getFirstRegion();
392 ASSERT_EQ(first.getLength() + second.getLength(), dataLen);
427 auto first = tx.getFirstRegion(); local
430 ASSERT_EQ(nullptr, first.getAddress());
467 auto first = tx.getFirstRegion(); local
470 ASSERT_EQ(nullptr, first.getAddress());
535 auto first = tx.getFirstRegion(); local
538 ASSERT_EQ(nullptr, first
620 auto first = tx.getFirstRegion(); local
[all...]
H A Dmsgq_test_client.cpp145 /* creating first reader process */
190 // wait for the first reader process to exit.
440 auto first = tx.getFirstRegion(); local
442 size_t firstRegionLength = first.getLength();
446 ASSERT_EQ(i, *(first.getAddress() + i));
486 auto first = tx.getFirstRegion(); local
489 size_t firstRegionLength = first.getLength();
490 uint16_t* firstBaseAddress = first.getAddress();
/system/libhwbinder/
H A DBufferedTextOutput.cpp171 const char* first = txt; local
177 // Special cases for first data on a line.
195 vec.iov_base = (void*)first;
196 vec.iov_len = lastLine-first;
205 err = b->append(first, txt-first);
/system/libvintf/
H A Dparse_string.cpp49 bool first = true; local
51 if (!first) {
55 first = false;
109 return os << to_string(kctv.mRangeValue.first) << "-"
175 return parseKernelConfigInt(s.substr(0, pos), &range->first)
446 bool first = true; local
448 if (!first) {
452 first = false;
473 oss << pair.first << "=" << pair.second << "\n";
/system/media/audio_utils/
H A DPowerLog.cpp127 const int64_t time = mEntries[idx].first;
171 bool first = true; local
176 const int64_t time = mEntries[idx].first;
180 if (!first) {
190 if (!first) {
195 first = false;

Completed in 1346 milliseconds

12