Home
last modified time | relevance | path

Searched refs:name_offset (Results 1 – 7 of 7) sorted by relevance

/system/core/libziparchive/
Dzip_archive_private.h148 uint32_t name_offset; member
153 zip_string.name = start + name_offset; in GetZipString()
Dzip_archive.cc148 while (hash_table[ent].name_offset != 0) { in EntryToIndex()
171 while (hash_table[ent].name_offset != 0) { in AddToHash()
179 hash_table[ent].name_offset = GetOffset(name.name, start); in AddToHash()
655 const off64_t name_offset = local_header_offset + sizeof(LocalFileHeader); in FindEntry() local
656 if (name_offset + lfh->file_name_length > cd_offset) { in FindEntry()
662 if (!archive->mapped_zip.ReadAtOffset(name_buf.data(), nameLen, name_offset)) { in FindEntry()
663 ALOGW("Zip: failed reading lfh name from offset %" PRId64, static_cast<int64_t>(name_offset)); in FindEntry()
791 if (hash_table[i].name_offset != 0 && in Next()
/system/core/property_service/libpropertyinfoserializer/
Dproperty_info_serializer_test.cpp69 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()
Dtrie_serializer.cpp51 serialized_property_entry->name_offset = arena_->AllocateAndWriteString(property_entry.name); in WritePropertyEntry()
/system/core/property_service/libpropertyinfoparser/include/property_info_parser/
Dproperty_info_parser.h30 uint32_t name_offset; member
102 return serialized_data_->c_string(node_property_entry()->name_offset); in name()
/system/core/property_service/libpropertyinfoparser/
Dproperty_info_parser.cpp98 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/core/libunwindstack/tests/
DElfInterfaceTest.cpp116 void InitSym(uint64_t offset, uint32_t value, uint32_t size, uint32_t name_offset,
138 void ElfInterfaceTest::InitSym(uint64_t offset, uint32_t value, uint32_t size, uint32_t name_offset, in InitSym() argument
144 sym.st_name = name_offset; in InitSym()
148 memory_.SetMemory(sym_offset + name_offset, name, strlen(name) + 1); in InitSym()
804 uint64_t name_offset; in InitSectionHeadersMalformedSymData() local
805 ASSERT_FALSE(elf->GetFunctionName(0x90010, &name, &name_offset)); in InitSectionHeadersMalformedSymData()
878 uint64_t name_offset; in InitSectionHeaders() local
879 ASSERT_TRUE(elf->GetFunctionName(0x90010, &name, &name_offset)); in InitSectionHeaders()
881 EXPECT_EQ(16U, name_offset); in InitSectionHeaders()
882 ASSERT_TRUE(elf->GetFunctionName(0xd0020, &name, &name_offset)); in InitSectionHeaders()
[all …]