Searched defs:patternLength (Results 1 - 13 of 13) sorted by relevance

/external/emma/core/java12/com/vladium/util/
H A DWCMatcher.java32 int patternLength = 0, starCount = 0, questionCount = 0;
44 chars [patternLength ++] = '*';
51 chars [patternLength ++] = ch;
55 // [assertion: patternLength > 0]
59 if (patternLength == 1)
62 return new EndsWithMatcher (chars, patternLength);
63 else if (chars [patternLength - 1] == '*')
64 return new StartsWithMatcher (chars, patternLength);
67 return new PatternMatcher (chars, patternLength);
180 StartsWithMatcher (final char [] pattern, final int patternLength) argument
219 EndsWithMatcher(final char [] pattern, final int patternLength) argument
351 PatternMatcher(final char [] pattern, final int patternLength) argument
[all...]
/external/icu4c/common/
H A Duset_props.cpp31 uset_openPattern(const UChar* pattern, int32_t patternLength, argument
34 UnicodeString pat(patternLength==-1, pattern, patternLength);
50 uset_openPatternOptions(const UChar* pattern, int32_t patternLength, argument
54 UnicodeString pat(patternLength==-1, pattern, patternLength);
72 const UChar *pattern, int32_t patternLength,
90 UnicodeString pat(pattern, patternLength);
118 uset_resemblesPattern(const UChar *pattern, int32_t patternLength, argument
121 UnicodeString pat(pattern, patternLength);
71 uset_applyPattern(USet *set, const UChar *pattern, int32_t patternLength, uint32_t options, UErrorCode *status) argument
[all...]
/external/icu4c/i18n/
H A Dbms.cpp70 const UChar *pattern, int32_t patternLength,
82 UnicodeString patternString(pattern, patternLength);
69 bms_open(UCD *ucd, const UChar *pattern, int32_t patternLength, const UChar *target, int32_t targetLength, UErrorCode *status) argument
H A Dudatpg.cpp120 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,
220 return udatpg_replaceFieldTypesWithOptions(dtpg, pattern, patternLength, skeleton, skeletonLength,
227 const UChar *pattern, int32_t patternLength,
235 if((pattern==NULL && patternLength!=0) || (skeleton==NULL && skeletonLength!=0)) {
239 UnicodeString patternString((UBool)(patternLength<0), pattern, patternLength);
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 Dumsg.cpp40 int32_t patternLength,
52 actLen = u_vformatMessage(locale,pattern,patternLength,result,resultLength,ap,status);
62 int32_t patternLength,
70 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,NULL,status);
79 int32_t patternLength,
92 actLen = u_vformatMessageWithError(locale,pattern,patternLength,result,resultLength,parseError,ap,status);
102 int32_t patternLength,
111 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,parseError,status);
125 int32_t patternLength,
137 u_vparseMessage(locale,pattern,patternLength,sourc
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 Dunum.cpp38 int32_t patternLength,
86 /* UnicodeString can handle the case when patternLength = -1. */
87 const UnicodeString pat(pattern, patternLength);
117 /* UnicodeString can handle the case when patternLength = -1. */
118 const UnicodeString pat(pattern, patternLength);
900 int32_t patternLength,
915 int32_t len = (patternLength == -1 ? u_strlen(pattern) : patternLength);
36 unum_open( UNumberFormatStyle style, const UChar* pattern, int32_t patternLength, const char* locale, UParseError* parseErr, UErrorCode* status) argument
897 unum_applyPattern( UNumberFormat *fmt, UBool localized, const UChar *pattern, int32_t patternLength, UParseError *parseError, UErrorCode* status) argument
H A Dbmsearch.cpp52 Target(UCollator *theCollator, const UnicodeString *target, int32_t patternLength, UErrorCode &status);
94 Target::Target(UCollator *theCollator, const UnicodeString *target, int32_t patternLength, UErrorCode &status) argument
113 bufferSize = patternLength + (2 * maxExpansion) + 4;
H A Dudat.cpp92 int32_t patternLength,
111 UnicodeString pat((UBool)(patternLength == -1), pattern, patternLength);
364 int32_t patternLength)
366 const UnicodeString pat((UBool)(patternLength == -1), pattern, patternLength);
86 udat_open(UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const char *locale, const UChar *tzID, int32_t tzIDLength, const UChar *pattern, int32_t patternLength, UErrorCode *status) argument
361 udat_applyPattern( UDateFormat *format, UBool localized, const UChar *pattern, int32_t patternLength) argument
H A Duregex.cpp107 int32_t patternLength,
115 if (pattern == NULL || patternLength < -1 || patternLength == 0) {
119 int32_t actualPatLen = patternLength;
143 re->fPatStringLen = patternLength;
148 utext_openUChars(&patText, patBuf, patternLength, status);
106 uregex_open( const UChar *pattern, int32_t patternLength, uint32_t flags, UParseError *pe, UErrorCode *status) argument
/external/icu4c/test/cintltst/
H A Dcmsgtst.c179 int32_t patternLength = u_strlen(testCasePatterns[0]); local
181 UMessageFormat formatter = umsg_open(testCasePatterns[0],patternLength,"en_US",NULL,&ec);
195 patternLength = u_strlen(testCasePatterns[i]);
197 umsg_applyPattern(formatter,testCasePatterns[i],patternLength,&parseError,&ec);
856 static int32_t CallFormatMessage(const char* locale, UChar* testCasePattern, int32_t patternLength, argument
862 len = u_vformatMessage(locale, testCasePattern, patternLength, result, resultLength, ap, status);
916 static void CallParseMessage(const char* locale, UChar* pattern, int32_t patternLength, argument
921 u_vparseMessage(locale, pattern, patternLength, source, sourceLength, ap, status);
/external/webkit/Source/JavaScriptCore/wtf/text/
H A DStringImpl.cpp879 unsigned patternLength = pattern->length(); local
880 if (!patternLength)
890 srcSegmentStart += patternLength;
897 unsigned newSize = m_length - matchCount * patternLength;
921 srcSegmentStart = srcSegmentEnd + patternLength;
/external/icu4c/test/intltest/
H A Dregextst.cpp4154 int32_t patternLength; local
4283 patternLength = pattern.extract(patternChars, patternCapacity, UTF8Converter.getAlias(), status);
4287 patternCapacity = patternLength + 1;
4291 utext_openUTF8(&patternText, patternChars, patternLength, &status);
/external/emma/lib/
H A Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...

Completed in 1109 milliseconds