/system/core/libziparchive/ |
D | entry_name_utils-inl.h | 25 inline bool IsValidEntryName(const uint8_t* entry_name, const size_t length) { in IsValidEntryName() argument 27 const uint8_t byte = entry_name[i]; in IsValidEntryName() 47 const uint8_t continuation_byte = entry_name[i]; in IsValidEntryName()
|
D | zip_archive_test.cc | 513 static void ZipArchiveStreamTest(ZipArchiveHandle& handle, const std::string& entry_name, bool raw, in ZipArchiveStreamTest() argument 516 SetZipString(&name, entry_name); in ZipArchiveStreamTest() 544 const std::string& entry_name, in ZipArchiveStreamTestUsingContents() argument 551 ZipArchiveStreamTest(handle, entry_name, raw, true, &entry, &read_data); in ZipArchiveStreamTestUsingContents() 560 const std::string& entry_name) { in ZipArchiveStreamTestUsingMemory() argument 566 ZipArchiveStreamTest(handle, entry_name, false, true, &entry, &read_data); in ZipArchiveStreamTestUsingMemory()
|
D | zip_archive.cc | 367 ZipString entry_name; in ParseZipArchive() local 368 entry_name.name = file_name; in ParseZipArchive() 369 entry_name.name_length = file_name_length; in ParseZipArchive() 370 const int add_result = AddToHash(archive->hash_table, archive->hash_table_size, entry_name); in ParseZipArchive() 1069 ZipString::ZipString(const char* entry_name) : name(reinterpret_cast<const uint8_t*>(entry_name)) { in ZipString() argument 1070 size_t len = strlen(entry_name); in ZipString()
|
/system/extras/simpleperf/ |
D | read_apk.h | 39 std::string entry_name, in EmbeddedElf() argument 43 , entry_name_(entry_name) in EmbeddedElf() 53 const std::string &entry_name() const { return entry_name_; } in entry_name() function
|
D | read_apk.cpp | 98 std::string entry_name; in FindElfInApkByOffsetWithoutCache() local 99 entry_name.resize(zname.name_length,'\0'); in FindElfInApkByOffsetWithoutCache() 100 memcpy(&entry_name[0], zname.name, zname.name_length); in FindElfInApkByOffsetWithoutCache() 104 << entry_name << "': " << result; in FindElfInApkByOffsetWithoutCache() 109 return std::unique_ptr<EmbeddedElf>(new EmbeddedElf(apk_path, entry_name, zentry.offset, in FindElfInApkByOffsetWithoutCache()
|
D | gtest_main.cpp | 78 std::string entry_name(name.name, name.name + name.name_length); in ExtractTestDataFromElfSection() local 79 std::string path = testdata_dir + entry_name; in ExtractTestDataFromElfSection() 95 LOG(ERROR) << "failed to extract entry " << entry_name; in ExtractTestDataFromElfSection()
|
D | read_apk_test.cpp | 39 ASSERT_EQ(NATIVELIB_IN_APK, ee->entry_name()); in TEST()
|
D | cmd_record.cpp | 894 r.SetDataAndFilename(data, GetUrlInApk(r.filename, ee->entry_name())); in UpdateMmapRecordForEmbeddedElfPath()
|
/system/core/bootstat/ |
D | boot_event_record_store_test.cpp | 79 const std::string entry_name(entry->d_name); in DeleteDirectory() local 80 if (entry_name == "." || entry_name == "..") { in DeleteDirectory() 84 const std::string entry_path = path + "/" + entry_name; in DeleteDirectory()
|
/system/core/fastboot/ |
D | fastboot.cpp | 488 static void* unzip_file(ZipArchiveHandle zip, const char* entry_name, int64_t* sz) { in unzip_file() argument 489 ZipString zip_entry_name(entry_name); in unzip_file() 492 fprintf(stderr, "archive does not contain '%s'\n", entry_name); in unzip_file() 498 fprintf(stderr, "extracting %s (%" PRId64 " MB)...\n", entry_name, *sz / 1024 / 1024); in unzip_file() 501 fprintf(stderr, "failed to allocate %" PRId64 " bytes for '%s'\n", *sz, entry_name); in unzip_file() 507 fprintf(stderr, "failed to extract '%s': %s\n", entry_name, ErrorCodeString(error)); in unzip_file() 613 static int unzip_to_file(ZipArchiveHandle zip, const char* entry_name) { in unzip_to_file() argument 617 entry_name, strerror(errno)); in unzip_to_file() 621 ZipString zip_entry_name(entry_name); in unzip_to_file() 624 fprintf(stderr, "archive does not contain '%s'\n", entry_name); in unzip_to_file() [all …]
|
/system/core/libziparchive/include/ziparchive/ |
D | zip_archive.h | 44 explicit ZipString(const char* entry_name);
|
/system/media/camera/docs/ |
D | html.mako | 56 ….entry_name { color: #333333; padding-left:1.0em; font-size:1.1em; font-family: monospace; vertica… 251 <td class="entry_name
|