Searched refs:exact_match (Results 1 – 6 of 6) sorted by relevance
/system/core/property_service/libpropertyinfoserializer/include/property_info_serializer/ |
D | property_info_serializer.h | 29 PropertyInfoEntry(T&& name, U&& context, V&& type, bool exact_match) in PropertyInfoEntry() 33 exact_match(exact_match) {} in PropertyInfoEntry() 37 bool exact_match; member
|
/system/core/property_service/libpropertyinfoparser/ |
D | property_info_parser.cpp | 148 if (!strcmp(c_string(trie_node.exact_match(i)->name_offset), remaining_name)) { in GetPropertyInfoIndexes() 150 if (trie_node.exact_match(i)->context_index != ~0u) { in GetPropertyInfoIndexes() 151 *context_index = trie_node.exact_match(i)->context_index; in GetPropertyInfoIndexes() 157 if (trie_node.exact_match(i)->type_index != ~0u) { in GetPropertyInfoIndexes() 158 *type_index = trie_node.exact_match(i)->type_index; in GetPropertyInfoIndexes()
|
/system/core/property_service/libpropertyinfoserializer/ |
D | trie_builder.h | 68 bool AddExactMatchContext(const std::string& exact_match, const std::string* context, in AddExactMatchContext() argument 70 if (std::find_if(exact_matches_.begin(), exact_matches_.end(), [&exact_match](const auto& t) { in AddExactMatchContext() 71 return t.name == exact_match; in AddExactMatchContext() 76 exact_matches_.emplace_back(exact_match, context, type); in AddExactMatchContext()
|
D | property_info_file.cpp | 75 auto exact_match = tokenizer.GetNext(); in ParsePropertyInfoLine() local 90 *out = {property, context, Join(type_strings, " "), exact_match == "exact"}; in ParsePropertyInfoLine()
|
D | property_info_serializer_test.cpp | 77 auto match1 = test_node.exact_match(0); in TEST() 78 auto match2 = test_node.exact_match(1); in TEST() 79 auto match3 = test_node.exact_match(2); in TEST() 120 auto final_match = long_string_node.exact_match(0); in TEST()
|
/system/core/property_service/libpropertyinfoparser/include/property_info_parser/ |
D | property_info_parser.h | 127 const PropertyEntry* exact_match(int n) const { in exact_match() function
|