Home
last modified time | relevance | path

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

/system/core/property_service/libpropertyinfoserializer/include/property_info_serializer/
Dproperty_info_serializer.h28 PropertyInfoEntry(T&& name, U&& context, V&& type, bool exact_match) in PropertyInfoEntry()
32 exact_match(exact_match) {} in PropertyInfoEntry()
36 bool exact_match; member
/system/core/property_service/libpropertyinfoserializer/
Dproperty_info_file.cpp86 bool exact_match = false; in ParsePropertyInfoLine() local
88 exact_match = true; in ParsePropertyInfoLine()
100 *out = {property, context, Join(type_strings, " "), exact_match}; in ParsePropertyInfoLine()
Dtrie_builder.h68 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()
Dproperty_info_serializer_test.cpp77 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/
Dproperty_info_parser.cpp148 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/tools/sysprop/
DTypeChecker.cpp90 if (!entry.exact_match) continue; in CheckPropertyTypes()
/system/core/property_service/libpropertyinfoparser/include/property_info_parser/
Dproperty_info_parser.h127 const PropertyEntry* exact_match(int n) const { in exact_match() function