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

12

/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/icu/icu4c/source/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...]
H A Dsimplepatternformatter.cpp73 int32_t patternLength = pattern.length(); local
79 for (int32_t i = 0; i < patternLength;) {
82 if (i < patternLength && (c = patternBuffer[i]) == APOS) {
104 if ((i + 1) < patternLength &&
113 if (i < patternLength && DIGIT_ONE <= (c = patternBuffer[i++]) && c <= DIGIT_NINE) {
115 while (i < patternLength &&
/external/icu/icu4c/source/i18n/
H A Dudatpg.cpp122 const UChar *pattern, int32_t patternLength,
129 if(pattern==NULL && patternLength!=0) {
133 UnicodeString patternString((UBool)(patternLength<0), pattern, patternLength);
218 const UChar *pattern, int32_t patternLength,
222 return udatpg_replaceFieldTypesWithOptions(dtpg, pattern, patternLength, skeleton, skeletonLength,
229 const UChar *pattern, int32_t patternLength,
237 if((pattern==NULL && patternLength!=0) || (skeleton==NULL && skeletonLength!=0)) {
241 UnicodeString patternString((UBool)(patternLength<0), pattern, patternLength);
121 udatpg_addPattern(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, UBool override, UChar *conflictingPattern, int32_t capacity, int32_t *pLength, UErrorCode *pErrorCode) argument
217 udatpg_replaceFieldTypes(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, const UChar *skeleton, int32_t skeletonLength, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
228 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.cpp61 int32_t patternLength,
73 actLen = u_vformatMessage(locale,pattern,patternLength,result,resultLength,ap,status);
83 int32_t patternLength,
91 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,NULL,status);
100 int32_t patternLength,
113 actLen = u_vformatMessageWithError(locale,pattern,patternLength,result,resultLength,parseError,ap,status);
123 int32_t patternLength,
132 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,parseError,status);
146 int32_t patternLength,
158 u_vparseMessage(locale,pattern,patternLength,sourc
59 u_formatMessage(const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UErrorCode *status, ...) argument
81 u_vformatMessage( const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, va_list ap, UErrorCode *status) argument
98 u_formatMessageWithError(const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UParseError *parseError, UErrorCode *status, ...) argument
121 u_vformatMessageWithError( const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UParseError *parseError, va_list ap, UErrorCode *status) argument
144 u_parseMessage( const char *locale, const UChar *pattern, int32_t patternLength, const UChar *source, int32_t sourceLength, UErrorCode *status, ...) argument
164 u_vparseMessage(const char *locale, const UChar *pattern, int32_t patternLength, const UChar *source, int32_t sourceLength, va_list ap, UErrorCode *status) argument
180 u_parseMessageWithError(const char *locale, const UChar *pattern, int32_t patternLength, const UChar *source, int32_t sourceLength, UParseError *error, UErrorCode *status, ...) argument
201 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
224 umsg_open( const UChar *pattern, int32_t patternLength, const char *locale, UParseError *parseError, UErrorCode *status) argument
311 umsg_applyPattern(UMessageFormat *fmt, const UChar* pattern, int32_t patternLength, UParseError* parseError, UErrorCode* status) argument
620 umsg_autoQuoteApostrophe(const UChar* pattern, int32_t patternLength, UChar* dest, int32_t destCapacity, UErrorCode* ec) argument
[all...]
H A Dunum.cpp41 int32_t patternLength,
66 /* UnicodeString can handle the case when patternLength = -1. */
67 const UnicodeString pat(pattern, patternLength);
92 /* UnicodeString can handle the case when patternLength = -1. */
93 const UnicodeString pat(pattern, patternLength);
754 int32_t patternLength,
769 int32_t len = (patternLength == -1 ? u_strlen(pattern) : patternLength);
39 unum_open( UNumberFormatStyle style, const UChar* pattern, int32_t patternLength, const char* locale, UParseError* parseErr, UErrorCode* status) argument
751 unum_applyPattern( UNumberFormat *fmt, UBool localized, const UChar *pattern, int32_t patternLength, UParseError *parseError, UErrorCode* status) argument
H A Dudat.cpp133 int32_t patternLength,
141 fmt = (DateFormat*) (*gOpener)(timeStyle,dateStyle,locale,tzID,tzIDLength,pattern,patternLength,status);
158 UnicodeString pat((UBool)(patternLength == -1), pattern, patternLength);
570 int32_t patternLength)
572 const UnicodeString pat((UBool)(patternLength == -1), pattern, patternLength);
127 udat_open(UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const char *locale, const UChar *tzID, int32_t tzIDLength, const UChar *pattern, int32_t patternLength, UErrorCode *status) argument
567 udat_applyPattern( UDateFormat *format, UBool localized, const UChar *pattern, int32_t patternLength) argument
H A Duregex.cpp108 int32_t patternLength,
116 if (pattern == NULL || patternLength < -1 || patternLength == 0) {
120 int32_t actualPatLen = patternLength;
144 re->fPatStringLen = patternLength;
149 utext_openUChars(&patText, patBuf, patternLength, status);
107 uregex_open( const UChar *pattern, int32_t patternLength, uint32_t flags, UParseError *pe, UErrorCode *status) argument
/external/pdfium/xfa/src/fxbarcode/oned/
H A DBC_OneDReader.cpp162 int32_t patternLength = 0; local
165 patternLength += pattern[i];
167 if (total < patternLength) {
171 int32_t unitBarWidth = (total << INTEGER_MATH_SHIFT) / patternLength;
H A DBC_OneDimReader.cpp148 int32_t patternLength = pattern->GetSize(); local
150 counters.SetSize(patternLength);
167 if (counterPosition == patternLength - 1) {
177 for (int32_t y = 2; y < patternLength; y++) {
180 counters[patternLength - 2] = 0;
181 counters[patternLength - 1] = 0;
198 int32_t patternLength,
204 int32_t max = patternLength;
194 DecodeDigit(CBC_CommonBitArray* row, CFX_Int32Array* counters, int32_t rowOffset, const int32_t* patterns, int32_t patternLength, int32_t& e) argument
H A DBC_OnedCodaBarReader.cpp136 int32_t patternLength = counters.GetSize(); local
142 if (counterPosition == patternLength - 1) {
157 for (int32_t y = 2; y < patternLength; y++) {
160 counters[patternLength - 2] = 0;
161 counters[patternLength - 1] = 0;
H A DBC_OnedCode128Reader.cpp100 int32_t patternLength = counters.GetSize(); local
106 if (counterPosition == patternLength - 1) {
133 for (int32_t y = 2; y < patternLength; y++) {
136 counters[patternLength - 2] = 0;
137 counters[patternLength - 1] = 0;
H A DBC_OnedCode39Reader.cpp140 int32_t patternLength = counters.GetSize(); local
146 if (counterPosition == patternLength - 1) {
161 for (int32_t y = 2; y < patternLength; y++) {
164 counters[patternLength - 2] = 0;
165 counters[patternLength - 1] = 0;
H A DBC_OneDimWriter.cpp112 int32_t patternLength,
121 for (int32_t i = 0; i < patternLength; i++) {
109 AppendPattern(uint8_t* target, int32_t pos, const int32_t* pattern, int32_t patternLength, int32_t startColor, int32_t& e) argument
/external/icu/icu4c/source/test/cintltst/
H A Dcmsgtst.c184 int32_t patternLength = u_strlen(testCasePatterns[0]); local
186 UMessageFormat formatter = umsg_open(testCasePatterns[0],patternLength,"en_US",NULL,&ec);
200 patternLength = u_strlen(testCasePatterns[i]);
202 umsg_applyPattern(formatter,testCasePatterns[i],patternLength,&parseError,&ec);
867 static int32_t CallFormatMessage(const char* locale, UChar* testCasePattern, int32_t patternLength, argument
873 len = u_vformatMessage(locale, testCasePattern, patternLength, result, resultLength, ap, status);
927 static void CallParseMessage(const char* locale, UChar* pattern, int32_t patternLength, argument
932 u_vparseMessage(locale, pattern, patternLength, source, sourceLength, ap, status);
/external/pdfium/xfa/src/fxbarcode/pdf417/
H A DBC_PDF417Detector.cpp194 int32_t patternLength) {
199 counters.SetSize(patternLength);
203 patternLength, counters);
208 pattern, patternLength, counters);
235 pattern, patternLength, counters);
270 int32_t patternLength,
290 if (counterPosition == patternLength - 1) {
298 for (int32_t l = 2, k = 0; l < patternLength; l++, k++) {
301 counters.SetAt(patternLength - 2, 0);
302 counters.SetAt(patternLength
188 findRowsWithPattern(CBC_CommonBitMatrix* matrix, int32_t height, int32_t width, int32_t startRow, int32_t startColumn, int32_t* pattern, int32_t patternLength) argument
264 findGuardPattern(CBC_CommonBitMatrix* matrix, int32_t column, int32_t row, int32_t width, FX_BOOL whiteFirst, int32_t* pattern, int32_t patternLength, CFX_Int32Array& counters) argument
327 int32_t patternLength = 0; local
[all...]
/external/jsoncpp/src/lib_json/
H A Djson_reader.cpp322 bool Reader::match(Location pattern, int patternLength) { argument
323 if (end_ - current_ < patternLength)
325 int index = patternLength;
329 current_ += patternLength;
/external/icu/icu4c/source/test/intltest/
H A Dregextst.cpp4397 int32_t patternLength; local
4526 patternLength = pattern.extract(patternChars, patternCapacity, UTF8Converter.getAlias(), status);
4530 patternCapacity = patternLength + 1;
4534 utext_openUTF8(&patternText, patternChars, patternLength, &status);
/external/robolectric/v1/lib/main/
H A Dcommons-codec-1.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/codec/ ...
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/oned/ ...
/external/slf4j/log4j-over-slf4j/compatibility/lib/
H A Dlogback-core-0.9.8-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF ch/ ch/qos/ ch/qos/logback/ ch/qos/logback/core/ ...
/external/emma/lib/
H A Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...
/external/owasp/sanitizer/tools/emma/lib/
H A Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...
/external/guice/lib/build/
H A Dspring-core.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/springframework/ org/springframework/core/ org/springframework/core/annotation/ ...
/external/guice/extensions/persist/lib/
H A Dlog4j-1.2.14.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/log4j/ org/apache/log4j/Appender ...

Completed in 1278 milliseconds

12