HomeSort by relevance Sort by last modified time
    Searched refs:pattern (Results 51 - 75 of 532) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/webkit/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
regress-202564.js 53 var pattern = ''; variable
65 pattern = /(?:(.+), )?(.+), (..) to (?:(.+), )?(.+), (..)/;
66 actualmatch = string.match(pattern);
81 patterns[i] = pattern;
regress-31316.js 34 var pattern = ''; variable
45 pattern = /<([^\/<>][^<>]*[^\/])>|<([^\/<>])>/;
47 actualmatch = string.match(pattern);
60 patterns[i] = pattern;
15.10.6.2-1.js 23 * NOT every substring fitting the given pattern will be matched.
34 * regular expression pattern as follows:
56 * e = (index of last input character matched so far by the pattern) + 1
68 var pattern = ''; variable
80 pattern = /\w\s\w/g;
81 actualmatch = string.match(pattern);
88 pattern = /\d\d\d/g;
89 actualmatch = string.match(pattern);
104 patterns[i] = pattern;
regress-216591.js 49 var pattern = ''; variable
61 pattern = /\{(([a-z0-9\-_]+?\.)+?)([a-z0-9\-_]+?)\}/i;
62 actualmatch = string.match(pattern);
80 pattern = /\{(([a-z0-9\-_]+?\.)+?)([a-z0-9\-_]+?)\}/gi;
81 actualmatch = string.match(pattern);
97 patterns[i] = pattern;
regress-220367-001.js 49 var pattern = ''; variable
61 pattern = /(a)|(b)/;
62 actualmatch = string.match(pattern);
68 pattern = /(a)|(b)/;
69 actualmatch = string.match(pattern);
84 patterns[i] = pattern;
  /external/webkit/JavaScriptCore/yarr/
RegexCompiler.h 39 const char* compileRegex(const UString& patternString, RegexPattern& pattern);
  /external/icu4c/io/
