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

1 2 3 4 5 6 7 8

  /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/mockito/src/main/java/org/mockito/internal/matchers/
Matches.java 9 import java.util.regex.Pattern;
14 private final Pattern pattern; field in class:Matches
17 this(Pattern.compile(regex));
20 public Matches(Pattern pattern) {
21 this.pattern = pattern;
25 return (actual instanceof String) && pattern.matcher((String) actual).matches();
29 return "matches(\"" + pattern.pattern().replaceAll("\\\\", "\\\\\\\\") + "\")"
    [all...]
  /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/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
WildcardMatcher.java 14 import java.util.regex.Pattern;
23 private final Pattern pattern; field in class:WildcardMatcher
42 pattern = Pattern.compile(regex.toString());
56 regex.append(Pattern.quote(String.valueOf(c)));
71 return pattern.matcher(s).matches();
  /external/pdfium/xfa/fxgraphics/
cxfa_gecolor.h 17 enum Type { Invalid, Solid, Pattern, Shading };
22 CXFA_GEColor(CXFA_GEPattern* pattern, const FX_ARGB argb);
27 ASSERT(m_type == Solid || m_type == Pattern);
31 ASSERT(m_type == Pattern);
32 return m_pointer.pattern;
45 CXFA_GEPattern* pattern; member in union:CXFA_GEColor::__anon31898
  /build/kati/
strutil.h 96 class Pattern {
98 explicit Pattern(StringPiece pat);
  /device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/
hte.c 138 If MemInitFlag is 0, this routine will send an 5AA55AA5 pattern to all memory
140 pattern to all memory locations on the RankMask and reads it back.
194 TestNum = 4; // Write/read then write/read with inverted pattern.
262 pattern (different for READ_RAIN and WRITE_TRAIN modes.
271 Mode: READ_TRAIN or WRITE_TRAIN (the difference is in the pattern)
278 UINT32 Pattern;
294 Pattern = 0xC33C0000;
298 Pattern = 0xAA5555AA;
303 isbW32m(HTE, Offset, Pattern);
341 LfsrSeedXxx: victim aggressor data pattern seed
    [all...]
  /external/tensorflow/tensorflow/contrib/quantize/python/
graph_matcher.py 24 class Pattern(object):
29 """Returns the result of matching op/tensor against this pattern."""
33 class OpTypePattern(Pattern):
34 """A tree pattern that matches TF expressions with certain op types."""
46 name: Optional string. The name of the pattern that can be looked up in
48 inputs: Optional list of `Pattern`s or strings that specify the
49 patterns for the inputs of a matching op. If None, this pattern accepts
58 if isinstance(input_pattern, Pattern) else OpTypePattern(input_pattern)
75 # If pattern.inputs is empty, skips the rest and accepts all the inputs.
89 class OneofPattern(Pattern)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/keyguard/
KeyguardSecurityModel.java 34 Pattern, // Unlock by drawing a pattern.
83 return SecurityMode.Pattern;
  /test/vts-testcase/hal/media/omx/V1_0/host_omxstore/
VtsHalMediaOmxStoreV1_0HostTest.py 152 class Pattern(object):
165 'alignment' : Pattern.size,
166 'bitrate-range' : Pattern.range_num,
167 'block-aspect-ratio-range' : Pattern.range_ratio,
168 'block-count-range' : Pattern.range_num,
169 'block-size' : Pattern.size,
170 'blocks-per-second-range' : Pattern.range_num,
171 'complexity-default' : Pattern.num,
172 'complexity-range' : Pattern.range_num,
173 'feature-adaptive-playback' : Pattern.toggle
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ModifyInf/
ModifyInf.c 137 char *Pattern;
143 Pattern = PatternBuffer;
164 // Apply each pattern on the line
168 strcpy (Pattern, argv[PatternNum]);
171 // For pattern '-'
174 if (*Pattern == '-') {
175 if (strstr (Line, Pattern + 1)) {
185 if (*Pattern == '[') {
186 if (strncmp (Section, Pattern, strlen (Section))) {
188 // This pattern can't be appied for current section
    [all...]
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
Rm.c 205 CHAR16 *Pattern;
228 Pattern = NULL;
231 Pattern = StrnCatGrow(&Pattern, &Size, TempLocation , 0);
232 Pattern = StrnCatGrow(&Pattern, &Size, L"\\" , 0);
240 if (Pattern == NULL || SearchString == NULL) {
244 if (gUnicodeCollation->MetaiMatch(gUnicodeCollation, Pattern, SearchString)) {
249 SHELL_FREE_NON_NULL(Pattern );
  /external/llvm/lib/IR/
DiagnosticInfo.cpp 40 std::shared_ptr<Regex> Pattern;
45 Pattern = std::make_shared<Regex>(Val);
47 if (!Pattern->isValid(RegexError))
62 PassRemarks("pass-remarks", cl::value_desc("pattern"),
71 "pass-remarks-missed", cl::value_desc("pattern"),
81 "pass-remarks-analysis", cl::value_desc("pattern"),
178 return PassRemarksOptLoc.Pattern &&
179 PassRemarksOptLoc.Pattern->match(getPassName());
183 return PassRemarksMissedOptLoc.Pattern &&
184 PassRemarksMissedOptLoc.Pattern->match(getPassName())
    [all...]
  /external/skia/src/core/
SkRecordPattern.h 104 // Pattern matches each of its matchers in order.
106 // This is the main entry point to pattern matching, and so provides a couple of extra API bits:
108 // - first, second, third, ... return the data stored by their respective matchers in the pattern.
110 template <typename... Matchers> class Pattern;
112 template <> class Pattern<> {
119 class Pattern<First, Rest...> {
121 // If this pattern matches the SkRecord starting from i,
122 // return the index just past the end of the pattern, otherwise return 0.
128 // Starting from *end, walk through the SkRecord to find the first span matching this pattern.
171 Pattern<Rest...> fRest
    [all...]
  /external/skqp/src/core/
SkRecordPattern.h 104 // Pattern matches each of its matchers in order.
106 // This is the main entry point to pattern matching, and so provides a couple of extra API bits:
108 // - first, second, third, ... return the data stored by their respective matchers in the pattern.
110 template <typename... Matchers> class Pattern;
112 template <> class Pattern<> {
119 class Pattern<First, Rest...> {
121 // If this pattern matches the SkRecord starting from i,
122 // return the index just past the end of the pattern, otherwise return 0.
128 // Starting from *end, walk through the SkRecord to find the first span matching this pattern.
171 Pattern<Rest...> fRest
    [all...]
  /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...]
  /external/vogar/src/vogar/
ClassFileIndex.java 38 import java.util.regex.Pattern;
61 private static final List<Pattern> JAR_PATTERNS = new ArrayList<Pattern>();
64 JAR_PATTERNS.add(Pattern.compile(patternString));
67 private static final List<Pattern> FAILURE_PATTERNS = new ArrayList<Pattern>();
71 FAILURE_PATTERNS.add(Pattern.compile(patternString, Pattern.DOTALL));
92 for (Pattern pattern : FAILURE_PATTERNS)
    [all...]
  /frameworks/native/headers/media_plugin/media/hardware/
CryptoAPI.h 58 struct Pattern {
59 // Number of blocks to be encrypted in the pattern. If zero, pattern
63 // Number of blocks to be skipped (left clear) in the pattern. If zero,
64 // pattern encryption is inoperative.
107 const Pattern &pattern,
  /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));
  /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
490 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
503 String pattern = "(a{1,3})aab"; local
999 String pattern = ".*(..).*\\\\1.*"; local
1091 Pattern pattern = Pattern.compile("\\\\p{javaLowerCase}"); local
    [all...]
  /development/tools/idegen/src/
Configuration.java 28 import java.util.regex.Pattern;
89 List<Pattern> patterns = new ArrayList<Pattern>();
251 public static void parseFile(File file, Collection<Pattern> patterns)
259 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...]

Completed in 1451 milliseconds

1 2 3 4 5 6 7 8