Searched refs:pattern (Results 126 - 150 of 541) sorted by relevance

1234567891011>>

/external/icu4c/tools/ctestfw/
H A Dctest.c87 * @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,
655 vlog_err(const char *prefix, const char *pattern, va_list ap) argument
677 vlog_info(const char *prefix, const char *pattern, va_list ap) argument
697 log_testinfo_i(const char *pattern, ...) argument
711 log_testinfo(const char *pattern, ...) argument
723 vlog_verbose(const char *prefix, const char *pattern, va_list ap) argument
745 log_err(const char* pattern, ...) argument
764 log_err_status(UErrorCode status, const char* pattern, ...) argument
796 log_info(const char* pattern, ...) argument
805 log_verbose(const char* pattern, ...) argument
815 log_data_err(const char* pattern, ...) argument
[all...]
/external/antlr/src/org/antlr/runtime/tree/
H A DTreeWizard.java50 * 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) { argument
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) { argument
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, execut
273 visit(Object t, final String pattern, final ContextVisitor visitor) argument
310 parse(Object t, String pattern, Map labels) argument
323 parse(Object t, String pattern) argument
378 create(String pattern) argument
[all...]
/external/icu4c/i18n/
H A Drbt_rule.cpp46 * @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
[all...]
H A Dformat.cpp162 * @param pattern The pattern to copy into the parseError
163 * @param pos The position in pattern where the error occured
167 void Format::syntaxError(const UnicodeString& pattern, argument
177 pattern.extract(start,stop-start,parseError.preContext,0);
183 stop = ((pos+U_PARSE_CONTEXT_LEN)<=pattern.length()) ? (pos+(U_PARSE_CONTEXT_LEN-1)) :
184 pattern.length();
185 pattern.extract(start,stop-start,parseError.postContext,0);
H A Dumsg.cpp18 * Removed pattern parser.
39 const UChar *pattern,
52 actLen = u_vformatMessage(locale,pattern,patternLength,result,resultLength,ap,status);
61 const UChar *pattern,
70 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,NULL,status);
78 const UChar *pattern,
92 actLen = u_vformatMessageWithError(locale,pattern,patternLength,result,resultLength,parseError,ap,status);
101 const UChar *pattern,
111 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,parseError,status);
124 const UChar *pattern,
38 u_formatMessage(const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UErrorCode *status, ...) argument
60 u_vformatMessage( const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, va_list ap, UErrorCode *status) argument
77 u_formatMessageWithError(const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UParseError *parseError, UErrorCode *status, ...) argument
100 u_vformatMessageWithError( const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UParseError *parseError, va_list ap, UErrorCode *status) argument
123 u_parseMessage( const char *locale, const UChar *pattern, int32_t patternLength, const UChar *source, int32_t sourceLength, UErrorCode *status, ...) argument
143 u_vparseMessage(const char *locale, const UChar *pattern, int32_t patternLength, const UChar *source, int32_t sourceLength, va_list ap, UErrorCode *status) argument
159 u_parseMessageWithError(const char *locale, const UChar *pattern, int32_t patternLength, const UChar *source, int32_t sourceLength, UParseError *error, UErrorCode *status, ...) argument
180 u_vparseMessageWithError(const char *locale, const UChar *pattern, int32_t patternLength, const UChar *source, int32_t sourceLength, va_list ap, UParseError *error, UErrorCode* status) argument
203 umsg_open( const UChar *pattern, int32_t patternLength, const char *locale, UParseError *parseError, UErrorCode *status) argument
292 umsg_applyPattern(UMessageFormat *fmt, const UChar* pattern, int32_t patternLength, UParseError* parseError, UErrorCode* status) argument
616 umsg_autoQuoteApostrophe(const UChar* pattern, int32_t patternLength, UChar* dest, int32_t destCapacity, UErrorCode* ec) argument
[all...]
H A Dudatpg.cpp86 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_
85 udatpg_getSkeleton(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t length, UChar *skeleton, int32_t capacity, UErrorCode *pErrorCode) argument
102 udatpg_getBaseSkeleton(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t length, UChar *skeleton, int32_t capacity, UErrorCode *pErrorCode) argument
119 udatpg_addPattern(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, UBool override, UChar *conflictingPattern, int32_t capacity, int32_t *pLength, UErrorCode *pErrorCode) argument
215 udatpg_replaceFieldTypes(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, const UChar *skeleton, int32_t skeletonLength, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
226 udatpg_replaceFieldTypesWithOptions(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, const UChar *skeleton, int32_t skeletonLength, UDateTimePatternMatchOptions options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
[all...]
H A Dusearch.cpp284 * Initializing the ce table for a pattern.
286 * Table size will be estimated by the size of the pattern text. Table
299 UPattern *pattern = &(strsrch->pattern); local
301 int32_t *cetable = pattern->CEBuffer;
302 uint32_t patternlength = pattern->textLength;
306 coleiter = ucol_openElements(strsrch->collator, pattern->text,
314 uprv_init_collIterate(strsrch->collator, pattern->text,
315 pattern->textLength,
323 if (pattern
374 UPattern *pattern = &(strsrch->pattern); local
449 UPattern *pattern = &(strsrch->pattern); local
561 UPattern *pattern = &strsrch->pattern; local
746 UPattern *pattern = &(strsrch->pattern); local
2602 usearch_open(const UChar *pattern, int32_t patternlength, const UChar *text, int32_t textlength, const char *locale, UBreakIterator *breakiter, UErrorCode *status) argument
2642 usearch_openFromCollator( const UChar *pattern, int32_t patternlength, const UChar *text, int32_t textlength, const UCollator *collator, UBreakIterator *breakiter, UErrorCode *status) argument
3063 usearch_setPattern( UStringSearch *strsrch, const UChar *pattern, int32_t patternlength, UErrorCode *status) argument
[all...]
H A Dcurrpinf.cpp136 std::cout << "same pattern\n";
199 const UnicodeString& pattern,
202 fPluralCountToCurrencyUnitPattern->put(pluralCount, new UnicodeString(pattern), status);
259 // split the number style pattern into positive and negative
288 UnicodeString* pattern = new UnicodeString(patternChars, ptnLen); local
291 pattern->extract(0, pattern->length(), result_1, "UTF-8");
292 std::cout << "pluralCount: " << pluralCount << "; pattern: " << result_1 << "\n";
294 pattern->findAndReplace(gPart0,
296 pattern
198 setCurrencyPluralPattern(const UnicodeString& pluralCount, const UnicodeString& pattern, UErrorCode& status) argument
311 fPluralCountToCurrencyUnitPattern->put(UnicodeString(pluralCount), pattern, status); local
[all...]
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
H A Dshell.js47 var pattern = new RegExp();
59 pattern = patterns[i];
63 state = getState(status, pattern, string);
129 function getState(status, pattern, string)
133 * We don't have to worry about this in |pattern|; such escaping is
134 * done automatically by pattern.toString(), invoked implicitly below.
149 return (status + MSG_PATTERN + pattern + MSG_STRING + singleQuote(string));
/external/apache-http/src/org/apache/http/impl/cookie/
H A DDateUtils.java55 * 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) { argument
240 formatFor(String pattern) argument
[all...]
/external/icu4c/i18n/unicode/
H A Ddtptngen.h38 * 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, suc
[all...]
/external/icu4c/common/
H A Duniset_props.cpp104 // if we have a correct pattern and the properties data is hardcoded and always available.
107 UnicodeSetSingleton(SimpleSingleton &s, const char *pattern) : argument
108 SimpleSingletonWrapper<UnicodeSet>(s), fPattern(pattern) {}
114 UnicodeString pattern((const char *)context, -1, US_INV);
115 UnicodeSet *set=new UnicodeSet(pattern, errorCode);
281 // helper functions for matching of pattern syntax pieces ------------------ ***
289 isPerlOpen(const UnicodeString &pattern, int32_t pos) { argument
291 return pattern.charAt(pos)==BACKSLASH && ((c=pattern.charAt(pos+1))==LOWER_P || c==UPPER_P);
295 isPerlClose(const UnicodeString &pattern, int32_
300 isNameOpen(const UnicodeString &pattern, int32_t pos) argument
305 isPOSIXOpen(const UnicodeString &pattern, int32_t pos) argument
329 UnicodeSet(const UnicodeString& pattern, UErrorCode& status) argument
356 UnicodeSet(const UnicodeString& pattern, uint32_t options, const SymbolTable* symbols, UErrorCode& status) argument
377 UnicodeSet(const UnicodeString& pattern, ParsePosition& pos, uint32_t options, const SymbolTable* symbols, UErrorCode& status) argument
416 applyPattern(const UnicodeString& pattern, UErrorCode& status) argument
430 applyPattern(const UnicodeString& pattern, uint32_t options, const SymbolTable* symbols, UErrorCode& status) argument
455 applyPattern(const UnicodeString& pattern, ParsePosition& pos, uint32_t options, const SymbolTable* symbols, UErrorCode& status) argument
482 resemblesPattern(const UnicodeString& pattern, int32_t pos) argument
1224 resemblesPropertyPattern(const UnicodeString& pattern, int32_t pos) argument
1265 applyPropertyPattern(const UnicodeString& pattern, ParsePosition& ppos, UErrorCode &ec) argument
[all...]
/external/webkit/Source/WebCore/platform/wince/
H A DFileSystemWinCE.cpp296 Vector<UChar, 256> pattern; local
297 pattern.append(path.characters(), path.length());
298 if (pattern.last() != L'/' && pattern.last() != L'\\')
299 pattern.append(L'\\');
301 String root(pattern.data(), pattern.size());
302 pattern.append(filter.characters(), filter.length());
303 pattern.append(0);
306 HANDLE hFind = FindFirstFile(pattern
[all...]
/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/
H A DMatcherTest.java105 String pattern = "a*b";
106 Pattern pat = Pattern.compile(pattern);
143 String pattern = "dog";
144 Pattern pat = Pattern.compile(pattern);
153 assertEquals(test, test.matcher("aaa").pattern());
158 .pattern().toString());
182 // of the specified pattern
310 assertTrue("Match expected, but failed: " + pat.pattern()
314 + pat.pattern() + " : " + stringSingles[i][j * 2 + 1],
322 assertTrue("Match expected, but failed: " + pat.pattern()
[all...]
/external/chromium/chrome/browser/autofill/
H A Dname_field.cc124 string16 pattern = GetEcmlPattern(kEcmlShipToFirstName, local
126 if (!ParseText(&q, pattern, &field->first_name_))
129 pattern = GetEcmlPattern(kEcmlShipToMiddleName, kEcmlBillToMiddleName, '|');
130 ParseText(&q, pattern, &field->middle_name_);
132 pattern = GetEcmlPattern(kEcmlShipToLastName, kEcmlBillToLastName, '|');
133 if (ParseText(&q, pattern, &field->last_name_)) {
/external/chromium/webkit/glue/
H A Dregular_expression_unittest.cc57 WebUChar pattern[] = {L'\x6240', L'\x6709', L'\x7f51', L'\x9875'}; local
58 WebRegularExpression regex(WebString(pattern, arraysize(pattern)),
77 WebUChar pattern[] = {L':', L'[', L' ', L'\x2000', L']', L'+', L':'}; local
78 WebRegularExpression regex(WebString(pattern, arraysize(pattern)),
/external/v8/test/message/
H A Dtestcfg.py60 pattern = re.escape(line.rstrip() % env)
61 pattern = pattern.replace('\\*', '.*')
62 pattern = '^%s$' % pattern
63 patterns.append(pattern)
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DImageCairo.cpp128 // a pattern transformation on the image and draw the transformed pattern.
130 cairo_pattern_t* pattern = cairo_pattern_create_for_surface(image); local
132 cairo_pattern_set_extend(pattern, CAIRO_EXTEND_PAD);
137 cairo_pattern_set_matrix(pattern, &matrix);
145 cairo_set_source(shadowContext, pattern);
154 cairo_set_source(cr, pattern);
155 cairo_pattern_destroy(pattern);
/external/chromium/chrome/browser/content_settings/
H A Dhost_content_settings_map_unittest.cc86 ContentSettingsPattern pattern("[*.]example.com");
90 host_content_settings_map->SetContentSetting(pattern,
95 host_content_settings_map->SetContentSetting(pattern,
108 host_content_settings_map->SetContentSetting(pattern,
112 host_content_settings_map->SetContentSetting(pattern,
116 host_content_settings_map->SetContentSetting(pattern,
157 host_content_settings_map->SetContentSetting(pattern,
213 ContentSettingsPattern pattern("[*.]example.com");
214 host_content_settings_map->SetContentSetting(pattern,
217 EXPECT_EQ(pattern, observe
[all...]
H A Dcontent_settings_mock_provider.h85 void set_requesting_url_pattern(ContentSettingsPattern pattern) { argument
86 requesting_url_pattern_ = pattern;
93 void set_embedding_url_pattern(ContentSettingsPattern pattern) { argument
94 embedding_url_pattern_ = pattern;
H A Dstub_settings_observer.cc26 last_pattern = settings_details.ptr()->pattern();
/external/icu4c/tools/toolutil/
H A Dpackage.h79 * indexes for items whose names match the pattern.
81 void findItems(const char *pattern);
100 void removeItems(const char *pattern);
105 void extractItems(const char *filesPath, const char *pattern, char outType);
158 // match mode for findItems(pattern) and findNextItem()
161 // state for findItems(pattern) and findNextItem()
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DFETile.cpp82 RefPtr<Pattern> pattern = Pattern::create(tileImage->copyImage(), true, true); local
86 pattern->setPatternSpaceTransform(patternTransform);
88 filterContext->setFillPattern(pattern);
/external/chromium/chrome/browser/resources/options/
H A Dcontent_settings.css7 .exception-pattern {
39 #exception-pattern-column {
/external/webkit/Source/JavaScriptCore/yarr/
H A DYarrInterpreter.h327 BytecodePattern(PassOwnPtr<ByteDisjunction> body, Vector<ByteDisjunction*> allParenthesesInfo, YarrPattern& pattern, BumpPointerAllocator* allocator) argument
329 , m_ignoreCase(pattern.m_ignoreCase)
330 , m_multiline(pattern.m_multiline)
331 , m_containsBeginChars(pattern.m_containsBeginChars)
334 newlineCharacterClass = pattern.newlineCharacterClass();
335 wordcharCharacterClass = pattern.wordcharCharacterClass();
338 m_userCharacterClasses.append(pattern.m_userCharacterClasses);
342 pattern.m_userCharacterClasses.clear();
344 m_beginChars.append(pattern.m_beginChars);

Completed in 543 milliseconds

1234567891011>>