sscanf.c 69 UChar *pattern; local
75 pattern = (UChar *)uprv_malloc(size * sizeof(UChar));
76 if(pattern == 0) {
81 pattern = patBuffer;
83 u_charsToUChars(patternSpecification, pattern, size);
86 converted = u_vsscanf_u(buffer, pattern, ap);
89 if (pattern != patBuffer) {
90 uprv_free(pattern);
  /external/webkit/WebKit/chromium/src/
WebRegularExpression.cpp 44 WebRegularExpression::WebRegularExpression(const WebString& pattern,
48 RegularExpression* re = new RegularExpression(pattern, sensitivity);
  /external/icu4c/tools/ctestfw/unicode/
ctest.h 148 * @param pattern printf-style format string
152 log_err(const char* pattern, ...);
155 log_err_status(UErrorCode status, const char* pattern, ...);
158 * @param pattern printf-style format string
162 log_info(const char* pattern, ...);
166 * @param prefix a string that is output before the pattern and without formatting
167 * @param pattern printf-style format string
172 vlog_info(const char *prefix, const char *pattern, va_list ap);
177 * @param pattern printf-style format string
181 log_verbose(const char* pattern, ...)
    [all...]
  /external/emma/core/java12/com/vladium/util/
WCMatcher.java 21 public static WCMatcher compile (final String pattern)
23 if (pattern == null) throw new IllegalArgumentException ("null input: pattern");
25 final char [] chars = pattern.toCharArray (); // is this faster than using charAt()?
180 StartsWithMatcher (final char [] pattern, final int patternLength)
182 m_prefixChars = pattern;
183 m_prefix = new String (pattern, 0, patternLength - 1);
219 EndsWithMatcher (final char [] pattern, final int patternLength)
221 m_suffixChars = pattern;
222 m_suffix = new String (pattern, 1, patternLength - 1)
240 final char [] pattern = m_pattern; local
299 final char [] pattern = m_pattern; local
    [all...]
  /external/webkit/WebCore/page/
UserContentURLPattern.cpp 62 bool UserContentURLPattern::parse(const String& pattern)
66 int schemeEndPos = pattern.find(schemeSeparator);
70 m_scheme = pattern.left(schemeEndPos);
73 if (hostStartPos >= static_cast<int>(pattern.length()))
81 int hostEndPos = pattern.find("/", hostStartPos);
85 m_host = pattern.substring(hostStartPos, hostEndPos - hostStartPos);
107 m_path = pattern.right(pattern.length() - pathStartPos);
134 // If we're matching subdomains, and we have no host, that means the pattern
151 MatchTester(const String& pattern, const String& test
    [all...]
  /dalvik/libcore/text/src/main/java/java/text/
SimpleDateFormat.java 52 * default format pattern. You may modify the format pattern using the {@code
57 * To specify the time format, use a <em>time pattern</em> string. In this
58 * pattern, all ASCII letters are reserved as pattern letters, which are defined
207 * The count of pattern letters determines the format:
209 * <strong>(Text)</strong>: 4 or more pattern letters &rarr; use the full form,
210 * less than 4 pattern letters &rarr; use a short or abbreviated form if one
221 * Any characters in the pattern that are not in the ranges of ['a'..'z'] and
226 * A pattern containing any invalid pattern letter will result in an exceptio
323 private String pattern; field in class:SimpleDateFormat
    [all...]
  /external/icu4c/test/cintltst/
cdtdptst.c 51 UChar *pattern; local
58 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("EEE MMM dd HH:mm:ss.SSS zzz yyyy G")+1 ));
59 u_uastrcpy(pattern, "EEE MMM dd HH:mm:ss.SSS zzz yyyy G");
60 fullFmt= udat_open(UDAT_IGNORE, UDAT_IGNORE,"en_US",NULL,0,pattern, u_strlen(pattern),&status);
68 u_uastrcpy(pattern, "dd-MMM-yy h:mm:ss 'o''clock' a z");
69 fmt= udat_open(UDAT_IGNORE,UDAT_IGNORE,"en_US", NULL, 0,pattern, u_strlen(pattern), &status);
100 free(pattern);
155 void tryPat994(UDateFormat* format, const char* pattern, const char* s, UDate expected
197 UChar *pattern=NULL, *now=NULL, *then=NULL; local
230 UChar *pattern=NULL, *tzID=NULL; local
306 UChar *pattern, *tzID, *exp; local
    [all...]
cmsgtst.c 245 log_err("umsg_parse could not parse the pattern. Error: %s.\n",u_errorName(ec));
265 UChar pattern[100], expected[100]; local
275 u_uastrcpy(pattern, "There are {0} files on {1,date}");
280 resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, d);
286 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, d);
299 log_verbose("\nTesting message format with another pattern test#2\n");
300 u_uastrcpy(pattern, "The disk \"{0}\" contains {1,number,integer} file(s)");
305 pattern,
365 UChar pattern[100]; local
466 UChar pattern[100]; local
561 UChar pattern[100]; local
655 UChar pattern[100]; local
739 UChar pattern[100]; local
851 UChar pattern[100]; local
894 UChar pattern[256]; local
935 UChar pattern[256]; local
1013 UChar pattern[sizeof(patChars)]; local
    [all...]
  /external/webkit/WebKit/chromium/src/gtk/
WebFontInfo.cpp 53 FcPattern* pattern = FcPatternCreate(); local
58 FcPatternAdd(pattern, FC_CHARSET, fcvalue, 0);
62 FcPatternAdd(pattern, FC_SCALABLE, fcvalue, 0);
64 FcConfigSubstitute(0, pattern, FcMatchPattern);
65 FcDefaultSubstitute(pattern);
68 FcFontSet* fontSet = FcFontSort(0, pattern, 0, 0, &result);
69 FcPatternDestroy(pattern);
  /packages/apps/Phone/src/com/android/phone/
HapticFeedback.java 31 * - a system resource for the pattern
32 * The pattern used is tuned per device and stored in an internal
65 /** If no pattern was found, vibrate for a small amount of time. */
67 /** Play the haptic pattern only once. */
134 * @return true If the system haptic pattern was found.
137 int[] pattern; local
141 pattern = r.getIntArray(VIBRATION_PATTERN_ID);
143 Log.e(TAG, "Vibrate pattern missing.", nfe);
147 if (null == pattern || pattern.length == 0)
    [all...]
  /external/icu4c/i18n/unicode/
stsearch.h 49 * A pattern string P matches a text string S at the offsets <start, end>
63 * a given pattern. This search iterator allows changing of direction by
84 * <li> If a following pattern match is to be found, any position within a
86 * preceding pattern match is to be found, a invalid starting point
92 * boundaries given by the breakiterator. For instance the pattern "e" will
97 * for the pattern "abab" in the text "ababab", where else mutually
118 * UnicodeString pattern("fox");
121 * StringSearch iter(pattern, target, Locale::getUS(), NULL, status);
149 * @param pattern The text for which this object will search.
150 * @param text The text in which to search for the pattern
    [all...]
  /external/webkit/JavaScriptCore/runtime/
RegExp.h 41 static PassRefPtr<RegExp> create(JSGlobalData* globalData, const UString& pattern);
42 static PassRefPtr<RegExp> create(JSGlobalData* globalData, const UString& pattern, const UString& flags);
51 const UString& pattern() const { return m_pattern; } function in class:JSC::RegExp
60 RegExp(JSGlobalData* globalData, const UString& pattern);
61 RegExp(JSGlobalData* globalData, const UString& pattern, const UString& flags);
  /external/bluetooth/glib/tests/
regex-test.c 95 test_new (const gchar *pattern,
101 verbose ("compiling \"%s\" \t", pattern);
103 regex = g_regex_new (pattern, compile_opts, match_opts, NULL);
106 g_print ("failed \t(pattern: \"%s\", compile: %d, match %d)\n",
107 pattern, compile_opts, match_opts);
111 if (!streq (g_regex_get_pattern (regex), pattern))
113 g_print ("failed \t(pattern: \"%s\")\n",
114 pattern);
125 #define TEST_NEW(pattern, compile_opts, match_opts) { \
127 if (test_new (pattern, compile_opts, match_opts))
    [all...]
patterntest.c 60 gchar *pattern; member in struct:_GPatternSpec
93 gchar *pattern,
110 if (strcmp (spec->pattern, pattern) != 0)
112 g_print ("failed \t(pattern: \"%s\", expected \"%s\")\n",
113 spec->pattern,
114 pattern);
119 if (spec->pattern_length != strlen (spec->pattern))
123 (gint)strlen (spec->pattern));
139 spec->pattern);
    [all...]
  /frameworks/base/services/java/com/android/server/
VibratorService.java 54 Vibration(IBinder token, long[] pattern, int repeat) {
55 this(token, 0, pattern, repeat);
58 private Vibration(IBinder token, long millis, long[] pattern,
63 mPattern = pattern;
79 // This is a pattern, return false to play the simple
118 // either a timeout of > 0 or a non-null pattern.
134 private boolean isAll0(long[] pattern) {
135 int N = pattern.length;
137 if (pattern[i] != 0) {
144 public void vibratePattern(long[] pattern, int repeat, IBinder token)
308 long[] pattern = mVibration.mPattern; local
    [all...]
  /external/stlport/stlport/stl/
_monetary.h 43 struct pattern { struct in class:money_base
99 pattern pos_format() const { return do_pos_format(); }
100 pattern neg_format() const { return do_neg_format(); }
106 pattern _M_pos_format;
107 pattern _M_neg_format;
120 virtual pattern do_pos_format() const;
121 virtual pattern do_neg_format() const;
139 pattern pos_format() const { return do_pos_format(); }
140 pattern neg_format() const { return do_neg_format(); }
146 pattern _M_pos_format
252 typedef money_base::pattern pattern; typedef in class:moneypunct_byname
285 typedef money_base::pattern pattern; typedef in class:moneypunct_byname
319 typedef money_base::pattern pattern; typedef in class:moneypunct_byname
352 typedef money_base::pattern pattern; typedef in class:moneypunct_byname
    [all...]
  /dalvik/libcore/sql/src/main/java/java/sql/
Blob.java 71 * Search for the position in this {@code Blob} at which a specified pattern
74 * @param pattern
75 * a {@code Blob} containing the pattern of data to search for in
80 * @return a {@code long} value with the position at which the pattern
81 * begins. Returns {@code -1} if the pattern is not found in this
86 public long position(Blob pattern, long start) throws SQLException;
90 * pattern begins, starting at a specified position within the {@code Blob}.
92 * @param pattern
93 * a byte array containing the pattern of data to search for in
98 * @return a {@code long} value with the position at which the pattern
    [all...]
  /external/bluetooth/glib/glib/
gpattern.h 34 GPatternSpec* g_pattern_spec_new (const gchar *pattern);
44 gboolean g_pattern_match_simple (const gchar *pattern,
  /external/icu4c/common/
uset_props.cpp 31 uset_openPattern(const UChar* pattern, int32_t patternLength,
34 UnicodeString pat(patternLength==-1, pattern, patternLength);
50 uset_openPatternOptions(const UChar* pattern, int32_t patternLength,
54 UnicodeString pat(patternLength==-1, pattern, patternLength);
72 const UChar *pattern, int32_t patternLength,
83 // if pattern is NULL or null terminate
90 UnicodeString pat(pattern, patternLength);
118 uset_resemblesPattern(const UChar *pattern, int32_t patternLength,
121 UnicodeString pat(pattern, patternLength);

Completed in 1504 milliseconds

1 23 4 5 6 7 8 91011>>