Lines Matching defs:feature
35 static const char* interop_feature_string_(const interop_feature_t feature);
38 static bool interop_match_fixed_(const interop_feature_t feature, const bt_bdaddr_t *addr);
39 static bool interop_match_dynamic_(const interop_feature_t feature, const bt_bdaddr_t *addr);
43 bool interop_match_addr(const interop_feature_t feature, const bt_bdaddr_t *addr) {
46 if (interop_match_fixed_(feature, addr) || interop_match_dynamic_(feature, addr)) {
50 interop_feature_string_(feature));
57 bool interop_match_name(const interop_feature_t feature, const char *name) {
62 if (feature == interop_name_database[i].feature &&
72 void interop_database_add(const uint16_t feature, const bt_bdaddr_t *addr, size_t length) {
79 entry->feature = feature;
110 static const char* interop_feature_string_(const interop_feature_t feature) {
111 switch (feature) {
134 static bool interop_match_dynamic_(const interop_feature_t feature, const bt_bdaddr_t *addr) {
143 if (feature == entry->feature && memcmp(addr, &entry->addr, entry->length) == 0)
151 static bool interop_match_fixed_(const interop_feature_t feature, const bt_bdaddr_t *addr) {
156 if (feature == interop_addr_database[i].feature &&