/external/pcre/dist/ |
H A D | pcredemo.c | 50 char *pattern; local 80 /* After the options, we require exactly two arguments, which are the pattern, 89 pattern = argv[i]; 95 * Now we are going to compile the regular expression pattern, and handle * 100 pattern, /* the pattern */ 117 * pattern match against the subject string. This does just ONE match. If * 122 re, /* the compiled pattern */ 123 NULL, /* no extra data - we didn't study the pattern */ 143 pcre_free(re); /* Release memory used for the compiled pattern */ [all...] |
/external/regex-re2/re2/ |
H A D | filtered_re2.cc | 24 RE2::ErrorCode FilteredRE2::Add(const StringPiece& pattern, argument 26 RE2* re = new RE2(pattern, options);
|
H A D | set.cc | 28 int RE2::Set::Add(const StringPiece& pattern, string* error) { argument 38 re2::Regexp* re = Regexp::Parse(pattern, pf, &status); 43 LOG(ERROR) << "Error parsing '" << pattern << "': " << status.Text();
|
/external/skia/src/utils/win/ |
H A D | SkDWrite.h | 92 explicit DWriteStyle(const SkFontStyle& pattern) { argument 93 switch (pattern.slant()) { 104 fWeight = (DWRITE_FONT_WEIGHT)pattern.weight(); 105 fWidth = (DWRITE_FONT_STRETCH)pattern.width();
|
/external/vogar/src/vogar/ |
H A D | Expectation.java | 30 * pattern .*should get token \[, but get -1.* 35 * pattern .*cannot find symbol.* 40 /** The pattern to use when no expected output is specified */ 54 /** The pattern the expected output will match. */ 55 private final Pattern pattern; field in class:Expectation 70 Pattern pattern, 75 if (result == null || description == null || pattern == null) { 77 "result=" + result + " description=" + description + " pattern=" + pattern); 82 this.pattern 69 Expectation(Result result, Pattern pattern, Set<String> tags, String description, long bug, boolean fromExpectationFile) argument [all...] |
/external/ant-glob/src/org/apache/tools/ant/types/selectors/ |
H A D | SelectorUtils.java | 40 * The pattern that matches an arbitrary number of directories. 64 * pattern up to the first "**". 67 * can live with false positives. For example, <code>pattern=**\a</code> 70 * @param pattern The pattern to match against. Must not be 76 * pattern up to the first "**". 78 public static boolean matchPatternStart(String pattern, String str) { argument 79 return matchPatternStart(pattern, str, true); 84 * pattern up to the first "**". 87 * can live with false positives. For example, <code>pattern 100 matchPatternStart(String pattern, String str, boolean isCaseSensitive) argument 187 matchPath(String pattern, String str) argument 210 matchPath(String pattern, String str, boolean isCaseSensitive) argument 339 match(String pattern, String str) argument 360 match(String pattern, String str, boolean caseSensitive) argument [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/ |
H A D | 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-commons-math/src/main/java/org/apache/commons/math/ |
H A D | MathRuntimeException.java | 48 private final Localizable pattern; field in class:MathRuntimeException 59 * @param pattern format specifier 64 public MathRuntimeException(final String pattern, final Object ... arguments) { argument 65 this(new DummyLocalizable(pattern), arguments); 72 * @param pattern format specifier 76 public MathRuntimeException(final Localizable pattern, final Object ... arguments) { argument 77 this.pattern = pattern; 90 this.pattern = LocalizedFormats.SIMPLE_MESSAGE; 100 * @param pattern forma 105 MathRuntimeException(final Throwable rootCause, final String pattern, final Object ... arguments) argument 120 MathRuntimeException(final Throwable rootCause, final Localizable pattern, final Object ... arguments) argument 135 buildMessage(final Locale locale, final Localizable pattern, final Object ... arguments) argument 230 createArithmeticException(final String pattern, final Object ... arguments) argument 243 createArithmeticException(final Localizable pattern, final Object ... arguments) argument 274 createArrayIndexOutOfBoundsException(final String pattern, final Object ... arguments) argument 287 createArrayIndexOutOfBoundsException(final Localizable pattern, final Object ... arguments) argument 318 createEOFException(final String pattern, final Object ... arguments) argument 331 createEOFException(final Localizable pattern, final Object ... arguments) argument 379 createIllegalArgumentException(final String pattern, final Object ... arguments) argument 392 createIllegalArgumentException(final Localizable pattern, final Object ... arguments) argument 436 createIllegalStateException(final String pattern, final Object ... arguments) argument 449 createIllegalStateException(final Localizable pattern, final Object ... arguments) argument 480 createConcurrentModificationException(final String pattern, final Object ... arguments) argument 493 createConcurrentModificationException(final Localizable pattern, final Object ... arguments) argument 524 createNoSuchElementException(final String pattern, final Object ... arguments) argument 537 createNoSuchElementException(final Localizable pattern, final Object ... arguments) argument 570 createUnsupportedOperationException(final Localizable pattern, final Object ... arguments) argument 601 createNullPointerException(final String pattern, final Object ... arguments) argument 616 createNullPointerException(final Localizable pattern, final Object ... arguments) argument 649 createParseException(final int offset, final String pattern, final Object ... arguments) argument 665 createParseException(final int offset, final Localizable pattern, final Object ... arguments) argument [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
H A D | LoessInterpolator.java | 433 * @param pattern pattern of the error message 436 private static void checkAllFiniteReal(final double[] values, final Localizable pattern) argument 441 throw new MathException(pattern, i, x);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
H A D | EventBuilder.java | 66 * @param pattern the required class pattern 69 public EventBuilder setClassMatch(String pattern) { argument 71 mod.classPattern = pattern;
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
H A D | TemplateSubPatternAssociation.java | 33 * A class to contain a match pattern and it's corresponding template. 34 * This class also defines a node in a match pattern linked list. 40 /** Step pattern */ 43 /** Template pattern */ 49 /** Next pattern */ 52 /** Flag indicating whether this is wild card pattern */ 55 /** Target string for this match pattern */ 59 * Construct a match pattern from a pattern and template. 60 * @param template The node that contains the template for this pattern 64 TemplateSubPatternAssociation(ElemTemplate template, StepPattern pattern, String pat) argument [all...] |
/external/emma/core/java12/com/vladium/util/args/ |
H A D | IOptsParser.java | 52 IOpt [] getOpts (String pattern); argument
|
/external/fio/lib/ |
H A D | rand.c | 109 void fill_pattern(void *p, unsigned int len, char *pattern, argument 117 memset(p, pattern[0], len); 127 memcpy(b+i, pattern, size); 138 char *pattern, unsigned int pbytes) 144 fill_pattern(buf, len, pattern, pbytes); 174 fill_pattern(buf, this_len, pattern, pbytes); 186 char *pattern, unsigned int pbytes) 194 pattern, pbytes); 135 __fill_random_buf_percentage(unsigned long seed, void *buf, unsigned int percentage, unsigned int segment, unsigned int len, char *pattern, unsigned int pbytes) argument 183 fill_random_buf_percentage(struct frand_state *fs, void *buf, unsigned int percentage, unsigned int segment, unsigned int len, char *pattern, unsigned int pbytes) argument
|
/external/google-breakpad/src/client/mac/tests/ |
H A D | crash_generation_server_test.cc | 142 string pattern = temp_dir.path() + "/*"; local 144 ret = glob(pattern.c_str(), GLOB_NOSORT, NULL, &dirContents);
|
/external/icu/icu4c/source/common/ |
H A D | uniset_closure.cpp | 47 UnicodeSet::UnicodeSet(const UnicodeString& pattern, argument 62 applyPattern(pattern, options, symbols, status); 68 UnicodeSet::UnicodeSet(const UnicodeString& pattern, ParsePosition& pos, argument 83 applyPattern(pattern, pos, options, symbols, status); 93 UnicodeSet& UnicodeSet::applyPattern(const UnicodeString& pattern, argument 98 applyPattern(pattern, pos, options, symbols, status); 105 ICU_Utility::skipWhitespace(pattern, i, TRUE); 108 if (i != pattern.length()) { 114 UnicodeSet& UnicodeSet::applyPattern(const UnicodeString& pattern, argument 126 // Need to build the pattern i [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | format.cpp | 167 * @param pattern The pattern to copy into the parseError 168 * @param pos The position in pattern where the error occured 172 void Format::syntaxError(const UnicodeString& pattern, argument 182 pattern.extract(start,stop-start,parseError.preContext,0); 188 stop = ((pos+U_PARSE_CONTEXT_LEN)<=pattern.length()) ? (pos+(U_PARSE_CONTEXT_LEN-1)) : 189 pattern.length(); 190 pattern.extract(start,stop-start,parseError.postContext,0);
|
H A D | quantityformatter.cpp | 121 const SimplePatternFormatter *pattern = formatters[pluralIndex]; local 122 if (pattern == NULL) { 123 pattern = formatters[0]; 125 return pattern; 163 const SimplePatternFormatter *pattern = getByVariant(buffer.data()); local 164 if (pattern == NULL) { 173 pattern->formatAndAppend(
|
H A D | selfmt.cpp | 125 int32_t SelectFormat::findSubMessage(const MessagePattern& pattern, int32_t partIndex, argument 131 int32_t count = pattern.countParts(); 133 // Iterate over (ARG_SELECTOR, message) pairs until ARG_LIMIT or end of select-only pattern. 135 const MessagePattern::Part& part=pattern.getPart(partIndex++); 141 if(pattern.partSubstringMatches(part, keyword)) { 144 } else if(msgStart==0 && pattern.partSubstringMatches(part, other)) { 147 partIndex=pattern.getLimitPartIndex(partIndex);
|
/external/icu/icu4c/source/io/ |
H A D | sprintf.c | 177 UChar *pattern; local 183 pattern = (UChar *)uprv_malloc(size * sizeof(UChar)); 184 if(pattern == 0) { 189 pattern = patBuffer; 191 u_charsToUChars(patternSpecification, pattern, size); 194 written = u_vsnprintf_u(buffer, count, pattern, ap); 197 if (pattern != patBuffer) { 198 uprv_free(pattern);
|
H A D | uprintf.cpp | 170 UChar *pattern; local 176 pattern = (UChar *)uprv_malloc(size * sizeof(UChar)); 177 if(pattern == 0) { 182 pattern = buffer; 184 u_charsToUChars(patternSpecification, pattern, size); 187 count = u_vfprintf_u(f, pattern, ap); 190 if (pattern != buffer) { 191 uprv_free(pattern);
|
/external/icu/icu4c/source/test/intltest/ |
H A D | nptrans.cpp | 79 const UChar* pattern = ures_getStringByKey(bundle,"UnassignedSet",&patternLen, &status); local 80 unassigned.applyPattern(UnicodeString(pattern, patternLen), status); 84 pattern = ures_getStringByKey(bundle,"ProhibitedSet",&patternLen, &status); 85 UnicodeString test(pattern,patternLen); 108 pattern = ures_getStringByKey(bundle,"LabelSeparatorSet",&patternLen, &status); 109 labelSeparatorSet.applyPattern(UnicodeString(pattern,patternLen),status);
|
H A D | numfmtspectest.cpp | 33 static NumberFormat *nfWithPattern(const char *pattern) { argument 34 UnicodeString upattern(pattern, -1, US_INV); 65 const char *expected, double x, const char *pattern, UBool possibleDataError=FALSE); 231 const char *pattern, 233 UnicodeString upattern(pattern, -1, US_INV); 228 assertPatternFr( const char *expected, double x, const char *pattern, UBool possibleDataError) argument
|
H A D | selfmts.cpp | 101 // ======= Test SelectFormat pattern syntax. 102 logln("SelectFormat Unit Test : Testing SelectFormat pattern syntax."); 109 errln("\nERROR: Unexpected result - SelectFormat Unit Test failed to detect syntax error with pattern: "+checkSyntaxData[i]); 137 // ======= Test applying and formatting with various pattern 146 errln("ERROR: SelectFormat Unit Test failed to apply pattern- "+patternTestData[i] ); 215 errln("ERROR: SelectFormat API test constructor with pattern and status failed! with %s\n", u_errorName(status[0])); 279 UnicodeString pattern = UnicodeString("masculine{masculineVerbValue} other{otherVerbValue}"); local 281 selFmt1->applyPattern( pattern, status1); 283 errln("ERROR: SelectFormat API test failed in applyPattern() with pattern: "+ pattern); [all...] |
/external/icu/icu4c/source/tools/genrb/ |
H A D | prscmnts.cpp | 79 UnicodeString patString("^\\s*?\\*\\s*?"); // remove pattern like " * " at the begining of the line 95 RegexPattern *pattern = RegexPattern::compile(UnicodeString("@"), 0, *status); local 101 pattern->split(src, stringArray, MAX_SPLIT_STRINGS, *status); 130 RegexPattern *pattern = RegexPattern::compile(UnicodeString("@"), UREGEX_MULTILINE, *status); local 136 pattern->split(src, stringArray,MAX_SPLIT_STRINGS , *status); 154 RegexPattern *pattern = RegexPattern::compile(UnicodeString("@"), UREGEX_MULTILINE, *status); local 161 int32_t retLen = pattern->split(src, stringArray, MAX_SPLIT_STRINGS, *status); 194 RegexPattern *pattern = RegexPattern::compile(UnicodeString("@"), UREGEX_MULTILINE, *status); local 201 int32_t retLen = pattern->split(src, stringArray, MAX_SPLIT_STRINGS, *status);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | ChineseDateFormat.java | 53 * Construct a ChineseDateFormat from a date format pattern and locale 54 * @param pattern the pattern 59 public ChineseDateFormat(String pattern, Locale locale) { argument 60 this(pattern, ULocale.forLocale(locale)); 64 * Construct a ChineseDateFormat from a date format pattern and locale 65 * @param pattern the pattern 70 public ChineseDateFormat(String pattern, ULocale locale) { argument 71 this(pattern, nul 88 ChineseDateFormat(String pattern, String override, ULocale locale) argument [all...] |