Searched refs:SectionMetadata (Results 1 – 10 of 10) sorted by relevance
49 std::unordered_map<std::string, const std::vector<SectionMetadata>>;64 std::vector<SectionMetadata>* metadata_list) { in AssignSections()132 libtextclassifier3::StatusOr<std::vector<std::vector<SectionMetadata>>>136 std::vector<std::vector<SectionMetadata>> section_metadata_cache( in BuildSectionMetadataCache()143 std::vector<SectionMetadata> metadata_list; in BuildSectionMetadataCache()172 std::vector<std::vector<SectionMetadata>>&& section_metadata_cache) in SectionManager()182 std::vector<std::vector<SectionMetadata>> section_metadata_cache, in Create()256 ICING_ASSIGN_OR_RETURN(const std::vector<SectionMetadata>* metadata_list, in GetStringSectionContent()268 libtextclassifier3::StatusOr<const SectionMetadata*>276 const std::vector<SectionMetadata>& section_metadatas = in GetSectionMetadata()[all …]
49 struct SectionMetadata { struct73 SectionMetadata(SectionId id_in, TermMatchType::Code term_match_type_in, in SectionMetadata() argument86 SectionMetadata metadata;89 Section(SectionMetadata&& metadata_in, in Section()
86 libtextclassifier3::StatusOr<const SectionMetadata*> GetSectionMetadata(102 libtextclassifier3::StatusOr<const std::vector<SectionMetadata>*>109 std::vector<std::vector<SectionMetadata>>&& section_metadata_cache);123 const std::vector<std::vector<SectionMetadata>> section_metadata_cache_;
208 libtextclassifier3::StatusOr<const SectionMetadata*> GetSectionMetadata(
433 libtextclassifier3::StatusOr<const SectionMetadata*>
32 SectionMetadata metadata;35 TokenizedSection(SectionMetadata&& metadata_in, in TokenizedSection()
66 tokenized_sections_.emplace_back(SectionMetadata(section.metadata), in Tokenize()
74 const SectionMetadata* section_metadata = in Advance()
507 const SectionMetadata* metadata = section_metadata_or.ValueOrDie(); in RetrieveSnippet()
143 const SectionMetadata* metadata = metadata_or.ValueOrDie(); in GetSectionId()