Home
last modified time | relevance | path

Searched refs:entry_name (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp692 bool Dumpstate::AddZipEntryFromFd(const std::string& entry_name, int fd) { in AddZipEntryFromFd() argument
695 entry_name.c_str()); in AddZipEntryFromFd()
698 std::string valid_name = entry_name; in AddZipEntryFromFd()
701 size_t idx = entry_name.rfind("."); in AddZipEntryFromFd()
703 std::string extension = entry_name.substr(idx); in AddZipEntryFromFd()
706 valid_name = entry_name + ".renamed"; in AddZipEntryFromFd()
707 MYLOGI("Renaming entry %s to %s\n", entry_name.c_str(), valid_name.c_str()); in AddZipEntryFromFd()
727 MYLOGE("read(%s): %s\n", entry_name.c_str(), strerror(errno)); in AddZipEntryFromFd()
746 bool Dumpstate::AddZipEntry(const std::string& entry_name, const std::string& entry_path) { in AddZipEntry() argument
754 return AddZipEntryFromFd(entry_name, fd.get()); in AddZipEntry()
[all …]
Ddumpstate.h216 bool AddZipEntry(const std::string& entry_name, const std::string& entry_path);
221 bool AddZipEntryFromFd(const std::string& entry_name, int fd);
226 bool AddTextZipEntry(const std::string& entry_name, const std::string& content);
/frameworks/base/core/jni/
Dandroid_util_jar_StrictJarFile.cpp106 ZipString entry_name(prefixChars.c_str()); in StrictJarFile_nativeStartIteration() local
108 handle->CookieAddress(), &entry_name, NULL); in StrictJarFile_nativeStartIteration()
/frameworks/base/tools/aapt2/link/
DTableMerger.cpp258 std::string entry_name = src_entry->name; in DoMerge() local
260 entry_name = NameMangler::MangleEntry(src_package->name, src_entry->name); in DoMerge()
265 dst_entry = dst_type->FindOrCreateEntry(entry_name); in DoMerge()
267 dst_entry = dst_type->FindEntry(entry_name); in DoMerge()
/frameworks/base/cmds/idmap/
Dcreate.cpp16 int get_zip_entry_crc(const char *zip_path, const char *entry_name, uint32_t *crc) in get_zip_entry_crc() argument
22 ZipEntryRO entry = zip->findEntryByName(entry_name); in get_zip_entry_crc()
/frameworks/base/libs/androidfw/
DApkAssets.cpp56 ::ZipString entry_name("resources.arsc"); in LoadImpl()
58 result = ::FindEntry(loaded_apk->zip_handle_.get(), entry_name, &entry); in LoadImpl()
DLoadedArsc.cpp377 const std::u16string& entry_name) const { in FindEntryByName()
383 ssize_t key_idx = key_string_pool_.indexOfString(entry_name.data(), entry_name.size()); in FindEntryByName()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp265 android::ResTable::resource_name entry_name; in LookupAttributeInTable() local
266 if (!table.getResourceName(map_entry.name.ident, false, &entry_name)) { in LookupAttributeInTable()
271 Maybe<ResourceName> parsed_name = ResourceUtils::ToResourceName(entry_name); in LookupAttributeInTable()
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp222 const StringPiece entry_name = entry->name; in WriteSplitApk() local
223 config_sorted_files[std::make_pair(config_value->config, entry_name)] = file_ref; in WriteSplitApk()
DLink.cpp563 const StringPiece entry_name(entry->name); in Flatten() local
564 config_sorted_files[std::make_pair(config_value->config, entry_name)] = in Flatten()
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h109 uint32_t FindEntryByName(const std::u16string& type_name, const std::u16string& entry_name) const;
/frameworks/compile/mclinker/lib/LD/
DELFObjectWriter.cpp263 llvm::StringRef entry_name = target().getEntry(pModule); in getEntryPoint() local
270 const LDSymbol* entry_symbol = pModule.getNamePool().findSymbol(entry_name); in getEntryPoint()
284 result = strtoull(entry_name.data(), &endptr, 0); in getEntryPoint()
287 llvm::errs() << "cannot find entry symbol '" << entry_name.data() in getEntryPoint()