Searched refs:name_offset (Results 1 – 8 of 8) sorted by relevance
/system/libziparchive/ |
D | zip_cd_entry_map.cc | 50 while (hash_table_[ent].name_offset != 0) { in GetCdEntryOffset() 52 return {kSuccess, hash_table_[ent].name_offset}; in GetCdEntryOffset() 69 while (hash_table_[ent].name_offset != 0) { in AddToMap() 80 hash_table_[ent].name_offset = static_cast<uint32_t>(name.data() - start_char); in AddToMap() 94 if (entry.name_offset != 0) { in Next() 95 return {entry.ToStringView(cd_start), entry.name_offset}; in Next()
|
D | zip_cd_entry_map.h | 62 uint32_t name_offset; member 66 return std::string_view{reinterpret_cast<const char*>(start + name_offset), name_length}; in ToStringView()
|
D | zip_archive.cc | 811 off64_t name_offset; in FindEntry() local 812 if (__builtin_add_overflow(local_header_offset, sizeof(LocalFileHeader), &name_offset)) { in FindEntry() 817 if (__builtin_add_overflow(name_offset, name_length, &name_end) || name_end > cd_offset) { in FindEntry() 824 if (!archive->mapped_zip.ReadAtOffset(name_buf.data(), name_buf.size(), name_offset)) { in FindEntry() 825 ALOGW("Zip: failed reading lfh name from offset %" PRId64, static_cast<int64_t>(name_offset)); in FindEntry() 843 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 | 30 uint32_t name_offset; member 102 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, 167 void ElfInterfaceTest::InitSym(uint64_t offset, uint32_t value, uint32_t size, uint32_t name_offset, in InitSym() argument 173 sym.st_name = name_offset; in InitSym() 177 memory_.SetMemory(sym_offset + name_offset, name, strlen(name) + 1); in InitSym() 831 uint64_t name_offset; in InitSectionHeadersMalformedSymData() local 832 ASSERT_FALSE(elf->GetFunctionName(0x90010, &name, &name_offset)); in InitSectionHeadersMalformedSymData() 904 uint64_t name_offset; in InitSectionHeaders() local 905 ASSERT_TRUE(elf->GetFunctionName(0x90010, &name, &name_offset)); in InitSectionHeaders() 907 EXPECT_EQ(16U, name_offset); in InitSectionHeaders() 908 ASSERT_TRUE(elf->GetFunctionName(0xd0020, &name, &name_offset)); in InitSectionHeaders() [all …]
|