Searched refs:last (Results 1 - 25 of 25) sorted by relevance

/system/core/logcat/tests/
H A Dlogcat_benchmark.cpp77 } last(NULL);
89 if (!last.valid()) {
92 last.init(buffer);
95 if (next < last) {
105 last.init(buffer);
/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)
239 iterator erase(iterator first, iterator last) { argument
240 while (first != last)
242 return iterator(last);
261 * will be equal to "last". The iterators must refer to the same
275 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const
278 while (first != last) {
/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)
238 iterator erase(iterator first, iterator last) { argument
239 while (first != last)
241 return iterator(last);
260 * will be equal to "last". The iterators must refer to the same
274 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const
277 while (first != last) {
/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)
238 iterator erase(iterator first, iterator last) { argument
239 while (first != last)
241 return iterator(last);
260 * will be equal to "last". The iterators must refer to the same
274 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const
277 while (first != last) {
/system/core/adb/
H A Dsocket_test.cpp51 int last[2]; local
59 ASSERT_EQ(0, adb_socketpair(last)) << strerror(errno);
82 asocket* end = create_local_socket(last[0]);
94 ASSERT_TRUE(ReadFdExactly(last[1], &write_buffer[0], write_buffer.size()));
99 ASSERT_EQ(0, adb_close(last[1]));
H A Dsysdeps_win32.cpp870 // Save err just in case inet_ntoa() or ntohs() changes the last error.
937 // Save err just in case inet_ntoa() or ntohs() changes the last error.
1686 buf[index++] = lastChar; // move ~ (or other last char) to the end
2415 // Given a sequence of UTF-8 bytes (denoted by the range [first, last)), return the number of bytes
2418 size_t ParseCompleteUTF8(const char* const first, const char* const last, argument
2422 for (const char* current_after = last; current_after != first; --current_after) {
2433 const size_t bytes_available = last - current;
2438 remaining_bytes->insert(remaining_bytes->end(), current, last);
2453 return last - first;
H A Dsysdeps.h431 size_t ParseCompleteUTF8(const char* first, const char* last, std::vector<char>* remaining_bytes);
/system/core/logd/
H A DLogReader.cpp128 uint64_t last; member in class:LogFindStart
138 last(sequence),
153 me->sequence = me->last;
157 me->last = element->getSequence();
159 me->last = element->getSequence();
H A DLogBuffer.cpp236 LogBufferElementCollection::iterator last = it; local
237 while (last != mLogElements.begin()) {
242 last = it;
245 if (last == mLogElements.end()) {
271 || (end_set && (end >= (*last)->getSequence()))) {
274 mLogElements.insert(last,elem);
365 // Define a temporary mechanism to report the last LogBufferElement pointer
468 // logs without loss. They last much longer than the represented pruned logs
629 LogBufferElementLast last; local
660 if (dropped && last
[all...]
H A DLogKlog.cpp98 char *log_strntok_r(char *s, size_t *len, char **last, size_t *sublen) { argument
104 if (!(s = *last)) {
133 *last = NULL;
140 *last = NULL;
150 *last = s;
162 *last = s;
196 *last = s;
576 // leading additional spaces means no tag, inherit last tag.
839 if ((abs1 <= 1) && // last two were in agreement on timezone
/system/extras/ext4_utils/
H A Dallocate.c35 alloc->list.last = NULL;
37 alloc->oob_list.last = NULL;
77 if (list->last == reg)
78 list->last = reg->prev;
88 list->last = reg;
93 list->last->next = reg;
94 reg->prev = list->last;
95 list->last = reg;
104 list1->last = list2->last;
[all...]
H A Dallocate.h34 struct region *last; member in struct:region_list
/system/media/camera/docs/
H A Dmetadata_helpers_test.py114 for (x, last) in enumerate_with_last(single_value):
116 self.assertEquals(True, last)
H A Dmetadata_helpers.py662 Enumerate a sequence of iterable, while knowing if this element is the last in
669 (element, bool) where the bool is True iff the element is last in the seq.
684 # last element. no more elements left
1293 for (split_string, last) in enumerate_with_last(split_by_wbr_list):
1296 if not last:
/system/bt/stack/include/
H A Da2d_sbc.h169 ** last: 1, if the last packet of a fragmented frame.
181 BOOLEAN last, UINT8 num);
197 ** last: 1, if the last packet of a fragmented frame.
/system/bt/stack/a2dp/
H A Da2d_sbc.c168 ** last: 1, if the last packet of a fragmented frame.
179 void A2D_BldSbcMplHdr(UINT8 *p_dst, BOOLEAN frag, BOOLEAN start, BOOLEAN last, UINT8 num) argument
188 if(last)
208 ** last: 1, if the last packet of a fragmented frame.
/system/core/liblog/tests/
H A Dbenchmark_main.cpp128 unsigned last = iterations; local
134 iterations = std::max(last + 1, std::min(iterations + iterations/2, 100*last));
/system/core/libpixelflinger/arch-arm64/
H A Dt32cb16blend.S166 last: label
210 b last
/system/core/libpixelflinger/
H A Dt32cb16blend.S153 last: label
203 b last
/system/core/debuggerd/
H A Dtombstone.cpp276 size_t first = 0, last; local
283 last = i;
297 for (size_t i = first; i <= last; i++) {
303 if (i == last) {
484 // If "tail" is non-zero, log the last "tail" number of lines.
/system/extras/showmap/
H A Dshowmap.cpp275 mapinfo* last = mi; local
296 free(last);
/system/netd/tests/
H A Ddns_responder.cpp149 bool* last);
158 bool last = false; local
160 cur = parseField(cur, buffer_end, &last);
165 } while (!last);
200 bool* last) {
211 *last = true;
199 parseField(const char* buffer, const char* buffer_end, bool* last) argument
/system/core/liblog/
H A Dpmsg_reader.c318 const char *prev = NULL, *last = NULL, *cp = prefix; local
320 prev = last;
321 last = cp;
433 * pmsg FIFO but retaining the newest data for last with best
/system/extras/simpleperf/
H A Dcmd_report.cpp303 uint64_t parent_period, bool last);
754 uint64_t parent_period, bool last) {
761 if (last) {
752 PrintCallGraphEntry(size_t depth, std::string prefix, const std::unique_ptr<CallChainNode>& node, uint64_t parent_period, bool last) argument
/system/tpm/attestation/server/
H A Dattestation_service.cc820 int last = database_pb->device_keys_size() - 1; local
821 if (i < last) {
822 database_pb->mutable_device_keys()->SwapElements(i, last);

Completed in 483 milliseconds