Home
last modified time | relevance | path

Searched refs:patternLength (Results 1 – 25 of 48) sorted by relevance

12

/external/emma/core/java12/com/vladium/util/
DWCMatcher.java32 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/icu/icu4c/source/i18n/
Dumsg.cpp63 int32_t patternLength, in u_formatMessage() argument
75 actLen = u_vformatMessage(locale,pattern,patternLength,result,resultLength,ap,status); in u_formatMessage()
85 int32_t patternLength, in u_vformatMessage() argument
93 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,NULL,status); in u_vformatMessage()
102 int32_t patternLength, in u_formatMessageWithError() argument
115 …actLen = u_vformatMessageWithError(locale,pattern,patternLength,result,resultLength,parseError,ap,… in u_formatMessageWithError()
125 int32_t patternLength, in u_vformatMessageWithError() argument
134 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,parseError,status); in u_vformatMessageWithError()
148 int32_t patternLength, in u_parseMessage() argument
160 u_vparseMessage(locale,pattern,patternLength,source,sourceLength,ap,status); in u_parseMessage()
[all …]
Dudatpg.cpp124 const UChar *pattern, int32_t patternLength, in udatpg_addPattern() argument
131 if(pattern==NULL && patternLength!=0) { in udatpg_addPattern()
135 UnicodeString patternString((UBool)(patternLength<0), pattern, patternLength); in udatpg_addPattern()
220 const UChar *pattern, int32_t patternLength, in udatpg_replaceFieldTypes() argument
224 … return udatpg_replaceFieldTypesWithOptions(dtpg, pattern, patternLength, skeleton, skeletonLength, in udatpg_replaceFieldTypes()
231 const UChar *pattern, int32_t patternLength, in udatpg_replaceFieldTypesWithOptions() argument
239 if((pattern==NULL && patternLength!=0) || (skeleton==NULL && skeletonLength!=0)) { in udatpg_replaceFieldTypesWithOptions()
243 UnicodeString patternString((UBool)(patternLength<0), pattern, patternLength); in udatpg_replaceFieldTypesWithOptions()
Dunum.cpp43 int32_t patternLength, in unum_open() argument
69 const UnicodeString pat(pattern, patternLength); in unum_open()
95 const UnicodeString pat(pattern, patternLength); in unum_open()
756 int32_t patternLength, in unum_applyPattern() argument
771 int32_t len = (patternLength == -1 ? u_strlen(pattern) : patternLength); in unum_applyPattern()
Dudat.cpp135 int32_t patternLength, in udat_open() argument
143 … (DateFormat*) (*gOpener)(timeStyle,dateStyle,locale,tzID,tzIDLength,pattern,patternLength,status); in udat_open()
160 UnicodeString pat((UBool)(patternLength == -1), pattern, patternLength); in udat_open()
572 int32_t patternLength) in udat_applyPattern() argument
574 const UnicodeString pat((UBool)(patternLength == -1), pattern, patternLength); in udat_applyPattern()
Duregex.cpp110 int32_t patternLength, in uregex_open() argument
118 if (pattern == NULL || patternLength < -1 || patternLength == 0) { in uregex_open()
122 int32_t actualPatLen = patternLength; in uregex_open()
146 re->fPatStringLen = patternLength; in uregex_open()
151 utext_openUChars(&patText, patBuf, patternLength, status); in uregex_open()
/external/icu/icu4c/source/common/
Duset_props.cpp33 uset_openPattern(const UChar* pattern, int32_t patternLength, in uset_openPattern() argument
36 UnicodeString pat(patternLength==-1, pattern, patternLength); in uset_openPattern()
52 uset_openPatternOptions(const UChar* pattern, int32_t patternLength, in uset_openPatternOptions() argument
56 UnicodeString pat(patternLength==-1, pattern, patternLength); in uset_openPatternOptions()
74 const UChar *pattern, int32_t patternLength, in uset_applyPattern() argument
92 UnicodeString pat(pattern, patternLength); in uset_applyPattern()
120 uset_resemblesPattern(const UChar *pattern, int32_t patternLength, in uset_resemblesPattern() argument
123 UnicodeString pat(pattern, patternLength); in uset_resemblesPattern()
Dsimpleformatter.cpp74 int32_t patternLength = pattern.length(); in applyPatternMinMaxArguments() local
80 for (int32_t i = 0; i < patternLength;) { in applyPatternMinMaxArguments()
83 if (i < patternLength && (c = patternBuffer[i]) == APOS) { in applyPatternMinMaxArguments()
105 if ((i + 1) < patternLength && in applyPatternMinMaxArguments()
114 if (i < patternLength && DIGIT_ONE <= (c = patternBuffer[i++]) && c <= DIGIT_NINE) { in applyPatternMinMaxArguments()
116 while (i < patternLength && in applyPatternMinMaxArguments()
/external/icu/icu4c/source/i18n/unicode/
Dumsg.h181 int32_t patternLength,
208 int32_t patternLength,
233 int32_t patternLength,
258 int32_t patternLength,
287 int32_t patternLength,
316 int32_t patternLength,
344 int32_t patternLength,
372 int32_t patternLength,
401 int32_t patternLength,
482 int32_t patternLength,
[all …]
Dudatpg.h348 const UChar *pattern, int32_t patternLength,
520 const UChar *pattern, int32_t patternLength,
557 const UChar *pattern, int32_t patternLength,
Dudat.h861 int32_t patternLength,
1370 int32_t patternLength);
1641 int32_t patternLength,
Dunum.h414 int32_t patternLength,
844 int32_t patternLength,
Duregex.h136 int32_t patternLength,
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DSimpleFormatterImpl.java87 int patternLength = pattern.length(); in compileToStringMinMaxArguments() local
88 sb.ensureCapacity(patternLength); in compileToStringMinMaxArguments()
94 for (int i = 0; i < patternLength;) { in compileToStringMinMaxArguments()
97 if (i < patternLength && (c = pattern.charAt(i)) == '\'') { in compileToStringMinMaxArguments()
118 if ((i + 1) < patternLength && in compileToStringMinMaxArguments()
128 if (i < patternLength && '1' <= (c = pattern.charAt(i++)) && c <= '9') { in compileToStringMinMaxArguments()
130 while (i < patternLength && '0' <= (c = pattern.charAt(i++)) && c <= '9') { in compileToStringMinMaxArguments()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSimpleFormatterImpl.java85 int patternLength = pattern.length(); in compileToStringMinMaxArguments() local
86 sb.ensureCapacity(patternLength); in compileToStringMinMaxArguments()
92 for (int i = 0; i < patternLength;) { in compileToStringMinMaxArguments()
95 if (i < patternLength && (c = pattern.charAt(i)) == '\'') { in compileToStringMinMaxArguments()
116 if ((i + 1) < patternLength && in compileToStringMinMaxArguments()
126 if (i < patternLength && '1' <= (c = pattern.charAt(i++)) && c <= '9') { in compileToStringMinMaxArguments()
128 while (i < patternLength && '0' <= (c = pattern.charAt(i++)) && c <= '9') { in compileToStringMinMaxArguments()
/external/icu/icu4c/source/common/unicode/
Duset.h285 uset_openPattern(const UChar* pattern, int32_t patternLength,
300 uset_openPatternOptions(const UChar* pattern, int32_t patternLength,
422 const UChar *pattern, int32_t patternLength,
503 uset_resemblesPattern(const UChar *pattern, int32_t patternLength,
/external/icu/icu4c/source/test/cintltst/
Dcmsgtst.c186 int32_t patternLength = u_strlen(testCasePatterns[0]); in MessageFormatTest() local
188 UMessageFormat formatter = umsg_open(testCasePatterns[0],patternLength,"en_US",NULL,&ec); in MessageFormatTest()
202 patternLength = u_strlen(testCasePatterns[i]); in MessageFormatTest()
204 umsg_applyPattern(formatter,testCasePatterns[i],patternLength,&parseError,&ec); in MessageFormatTest()
869 static int32_t CallFormatMessage(const char* locale, UChar* testCasePattern, int32_t patternLength, in CallFormatMessage() argument
875 … len = u_vformatMessage(locale, testCasePattern, patternLength, result, resultLength, ap, status); in CallFormatMessage()
929 static void CallParseMessage(const char* locale, UChar* pattern, int32_t patternLength, in CallParseMessage() argument
934 u_vparseMessage(locale, pattern, patternLength, source, sourceLength, ap, status); in CallParseMessage()
/external/jsoncpp/src/lib_json/
Djson_reader.cpp322 bool Reader::match(Location pattern, int patternLength) { in match() argument
323 if (end_ - current_ < patternLength) in match()
325 int index = patternLength; in match()
329 current_ += patternLength; in match()
/external/pdfium/xfa/fxbarcode/oned/
DBC_OneDimWriter.h95 int32_t patternLength,
DBC_OneDimWriter.cpp131 int32_t patternLength, in AppendPattern() argument
140 for (int32_t i = 0; i < patternLength; i++) { in AppendPattern()
/external/jsoncpp/include/json/
Dreader.h193 bool match(Location pattern, int patternLength);
/external/protobuf/conformance/third_party/jsoncpp/
Djsoncpp.cpp522 bool Reader::match(Location pattern, int patternLength) { in match() argument
523 if (end_ - current_ < patternLength) in match()
525 int index = patternLength; in match()
529 current_ += patternLength; in match()
1166 bool match(Location pattern, int patternLength);
1500 bool OurReader::match(Location pattern, int patternLength) { in match() argument
1501 if (end_ - current_ < patternLength) in match()
1503 int index = patternLength; in match()
1507 current_ += patternLength; in match()
Djson.h1442 bool match(Location pattern, int patternLength);
/external/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/v1/lib/main/
Dcommons-codec-1.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...

12