HomeSort by relevance Sort by last modified time
    Searched refs:pattern (Results 251 - 275 of 1099) sorted by null

<<11121314151617181920>>

  /external/webkit/Source/WebCore/html/canvas/
CanvasRenderingContext.cpp 54 void CanvasRenderingContext::checkOrigin(const CanvasPattern* pattern)
56 if (canvas()->originClean() && pattern && !pattern->originClean())
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
omxVCM4P2_EncodeVLCZigzag_IntraDCVLC.c 47 * scan pattern; takes one of the following values:
54 * pattern - block pattern which is used to decide whether this block is
88 OMX_U8 pattern,
106 if (pattern)
155 pattern,
  /frameworks/base/core/java/android/os/
SystemVibrator.java 64 public void vibrate(long[] pattern, int repeat) {
69 // catch this here because the server will do nothing. pattern may
72 if (repeat < pattern.length) {
74 mService.vibratePattern(pattern, repeat, mToken);
  /libcore/luni/src/test/java/libcore/java/util/logging/
OldFormatterTest.java 64 String pattern = "pattern without 0 {1, number}"; local
65 r.setMessage(pattern);
66 assertEquals(pattern, f.formatMessage(r));
  /ndk/sources/host-tools/sed-4.2.1/sed/
regexp.c 54 errcode = regncomp(&new_regex->pattern, new_regex->re, new_regex->sz,
94 new_regex->pattern.fastmap = malloc (1 << (sizeof (char) * 8));
106 &new_regex->pattern);
107 new_regex->pattern.newline_anchor = (new_regex->flags & REG_NEWLINE) != 0;
109 new_regex->pattern.translate = NULL;
118 new_regex->pattern.translate = translate;
128 && new_regex->pattern.re_nsub < needed_sub - 1
241 ret = regexec (&regex->pattern, buf, regsize, regmatch, REG_STARTEND);
248 if (regex->pattern.no_sub && regsize)
251 regex->pattern.regs_allocated = REGS_REALLOCATE
    [all...]
  /ndk/sources/host-tools/sed-4.2.1/testsuite/
bug-regex13.c 37 const char *pattern; member in struct:__anon21394
89 err = re_compile_pattern (tests[i].pattern, strlen (tests[i].pattern),
  /external/icu4c/tools/ctestfw/
ctest.c 87 * @param pattern printf style pattern
90 static void vlog_err(const char *prefix, const char *pattern, va_list ap);
91 static void vlog_verbose(const char *prefix, const char *pattern, va_list ap);
95 * @param pattern printf pattern
97 static void log_testinfo_i(const char *pattern, ...);
101 * @param pattern printf pattern
103 static void log_testinfo(const char *pattern, ...)
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
TreeWizard.java 50 * patterns like "(A B C)". You can create a tree from that pattern or
210 /** Return a List of subtrees matching pattern. */
211 public List find(Object t, String pattern) {
213 // Create a TreePattern from the pattern
214 TreePatternLexer tokenizer = new TreePatternLexer(pattern);
217 final TreePattern tpattern = (TreePattern)parser.pattern();
240 public Object findFirst(Object t, String pattern) {
245 * version of the general visit(t, pattern) method. The labels arg
247 * a token type rather than a pattern doesn't let us set a label.
268 /** For all subtrees that match the pattern, execute the visit action
    [all...]
  /external/icu4c/i18n/
rbt_rule.cpp 46 * @param segs array of UnicodeFunctors corresponding to input pattern
107 pattern = input;
118 anteContext = new StringMatcher(pattern, 0, anteContextLength,
129 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength,
138 int32_t postContextLength = pattern.length() - keyLength - anteContextLength;
141 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(),
166 pattern(other.pattern),
219 if (anteContextLength == pattern.length())
    [all...]
format.cpp 163 * @param pattern The pattern to copy into the parseError
164 * @param pos The position in pattern where the error occured
168 void Format::syntaxError(const UnicodeString& pattern,
178 pattern.extract(start,stop-start,parseError.preContext,0);
184 stop = ((pos+U_PARSE_CONTEXT_LEN)<=pattern.length()) ? (pos+(U_PARSE_CONTEXT_LEN-1)) :
185 pattern.length();
186 pattern.extract(start,stop-start,parseError.postContext,0);
umsg.cpp 18 * Removed pattern parser.
60 const UChar *pattern,
73 actLen = u_vformatMessage(locale,pattern,patternLength,result,resultLength,ap,status);
82 const UChar *pattern,
91 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,NULL,status);
99 const UChar *pattern,
113 actLen = u_vformatMessageWithError(locale,pattern,patternLength,result,resultLength,parseError,ap,status);
122 const UChar *pattern,
132 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,parseError,status);
145 const UChar *pattern,
    [all...]
udatpg.cpp 86 const UChar *pattern, int32_t length,
92 if(pattern==NULL && length!=0) {
96 UnicodeString patternString((UBool)(length<0), pattern, length);
103 const UChar *pattern, int32_t length,
109 if(pattern==NULL && length!=0) {
113 UnicodeString patternString((UBool)(length<0), pattern, length);
120 const UChar *pattern, int32_t patternLength,
127 if(pattern==NULL && patternLength!=0) {
131 UnicodeString patternString((UBool)(patternLength<0), pattern, patternLength);
216 const UChar *pattern, int32_t patternLength
    [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...]
  /development/tools/idegen/src/
Eclipse.java 25 import java.util.regex.Pattern;
47 List<Pattern> patterns = new ArrayList<Pattern>();
54 patterns.add(Pattern.compile("^(?!out/)"));
58 patterns.add(Pattern.compile(".*"));
62 for (Pattern pattern : patterns) {
63 buckets.add(new Bucket(pattern));
177 private final Pattern pattern; field in class:Eclipse.Bucket
    [all...]
  /external/apache-http/src/org/apache/http/impl/cookie/
DateUtils.java 55 * Date format pattern used to parse HTTP date headers in RFC 1123 format.
60 * Date format pattern used to parse HTTP date headers in RFC 1036 format.
65 * Date format pattern used to parse HTTP date headers in ANSI C
172 * Formats the given date according to the RFC 1123 pattern.
184 * Formats the given date according to the specified pattern. The pattern
189 * @param pattern The pattern to use for formatting the date.
192 * @throws IllegalArgumentException If the given date pattern is invalid.
196 public static String formatDate(Date date, String pattern) {
    [all...]
  /external/elfutils/libasm/
asm_align.c 59 if (asmscn->pattern->len == 1)
60 fprintf (asmscn->ctx->out.file, "%02hhx\n", asmscn->pattern->bytes[0]);
65 for (size_t cnt = 0; cnt < asmscn->pattern->len; ++cnt)
67 asmscn->pattern->bytes[cnt]);
89 /* Fill in the bytes. We align the pattern according to the
91 size_t byteptr = asmscn->offset % asmscn->pattern->len;
99 = asmscn->pattern->bytes[byteptr++];
101 if (byteptr == asmscn->pattern->len)
  /external/icu4c/i18n/unicode/
choicfmt.h 46 * The strings must conform to the MessageFormat pattern syntax.
68 * are equivalent. The first is by using a string pattern. This is the
79 * <p>The pattern string defines the range boundaries and the strings for each number range.
102 * the sequence of <code>(number separator string)</code> in an equivalent pattern string.
104 * The equivalent pattern string will be constructed automatically.</p>
171 * Constructs a new ChoiceFormat from the pattern string.
173 * @param pattern Pattern used to construct object.
175 * pattern cannot be parsed, set to failure code.
178 ChoiceFormat(const UnicodeString& pattern,
    [all...]
dtptngen.h 24 * \brief C++ API: Date/Time Pattern Generator
38 * is done, a query can be made using a "skeleton", which is a pattern which just
40 * pattern corresponding to that skeleton.
45 * fields in a pattern, in order, since we have that internally.
108 * Utility to return a unique skeleton from a given pattern. For example,
111 * @param pattern Input pattern, such as "dd/MMM"
117 UnicodeString getSkeleton(const UnicodeString& pattern, UErrorCode& status);
120 * Utility to return a unique base skeleton from a given pattern. This is
126 * @param pattern Input pattern, such as "dd/MMM
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/common/checkout/
diff_parser.py 43 def match(pattern, string):
44 """Matches the string with the pattern, caching the compiled regexp."""
45 if not pattern in _regexp_compile_cache:
46 _regexp_compile_cache[pattern] = re.compile(pattern)
47 return _regexp_compile_cache[pattern].match(string)
65 for pattern, conversion in conversion_patterns:
66 matched = match(pattern, line)
  /libcore/luni/src/main/java/java/util/logging/
XMLFormatter.java 86 // to parse pattern string
88 String pattern = r.getMessage(); local
89 if (rb != null && pattern != null) {
92 message = rb.getString(pattern);
98 message = pattern;
102 append(sb, 1, "key", pattern);
105 } else if (pattern != null) {
106 append(sb, 1, "message", pattern);
  /external/icu4c/common/
uniset_props.cpp 104 // if we have a correct pattern and the properties data is hardcoded and always available.
107 UnicodeSetSingleton(SimpleSingleton &s, const char *pattern) :
108 SimpleSingletonWrapper<UnicodeSet>(s), fPattern(pattern) {}
114 UnicodeString pattern((const char *)context, -1, US_INV);
115 UnicodeSet *set=new UnicodeSet(pattern, errorCode);
282 // helper functions for matching of pattern syntax pieces ------------------ ***
290 isPerlOpen(const UnicodeString &pattern, int32_t pos) {
292 return pattern.charAt(pos)==BACKSLASH && ((c=pattern.charAt(pos+1))==LOWER_P || c==UPPER_P);
296 isPerlClose(const UnicodeString &pattern, int32_t pos)
    [all...]
  /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...]
  /frameworks/base/services/java/com/android/server/
VibratorService.java 83 Vibration(IBinder token, long[] pattern, int repeat, int uid) {
84 this(token, 0, pattern, repeat, uid);
87 private Vibration(IBinder token, long millis, long[] pattern,
92 mPattern = pattern;
109 // This is a pattern, return false to play the simple
175 // either a timeout of > 0 or a non-null pattern.
192 private boolean isAll0(long[] pattern) {
193 int N = pattern.length;
195 if (pattern[i] != 0) {
202 public void vibratePattern(long[] pattern, int repeat, IBinder token)
474 long[] pattern = mVibration.mPattern; local
    [all...]
  /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...]
  /ndk/sources/host-tools/make-3.81/glob/
glob.c 297 static int glob_in_dir __P ((const char *pattern, const char *directory,
305 int __glob_pattern_p __P ((const char *pattern, int quote));
308 /* Find the end of the sub-pattern in a brace expression. We define
353 /* Do glob searching for PATTERN, placing results in PGLOB.
362 glob (pattern, flags, errfunc, pglob)
363 const char *pattern;
374 if (pattern == NULL || pglob == NULL || (flags & ~__GLOB_FLAGS) != 0)
382 const char *begin = strchr (pattern, '{');
394 char onealt[strlen (pattern) - 1];
396 char *onealt = (char *) malloc (strlen (pattern) - 1)
    [all...]

Completed in 2563 milliseconds

<<11121314151617181920>>