/external/emma/core/java12/com/vladium/util/ |
D | WCMatcher.java | 32 int patternLength = 0, starCount = 0, questionCount = 0; in compile() local 44 chars [patternLength ++] = '*'; in compile() 51 chars [patternLength ++] = ch; in compile() 59 if (patternLength == 1) in compile() 62 return new EndsWithMatcher (chars, patternLength); in compile() 63 else if (chars [patternLength - 1] == '*') in compile() 64 return new StartsWithMatcher (chars, patternLength); in compile() 67 return new PatternMatcher (chars, patternLength); in compile() 180 StartsWithMatcher (final char [] pattern, final int patternLength) in StartsWithMatcher() argument 183 m_prefix = new String (pattern, 0, patternLength - 1); in StartsWithMatcher() [all …]
|
/external/icu4c/i18n/ |
D | umsg.cpp | 40 int32_t patternLength, in u_formatMessage() argument 52 actLen = u_vformatMessage(locale,pattern,patternLength,result,resultLength,ap,status); in u_formatMessage() 62 int32_t patternLength, in u_vformatMessage() argument 70 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,NULL,status); in u_vformatMessage() 79 int32_t patternLength, in u_formatMessageWithError() argument 92 …actLen = u_vformatMessageWithError(locale,pattern,patternLength,result,resultLength,parseError,ap,… in u_formatMessageWithError() 102 int32_t patternLength, in u_vformatMessageWithError() argument 111 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,parseError,status); in u_vformatMessageWithError() 125 int32_t patternLength, in u_parseMessage() argument 137 u_vparseMessage(locale,pattern,patternLength,source,sourceLength,ap,status); in u_parseMessage() [all …]
|
D | udatpg.cpp | 109 const UChar *pattern, int32_t patternLength, in udatpg_addPattern() argument 116 if(pattern==NULL && patternLength!=0) { in udatpg_addPattern() 120 UnicodeString patternString((UBool)(patternLength<0), pattern, patternLength); in udatpg_addPattern() 205 const UChar *pattern, int32_t patternLength, in udatpg_replaceFieldTypes() argument 212 if((pattern==NULL && patternLength!=0) || (skeleton==NULL && skeletonLength!=0)) { in udatpg_replaceFieldTypes() 216 UnicodeString patternString((UBool)(patternLength<0), pattern, patternLength); in udatpg_replaceFieldTypes()
|
D | unum.cpp | 37 int32_t patternLength, in unum_open() argument 86 const UnicodeString pat(pattern, patternLength); in unum_open() 113 const UnicodeString pat(pattern, patternLength); in unum_open() 796 int32_t patternLength, in unum_applyPattern() argument 811 int32_t len = (patternLength == -1 ? u_strlen(pattern) : patternLength); in unum_applyPattern()
|
D | uregex.cpp | 95 int32_t patternLength, in uregex_open() argument 103 if (pattern == NULL || patternLength < -1 || patternLength == 0) { in uregex_open() 107 int32_t actualPatLen = patternLength; in uregex_open() 131 re->fPatStringLen = patternLength; in uregex_open() 134 UnicodeString patString(patternLength==-1, patBuf, patternLength); in uregex_open()
|
D | udat.cpp | 35 int32_t patternLength, in udat_open() argument 54 UnicodeString pat((UBool)(patternLength == -1), pattern, patternLength); in udat_open() 294 int32_t patternLength) in udat_applyPattern() argument 296 const UnicodeString pat((UBool)(patternLength == -1), pattern, patternLength); in udat_applyPattern()
|
/external/icu4c/common/ |
D | uset_props.cpp | 31 uset_openPattern(const UChar* pattern, int32_t patternLength, in uset_openPattern() argument 34 UnicodeString pat(patternLength==-1, pattern, patternLength); in uset_openPattern() 50 uset_openPatternOptions(const UChar* pattern, int32_t patternLength, in uset_openPatternOptions() argument 54 UnicodeString pat(patternLength==-1, pattern, patternLength); in uset_openPatternOptions() 72 const UChar *pattern, int32_t patternLength, in uset_applyPattern() argument 90 UnicodeString pat(pattern, patternLength); in uset_applyPattern() 118 uset_resemblesPattern(const UChar *pattern, int32_t patternLength, in uset_resemblesPattern() argument 121 UnicodeString pat(pattern, patternLength); in uset_resemblesPattern()
|
/external/icu4c/i18n/unicode/ |
D | umsg.h | 222 int32_t patternLength, 249 int32_t patternLength, 274 int32_t patternLength, 299 int32_t patternLength, 328 int32_t patternLength, 357 int32_t patternLength, 385 int32_t patternLength, 413 int32_t patternLength, 442 int32_t patternLength, 504 int32_t patternLength, [all …]
|
D | udatpg.h | 258 const UChar *pattern, int32_t patternLength, 428 const UChar *pattern, int32_t patternLength,
|
D | udat.h | 443 int32_t patternLength, 695 int32_t patternLength);
|
D | unum.h | 237 int32_t patternLength, 500 int32_t patternLength,
|
D | uregex.h | 132 int32_t patternLength,
|
/external/webkit/WebCore/icu/unicode/ |
D | uset.h | 142 uset_openPattern(const UChar* pattern, int32_t patternLength, 157 uset_openPatternOptions(const UChar* pattern, int32_t patternLength, 204 const UChar *pattern, int32_t patternLength, 282 uset_resemblesPattern(const UChar *pattern, int32_t patternLength,
|
/external/webkit/JavaScriptCore/icu/unicode/ |
D | uset.h | 142 uset_openPattern(const UChar* pattern, int32_t patternLength, 157 uset_openPatternOptions(const UChar* pattern, int32_t patternLength, 204 const UChar *pattern, int32_t patternLength, 282 uset_resemblesPattern(const UChar *pattern, int32_t patternLength,
|
/external/icu4c/common/unicode/ |
D | uset.h | 267 uset_openPattern(const UChar* pattern, int32_t patternLength, 282 uset_openPatternOptions(const UChar* pattern, int32_t patternLength, 385 const UChar *pattern, int32_t patternLength, 466 uset_resemblesPattern(const UChar *pattern, int32_t patternLength,
|
/external/webkit/JavaScriptCore/pcre/ |
D | pcre_compile.cpp | 2022 static int calculateCompiledPatternLength(const UChar* pattern, int patternLength, JSRegExpIgnoreCa… in calculateCompiledPatternLength() argument 2029 if (patternLength > MAX_PATTERN_SIZE) { in calculateCompiledPatternLength() 2043 const UChar* patternEnd = (const UChar*)(pattern + patternLength); in calculateCompiledPatternLength() 2564 JSRegExp* jsRegExpCompile(const UChar* pattern, int patternLength, in jsRegExpCompile() argument 2578 calculateCompiledPatternLength(pattern, patternLength, ignoreCase, cd, errorcode); in jsRegExpCompile() 2580 int length = calculateCompiledPatternLength(pattern, patternLength, ignoreCase, cd, errorcode); in jsRegExpCompile() 2590 size = stringOffset + patternLength * sizeof(UChar); in jsRegExpCompile() 2609 const UChar* patternEnd = pattern + patternLength; in jsRegExpCompile() 2694 re->stringLength = patternLength; in jsRegExpCompile() 2695 memcpy(reinterpret_cast<char*>(re) + stringOffset, pattern, patternLength * 2); in jsRegExpCompile()
|
D | pcre.h | 58 JSRegExp* jsRegExpCompile(const UChar* pattern, int patternLength,
|
/external/icu4c/test/cintltst/ |
D | cmsgtst.c | 180 int32_t patternLength = u_strlen(testCasePatterns[0]); in MessageFormatTest() local 182 UMessageFormat formatter = umsg_open(testCasePatterns[0],patternLength,"en_US",NULL,&ec); in MessageFormatTest() 196 patternLength = u_strlen(testCasePatterns[i]); in MessageFormatTest() 198 umsg_applyPattern(formatter,testCasePatterns[i],patternLength,&parseError,&ec); in MessageFormatTest() 785 static int32_t CallFormatMessage(const char* locale, UChar* testCasePattern, int32_t patternLength, in CallFormatMessage() argument 791 … len = u_vformatMessage(locale, testCasePattern, patternLength, result, resultLength, ap, status); in CallFormatMessage() 845 static void CallParseMessage(const char* locale, UChar* pattern, int32_t patternLength, in CallParseMessage() argument 850 u_vparseMessage(locale, pattern, patternLength, source, sourceLength, ap, status); in CallParseMessage()
|
/external/webkit/WebCore/platform/text/ |
D | StringImpl.cpp | 776 int patternLength = pattern->length(); in replace() local 777 if (!patternLength) in replace() 787 srcSegmentStart += patternLength; in replace() 794 StringBuffer data(m_length + matchCount * (repStrLength - patternLength)); in replace() 808 srcSegmentStart = srcSegmentEnd + patternLength; in replace()
|