/external/chromium_org/chrome/common/ |
D | content_settings_pattern_unittest.cc | 12 ContentSettingsPattern Pattern(const std::string& str) { in Pattern() function 21 Pattern("[*.]ikea.com").ToString().c_str()); in TEST() 198 EXPECT_TRUE(Pattern("www.example.com").IsValid()); in TEST() 199 EXPECT_TRUE(Pattern("www.example.com").Matches( in TEST() 201 EXPECT_TRUE(Pattern("www.example.com").Matches( in TEST() 204 EXPECT_TRUE(Pattern("www.example.com.").IsValid()); in TEST() 206 Pattern("www.example.com.").ToString().c_str()); in TEST() 208 EXPECT_TRUE(Pattern("www.example.com.") == Pattern("www.example.com")); in TEST() 210 EXPECT_TRUE(Pattern(".").IsValid()); in TEST() 211 EXPECT_STREQ(".", Pattern(".").ToString().c_str()); in TEST() [all …]
|
/external/chromium_org/tools/gn/ |
D | pattern.cc | 45 void ParsePattern(const std::string& s, std::vector<Pattern::Subrange>* out) { in ParsePattern() 48 Pattern::Subrange* last_literal = NULL; in ParsePattern() 54 (*out)[out->size() - 1].type != Pattern::Subrange::ANYTHING) in ParsePattern() 55 out->push_back(Pattern::Subrange(Pattern::Subrange::ANYTHING)); in ParsePattern() 61 out->push_back(Pattern::Subrange(Pattern::Subrange::PATH_BOUNDARY)); in ParsePattern() 66 out->push_back(Pattern::Subrange(Pattern::Subrange::LITERAL)); in ParsePattern() 79 out->push_back(Pattern::Subrange(Pattern::Subrange::LITERAL)); in ParsePattern() 89 Pattern::Pattern(const std::string& s) { in Pattern() function in Pattern 97 Pattern::~Pattern() { in ~Pattern() 100 bool Pattern::MatchesString(const std::string& s) const { in MatchesString() [all …]
|
D | pattern.h | 15 class Pattern { 49 Pattern(const std::string& s); 50 ~Pattern(); 85 std::vector<Pattern> patterns_;
|
/external/apache-http/src/org/apache/http/conn/util/ |
D | InetAddressUtils.java | 34 import java.util.regex.Pattern; 44 private static final Pattern IPV4_PATTERN = 45 Pattern.compile( 48 private static final Pattern IPV6_STD_PATTERN = 49 Pattern.compile( 52 private static final Pattern IPV6_HEX_COMPRESSED_PATTERN = 53 Pattern.compile(
|
/external/clang/test/CodeCompletion/ |
D | objc-expr.m | 8 // CHECK-AT: COMPLETION: Pattern : [#NSString *#]"<#string#>" 9 // CHECK-AT: COMPLETION: Pattern : [#id#](<#expression#>) 10 // CHECK-AT: COMPLETION: Pattern : [#NSArray *#][<#objects, ...#>] 11 // CHECK-AT: COMPLETION: Pattern : [#char[]#]encode(<#type-name#>) 12 // CHECK-AT: COMPLETION: Pattern : [#Protocol *#]protocol(<#protocol-name#>) 13 // CHECK-AT: COMPLETION: Pattern : [#SEL#]selector(<#selector#>) 14 // CHECK-AT: COMPLETION: Pattern : [#NSDictionary *#]{<#key#>: <#object, ...#>} 17 // CHECK-CONST-STRINGS: COMPLETION: Pattern : [#const char[]#]encode(<#type-name#>)
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | Pattern.h | 45 class PLATFORM_EXPORT Pattern : public RefCounted<Pattern> { 47 static PassRefPtr<Pattern> create(PassRefPtr<Image> tileImage, bool repeatX, bool repeatY) in create() 49 return adoptRef(new Pattern(tileImage, repeatX, repeatY)); in create() 51 ~Pattern(); 62 Pattern(PassRefPtr<Image>, bool repeatX, bool repeatY);
|
D | Pattern.cpp | 39 Pattern::Pattern(PassRefPtr<Image> image, bool repeatX, bool repeatY) in Pattern() function in WebCore::Pattern 49 Pattern::~Pattern() in ~Pattern() 55 SkShader* Pattern::shader() in shader() 96 void Pattern::setPatternSpaceTransform(const AffineTransform& patternSpaceTransformation) in setPatternSpaceTransform()
|
/external/clang/test/SemaCXX/ |
D | crash-lambda-12645424.cpp | 26 template< class Pattern> struct F { 27 typedef Pattern filtered_pattern; 31 template<class, class Pattern> struct get_case { 32 F<Pattern> type; 35 template<class Pattern> struct rvalue_builder { 36 …template<typename Expr> typename get_case<Expr, Pattern>::type operator>>(Expr ); // expected-note…
|
/external/llvm/utils/TableGen/ |
D | DAGISelMatcherGen.cpp | 52 const PatternToMatch &Pattern; member in __anon9f5b0a7e0111::MatcherGen 146 : Pattern(pattern), CGP(cgp), NextRecordedOperandNo(0), in MatcherGen() 160 PatWithNoTypes = Pattern.getSrcPattern()->clone(); in MatcherGen() 206 if (N == Pattern.getSrcPattern()) { in EmitLeafMatchCode() 301 if (N == Pattern.getSrcPattern()) in EmitOperatorMatchCode() 363 const TreePatternNode *Root = Pattern.getSrcPattern(); in EmitOperatorMatchCode() 392 N != Pattern.getSrcPattern()) { in EmitOperatorMatchCode() 474 Pattern.getSrcPattern()->getComplexPatternInfo(CGP)) { in EmitMatcherCode() 485 EmitMatchCode(Pattern.getSrcPattern(), PatWithNoTypes); in EmitMatcherCode() 489 if (!Pattern.getPredicateCheck().empty()) in EmitMatcherCode() [all …]
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
D | RegexCache.java | 21 import java.util.regex.Pattern; 29 private LRUCache<String, Pattern> cache; 32 cache = new LRUCache<String, Pattern>(size); in RegexCache() 35 public Pattern getPatternForRegex(String regex) { in getPatternForRegex() 36 Pattern pattern = cache.get(regex); in getPatternForRegex() 38 pattern = Pattern.compile(regex); in getPatternForRegex()
|
D | PhoneNumberMatcher.java | 31 import java.util.regex.Pattern; 61 private static final Pattern PATTERN; 69 private static final Pattern PUB_PAGES = Pattern.compile("\\d{1,5}-+\\d{1,5}\\s{0,4}\\(\\d{1,4}"); 75 private static final Pattern SLASH_SEPARATED_DATES = 76 Pattern.compile("(?:(?:[0-3]?\\d/[01]?\\d)|(?:[01]?\\d/[0-3]?\\d))/(?:[12]\\d)?\\d{2}"); 82 private static final Pattern TIME_STAMPS = 83 Pattern.compile("[12]\\d{3}[-/]?[01]\\d[-/]?[0-3]\\d [0-2]\\d$"); 84 private static final Pattern TIME_STAMPS_SUFFIX = Pattern.compile(":[0-5]\\d"); 91 private static final Pattern MATCHING_BRACKETS; 98 private static final Pattern GROUP_SEPARATOR; [all …]
|
D | AsYouTypeFormatter.java | 26 import java.util.regex.Pattern; 71 private static final Pattern CHARACTER_CLASS_PATTERN = Pattern.compile("\\[([^\\[\\]])*\\]"); 77 private static final Pattern STANDALONE_DIGIT_PATTERN = Pattern.compile("\\d(?=[^,}][^,}])"); 84 private static final Pattern ELIGIBLE_FORMAT_PATTERN = 85 Pattern.compile("[" + PhoneNumberUtil.VALID_PUNCTUATION + "]*" + 89 private static final Pattern NATIONAL_PREFIX_SEPARATORS_PATTERN = Pattern.compile("[- ]"); 99 private static final Pattern DIGIT_PATTERN = Pattern.compile(DIGIT_PLACEHOLDER); 203 Pattern leadingDigitsPattern = in narrowDownPossibleFormats() 524 Pattern nationalPrefixForParsing = in removeNationalPrefixFromNationalNumber() 549 Pattern internationalPrefix = in attemptToExtractIdd()
|
/external/stressapptest/src/ |
D | pattern.h | 49 class Pattern { 51 Pattern(); 52 ~Pattern(); 96 Pattern *GetPattern(int i); 98 Pattern *GetRandomPattern(); 103 vector<class Pattern> patterns_;
|
D | pattern.cc | 236 Pattern::Pattern() { in Pattern() function in Pattern 240 Pattern::~Pattern() { in ~Pattern() 248 int Pattern::CalculateCrc() { in CalculateCrc() 285 int Pattern::Initialize(const struct PatternData &pattern_init, in Initialize() 395 Pattern *PatternList::GetPattern(int i) { in GetPattern() 405 Pattern *PatternList::GetRandomPattern() { in GetRandomPattern()
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/ |
D | StructuralWhitespaceStripper.java | 44 import java.util.regex.Pattern; 105 private static final Pattern INLINE_WHITESPACE = Pattern.compile(IWS); 110 private static final Pattern STARTS_WITH_NEWLINE = Pattern.compile("^" + IWS + "\\n"); 115 private static final Pattern ENDS_WITH_NEWLINE = Pattern.compile("\\n" + IWS + "$"); 121 private static final Pattern LEADING_WHITESPACE_AND_NEWLINE = 122 Pattern.compile("^" + IWS + "\\n(.*)$", Pattern.DOTALL); 129 private static final Pattern TRAILING_WHITESPACE = 130 Pattern.compile("^(.*?)" + IWS + "$", Pattern.DOTALL);
|
/external/smack/src/org/jivesoftware/smack/util/ |
D | StringUtils.java | 38 import java.util.regex.Pattern; 60 private static final Pattern datePattern = Pattern.compile("^\\d+-\\d+-\\d+$"); 63 …private static final Pattern timePattern = Pattern.compile("^(\\d+:){2}\\d+.\\d+(Z|([+-](\\d+:\\d+… 65 private static final Pattern timeNoZonePattern = Pattern.compile("^(\\d+:){2}\\d+.\\d+$"); 68 …private static final Pattern timeNoMillisPattern = Pattern.compile("^(\\d+:){2}\\d+(Z|([+-](\\d+:\… 70 private static final Pattern timeNoMillisNoZonePattern = Pattern.compile("^(\\d+:){2}\\d+$"); 73 …private static final Pattern dateTimePattern = Pattern.compile("^\\d+(-\\d+){2}+T(\\d+:){2}\\d+.\\… 75 …private static final Pattern dateTimeNoMillisPattern = Pattern.compile("^\\d+(-\\d+){2}+T(\\d+:){2… 81 private static final Pattern xep0091Pattern = Pattern.compile("^\\d+T\\d+:\\d+:\\d+$"); 771 Pattern pattern; [all …]
|
/external/markdown/markdown/ |
D | inlinepatterns.py | 116 class Pattern: class 156 BasePattern = Pattern # for backward compatibility 158 class SimpleTextPattern (Pattern): 166 class SimpleTagPattern (Pattern): 173 Pattern.__init__(self, pattern) 188 class BacktickPattern (Pattern): 191 Pattern.__init__(self, pattern) 214 class HtmlPattern (Pattern): 223 class LinkPattern (Pattern): 337 class AutolinkPattern (Pattern): [all …]
|
/external/doclava/src/com/google/doclava/ |
D | AttrTagInfo.java | 21 import java.util.regex.Pattern; 28 private static final Pattern TEXT = Pattern.compile("(\\S+)\\s*(.*)", Pattern.DOTALL); 29 private static final Pattern NAME_TEXT = Pattern.compile("(\\S+)(.*)", Pattern.DOTALL);
|
D | DocFile.java | 22 import java.util.regex.Pattern; 27 public static final Pattern LINE = Pattern.compile("(.*)[\r]?\n", Pattern.MULTILINE); 28 public static final Pattern PROP = Pattern.compile("([^=]+)=(.*)");
|
D | ThrowsTagInfo.java | 21 import java.util.regex.Pattern; 25 static final Pattern PATTERN = Pattern.compile("(\\S+)\\s+(.*)", Pattern.DOTALL);
|
/external/guava/guava/src/com/google/common/io/ |
D | PatternFilenameFilter.java | 24 import java.util.regex.Pattern; 39 private final Pattern pattern; 48 this(Pattern.compile(patternStr)); in PatternFilenameFilter() 55 public PatternFilenameFilter(Pattern pattern) { in PatternFilenameFilter()
|
/external/clang/lib/Sema/ |
D | SemaTemplateVariadic.cpp | 459 Sema::CheckPackExpansion(TypeSourceInfo *Pattern, SourceLocation EllipsisLoc, in CheckPackExpansion() argument 462 QualType Result = CheckPackExpansion(Pattern->getType(), in CheckPackExpansion() 463 Pattern->getTypeLoc().getSourceRange(), in CheckPackExpansion() 469 TLB.pushFullCopy(Pattern->getTypeLoc()); in CheckPackExpansion() 476 QualType Sema::CheckPackExpansion(QualType Pattern, SourceRange PatternRange, in CheckPackExpansion() argument 483 if (!Pattern->containsUnexpandedParameterPack()) { in CheckPackExpansion() 489 return Context.getPackExpansionType(Pattern, NumExpansions); in CheckPackExpansion() 492 ExprResult Sema::ActOnPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc) { in ActOnPackExpansion() argument 493 return CheckPackExpansion(Pattern, EllipsisLoc, None); in ActOnPackExpansion() 496 ExprResult Sema::CheckPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc, in CheckPackExpansion() argument [all …]
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
D | MediaType.java | 21 import java.util.regex.Pattern; 30 private static final Pattern TYPE_SUBTYPE = Pattern.compile(TOKEN + "/" + TOKEN); 31 private static final Pattern PARAMETER = Pattern.compile(
|
/external/llvm/utils/FileCheck/ |
D | FileCheck.cpp | 56 class Pattern { class 92 Pattern(bool matchEOF = false) in Pattern() function in Pattern 151 bool Pattern::ParsePattern(StringRef PatternStr, SourceMgr &SM, in ParsePattern() 311 void Pattern::AddFixedStringToRegEx(StringRef FixedStr, std::string &TheStr) { in AddFixedStringToRegEx() 338 bool Pattern::AddRegExToRegEx(StringRef RS, unsigned &CurParen, in AddRegExToRegEx() 353 void Pattern::AddBackrefToRegEx(unsigned BackrefNum) { in AddBackrefToRegEx() 360 bool Pattern::EvaluateExpression(StringRef Expr, std::string &Value) const { in EvaluateExpression() 381 size_t Pattern::Match(StringRef Buffer, size_t &MatchLen, in Match() 453 unsigned Pattern::ComputeMatchDistance(StringRef Buffer, in ComputeMatchDistance() 471 void Pattern::PrintFailureInfo(const SourceMgr &SM, StringRef Buffer, in PrintFailureInfo() [all …]
|
/external/jsilver/src/com/google/streamhtmlparser/util/ |
D | HtmlUtils.java | 22 import java.util.regex.Pattern; 75 private static final Pattern META_REDIRECT_PATTERN = 76 Pattern.compile(META_REDIRECT_REGEX, Pattern.CASE_INSENSITIVE);
|