/system/extras/iotop/ |
H A D | tasklist.cpp | 37 dirent* entry; local 38 while ((entry = readdir(dir.get())) != nullptr) { 39 if (isdigit(entry->d_name[0])) { 40 pid_t pid = atoi(entry->d_name);
|
/system/extras/kexec_tools/ |
H A D | kexec.h | 19 static inline long kexec_load(unsigned int entry, unsigned long nr_segments, argument 21 return syscall(__NR_kexec_load, entry, nr_segments, segment, flags);
|
/system/netd/tests/dns_responder/ |
H A D | dns_responder_client.h | 19 std::string entry; member in struct:DnsResponderClient::Mapping
|
/system/core/libunwindstack/ |
H A D | unwind_info.cpp | 41 for (const auto& entry : interface->pt_loads()) { 42 uint64_t load_bias = entry.second.table_offset; 43 printf(" PC Range 0x%" PRIx64 " - 0x%" PRIx64 "\n", entry.second.offset + load_bias, 44 entry.second.table_size + load_bias); 53 uint64_t entry; local 54 if (!interface->FindEntry(addr + load_bias, &entry)) { 55 printf(" Cannot find entry for address.\n"); 62 if (!arm.ExtractEntryData(entry)) {
|
/system/core/logd/ |
H A D | FlushCommand.cpp | 51 LogTimeEntry* entry = NULL; local 57 entry = (*it); 58 if (entry->mClient == client) { 59 if (entry->mTimeout.tv_sec || entry->mTimeout.tv_nsec) { 67 if (((entry->mEnd + entry->mTimeout) > now) && 68 (now > entry->mEnd)) { 73 entry->triggerReader_Locked(); 74 if (entry [all...] |
H A D | LogBufferElement.cpp | 209 struct logger_entry_v4 entry; local 211 memset(&entry, 0, sizeof(struct logger_entry_v4)); 213 entry.hdr_size = privileged ? sizeof(struct logger_entry_v4) 215 entry.lid = mLogId; 216 entry.pid = mPid; 217 entry.tid = mTid; 218 entry.uid = mUid; 219 entry.sec = mRealTime.tv_sec; 220 entry.nsec = mRealTime.tv_nsec; 223 iovec[0].iov_base = &entry; [all...] |
/system/bt/device/src/ |
H A D | interop.cc | 86 interop_addr_entry_t* entry = static_cast<interop_addr_entry_t*>( 88 memcpy(&entry->addr, addr, length); 89 entry->feature = static_cast<interop_feature_t>(feature); 90 entry->length = length; 93 list_append(interop_list, entry); 136 interop_addr_entry_t* entry = (interop_addr_entry_t*)data; local 137 osi_free(entry); 152 interop_addr_entry_t* entry = local 154 CHECK(entry); 156 if (feature == entry [all...] |
/system/core/bootstat/ |
H A D | boot_event_record_store.cpp | 120 struct dirent* entry; local 121 while ((entry = readdir(dir.get())) != NULL) { 123 if (entry->d_type != DT_REG) { 127 const std::string event = entry->d_name;
|
H A D | boot_event_record_store_test.cpp | 74 struct dirent* entry; local 75 while ((entry = readdir(dir.get())) != NULL) { 76 const std::string entry_name(entry->d_name); 82 if (entry->d_type == DT_DIR) {
|
/system/core/libbacktrace/ |
H A D | ThreadEntry.cpp | 51 ThreadEntry* entry = list_; local 52 while (entry != nullptr) { 53 if (entry->Match(pid, tid)) { 56 entry = entry->next_; 59 if (!entry) { 61 entry = new ThreadEntry(pid, tid); 64 entry->ref_count_++; 68 return entry; 71 void ThreadEntry::Remove(ThreadEntry* entry) { argument [all...] |
H A D | BacktraceCurrent.cpp | 123 ThreadEntry* entry = ThreadEntry::Get(getpid(), gettid(), false); local 124 if (!entry) { 125 BACK_LOGE("pid %d, tid %d entry not found", getpid(), gettid()); 129 entry->CopyUcontextFromSigcontext(sigcontext); 132 entry->Wake(); 138 if (entry->Wait(2)) { 139 // Do not remove the entry here because that can result in a deadlock 141 entry->Wake(); 143 // At this point, it is possible that entry has been freed, so just exit. 153 ThreadEntry* entry local [all...] |
/system/core/liblog/ |
H A D | stderr_write.c | 153 AndroidLogEntry entry; local 162 log_msg.entry.len = 0; 163 log_msg.entry.hdr_size = sizeof(log_msg.entry); 164 log_msg.entry.pid = getpid(); 166 log_msg.entry.tid = gettid(); 168 log_msg.entry.tid = getpid(); 170 log_msg.entry.sec = ts->tv_sec; 171 log_msg.entry.nsec = ts->tv_nsec; 172 log_msg.entry [all...] |
/system/core/libziparchive/ |
H A D | zip_writer_test.cc | 316 ZipWriter::FileEntry entry; local 317 EXPECT_LT(writer.GetLastEntry(&entry), 0); 323 ASSERT_EQ(0, writer.GetLastEntry(&entry)); 324 EXPECT_EQ("keep.txt", entry.path); 330 ASSERT_EQ(0, writer.GetLastEntry(&entry)); 331 EXPECT_EQ("drop.txt", entry.path); 335 ASSERT_EQ(0, writer.GetLastEntry(&entry)); 336 EXPECT_EQ("keep.txt", entry.path); 342 ASSERT_EQ(0, writer.GetLastEntry(&entry)); 343 EXPECT_EQ("replace.txt", entry 383 ZipWriter::FileEntry entry; local [all...] |
H A D | zip_archive_stream_entry.cc | 40 bool ZipArchiveStreamEntry::Init(const ZipEntry& entry) { argument 42 off64_t data_offset = entry.offset; 47 crc32_ = entry.crc32; 62 bool Init(const ZipEntry& entry) override; 71 bool ZipArchiveStreamEntryUncompressed::Init(const ZipEntry& entry) { argument 72 if (!ZipArchiveStreamEntry::Init(entry)) { 76 length_ = entry.uncompressed_length; 125 bool Init(const ZipEntry& entry) override; 145 bool ZipArchiveStreamEntryCompressed::Init(const ZipEntry& entry) { argument 146 if (!ZipArchiveStreamEntry::Init(entry)) { 266 Init(const ZipEntry& entry) argument 279 Create( ZipArchiveHandle handle, const ZipEntry& entry) argument 295 CreateRaw( ZipArchiveHandle handle, const ZipEntry& entry) argument [all...] |
/system/core/init/ |
H A D | bootchart.cpp | 108 struct dirent* entry; local 109 while ((entry = readdir(dir.get())) != NULL) { 111 int pid = atoi(entry->d_name);
|
/system/core/libpixelflinger/codeflinger/ |
H A D | Arm64Disassembler.cpp | 280 disasm_table_entry_t *entry = NULL; local 283 entry = &disasm_table[i]; 284 if((code & entry->mask) == entry->value) 298 uint32_t length = strlen(entry->instr_template); 302 get_token(entry->instr_template, index, token);
|
H A D | CodeCache.h | 97 : entry(a), when(w) { } 98 sp<Assembly> entry; member in struct:android::CodeCache::cache_entry_t
|
/system/extras/simpleperf/ |
H A D | gtest_main.cpp | 71 ZipEntry entry; local 73 while (Next(cookie, &entry, &name) == 0) { 89 std::vector<uint8_t> data(entry.uncompressed_length); 90 if (ExtractToMemory(handle, &entry, data.data(), data.size()) != 0) { 91 LOG(ERROR) << "failed to extract entry " << entry_name;
|
/system/media/audio_utils/include/audio_utils/ |
H A D | ErrorLog.h | 35 * (within a specified time) into a single entry (to reduce log spamming). 37 * The entry thus contains the number of consecutive error codes, 50 * to be aggregated into a single entry. 83 // Add new error entry. 119 const auto &entry = local 121 if (entry.mCount == 0 || entry.mLastTime < limitNs) { 129 const auto &entry = local 132 ss << prefix << std::setw(5) << entry.mCode 133 << " " << std::setw(5) << entry [all...] |
/system/security/keystore/ |
H A D | auth_token_table.h | 101 Entry(Entry&& entry) { *this = std::move(entry); } argument 114 bool Supersedes(const Entry& entry) const; 117 bool is_newer_than(const Entry* entry) { argument 118 if (!entry) return true; 119 return timestamp_host_order() > entry->timestamp_host_order(); 144 void RemoveEntriesSupersededBy(const Entry& entry); 145 bool IsSupersededBySomeEntry(const Entry& entry);
|
/system/bt/stack/smp/ |
H A D | smp_br_main.cc | 288 * Description Handle events to the state machine. It looks up the entry 290 * If it is a valid entry, it gets the state table. Set the next 302 uint8_t action, entry; local 317 /* lookup entry / w event & curr_state */ 318 /* If entry is ignore, return. 321 ((entry = entry_table[event - 1][curr_state]) != SMP_BR_SM_IGNORE)) { 322 if (entry & SMP_BR_ALL_TABLE_MASK) { 323 entry &= ~SMP_BR_ALL_TABLE_MASK; 337 smp_set_br_state(state_table[entry - 1][SMP_BR_SME_NEXT_STATE]); 344 action = state_table[entry [all...] |
/system/core/healthd/ |
H A D | BatteryMonitor.cpp | 479 struct dirent* entry; local 481 while ((entry = readdir(dir.get()))) { 482 const char* name = entry->d_name;
|
/system/core/include/log/ |
H A D | log_read.h | 63 char msg[0]; /* the entry's payload */ 82 char msg[0]; /* the entry's payload */ 101 char msg[0]; /* the entry's payload */ 121 char msg[0]; /* the entry's payload */ 127 * The maximum size of the log entry payload that can be 129 * this amount will result in a truncated log entry. 134 * The maximum size of a log entry which can be read. 145 struct logger_entry_v4 entry; member in union:log_msg::__anon1436 154 return (entry.sec == T.entry [all...] |
/system/core/include/utils/ |
H A D | LruCache.h | 88 size_t operator() (const KeyedEntry* entry) const { 89 return hash_type(entry->getKey()); 103 void attachToCache(Entry& entry); 104 void detachFromCache(Entry& entry); 197 Entry *entry = reinterpret_cast<Entry*>(*find_result); local 198 detachFromCache(*entry); 199 attachToCache(*entry); 200 return entry->value; 227 Entry* entry = reinterpret_cast<Entry*>(*find_result); local 228 mSet->erase(entry); 270 attachToCache(Entry& entry) argument 281 detachFromCache(Entry& entry) argument [all...] |
/system/core/libappfuse/ |
H A D | FuseBridgeLoop.cc | 36 FuseBridgeEntry* entry; member in struct:android::fuse::__anon1509::FuseBridgeEntryEvent 266 entries_out->insert(entry_event->entry); 332 for (auto entry : entries) { 333 entry->Transfer(callback); 334 if (!epoll_controller_->UpdateOrDeleteBridgePoll(entry)) { 337 if (entry->IsClosing()) { 338 const int mount_id = entry->mount_id();
|