/system/core/liblog/ |
H A D | log_ratelimit.cpp | 25 // Global default if 'last' argument in __android_log_ratelimit is NULL 30 // provides their own 'last' argument, then they can play such games 36 // Lock to protect last_clock and last_seconds, but also 'last' 40 // if last is NULL, caller _must_ provide a consistent value for 45 LIBLOG_ABI_PUBLIC int __android_log_ratelimit(time_t seconds, time_t* last) { argument 67 if (!last) { 73 last = &g_last_clock; 77 if ((now == (time_t)-1) || ((*last + seconds) > now)) { 82 *last = now;
|
H A D | local_logger.c | 110 * LOG_ID_KERNEL = 6, // place last, third-parties can not use it 130 struct listnode* last[NUMBER_OF_LOG_BUFFERS]; /* init &head */ member in struct:LogBuffer 144 log->last[i] = &log->head; 165 log->last[i] = &log->head; 194 if (log->last[logId] == &log->head) { 195 log->last[logId] = list_tail(&log->head); 198 struct listnode* node = log->last[logId]; 222 log->last[logId] = node->prev; 225 LOG_ALWAYS_FATAL_IF(node == log->last[logId], "corrupted list"); 475 logbuf.last[logI [all...] |
/system/tools/hidl/ |
H A D | Location.cpp | 100 Position last = Position(loc.end().filename(), loc.end().line(), local 103 if (loc.begin().filename() != last.filename()) { 104 ostr << "-" << last; local 105 } else if (loc.begin().line() != last.line()) { 106 ostr << "-" << last.line() << "." << last.column(); 107 } else if (loc.begin().column() != last.column()) { 108 ostr << "-" << last.column();
|
/system/core/logcat/tests/ |
H A D | logcat_benchmark.cpp | 75 } last(NULL); 87 if (!last.valid()) { 90 last.init(buffer); 93 if (next < last) { 103 last.init(buffer);
|
/system/tools/hidl/docs/src/parser/elements/declarations/ |
H A D | InterfaceDeclarationParser.kt | 38 assert(tokens.last().identifier == TokenGrammar.SEMICOLON) 43 assert(sigToks.last().category == TokenCategory.Word) //either interface name or extends name 49 this.extendsName = sigToks.last().value
|
H A D | TypedefDeclarationParser.kt | 34 assert(tokens.last().identifier == TokenGrammar.SEMICOLON)
|
H A D | MethodDeclarationParser.kt | 41 assert(tokens.last().identifier == TokenGrammar.SEMICOLON) 89 val type = paramTokens.takeWhile { it != paramTokens.last() } //but-last 92 val name = paramTokens.last().value
|
H A D | CompoundDeclarationParser.kt | 43 assert(tokens.last().identifier == TokenGrammar.SEMICOLON) 83 name = statementTokens.last().value, 100 name = statementTokens.last().value,
|
/system/core/logcat/ |
H A D | logcatd_main.cpp | 32 // Save and detect presence of -L or --last flag 34 bool last = false; local 38 if (!strcmp(argv[i], "-L") || !strcmp(argv[i], "--last")) last = true; 47 if (last) { 51 // Remove -L and --last flags from argument list 54 if (!*it || (strcmp(*it, "-L") && strcmp(*it, "--last"))) {
|
/system/core/libunwindstack/ |
H A D | ElfInterfaceArm.cpp | 36 size_t last = total_entries_; local 37 while (first < last) { 38 size_t current = (first + last) / 2; 51 last = current; 56 if (last != 0) { 57 *entry_offset = start_offset_ + (last - 1) * 8;
|
H A D | Symbols.cpp | 41 size_t last = symbols_.size(); local 42 while (first < last) { 43 size_t current = first + (last - first) / 2; 46 last = current;
|
H A D | DwarfEhFrameWithHdr.cpp | 123 size_t last = total_entries; local 124 while (first < last) { 125 size_t current = (first + last) / 2; 135 last = current; 140 if (last != 0) { 141 const FdeInfo* info = GetFdeInfoFromIndex(last - 1);
|
H A D | Maps.cpp | 44 size_t last = maps_.size(); local 45 while (first < last) { 46 size_t index = (first + last) / 2; 51 last = index;
|
/system/core/include/sysutils/ |
H A D | List.h | 190 * 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 D | List.h | 191 * Return the first element or one past the last element. The 224 void insert(iterator posn, const_iterator first, const_iterator last) { argument 225 for ( ; first != last; ++first) 240 iterator erase(iterator first, iterator last) { argument 241 while (first != last) 243 return iterator(last); 262 * will be equal to "last". The iterators must refer to the same 276 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const 279 while (first != last) {
|
/system/core/libsysutils/include/sysutils/ |
H A D | List.h | 190 * 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/libutils/include/utils/ |
H A D | List.h | 191 * Return the first element or one past the last element. The 224 void insert(iterator posn, const_iterator first, const_iterator last) { argument 225 for ( ; first != last; ++first) 240 iterator erase(iterator first, iterator last) { argument 241 while (first != last) 243 return iterator(last); 262 * will be equal to "last". The iterators must refer to the same 276 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const 279 while (first != last) {
|
/system/keymaster/include/keymaster/ |
H A D | List.h | 189 * 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/debuggerd/ |
H A D | debuggerd_benchmark.cpp | 50 auto last = begin; local 55 auto diff = now - last; 60 last = now;
|
/system/tools/hidl/c2hal/ |
H A D | Type.cpp | 247 Qualifier *last = (*mQualifiers)[mQualifiers->size() - 1]; local 249 if(last == NULL || last->qualification != Qualifier::ID) { 253 std::string ret{last->id};
|
/system/core/logd/ |
H A D | LogBuffer.cpp | 140 LogBufferElement* last) { 145 // if (!last) return DIFFERENT; 146 ssize_t lenr = last->getMsgLen(); 148 // if (elem->getLogId() != last->getLogId()) return DIFFERENT; 149 if (elem->getUid() != last->getUid()) return DIFFERENT; 150 if (elem->getPid() != last->getPid()) return DIFFERENT; 151 if (elem->getTid() != last->getTid()) return DIFFERENT; 153 // last is more than a minute old, stop squashing identical messages 155 (last->getRealTime().nsec() + 60 * NS_PER_SEC)) 160 const char* msgr = last 139 identical(LogBufferElement* elem, LogBufferElement* last) argument 394 LogBufferElementCollection::iterator last = it; local 829 LogBufferElementLast last; local 1123 LogBufferElementCollection::iterator last; local [all...] |
H A D | LogKlog.cpp | 99 char* android::log_strntok_r(char* s, ssize_t& len, char*& last, argument 104 if (!(s = last)) return nullptr; 126 if (len <= 0) return last = nullptr; 131 last = nullptr; 141 last = s; 151 last = s; 183 last = s; 539 // leading additional spaces means no tag, inherit last tag. 814 if ((abs1 <= 1) && // last two were in agreement on timezone
|
/system/media/camera/docs/ |
H A D | metadata_helpers_test.py | 114 for (x, last) in enumerate_with_last(single_value): 116 self.assertEquals(True, last)
|
/system/core/adb/ |
H A D | socket_test.cpp | 51 int last[2]; local 59 ASSERT_EQ(0, adb_socketpair(last)) << strerror(errno); 82 asocket* end = create_local_socket(last[0]); 93 ASSERT_TRUE(ReadFdExactly(last[1], &write_buffer[0], write_buffer.size())); 98 ASSERT_EQ(0, adb_close(last[1]));
|
/system/tools/hidl/docs/src/parser/elements/ |
H A D | DocParser.kt | 61 assert(tokens.last().identifier == TokenGrammar.DOC_END)
|