Searched refs:name_offset (Results 1 – 8 of 8) sorted by relevance
/system/libziparchive/ |
D | zip_cd_entry_map.cc | 25 auto name = reinterpret_cast<const char*>(start + entry.name_offset); in ToStringView() 37 while (hash_table_[ent].name_offset != 0) { in GetCdEntryOffset() 39 return {kSuccess, static_cast<uint64_t>(hash_table_[ent].name_offset)}; in GetCdEntryOffset() 57 while (hash_table_[ent].name_offset != 0) { in AddToMap() 68 hash_table_[ent].name_offset = static_cast<uint32_t>(name.data() - start_char); in AddToMap() 85 if (entry.name_offset != 0) { in Next() 86 return {ToStringView(entry, cd_start), static_cast<uint64_t>(entry.name_offset)}; in Next()
|
D | zip_cd_entry_map.h | 92 uint32_t name_offset : 20; member 103 uint32_t name_offset; member
|
D | zip_archive.cc | 881 off64_t name_offset; in FindEntry() local 882 if (__builtin_add_overflow(local_header_offset, sizeof(LocalFileHeader), &name_offset)) { in FindEntry() 887 if (__builtin_add_overflow(name_offset, name_length, &name_end) || name_end > cd_offset) { in FindEntry() 904 const auto read_name = archive->mapped_zip.ReadAtOffset(name_buf, name_length, name_offset); in FindEntry() 906 ALOGW("Zip: failed reading lfh name from offset %" PRId64, static_cast<int64_t>(name_offset)); in FindEntry() 915 const off64_t lfh_extra_field_offset = name_offset + lfh->file_name_length; in FindEntry()
|
/system/core/property_service/libpropertyinfoserializer/ |
D | property_info_serializer_test.cpp | 69 EXPECT_STREQ("test", serialized_trie.data() + prefix->name_offset); in TEST() 80 EXPECT_STREQ("test1", serialized_trie.data() + match1->name_offset); in TEST() 81 EXPECT_STREQ("test2", serialized_trie.data() + match2->name_offset); in TEST() 82 EXPECT_STREQ("test3", serialized_trie.data() + match3->name_offset); in TEST() 121 EXPECT_STREQ("string", serialized_trie.data() + final_match->name_offset); in TEST()
|
D | trie_serializer.cpp | 51 serialized_property_entry->name_offset = arena_->AllocateAndWriteString(property_entry.name); in WritePropertyEntry()
|
/system/core/property_service/libpropertyinfoparser/include/property_info_parser/ |
D | property_info_parser.h | 32 uint32_t name_offset; member 104 return serialized_data_->c_string(node_property_entry()->name_offset); in name()
|
/system/core/property_service/libpropertyinfoparser/ |
D | property_info_parser.cpp | 98 if (!strncmp(c_string(trie_node.prefix(i)->name_offset), remaining_name, prefix_len)) { in CheckPrefixMatch() 148 if (!strcmp(c_string(trie_node.exact_match(i)->name_offset), remaining_name)) { in GetPropertyInfoIndexes()
|
/system/unwinding/libunwindstack/tests/ |
D | ElfInterfaceTest.cpp | 139 void InitSym(uint64_t offset, uint32_t value, uint32_t size, uint32_t name_offset, 168 void ElfInterfaceTest::InitSym(uint64_t offset, uint32_t value, uint32_t size, uint32_t name_offset, in InitSym() argument 174 sym.st_name = name_offset; in InitSym() 178 fake_memory_->SetMemory(sym_offset + name_offset, name, strlen(name) + 1); in InitSym() 828 uint64_t name_offset; in InitSectionHeadersMalformedSymData() local 829 ASSERT_FALSE(elf->GetFunctionName(0x90010, &name, &name_offset)); in InitSectionHeadersMalformedSymData() 901 uint64_t name_offset; in InitSectionHeaders() local 902 ASSERT_TRUE(elf->GetFunctionName(0x90010, &name, &name_offset)); in InitSectionHeaders() 904 EXPECT_EQ(16U, name_offset); in InitSectionHeaders() 905 ASSERT_TRUE(elf->GetFunctionName(0xd0020, &name, &name_offset)); in InitSectionHeaders() [all …]
|