Home | History | Annotate | Download | only in src

Lines Matching refs:pattern

301  * specified in the "search pattern" must be present in the
302 * "target pattern". Here "search pattern" is the set of UUIDs
303 * specified by the service discovery client and "target pattern"
307 * pattern exists in the target pattern, 0 if the
310 static int sdp_match_uuid(sdp_list_t *search, sdp_list_t *pattern)
315 * from the search pattern
317 int patlen = sdp_list_len(pattern);
330 list = sdp_list_find(pattern, uuid128, sdp_uuid128_cmp);
339 * Service search request PDU. This method extracts the search pattern
346 sdp_list_t *pattern = NULL;
357 scanned = extract_des(pdata, data_left, &pattern, &dtd, SDP_TYPE_UUID);
415 /* for every record in the DB, do a pattern search */
424 if (sdp_match_uuid(pattern, rec->pattern) > 0 &&
531 if (pattern)
532 sdp_list_free(pattern, free);
770 sdp_list_t *pattern = NULL, *seq = NULL, *svcList;
780 scanned = extract_des(pdata, data_left, &pattern, &dtd, SDP_TYPE_UUID);
858 if (sdp_match_uuid(pattern, rec->pattern) > 0 &&
936 if (pattern)
937 sdp_list_free(pattern, free);