Searched refs:type_index (Results 1 – 6 of 6) sorted by relevance
/system/core/property_service/libpropertyinfoparser/ |
D | property_info_parser.cpp | 92 uint32_t* context_index, uint32_t* type_index) const { in CheckPrefixMatch() 102 if (trie_node.prefix(i)->type_index != ~0u) { in CheckPrefixMatch() 103 *type_index = trie_node.prefix(i)->type_index; in CheckPrefixMatch() 111 uint32_t* type_index) const { in GetPropertyInfoIndexes() 123 if (trie_node.type_index() != ~0u) { in GetPropertyInfoIndexes() 124 return_type_index = trie_node.type_index(); in GetPropertyInfoIndexes() 156 if (type_index != nullptr) { 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() 160 *type_index = return_type_index; in GetPropertyInfoIndexes() [all …]
|
/system/core/property_service/libpropertyinfoparser/include/property_info_parser/ |
D | property_info_parser.h | 36 uint32_t type_index; member 106 uint32_t type_index() const { return node_property_entry()->type_index; } in type_index() function 146 …void GetPropertyInfoIndexes(const char* name, uint32_t* context_index, uint32_t* type_index) const; 176 uint32_t* context_index, uint32_t* type_index) const;
|
/system/core/property_service/libpropertyinfoserializer/ |
D | property_info_serializer_test.cpp | 49 EXPECT_STREQ("default", property_info_area->type(root_node.type_index())); in TEST() 62 EXPECT_STREQ("1st", property_info_area->type(test_node.type_index())); in TEST() 72 EXPECT_STREQ("2nd", property_info_area->type(prefix->type_index)); in TEST() 88 EXPECT_STREQ("3rd", property_info_area->type(match1->type_index)); in TEST() 89 EXPECT_STREQ("3rd", property_info_area->type(match2->type_index)); in TEST() 90 EXPECT_STREQ("3rd", property_info_area->type(match3->type_index)); in TEST() 123 EXPECT_STREQ("4th", property_info_area->type(final_match->type_index)); in TEST() 146 EXPECT_STREQ("default", property_info_area->type(root_node.type_index())); in TEST()
|
D | trie_serializer.cpp | 46 uint32_t type_index = property_entry.type != nullptr && !property_entry.type->empty() in WritePropertyEntry() local 54 serialized_property_entry->type_index = type_index; in WritePropertyEntry()
|
/system/nfc/src/nfc/ndef/ |
D | ndef_utils.cc | 193 for (int type_index = 0; type_index < type_len; type_index++) { in NDEF_MsgValidate() local 194 if (p_rec_type[type_index] < NDEF_RTD_VALID_START || in NDEF_MsgValidate() 195 p_rec_type[type_index] > NDEF_RTD_VALID_END) in NDEF_MsgValidate()
|
/system/media/audio_utils/include/audio_utils/ |
D | Metadata.h | 133 inline constexpr ssize_t type_index() { 147 inline static constexpr bool contains_v = type_index<T, Ts...>() >= 0; 149 inline static constexpr ssize_t index_of() { return type_index<T, Ts...>(); }
|