Home
last modified time | relevance | path

Searched refs:compiled_regex (Results 1 – 4 of 4) sorted by relevance

/external/libtextclassifier/native/annotator/datetime/
Dextractor.h34 std::unique_ptr<const UniLib::RegexPattern> compiled_regex; member
Dregex-parser.cc284 rule.compiled_regex->Matcher(input); in ParseWithRule()
/external/libchrome/components/json_schema/
Djson_schema_validator.cc791 re2::RE2 compiled_regex(pattern); in ValidateString() local
792 if (!compiled_regex.ok()) { in ValidateString()
794 << "/ is invalid: " << compiled_regex.error() << "."; in ValidateString()
797 FormatErrorMessage(kInvalidRegex, pattern, compiled_regex.error()))); in ValidateString()
798 } else if (!re2::RE2::PartialMatch(value, compiled_regex)) { in ValidateString()
/external/libchrome/components/policy/core/common/
Dschema.cc598 re2::RE2* compiled_regex = CompileRegex(it.key()); in ParseDictionary() local
599 if (!compiled_regex->ok()) { in ParseDictionary()
601 "/" + it.key() + "/ is a invalid regex: " + compiled_regex->error(); in ParseDictionary()
730 re2::RE2* compiled_regex = CompileRegex(pattern); in ParseStringPattern() local
731 if (!compiled_regex->ok()) { in ParseStringPattern()
732 *error = "/" + pattern + "/ is invalid regex: " + compiled_regex->error(); in ParseStringPattern()