Searched refs:property_entry (Results 1 – 6 of 6) sorted by relevance
64 auto& property_entry = test_node->prefixes()[0]; in TEST() local65 EXPECT_EQ("test", property_entry.name); in TEST()66 ASSERT_NE(nullptr, property_entry.context); in TEST()67 EXPECT_EQ("2nd", *property_entry.context); in TEST()68 ASSERT_NE(nullptr, property_entry.type); in TEST()69 EXPECT_EQ("2nd_type", *property_entry.type); in TEST()119 auto& property_entry = long_string_node->exact_matches()[0]; in TEST() local120 EXPECT_EQ("string", property_entry.name); in TEST()121 ASSERT_NE(nullptr, property_entry.context); in TEST()122 EXPECT_EQ("4th", *property_entry.context); in TEST()[all …]
42 uint32_t TrieSerializer::WritePropertyEntry(const PropertyEntryBuilder& property_entry) { in WritePropertyEntry() argument43 uint32_t context_index = property_entry.context != nullptr && !property_entry.context->empty() in WritePropertyEntry()44 … ? serialized_info()->FindContextIndex(property_entry.context->c_str()) in WritePropertyEntry()46 uint32_t type_index = property_entry.type != nullptr && !property_entry.type->empty() in WritePropertyEntry()47 ? serialized_info()->FindTypeIndex(property_entry.type->c_str()) in WritePropertyEntry()51 serialized_property_entry->name_offset = arena_->AllocateAndWriteString(property_entry.name); in WritePropertyEntry()52 serialized_property_entry->namelen = property_entry.name.size(); in WritePropertyEntry()62 trie->property_entry = WritePropertyEntry(builder_node.property_entry()); in WriteTrieNode()
39 uint32_t WritePropertyEntry(const PropertyEntryBuilder& property_entry);
86 const PropertyEntryBuilder property_entry() const { return property_entry_; } in property_entry() function
41 uint32_t property_entry; member137 trie_node_base_->property_entry); in node_property_entry()
105 property_entry = (self.SECONDARY_OTA_PAYLOAD_PROPERTIES_TXT if107 self.properties = otazip.read(property_entry)