/frameworks/base/tools/bit/ |
H A D | util.cpp | 110 dirent* entry; local 111 while ((entry = readdir(dir)) != NULL) { 112 if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0) { 115 if (entry->d_type == DT_DIR) { 116 string subdir = name + "/" + entry->d_name; 118 } else if (entry->d_type == DT_LNK || entry->d_type == DT_REG) { 119 string filename(name + "/" + entry->d_name);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | Archive.cpp | 82 ObjectMemberEntryType* entry = m_ObjectMemberMap.insert(pFileOffset, exist); local 84 entry->setValue(pIter); 114 ArchiveMemberEntryType* entry = m_ArchiveMemberMap.insert(pName, exist); local 116 ArchiveMember& ar = entry->value(); 166 /// addSymbol - add a symtab entry to symtab 172 Symbol* entry = m_SymbolFactory.allocate(); local 173 new (entry) Symbol(pName, pFileOffset, pStatus); 174 m_SymTab.push_back(entry);
|
H A D | EhFrameReader.cpp | 136 llvm::StringRef entry = local 139 if (!transition[cur_state][token.kind](pEhFrame, entry, token)) { 322 // create and push back the CIE entry 348 // create and push back the FDE entry
|
H A D | GarbageCollection.cpp | 113 // 2. get all sections defined the entry point 114 SectionVecTy entry; local 115 getEntrySections(entry); 117 // 3. find all the referenced sections those can be reached by entry 118 findReferencedSections(entry); 168 // of this section, create an entry in ReachedSections map 231 // 1. the entry symbol is the entry 291 // start from each entry, resolve the transitive closure 294 // add entry poin [all...] |
/frameworks/compile/mclinker/lib/Script/ |
H A D | ScriptFile.cpp | 86 EntryCmd* entry = new EntryCmd(pSymbol); local 91 sections->push_back(entry); 93 m_CommandQueue.push_back(entry); 237 ParserStrEntry* entry = local 239 return entry->key();
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
H A D | PduCache.java | 95 synchronized public boolean put(Uri uri, PduCacheEntry entry) { argument 96 int msgBoxId = entry.getMessageBox(); 103 long threadId = entry.getThreadId(); 111 boolean result = super.put(finalKey, entry); 165 PduCacheEntry entry = super.purge(key); 166 if (entry != null) { 167 removeFromThreads(key, entry); 168 removeFromMessageBoxes(key, entry); 169 return entry; 185 * @return Uri The normalized key of cached entry 231 removeFromThreads(Uri key, PduCacheEntry entry) argument 255 removeFromMessageBoxes(Uri key, PduCacheEntry entry) argument [all...] |
/frameworks/rs/ |
H A D | rsFileA3D.cpp | 67 A3DIndexEntry *entry = new A3DIndexEntry(); local 68 entry->mObjectName = headerStream->loadString(); 70 //ALOGV("Header data, entry name = %s", entry->mObjectName.string()); 71 entry->mType = (RsA3DClassID)headerStream->loadU32(); 73 entry->mOffset = headerStream->loadOffset(); 74 entry->mLength = headerStream->loadOffset(); 76 entry->mOffset = headerStream->loadU32(); 77 entry->mLength = headerStream->loadU32(); 79 entry 222 FileA3D::A3DIndexEntry *entry = mIndex[index]; local [all...] |
H A D | rsMap.h | 34 MapEntry entry; member in struct:android::renderscript::Map::LinkNode 61 if (node->entry.first == key) { 62 return node->entry.second; 69 node->entry.first = key; 76 return node->entry.second; 114 return node->entry; 148 if (node->entry.first == key) {
|
/frameworks/av/camera/ |
H A D | VendorTagDescriptor.cpp | 482 auto entry = mVendorMap.find(id); local 483 if (entry != mVendorMap.end()) { 494 auto entry = mVendorMap.find(id); local 495 if (entry == mVendorMap.end()) { 499 *desc = entry->second;
|
/frameworks/av/media/img_utils/src/ |
H A D | TiffIfd.cpp | 34 status_t TiffIfd::addEntry(const sp<TiffEntry>& entry) { argument 37 ALOGW("%s: Failed to add entry for tag 0x%x to IFD %u, too many entries in IFD!", 38 __FUNCTION__, entry->getTag(), mIfdId); 42 if (mEntries.add(entry) < 0) { 43 ALOGW("%s: Failed to add entry for tag 0x%x to ifd %u.", __FUNCTION__, entry->getTag(), 53 ALOGW("%s: No entry for tag 0x%x in ifd %u.", __FUNCTION__, tag, mIfdId); 132 // Write values for each tag entry 135 // Only write values that are too large to fit in the 12-byte TIFF entry 238 ALOGE("%s: Could not build entry fo [all...] |
H A D | TiffWriter.cpp | 185 status_t TiffWriter::addEntry(const sp<TiffEntry>& entry, uint32_t ifd) { argument 186 uint16_t tag = entry->getTag(); 204 return selectedIfd->addEntry(entry); 269 ALOGE("%s: Failed to build SubIfd entry in IFD 0x%x.", __FUNCTION__, parentIfd); 282 ALOGE("%s: Failed to build SubIfd entry in IFD 0x%x.", __FUNCTION__, parentIfd); 287 ALOGE("%s: Failed to build SubIfd entry in IFD 0x%x.", __FUNCTION__, parentIfd); 293 ALOGE("%s: Failed to build SubIfd entry in IFD 0x%x.", __FUNCTION__, parentIfd); 299 ALOGE("%s: Failed to add SubIfd entry in IFD 0x%x.", __FUNCTION__, parentIfd);
|
/frameworks/av/services/mediaanalytics/ |
H A D | MediaAnalyticsService.cpp | 527 AString entry = (*it)->toString(); local 528 result.appendFormat("%5d: %s\n", slot, entry.c_str());
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | FuseAppLoop.java | 146 final CallbackEntry entry = args.entry; 156 final long fileSize = entry.callback.onGetSize(); 166 final long fileSize = entry.callback.onGetSize(); 176 final int readSize = entry.callback.onRead( 186 final int writeSize = entry.callback.onWrite(offset, size, data); 195 entry.callback.onFsync(); 204 entry.callback.onRelease(); 209 mBytesMap.stopUsing(entry.getThreadId()); 244 args.entry 383 CallbackEntry entry; field in class:FuseAppLoop.Args [all...] |
/frameworks/base/libs/hwui/ |
H A D | PathCache.cpp | 212 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) { argument 274 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, argument 286 generateTexture(entry, *bitmap, texture); 290 void PathCache::generateTexture(const PathDescription& entry, Bitmap& bitmap, argument 295 // Such an entry in mCache will only be temporary, since it will be evicted 305 mCache.put(entry, texture); 366 PathDescription entry(ShapeType::Path, paint); 367 entry.shape.path.mGenerationID = path->getGenerationID(); 369 PathTexture* texture = mCache.get(entry); 372 texture = addTexture(entry, pat [all...] |
H A D | PathCache.h | 182 * Used as a callback when an entry is removed from the cache. 237 PathTexture* addTexture(const PathDescription& entry, 244 void generateTexture(const PathDescription& entry, Bitmap& bitmap, PathTexture* texture, 247 PathTexture* get(const PathDescription& entry) { argument 248 return mCache.get(entry);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationGroupManager.java | 81 * An entry was removed. 83 * @param removed the removed entry 84 * @param sbn the notification the entry has, which doesn't need to be the same as it's internal 138 private void onEntryBecomingChild(NotificationData.Entry entry) { argument 139 if (entry.row.isHeadsUp()) { 140 onHeadsUpStateChanged(entry, true); 187 public void onEntryUpdated(NotificationData.Entry entry, argument 190 String newKey = entry.notification.getGroupKey(); 193 boolean isGroupChild = isGroupChild(entry.notification); 196 onEntryRemovedInternal(entry, oldNotificatio 373 onHeadsUpStateChanged(NotificationData.Entry entry, boolean isHeadsUp) argument 403 handleSuppressedSummaryHeadsUpped(NotificationData.Entry entry) argument [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 236 final NetworkStats.Entry entry = new NetworkStats.Entry(); 247 entry.iface = IFACE_ALL; 248 entry.uid = key.uid; 249 entry.set = key.set; 250 entry.tag = key.tag; 251 entry.metered = key.ident.isAnyMemberMetered() ? METERED_YES : METERED_NO; 252 entry.roaming = key.ident.isAnyMemberRoaming() ? ROAMING_YES : ROAMING_NO; 253 entry.rxBytes = historyEntry.rxBytes; 254 entry.rxPackets = historyEntry.rxPackets; 255 entry 271 recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, long end, NetworkStats.Entry entry) argument [all...] |
/frameworks/base/tools/aapt2/ |
H A D | Resource.h | 37 * to the 'type' in package:type/entry. 86 std::string entry; member in struct:aapt::ResourceName 106 android::StringPiece entry; member in struct:aapt::ResourceNameRef 133 * EEEE: 16 bit entry identifier. 277 : package(p.to_string()), type(t), entry(e.to_string()) {} 284 cmp = entry.compare(other.entry); 289 return !package.empty() && !entry.empty(); 293 return std::tie(lhs.package, lhs.type, lhs.entry) < 294 std::tie(rhs.package, rhs.type, rhs.entry); [all...] |
H A D | StringPool.cpp | 42 StringPool::Ref::Ref(StringPool::Entry* entry) : entry_(entry) { argument 95 StringPool::StyleRef::StyleRef(StringPool::StyleEntry* entry) : entry_(entry) { argument 174 Entry* entry = new Entry(); local 175 entry->value = str.to_string(); 176 entry->context = context; 177 entry->index = strings_.size(); 178 entry->ref_ = 0; 179 strings_.emplace_back(entry); 190 Entry* entry = new Entry(); local 210 Entry* entry = new Entry(); local [all...] |
/frameworks/base/tools/aapt2/flatten/ |
H A D | TableFlattener.cpp | 72 ResourceEntry* entry; member in struct:aapt::__anon1350::FlatEntry 75 // The entry string pool index to the entry's name. 123 for (Style::Entry& entry : style->entries) { 124 FlattenEntry(&entry.key, entry.value.get()); 189 * needs to be done to prepare the entry. 273 T* WriteEntry(FlatEntry* entry, BigBuffer* buffer) { argument 280 if (entry->entry 298 FlattenValue(FlatEntry* entry, BigBuffer* buffer) argument 441 ResourceEntry* entry = sorted_entries->at(entryIndex); local [all...] |
/frameworks/base/tools/aapt2/java/ |
H A D | JavaClassGenerator.cpp | 88 // We may reference IDs from other packages, so prefix the entry name with 94 output += "_" + TransformToFieldName(attr_name.entry); 177 line << "<tr><td>" << symbol.symbol.name.value().entry << "</td>" 234 const std::string array_field_name = TransformToFieldName(name.entry); 242 // If we are not encoding final attributes, the styleable entry may have no 244 CHECK(!options_.use_final || attr.id) << "no ID set for Styleable entry"; 245 CHECK(bool(attr.name)) << "no name set for Styleable entry"; 289 for (const StyleableAttr& entry : sorted_attributes) { 290 if (SkipSymbol(entry.symbol)) { 294 StringPiece attr_comment_line = entry 430 ProcessResource(const ResourceNameRef& name, const ResourceId& id, const ResourceEntry& entry, ClassDefinition* out_class_def, MethodDefinition* out_rewrite_method, std::ostream* out_r_txt) argument 479 UnmangleResource(const StringPiece& package_name, const StringPiece& package_name_to_generate, const ResourceEntry& entry) argument [all...] |
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoDeserializer.cpp | 88 ResourceEntry* entry = type->FindOrCreateEntry(pbEntry.name()); local 95 DeserializeSourceFromPb(pbStatus.source(), *source_pool_, &entry->symbol_status.source); 99 entry->symbol_status.comment = pbStatus.comment(); 102 entry->symbol_status.allow_new = pbStatus.allow_new(); 105 entry->symbol_status.state = visibility; 110 entry->id = static_cast<uint16_t>(pbEntry.id()); 129 idIndex[resId] = ResourceNameRef(pkg->name, type->type, entry->name); 141 ResourceConfigValue* configValue = entry->FindOrCreateValue(config, pbConfig.product()); 273 Style::Entry entry; local 274 DeserializeItemCommon(pb_entry, &entry [all...] |
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsGOT.cpp | 242 LocalEntry entry(&pInfo, pAddend, reloc == llvm::ELF::R_MIPS_GOT16); 244 if (m_InputLocalSymbols.count(entry)) 249 if (m_MergedLocalSymbols.count(entry)) { 252 m_InputLocalSymbols.insert(entry); 259 m_InputLocalSymbols.insert(entry); 487 void Mips32GOT::setEntryValue(Fragment* entry, uint64_t pValue) { argument 488 llvm::cast<Mips32GOTEntry>(entry)->setValue(pValue); 522 void Mips64GOT::setEntryValue(Fragment* entry, uint64_t pValue) { argument 523 llvm::cast<Mips64GOTEntry>(entry)->setValue(pValue);
|
/frameworks/native/cmds/lshal/ |
H A D | ListCommand.cpp | 133 for (TableEntry &entry : table) { 134 entry.serverCmdline = getCmdline(entry.serverPid); 135 removeDeadProcesses(&entry.clientPids); 136 for (auto pid : entry.clientPids) { 137 entry.clientCmdlines.push_back(this->getCmdline(pid)); 204 << " 4. sepolicy version is set to 0.0. It is recommended that the entry" << std::endl 211 for (const TableEntry &entry : table) { 213 std::string fqInstanceName = entry.interfaceName; 241 if (entry 391 putEntry(TableEntrySource source, TableEntry &&entry) argument [all...] |
/frameworks/native/vulkan/libvulkan/ |
H A D | layers_extensions.cpp | 337 dirent* entry; local 338 while ((entry = readdir(dir.get())) != nullptr) 339 functor(entry->d_name); 363 ZipEntry entry; local 365 while (Next(iter_cookie, &entry, &name) == 0) { 376 if (entry.method != kCompressStored || entry.offset % PAGE_SIZE != 0) 446 [=](const Layer& entry) { 447 return strcmp(entry.properties.layerName, name) == 0;
|