Home
last modified time | relevance | path

Searched refs:match_type (Results 1 – 22 of 22) sorted by relevance

/external/bluetooth/glib/tests/
Dpatterntest.c56 GMatchType match_type; member
65 match_type_name (GMatchType match_type) in match_type_name() argument
67 switch (match_type) in match_type_name()
92 GMatchType match_type, in test_compilation() argument
101 if (spec->match_type != match_type) in test_compilation()
104 match_type_name (spec->match_type), in test_compilation()
105 match_type_name (match_type)); in test_compilation()
138 match_type_name (spec->match_type), in test_compilation()
178 match_type_name (p1->match_type), p1->pattern_length, p1->pattern, in test_equal()
180 match_type_name (p2->match_type), p2->pattern_length, p2->pattern); in test_equal()
/external/bluetooth/glib/glib/
Dgpattern.c46 GMatchType match_type; member
146 switch (pspec->match_type) in g_pattern_match()
181 g_return_val_if_fail (pspec->match_type < G_MATCH_LAST, FALSE); in g_pattern_match()
260 pspec->match_type = G_MATCH_TAIL; in g_pattern_spec_new()
268 pspec->match_type = G_MATCH_HEAD; in g_pattern_spec_new()
274 pspec->match_type = G_MATCH_EXACT; in g_pattern_spec_new()
283 pspec->match_type = tw_pos > hw_pos ? G_MATCH_ALL_TAIL : G_MATCH_ALL; in g_pattern_spec_new()
285 pspec->match_type = tj_pos > hj_pos ? G_MATCH_ALL_TAIL : G_MATCH_ALL; in g_pattern_spec_new()
286 if (pspec->match_type == G_MATCH_ALL_TAIL) { in g_pattern_spec_new()
311 pspec1->match_type == pspec2->match_type && in g_pattern_spec_equal()
/external/chromium/chrome/common/extensions/
Dextension_icon_set.cc22 std::string ExtensionIconSet::Get(int size, MatchType match_type) const { in Get()
25 if (match_type == MATCH_EXACTLY) { in Get()
28 } else if (match_type == MATCH_SMALLER) { in Get()
39 CHECK(match_type == MATCH_BIGGER); in Get()
Dextension_icon_set.h36 std::string Get(int size, MatchType match_type) const;
Dextension.h523 int size, ExtensionIconSet::MatchType match_type) const;
524 GURL GetIconURL(int size, ExtensionIconSet::MatchType match_type) const;
Dextension.cc2646 int size, ExtensionIconSet::MatchType match_type) const { in GetIconResource()
2647 std::string path = icons().Get(size, match_type); in GetIconResource()
2654 ExtensionIconSet::MatchType match_type) const { in GetIconURL()
2655 std::string path = icons().Get(size, match_type); in GetIconURL()
/external/openfst/src/include/fst/
Dmatcher.h137 SortedMatcher(const F &fst, MatchType match_type,
142 match_type_(match_type),
361 MatchType match_type,
365 : matcher_(matcher ? matcher : new M(fst, match_type)),
366 match_type_(match_type),
369 if (match_type == MATCH_BOTH) {
529 MatchType match_type,
533 : matcher_(matcher ? matcher : new M(fst, match_type)),
534 match_type_(match_type),
537 if (match_type == MATCH_BOTH) {
[all …]
Dmatcher-fst.h141 virtual M *InitMatcher(MatchType match_type) const { in InitMatcher() argument
142 return new M(GetFst(), match_type, GetData(match_type)); in InitMatcher()
152 typename M::MatcherData *GetData(MatchType match_type) const { in GetData() argument
154 return match_type == MATCH_INPUT ? data->First() : data->Second(); in GetData()
212 Matcher(const FST &fst, MatchType match_type) { in Matcher() argument
213 matcher_ = fst.InitMatcher(match_type); in Matcher()
252 LookAheadMatcher(const FST &fst, MatchType match_type) { in LookAheadMatcher() argument
253 matcher_ = fst.InitMatcher(match_type); in LookAheadMatcher()
Dlookahead-matcher.h193 TrivialLookAheadMatcher(const FST &fst, MatchType match_type) in TrivialLookAheadMatcher() argument
194 : matcher_(fst, match_type) {} in TrivialLookAheadMatcher()
265 ArcLookAheadMatcher(const FST &fst, MatchType match_type,
267 : matcher_(fst, match_type), in matcher_() argument
438 LabelLookAheadMatcher(const FST &fst, MatchType match_type,
440 : matcher_(fst, match_type), in matcher_() argument
449 bool reach_input = match_type == MATCH_INPUT; in matcher_()
718 LookAheadMatcher(const F &fst, MatchType match_type) { in LookAheadMatcher() argument
719 base_ = fst.InitMatcher(match_type); in LookAheadMatcher()
721 base_ = new SortedMatcher<F>(fst, match_type); in LookAheadMatcher()
Dreplace.h993 virtual MatcherBase<A> *InitMatcher(MatchType match_type) const { in InitMatcher() argument
995 ((match_type == MATCH_INPUT && Properties(kILabelSorted, false)) || in InitMatcher()
996 (match_type == MATCH_OUTPUT && Properties(kOLabelSorted, false)))) { in InitMatcher()
997 return new ReplaceFstMatcher<A, T>(*this, match_type); in InitMatcher()
1241 ReplaceFstMatcher(const ReplaceFst<A, T> &fst, fst::MatchType match_type) in ReplaceFstMatcher() argument
1245 match_type_(match_type), in ReplaceFstMatcher()
Dfst.h267 virtual MatcherBase<A> *InitMatcher(MatchType match_type) const;
523 MatcherBase<A> *Fst<A>::InitMatcher(MatchType match_type) const { in InitMatcher() argument
Dcompact-fst.h874 virtual MatcherBase<A> *InitMatcher(MatchType match_type) const { in InitMatcher() argument
875 return new SortedMatcher<CompactFst<A, C, U> >(*this, match_type); in InitMatcher()
/external/iptables/extensions/
Dlibxt_sctp.c228 const char *match_type, in parse_sctp_chunks() argument
231 DEBUGP("Match type: %s Chunks: %s\n", match_type, chunks); in parse_sctp_chunks()
232 if (!strcasecmp(match_type, "ANY")) { in parse_sctp_chunks()
234 } else if (!strcasecmp(match_type, "ALL")) { in parse_sctp_chunks()
236 } else if (!strcasecmp(match_type, "ONLY")) { in parse_sctp_chunks()
/external/chromium/chrome/browser/autocomplete/
Dhistory_url_provider.h191 MatchType match_type,
290 MatchType match_type,
Dhistory_url_provider.cc459 MatchType match_type, in CalculateRelevance() argument
461 switch (match_type) { in CalculateRelevance()
775 MatchType match_type, in HistoryMatchToACMatch() argument
779 CalculateRelevance(params->input.type(), match_type, match_number), in HistoryMatchToACMatch()
785 std::string languages = (match_type == WHAT_YOU_TYPED) ? in HistoryMatchToACMatch()
Dhistory_quick_provider.h59 MatchType match_type,
Dhistory_quick_provider.cc201 MatchType match_type, in CalculateRelevance() argument
203 switch (match_type) { in CalculateRelevance()
/external/chromium/chrome/browser/ui/webui/
Dextension_icon_source.cc267 ExtensionIconSet::MatchType match_type; in ParseData() local
271 match_type = static_cast<ExtensionIconSet::MatchType>(match_num); in ParseData()
281 SetData(request_id, extension, grayscale, size, match_type); in ParseData()
/external/openfst/src/test/
Dfst_test.h67 MatchType match_type = matcher.Type(true); in TestBase() local
83 if (match_type == MATCH_INPUT) { in TestBase()
/external/dnsmasq/src/
Drfc2131.c227 if (vendor->match_type == MATCH_CIRCUIT) in dhcp_reply()
229 else if (vendor->match_type == MATCH_REMOTE) in dhcp_reply()
231 else if (vendor->match_type == MATCH_SUBSCRIBER) in dhcp_reply()
670 if (vendor->match_type == MATCH_VENDOR) in dhcp_reply()
672 else if (vendor->match_type == MATCH_USER) in dhcp_reply()
Doption.c2173 new->match_type = MATCH_USER; in one_opt()
2176 new->match_type = MATCH_VENDOR; in one_opt()
2179 new->match_type = MATCH_CIRCUIT; in one_opt()
2182 new->match_type = MATCH_REMOTE; in one_opt()
2185 new->match_type = MATCH_SUBSCRIBER; in one_opt()
Ddnsmasq.h515 int len, match_type, option; member