/external/regex-re2/re2/ |
filtered_re2.cc | 69 vector<int> regexps; local 70 prefilter_tree_->RegexpsGivenStrings(atoms, ®exps); 71 for (int i = 0; i < regexps.size(); i++) 72 if (RE2::PartialMatch(text, *re2_vec_[regexps[i]])) 73 return regexps[i]; 82 vector<int> regexps; local 83 prefilter_tree_->RegexpsGivenStrings(atoms, ®exps); 84 for (int i = 0; i < regexps.size(); i++) 85 if (RE2::PartialMatch(text, *re2_vec_[regexps[i]])) 86 matching_regexps->push_back(regexps[i]) [all...] |
filtered_re2.h | 5 // The class FilteredRE2 is used as a wrapper to multiple RE2 regexps. 7 // number of regexps that need to be actually searched. 11 // engine. The overall flow is: Add all the regexps using Add, then 14 // applying regexps to a search text, the caller does the string 44 // Prepares the regexps added by Add for filtering. Returns a set 55 // regexps in a loop. 64 // Returns the indices of all matching regexps, after first clearing 70 // The number of regexps added. 85 // All the regexps in the FilteredRE2. 91 // An AND-OR tree of string atoms used for filtering regexps [all...] |
prefilter_tree.h | 10 // set of regexps that are to be triggered. The 'string matching 34 // Add called sequentially for all regexps. All Add calls 47 // of regexps that should be searched. The matched_atoms should 52 vector<int>* regexps) const; 77 // regexps that are triggered. 78 vector<int> regexps; member in struct:re2::PrefilterTree::Entry 87 // Given the matching atoms, find the regexps to be triggered. 89 IntMap* regexps) const; 112 // indices of regexps that always pass through the filter (since we 113 // found no required literals in these regexps) [all...] |
set.h | 16 // An RE2::Set represents a collection of regexps that can 38 // Match returns true if text matches any of the regexps in the set. 39 // If so, it fills v with the indices of the matching regexps.
|
prefilter_tree.cc | 89 // PrefilterTree that call Compile before adding any regexps, 102 // not miss out on any regexps triggering by getting rid of a 278 entry->regexps.push_back(i); 285 vector<int>* regexps) const { 286 regexps->clear(); 290 regexps->push_back(i); 303 regexps->push_back(it->index()); 305 regexps->insert(regexps->end(), unfiltered_.begin(), unfiltered_.end()); 308 sort(regexps->begin(), regexps->end()) 363 const vector<int>& regexps = entries_[i].regexps; local [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Unicode/ |
uc-004.js | 31 printStatus ("Unicode Characters 1C-1F with regexps test."); 39 "Unicode characters 1C-1F in regexps, ary[" + 42 "Unicode characters 1C-1F in regexps, ary[" +
|
/external/libvpx/examples/includes/geshi/contrib/ |
langcheck.php | 375 if(!isset($language_data['REGEXPS'])) { 376 report_error(TYPE_ERROR, 'Language file contains no $language_data[\'REGEXPS\'] structure to check!'); 377 } else if (!is_array($language_data['REGEXPS'])) { 378 report_error(TYPE_ERROR, 'Language file contains a $language_data[\'REGEXPS\'] structure which is not an array!'); 424 'REGEXPS', 'SCRIPT'); 582 foreach($language_data['REGEXPS'] as $rk => $rv) { 584 report_error(TYPE_WARNING, "Language file contains an key '$rk' in \$language_data['REGEXPS'] that is not integer!"); 589 report_error(TYPE_WARNING, "Language file contains an empty regular expression at \$language_data['REGEXPS'][$rk]!"); 592 report_error(TYPE_WARNING, "Language file contains a regular expression with an unmasked / character at \$language_data['REGEXPS'][$rk]!"); 594 report_error(TYPE_WARNING, "Language file contains a regular expression with an unescaped match for a pipe character '|' which needs escaping as '<PIPE>' instead at \$language_data['REGEXPS'][$rk]!") [all...] |
/external/libvpx/examples/includes/geshi/geshi/ |
bnf.php | 18 * - Removed superflicious regexps 83 'REGEXPS' => array( 93 'REGEXPS' => array(
|
hq9plus.php | 77 'REGEXPS' => array( 85 'REGEXPS' => array( 98 'REGEXPS' => GESHI_NEVER,
|
whitespace.php | 78 'REGEXPS' => array( 88 'REGEXPS' => array( 115 // 'REGEXPS' => GESHI_NEVER,
|
xml.php | 25 * * Check regexps work and correctly highlight XML stuff and nothing else 90 'REGEXPS' => array( 101 'REGEXPS' => array(
|
bf.php | 86 'REGEXPS' => array( 94 'REGEXPS' => array(
|
gettext.php | 72 'REGEXPS' => array(), 88 'REGEXPS' => array(),
|
idl.php | 99 'REGEXPS' => array( 114 'REGEXPS' => array(
|
intercal.php | 93 'REGEXPS' => array( 104 'REGEXPS' => array(
|
robots.php | 78 'REGEXPS' => array( 89 'REGEXPS' => array(
|
text.php | 68 'REGEXPS' => array() 73 'REGEXPS' => array(),
|
xorg_conf.php | 70 'REGEXPS' => array( 103 'REGEXPS' => array(
|
ada.php | 110 'REGEXPS' => array( 124 'REGEXPS' => array(
|
apt_sources.php | 75 'REGEXPS' => array( 107 'REGEXPS' => array(
|
caddcl.php | 106 'REGEXPS' => array( 117 'REGEXPS' => array(
|
cfdg.php | 99 'REGEXPS' => array( 115 'REGEXPS' => array(
|
div.php | 104 'REGEXPS' => array( 117 'REGEXPS' => array(
|
/sdk/eclipse/scripts/ |
update_version.sh | 25 # quote dots for regexps
|
/external/webkit/Source/WebCore/page/mac/ |
FrameMac.mm | 76 // Parallel arrays that we use to cache regExps. In practice the number of expressions 80 DEFINE_STATIC_LOCAL(Vector<RegularExpression*>, regExps, ()); 88 result = regExps.at(cacheHit); 123 regExps.remove(cacheHit); 127 regExps.insert(0, result); 131 RegularExpression* last = regExps.last(); 132 regExps.removeLast();
|