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

12

/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/
H A Dtypes.h35 struct hlist_node * first; member in struct:hlist_head
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/
H A Dtypes.h22 struct hlist_node *first; member in struct:hlist_head
/system/connectivity/dhcp_client/
H A Ddhcp_options_parser.cc135 uint32_t first = *reinterpret_cast<const uint32_t*>(buffer); local
136 first = ntohl(first);
140 value_vector->push_back(std::pair<uint32_t, uint32_t>(first, second));
/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/bt/btcore/src/
H A Dbdaddr.c33 bool bdaddr_equals(const bt_bdaddr_t *first, const bt_bdaddr_t *second) { argument
34 assert(first != NULL);
37 return memcmp(first, second, sizeof(bt_bdaddr_t)) == 0;
H A Duuid.c94 bool uuid_is_equal(const bt_uuid_t *first, const bt_uuid_t *second) { argument
95 assert(first != NULL);
97 return !memcmp(first, second, sizeof(bt_uuid_t));
/system/extras/ext4_utils/
H A Dallocate.h33 struct region *first; member in struct:region_list
H A Dcontents.c309 * which name comes first. For example, "selinux" would come before "yelinux".
373 struct ext4_xattr_entry *first,
383 size_t available_size = xattr_free_space(first, block_end);
389 struct ext4_xattr_entry *new_entry = xattr_get_last(first);
405 xattr_assert_sane(first);
413 struct ext4_xattr_entry *first = (struct ext4_xattr_entry *) (hdr + 1); local
417 xattr_addto_range(first, block_end, first, name_index, name, value, value_len);
435 struct ext4_xattr_entry *first = (struct ext4_xattr_entry *) (header + 1); local
439 xattr_addto_range(header, block_end, first, name_inde
370 xattr_addto_range( void *block_start, void *block_end, struct ext4_xattr_entry *first, int name_index, const char *name, const void *value, size_t value_len) argument
[all...]
/system/connectivity/shill/
H A Ddns_client.cc138 bool first = true; local
140 if (!first) {
143 first = false;
H A Dkey_value_store_unittest.cc308 KeyValueStore first, second; local
310 first.SetBool("boolKey", true);
311 EXPECT_NE(first, second);
313 first.Clear();
316 EXPECT_NE(first, second);
318 first.Clear();
320 first.SetBool("boolKey", true);
322 EXPECT_NE(first, second);
324 first.Clear();
326 first
[all...]
/system/connectivity/shill/wifi/
H A Dscan_session.cc334 const WiFiProvider::FrequencyCount& first,
336 return first.connection_count > second.connection_count;
333 CompareFrequencyCount( const WiFiProvider::FrequencyCount& first, const WiFiProvider::FrequencyCount& second) argument
/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]);
93 ASSERT_TRUE(WriteFdExactly(first[0], &read_buffer[0], read_buffer.size()));
98 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.cpp171 bool first = true; local
180 pid_t tgid = tgid_it.first;
217 if (!first) {
277 first = false;
/system/extras/memtrack/
H A Dmemtrack.cpp202 if (all_.count(it->first) == 0) {
204 all_[it->first].num_samples = 0;
205 all_[it->first].name = it->first;
206 all_[it->first].avg_pss_kb = 0;
207 all_[it->first].min_pss_kb = 0;
208 all_[it->first].max_pss_kb = 0;
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]
234 comparePss(const process_info_t *first, const process_info_t *second) argument
[all...]
/system/extras/tests/lib/testUtil/
H A DtestUtil.c102 // second, is later than the time pointed to by first.
103 struct timespec tsDelta(const struct timespec *first, argument
108 assert(first != NULL);
110 assert(first->tv_nsec >= 0 && first->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, is later than the time pointed to by first
126 tvDelta(const struct timeval *first, const struct timeval *second) argument
[all...]
/system/update_engine/payload_generator/
H A Dextent_ranges.cc67 Extent UnionOverlappingExtents(const Extent& first, const Extent& second) { argument
68 CHECK_NE(kSparseHole, first.start_block());
70 uint64_t start = std::min(first.start_block(), second.start_block());
71 uint64_t end = std::max(first.start_block() + first.num_blocks(),
/system/core/include/sysutils/
H A DList.h190 * Return the first element or one past the last element. The
223 void insert(iterator posn, const_iterator first, const_iterator last) { argument
224 for ( ; first != last; ++first)
225 insert(posn, *first);
239 iterator erase(iterator first, iterator last) { argument
240 while (first != last)
241 erase(first++); // don't erase than incr later!
260 * Measure the distance between two iterators. On exist, "first"
275 _ListIterator<U, CL> first, _ListIterato
274 distance( _ListIterator<U, CL> first, _ListIterator<U, CR> last) const argument
[all...]
/system/core/include/utils/
H A DList.h189 * Return the first element or one past the last element. The
222 void insert(iterator posn, const_iterator first, const_iterator last) { argument
223 for ( ; first != last; ++first)
224 insert(posn, *first);
238 iterator erase(iterator first, iterator last) { argument
239 while (first != last)
240 erase(first++); // don't erase than incr later!
259 * Measure the distance between two iterators. On exist, "first"
274 _ListIterator<U, CL> first, _ListIterato
273 distance( _ListIterator<U, CL> first, _ListIterator<U, CR> last) const argument
[all...]
/system/core/libnativebridge/
H A Dnative_bridge.cc101 // Characters allowed in a native bridge filename. The first character must
103 static bool CharacterAllowed(char c, bool first) { argument
104 if (first) {
131 ALOGE("Native bridge library %s has been rejected for first character %c",
/system/core/libsysutils/src/
H A DNetlinkEvent.cpp181 // Only look at the first address, because we only support notifying
436 // So only parse the first ND option in the message.
511 * there are multiple valid messages in the buffer, only the first one will be
514 * TODO: consider only ever looking at the first message.
588 int first = 1; local
598 if (first) {
607 first = 0;
/system/core/libutils/
H A DThreads.cpp731 bool first = true; local
735 if (first) {
736 first = false;
/system/keymaster/
H A DList.h189 * Return the first element or one past the last element. The
222 void insert(iterator posn, const_iterator first, const_iterator last) { argument
223 for ( ; first != last; ++first)
224 insert(posn, *first);
238 iterator erase(iterator first, iterator last) { argument
239 while (first != last)
240 erase(first++); // don't erase than incr later!
259 * Measure the distance between two iterators. On exist, "first"
274 _ListIterator<U, CL> first, _ListIterato
273 distance( _ListIterator<U, CL> first, _ListIterator<U, CR> last) const argument
[all...]
/system/connectivity/shill/net/
H A Drtnl_message_unittest.cc533 bool first = true; local
535 if (!first) {
538 first = false;

Completed in 747 milliseconds

12