/external/chromium_org/chrome/browser/extensions/api/declarative_content/ |
content_condition_unittest.cc | 101 RendererContentMatchData match_data; local 102 match_data.css_selectors.insert("input"); 106 match_data.page_url_matches = matcher.MatchURL( 108 EXPECT_THAT(match_data.page_url_matches, 111 EXPECT_TRUE(result->IsFulfilled(match_data)); 113 match_data.css_selectors.clear(); 114 match_data.css_selectors.insert("body"); 115 EXPECT_FALSE(result->IsFulfilled(match_data));
|
/external/chromium_org/chrome/browser/extensions/api/declarative/ |
declarative_rule_unittest.cc | 126 bool IsFulfilled(const MatchData& match_data) const { 128 !ContainsKey(match_data.url_matches, condition_set_id)) 130 return match_data.value <= max_value; 178 FulfillableCondition::MatchData match_data = { 0, url_matches }; local 179 EXPECT_FALSE(result->IsFulfilled(1, match_data)) 182 EXPECT_FALSE(result->IsFulfilled(-1, match_data)) 185 match_data.value = -5; 186 EXPECT_TRUE(result->IsFulfilled(-1, match_data)) 191 match_data.value = 3; 192 EXPECT_TRUE(result->IsFulfilled(1, match_data)) [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-ot-layout-gsubgpos-private.hh | 310 match_data (NULL) {}; 321 { match_func = match_func_; match_data = match_data_; } 337 return match_func (info.codepoint, *glyph_data, match_data) ? MATCH_YES : MATCH_NO; 375 const void *match_data; member in struct:OT::hb_apply_context_t::matcher_t 402 const void *match_data, 405 matcher.set_match_func (match_func, match_data); 472 const void *match_data, 475 matcher.set_match_func (match_func, match_data); 700 const void *match_data) 706 if (likely (!match_func (c->glyphs[i], input[i - 1], match_data))) 1053 const void *match_data; member in struct:OT::ContextApplyLookupContext 1554 const void *match_data[3]; member in struct:OT::ChainContextApplyLookupContext [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-layout-gsubgpos-private.hh | 305 match_data (NULL) {}; 316 { match_func = match_func_; match_data = match_data_; } 332 return match_func (info.codepoint, *glyph_data, match_data) ? MATCH_YES : MATCH_NO; 370 const void *match_data; member in struct:OT::hb_apply_context_t::matcher_t 397 const void *match_data, 400 matcher.set_match_func (match_func, match_data); 467 const void *match_data, 470 matcher.set_match_func (match_func, match_data); 684 const void *match_data) 690 if (likely (!match_func (c->glyphs[i], input[i - 1], match_data))) 1039 const void *match_data; member in struct:OT::ContextApplyLookupContext 1537 const void *match_data[3]; member in struct:OT::ChainContextApplyLookupContext [all...] |