HomeSort by relevance Sort by last modified time
    Searched defs:Pattern (Results 1 - 25 of 66) sorted by null

1 2 3

  /external/webkit/Source/WebCore/platform/graphics/
Pattern.cpp 28 #include "Pattern.h"
34 Pattern::Pattern(PassRefPtr<Image> image, bool repeatX, bool repeatY)
45 Pattern::~Pattern()
50 void Pattern::setPatternSpaceTransform(const AffineTransform& patternSpaceTransformation)
57 void Pattern::platformDestroy()
61 void Pattern::setPlatformPatternSpaceTransform()
Pattern.h 60 typedef pattern* PlatformPatternPtr;
69 class Pattern : public RefCounted<Pattern> {
71 static PassRefPtr<Pattern> create(PassRefPtr<Image> tileImage, bool repeatX, bool repeatY)
73 return adoptRef(new Pattern(tileImage, repeatX, repeatY));
75 virtual ~Pattern();
81 // Pattern space is an abstract space that maps to the default user space by the transformation 'userSpaceTransformation'
94 Pattern(PassRefPtr<Image>, bool repeatX, bool repeatY);
  /external/guava/guava/src/com/google/common/io/
PatternFilenameFilter.java 24 import java.util.regex.Pattern;
39 private final Pattern pattern; field in class:PatternFilenameFilter
42 * Constructs a pattern file name filter object.
43 * @param patternStr the pattern string on which to filter file names
45 * @throws PatternSyntaxException if pattern compilation fails (runtime)
48 this(Pattern.compile(patternStr));
52 * Constructs a pattern file name filter object.
53 * @param pattern the pattern on which to filter file name
    [all...]
  /external/jsr305/ri/src/main/java/javax/annotation/
RegEx.java 6 import java.util.regex.Pattern;
32 Pattern.compile((String) value);
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
TreePatternParser.cs 49 public virtual object Pattern() {
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
TreePatternParser.cs 52 public virtual object Pattern()
  /external/stressapptest/src/
pattern.h 15 // pattern.h : global pattern references and initialization
34 // Pattern and CRC data structure
36 const char *name; // Name of this pattern.
39 unsigned char weight[4]; // Weighted frequency of this pattern.
40 // Each pattern has 32,64,128,256 width versions.
43 // appropriate pattern is chosen. Thus a weight of
49 class Pattern {
51 Pattern();
52 ~Pattern();
62 unsigned int pattern(unsigned int offset) { function in class:Pattern
    [all...]
pattern.cc 15 // pattern.cc : library of stressful data patterns
21 #include "pattern.h"
48 {1, 1, 2, 1} // Weight for choosing 32/64/128/256 bit wide of this pattern
236 Pattern::Pattern() {
240 Pattern::~Pattern() {
246 // Calculate CRC for this pattern. This must match
248 int Pattern::CalculateCrc() {
262 a1 += pattern(i)
    [all...]
  /packages/apps/Email/tests/src/com/android/emailcommon/utility/
SSLUtilsTest.java 24 import java.util.regex.Pattern;
34 assertTrue(Pattern.matches(SAFE_SCHEME_PATTERN, s));
  /development/tools/idegen/src/
Configuration.java 28 import java.util.regex.Pattern;
89 List<Pattern> patterns = new ArrayList<Pattern>();
252 public static void parseFile(File file, Collection<Pattern> patterns)
260 patterns.add(Pattern.compile(trimmed));
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
wizard.rb 84 # test whether a tree matches a pattern
88 # extract nodes matching a pattern
94 # iterate through the tree and extract nodes with pattern labels
144 attr_reader :text, :error, :pattern
145 def initialize( pattern )
146 @pattern = pattern.to_s
147 @scanner = StringScanner.new( pattern )
156 type, = PATTERNS.find do |type, pattern|
157 @scanner.scan( pattern )
200 def pattern method in class:ANTLR3.AST.Wizard.PatternParser
    [all...]
  /external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/
PatternTest.java 22 import java.util.regex.Pattern;
50 Pattern p = Pattern.compile("ab# this is a comment\ncd", Pattern.COMMENTS);
58 // splitting CharSequence which ends with pattern
64 assertEquals(Pattern.compile("o").split("boo:and:foo", 5).length, 5);
65 assertEquals(Pattern.compile("b").split("ab", -1).length, 2);
68 Pattern pat = Pattern.compile("x");
79 pat = Pattern.compile("b")
326 String pattern = "b)a"; local
388 String pattern = "(?![^\\\\<C\\\\f\\\\0146\\\\0270\\\\}&&[|\\\\02-\\\\x3E\\\\}|X-\\\\|]]{7,}+)[|\\\\\\\\\\\\x98\\\\<\\\\?\\\\u4FCFr\\\\,\\\\0025\\\\}\\\\004|\\\\0025-\\\\052\\061]|(?<![|\\\\01-\\\\u829E])|(?<!\\\\p{Alpha})|^|(?-s:[^\\\\x15\\\\\\\\\\\\x24F\\\\a\\\\,\\\\a\\\\u97D8[\\\\x38\\\\a[\\\\0224-\\\\0306[^\\\\0020-\\\\u6A57]]]]??)(?uxix:[^|\\\\{\\\\[\\\\0367\\\\t\\\\e\\\\x8C\\\\{\\\\[\\\\074c\\\\]V[|b\\\\fu\\\\r\\\\0175\\\\<\\\\07f\\\\066s[^D-\\\\x5D]]])(?xx:^{5,}+)(?uuu)(?=^\\\\D)|(?!\\\\G)(?>\\\\G*?)(?![^|\\\\]\\\\070\\\\ne\\\\{\\\\t\\\\[\\\\053\\\\?\\\\\\\\\\\\x51\\\\a\\\\075\\\\0023-\\\\[&&[|\\\\022-\\\\xEA\\\\00-\\\\u41C2&&[^|a-\\\\xCC&&[^\\\\037\\\\uECB3\\\\u3D9A\\\\x31\\\\|\\\\<b\\\\0206\\\\uF2EC\\\\01m\\\\,\\\\ak\\\\a\\\\03&&\\\\p{Punct}]]]])(?-dxs:[|\\\\06-\\\\07|\\\\e-\\\\x63&&[|Tp\\\\u18A3\\\\00\\\\|\\\\xE4\\\\05\\\\061\\\\015\\\\0116C|\\\\r\\\\{\\\\}\\\\006\\\\xEA\\\\0367\\\\xC4\\\\01\\\\0042\\\\0267\\\\xBB\\\\01T\\\\}\\\\0100\\\\?[|\\\\[-\\\\u459B|\\\\x23\\\\x91\\\\rF\\\\0376[|\\\\?-\\\\x94\\\\0113-\\\\\\\\\\\\s]]]]{6}?)(?<=[^\\\\t-\\\\x42H\\\\04\\\\f\\\\03\\\\0172\\\\?i\\\\u97B6\\\\e\\\\f\\\\uDAC2])(?=\\\\B*+)(?>[^\\\\016\\\\r\\\\{\\\\,\\\\uA29D\\\\034\\\\02[\\\\02-\\\\[|\\\\t\\\\056\\\\uF599\\\\x62\\\\e\\\\<\\\\032\\\\uF0AC\\\\0026\\\\0205Q\\\\|\\\\\\\\\\\\06\\\\0164[|\\\\057-\\\\u7A98&&[\\\\061-g|\\\\|\\\\0276\\\\n\\\\042\\\\011\\\\e\\\\xE8\\\\x64B\\\\04\\\\u6D0EDW^\\\\p{Lower}]]]]?)(?<=[^\\\\n\\\\\\\\\\\\t\\\\u8E13\\\\,\\\\0114\\\\u656E\\\\xA5\\\\]&&[\\\\03-\\\\026|\\\\uF39D\\\\01\\\\{i\\\\u3BC2\\\\u14FE]])(?<=[^|\\\\uAE62\\\\054H\\\\|\\\\}&&^\\\\p{Space}])(?sxx)(?<=[\\\\f\\\\006\\\\a\\\\r\\\\xB4]*+)|(?x-xd:^{5}+)()"; local
400 String pattern = "(a{1,3})aab"; local
898 String pattern = ".*(..).*\\\\1.*"; local
1008 Pattern pattern = Pattern.compile("\\\\p{javaLowerCase}"); local
    [all...]
  /external/clang/lib/AST/
TemplateBase.cpp 470 TypeLoc Pattern = Expansion.getPatternLoc();
474 // the pattern, and we have the pattern's type, but we are forced to copy
478 = Context.CreateTypeSourceInfo(Pattern.getType(),
479 Pattern.getFullDataSize());
481 Pattern.getOpaqueData(), Pattern.getFullDataSize());
482 return TemplateArgumentLoc(TemplateArgument(Pattern.getType()),
489 Expr *Pattern = Expansion->getPattern();
492 return TemplateArgumentLoc(Pattern, Pattern)
    [all...]
  /external/llvm/utils/TableGen/
DAGISelMatcherOpt.cpp 76 // to the root of the pattern.
104 // matched pattern has a chain but the root node doesn't.
105 const PatternToMatch &Pattern = CM->getPattern();
108 Pattern.getSrcPattern()->NodeHasProperty(SDNPHasChain, CGP))
115 // because the code in the pattern generator doesn't handle it right. We
118 Pattern.getSrcPattern()->NodeHasProperty(SDNPOutGlue, CGP))
141 Pattern));
172 /// SinkPatternPredicates - Pattern predicates can be checked at any level of
173 /// the matching tree. The generator dumps them at the top level of the pattern
175 /// optimization sinks them as far down into the pattern as possible
    [all...]
DAGISelMatcherEmitter.cpp 384 const ComplexPattern &Pattern = CCPM->getPattern();
385 OS << "OPC_CheckComplexPat, /*CP*/" << getComplexPat(Pattern) << ", /*#*/"
389 OS.PadToColumn(CommentIndent) << "// " << Pattern.getSelectFunc();
391 for (unsigned i = 0, e = Pattern.getNumOperands(); i != e; ++i)
394 if (Pattern.hasProperty(SDNPHasChain))
599 // Emit pattern predicates.
624 // Emit the predicate code corresponding to this pattern.
644 OS << " default: llvm_unreachable(\"Invalid pattern # in table?\");\n";
657 // If the complex pattern wants the root of the match, pass it in as the
662 // If the complex pattern wants the parent of the operand being matched
    [all...]
DAGISelMatcherGen.cpp 52 const PatternToMatch &Pattern;
55 /// PatWithNoTypes - This is a clone of Pattern.getSrcPattern() that starts
87 /// physreg input to the pattern. The first elt is the Register node, the
88 /// second is the recorded slot number the input pattern match saved it in.
98 MatcherGen(const PatternToMatch &pattern, const CodeGenDAGPatterns &cgp);
126 /// GetInstPatternNode - Get the pattern for an instruction.
144 MatcherGen::MatcherGen(const PatternToMatch &pattern,
146 : Pattern(pattern), CGP(cgp), NextRecordedOperandNo(0),
148 // We need to produce the matcher tree for the patterns source pattern. To d
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
KeyguardSecurityModel.java 33 Pattern, // Unlock by drawing a pattern.
103 SecurityMode.Account : SecurityMode.Pattern;
126 || mode == SecurityMode.Pattern)) {
134 * the device. This is currently only supported for Biometric and Pattern unlock.
142 case Pattern:
  /libcore/luni/src/main/java/java/util/regex/
Pattern.java 28 * The {@code Pattern} class and its companion, {@link Matcher}, also offer more functionality
37 * // Direct use of Pattern:
38 * Pattern p = Pattern.compile("Hello, (\\S+)");
189 * <tr> <td> (?dimsux-dimsux) </td> <td>Evaluates the rest of the pattern with the given flags enabled/disabled.</td> </tr>
221 * in {@code String} and the methods in {@code Pattern}.
225 public final class Pattern implements Serializable {
230 * This constant specifies that a pattern matches Unix line endings ('\n')
236 * This constant specifies that a {@code Pattern} is matched
243 * This constant specifies that a {@code Pattern} may contain whitespace o
285 private final String pattern; field in class:Pattern
342 public String pattern() { method in class:Pattern
    [all...]
  /external/clang/lib/Sema/
SemaTemplateVariadic.cpp 454 Sema::CheckPackExpansion(TypeSourceInfo *Pattern, SourceLocation EllipsisLoc,
457 QualType Result = CheckPackExpansion(Pattern->getType(),
458 Pattern->getTypeLoc().getSourceRange(),
470 Pattern->getTypeLoc().getOpaqueData(),
471 Pattern->getTypeLoc().getFullDataSize());
475 QualType Sema::CheckPackExpansion(QualType Pattern, SourceRange PatternRange,
479 // The pattern of a pack expansion shall name one or more
482 if (!Pattern->containsUnexpandedParameterPack()) {
488 return Context.getPackExpansionType(Pattern, NumExpansions);
491 ExprResult Sema::ActOnPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc)
    [all...]
  /external/guava/guava/src/com/google/common/base/
Predicates.java 30 import java.util.regex.Pattern;
244 * regular expression pattern. The test used is equivalent to
245 * {@code Pattern.compile(pattern).matcher(arg).find()}
247 * @throws java.util.regex.PatternSyntaxException if the pattern is invalid
250 @GwtIncompatible(value = "java.util.regex.Pattern")
251 public static Predicate<CharSequence> containsPattern(String pattern) {
252 return new ContainsPatternPredicate(pattern);
258 * regular expression pattern. The test used is equivalent to
259 * {@code pattern.matcher(arg).find()
559 final Pattern pattern; field in class:Predicates.ContainsPatternPredicate
    [all...]
  /external/markdown/markdown/
inlinepatterns.py 6 objects, one per pattern. Pattern objects must be instances of classes
7 that extend markdown.Pattern. Each pattern object uses a single regular
10 pattern.getCompiledRegExp() # returns a regular expression
12 pattern.handleMatch(m) # takes a match object and returns
15 All of python markdown's built-in patterns subclass from Pattern,
21 Pattern takes care of adding the "^(.*)" and "(.*)!".
112 The pattern classes
116 class Pattern
    [all...]
  /packages/apps/Mms/src/com/android/mms/util/
SmileyParser.java 21 import java.util.regex.Pattern;
44 private final Pattern mPattern;
158 private Pattern buildPattern() {
167 patternString.append(Pattern.quote(s));
173 return Pattern.compile(patternString.toString());
  /libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
PatternTest.java 22 import java.util.regex.Pattern;
60 final static int[] flagsSet = { Pattern.CASE_INSENSITIVE,
61 Pattern.MULTILINE, Pattern.DOTALL, Pattern.UNICODE_CASE
62 /* , Pattern.CANON_EQ */ };
74 Pattern p = Pattern.compile("a");
80 // splitting CharSequence which ends with pattern
86 assertEquals(Pattern.compile("o").split("boo:and:foo", 5).length, 5)
422 String pattern = "b)a"; local
489 String pattern = "(?![^\\\\<C\\\\f\\\\0146\\\\0270\\\\}&&[|\\\\02-\\\\x3E\\\\}|X-\\\\|]]{7,}+)[|\\\\\\\\\\\\x98\\\\<\\\\?\\\\u4FCFr\\\\,\\\\0025\\\\}\\\\004|\\\\0025-\\\\052\\061]|(?<![|\\\\01-\\\\u829E])|(?<!\\\\p{Alpha})|^|(?-s:[^\\\\x15\\\\\\\\\\\\x24F\\\\a\\\\,\\\\a\\\\u97D8[\\\\x38\\\\a[\\\\0224-\\\\0306[^\\\\0020-\\\\u6A57]]]]??)(?uxix:[^|\\\\{\\\\[\\\\0367\\\\t\\\\e\\\\x8C\\\\{\\\\[\\\\074c\\\\]V[|b\\\\fu\\\\r\\\\0175\\\\<\\\\07f\\\\066s[^D-\\\\x5D]]])(?xx:^{5,}+)(?uuu)(?=^\\\\D)|(?!\\\\G)(?>\\\\.*?)(?![^|\\\\]\\\\070\\\\ne\\\\{\\\\t\\\\[\\\\053\\\\?\\\\\\\\\\\\x51\\\\a\\\\075\\\\0023-\\\\[&&[|\\\\022-\\\\xEA\\\\00-\\\\u41C2&&[^|a-\\\\xCC&&[^\\\\037\\\\uECB3\\\\u3D9A\\\\x31\\\\|\\\\<b\\\\0206\\\\uF2EC\\\\01m\\\\,\\\\ak\\\\a\\\\03&&\\\\p{Punct}]]]])(?-dxs:[|\\\\06-\\\\07|\\\\e-\\\\x63&&[|Tp\\\\u18A3\\\\00\\\\|\\\\xE4\\\\05\\\\061\\\\015\\\\0116C|\\\\r\\\\{\\\\}\\\\006\\\\xEA\\\\0367\\\\xC4\\\\01\\\\0042\\\\0267\\\\xBB\\\\01T\\\\}\\\\0100\\\\?[|\\\\[-\\\\u459B|\\\\x23\\\\x91\\\\rF\\\\0376[|\\\\?-\\\\x94\\\\0113-\\\\\\\\\\\\s]]]]{6}?)(?<=[^\\\\t-\\\\x42H\\\\04\\\\f\\\\03\\\\0172\\\\?i\\\\u97B6\\\\e\\\\f\\\\uDAC2])(?=\\\\.*+)(?>[^\\\\016\\\\r\\\\{\\\\,\\\\uA29D\\\\034\\\\02[\\\\02-\\\\[|\\\\t\\\\056\\\\uF599\\\\x62\\\\e\\\\<\\\\032\\\\uF0AC\\\\0026\\\\0205Q\\\\|\\\\\\\\\\\\06\\\\0164[|\\\\057-\\\\u7A98&&[\\\\061-g|\\\\|\\\\0276\\\\n\\\\042\\\\011\\\\e\\\\xE8\\\\x64B\\\\04\\\\u6D0EDW^\\\\p{Lower}]]]]?)(?<=[^\\\\n\\\\\\\\\\\\t\\\\u8E13\\\\,\\\\0114\\\\u656E\\\\xA5\\\\]&&[\\\\03-\\\\026|\\\\uF39D\\\\01\\\\{i\\\\u3BC2\\\\u14FE]])(?<=[^|\\\\uAE62\\\\054H\\\\|\\\\}&&^\\\\p{Space}])(?sxx)(?<=[\\\\f\\\\006\\\\a\\\\r\\\\xB4]{1,5})|(?x-xd:^{5}+)()"; local
502 String pattern = "(a{1,3})aab"; local
982 String pattern = ".*(..).*\\\\1.*"; local
1100 Pattern pattern = Pattern.compile("\\\\p{javaLowerCase}"); local
    [all...]
  /external/llvm/utils/FileCheck/
FileCheck.cpp 53 // Pattern Handling Code.
56 class Pattern {
59 /// MatchEOF - When set, this pattern only matches the end of file. This is
63 /// FixedStr - If non-empty, this pattern is a fixed string match with the
67 /// RegEx - If non-empty, this is a regex pattern.
70 /// \brief Contains the number of line this pattern is in.
74 /// pattern, e.g. "foo[[bar]]baz". In this case, the RegExStr will contain
81 /// E.g. for the pattern "foo[[bar:.*]]baz", VariableDefs will map "bar" to 1.
86 Pattern(bool matchEOF = false) : MatchEOF(matchEOF) { }
88 /// ParsePattern - Parse the given string into the Pattern. SM provides th
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/compiler/
XPathParser.java 52 * The next token in the pattern.
167 * Given an string, init an XPath object for pattern matches,
194 Pattern();
320 * be used for pattern matching.
362 * be used for pattern matching.
    [all...]

Completed in 853 milliseconds

1 2 3