Home
last modified time | relevance | path

Searched refs:inputString (Results 1 – 19 of 19) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberParserTest.java142 String inputString = (String) cas[1]; in testBasic() local
148 String message = "Input <" + inputString + "> Parser " + parser; in testBasic()
153 parser.parse(inputString, true, resultObject); in testBasic()
167 parser.parse(inputString, false, resultObject); in testBasic()
184 parser.parse(inputString, true, resultObject); in testBasic()
377 String inputString = (String) cas[1]; in testCaseFolding() local
384 caseSensitiveParser.parse(inputString, true, result); in testCaseFolding()
385 assertEquals("Case-Sensitive: " + inputString + " on " + patternString, in testCaseFolding()
393 caseFoldingParser.parse(inputString, true, result); in testCaseFolding()
394 assertEquals("Folded: " + inputString + " on " + patternString, in testCaseFolding()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberParserTest.java139 String inputString = (String) cas[1]; in testBasic() local
145 String message = "Input <" + inputString + "> Parser " + parser; in testBasic()
150 parser.parse(inputString, true, resultObject); in testBasic()
164 parser.parse(inputString, false, resultObject); in testBasic()
181 parser.parse(inputString, true, resultObject); in testBasic()
374 String inputString = (String) cas[1]; in testCaseFolding() local
381 caseSensitiveParser.parse(inputString, true, result); in testCaseFolding()
382 assertEquals("Case-Sensitive: " + inputString + " on " + patternString, in testCaseFolding()
390 caseFoldingParser.parse(inputString, true, result); in testCaseFolding()
391 assertEquals("Folded: " + inputString + " on " + patternString, in testCaseFolding()
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumbertest_parse.cpp36 const char16_t* inputString; in testBasic() member
130 UnicodeString inputString(cas.inputString); in testBasic() local
139 … UnicodeString("Input <") + inputString + UnicodeString("> Parser ") + parser->toString(); in testBasic()
144 parser->parse(inputString, true, resultObject, status); in testBasic()
155 parser->parse(inputString, false, resultObject, status); in testBasic()
176 parser->parse(inputString, true, resultObject, status); in testBasic()
360 UnicodeString inputString; in test20360_BidiOverflow() local
361 inputString.append(u'-'); in test20360_BidiOverflow()
363 inputString.append(u'\u061C'); in test20360_BidiOverflow()
365 inputString.append(u'5'); in test20360_BidiOverflow()
[all …]
Dbidiconf.cpp61 UnicodeString inputString; member in BiDiConformanceTest
170 inputString.remove(); in parseInputStringFromBiDiClasses()
249 inputString.append(charFromBiDiClass[biDiClass]); in parseInputStringFromBiDiClasses()
333 ubidi_setPara(ubidi.getAlias(), inputString.getBuffer(), inputString.length(), in TestBidiTest()
452 inputString="N/A"; in TestBidiCharacterTest()
464 UChar *buffer=inputString.getBuffer(200); in TestBidiCharacterTest()
465 int32_t length=u_parseString(start, buffer, inputString.getCapacity(), NULL, errorCode); in TestBidiCharacterTest()
468 inputString.remove(); in TestBidiCharacterTest()
471 inputString.releaseBuffer(length); in TestBidiCharacterTest()
542 ubidi_setPara(ubidi.getAlias(), inputString.getBuffer(), inputString.length(), in TestBidiCharacterTest()
[all …]
Dregextst.cpp384 UnicodeString inputString(inputText); in doRegexLMTest() local
385 UnicodeString unEscapedInput = inputString.unescape(); in doRegexLMTest()
446 UnicodeString inputString(text, -1, US_INV); in doRegexLMTestUTF8() local
447 UnicodeString unEscapedInput = inputString.unescape(); in doRegexLMTestUTF8()
3343 const UnicodeString &inputString, in regex_find() argument
3508 unEscapedInput = inputString.unescape(); in regex_find()
3785 +flags+(UnicodeString)" \""+inputString+(UnicodeString)"\""); in regex_find()
Dnumfmtst.cpp9959 const char16_t* inputString; in Test13733_StrictAndLenient() member
10007 UnicodeString inputString(cas.inputString); in Test13733_StrictAndLenient() local
10022 LocalPointer<CurrencyAmount> ca_strict(df.parseCurrency(inputString, ppos)); in Test13733_StrictAndLenient()
10026 assertEquals("Strict parse of " + inputString + " using " + patternString, in Test13733_StrictAndLenient()
10031 LocalPointer<CurrencyAmount> ca_lenient(df.parseCurrency(inputString, ppos)); in Test13733_StrictAndLenient()
10036 assertEquals("Lenient parse of " + inputString + " using " + patternString, in Test13733_StrictAndLenient()
/external/testng/src/main/java/org/testng/
DReporterConfig.java71 public static ReporterConfig deserialize(String inputString) { in deserialize() argument
73 if (!Utils.isStringEmpty(inputString)) { in deserialize()
75 int clsNameEndIndex = inputString.indexOf(":"); in deserialize()
77 reporterConfig.setClassName(inputString); in deserialize()
79 reporterConfig.setClassName(inputString.substring(0, clsNameEndIndex)); in deserialize()
80 String propString = inputString.substring(clsNameEndIndex + 1, inputString.length()); in deserialize()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DArchiveUtilsTest.java146 private void asciiToByteAndBackOK(final String inputString) { in asciiToByteAndBackOK() argument
147 … assertEquals(inputString, ArchiveUtils.toAsciiString(ArchiveUtils.toAsciiBytes(inputString))); in asciiToByteAndBackOK()
150 private void asciiToByteAndBackFail(final String inputString) { in asciiToByteAndBackFail() argument
151 …assertFalse(inputString.equals(ArchiveUtils.toAsciiString(ArchiveUtils.toAsciiBytes(inputString)))… in asciiToByteAndBackFail()
/external/antlr/gunit/src/main/java/org/antlr/gunit/
DJUnitCodeGen.java328 public static String escapeForJava(String inputString) { in escapeForJava() argument
330 inputString = inputString.replace("\\", "\\\\"); in escapeForJava()
332 inputString = inputString.replace("\"", "\\\""); in escapeForJava()
334inputString = inputString.replace("\n", "\\n").replace("\t", "\\t").replace("\r", "\\r").replace("… in escapeForJava()
336 return inputString; in escapeForJava()
/external/bcc/examples/usdt_sample/scripts/
Dbpf_text_shared.c9 static inline bool filter(char const* inputString) in filter() argument
13 bpf_probe_read(&haystack, sizeof(haystack), (void*)inputString); in filter()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DBiDiConformanceTest.java79 ubidi.setPara(inputString, paraLevels[i], null); in TestBidiTest()
182 inputString = "N/A"; in TestBidiCharacterTest()
204 inputString = inputStringBuilder.toString(); in TestBidiCharacterTest()
249 ubidi.setPara(inputString, paraLevel, null); in TestBidiCharacterTest()
473 inputString=inputStringBuilder.toString(); in parseInputStringFromBiDiClasses()
584 errln("Input string: "+inputString); in printErrorLine()
614 private String inputString; field in BiDiConformanceTest
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DBiDiConformanceTest.java82 ubidi.setPara(inputString, paraLevels[i], null); in TestBidiTest()
185 inputString = "N/A"; in TestBidiCharacterTest()
207 inputString = inputStringBuilder.toString(); in TestBidiCharacterTest()
252 ubidi.setPara(inputString, paraLevel, null); in TestBidiCharacterTest()
476 inputString=inputStringBuilder.toString(); in parseInputStringFromBiDiClasses()
587 errln("Input string: "+inputString); in printErrorLine()
617 private String inputString; field in BiDiConformanceTest
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DUnformatted.output40 String inputString = new String(inputBytes, Charsets.UTF_8);
45 JavaInput javaInput = new JavaInput(inputString);
DUnformatted.input31 toString ( ) , fileName ) ) ; String inputString = new String ( inputBytes ,
35 , Charsets . UTF_8 ) ; JavaInput javaInput = new JavaInput ( inputString ) ;
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DArchiveUtils.java102 public static byte[] toAsciiBytes(final String inputString){ in toAsciiBytes() argument
104 return inputString.getBytes(CharsetNames.US_ASCII); in toAsciiBytes()
/external/libxml2/
Dxmlregexp.c348 const xmlChar *inputString; /* when operating on characters */ member
3154 printf(": %s", &(exec->inputString[exec->index])); in xmlFARegDebugExec()
3264 exec->inputString = content; in xmlFARegExec()
3288 ((exec->inputString[exec->index] != 0) || in xmlFARegExec()
3302 if ((exec->inputString[exec->index] == 0) && (exec->counts == NULL)) { in xmlFARegExec()
3351 } else if (exec->inputString[exec->index] != 0) { in xmlFARegExec()
3352 codepoint = CUR_SCHAR(&(exec->inputString[exec->index]), len); in xmlFARegExec()
3397 if (exec->inputString[exec->index] == 0) { in xmlFARegExec()
3414 codepoint = CUR_SCHAR(&(exec->inputString[exec->index]), in xmlFARegExec()
3589 exec->inputString = NULL; in xmlRegNewExecCtxt()
[all …]
/external/protobuf/objectivec/
DGPBUtilities_PackagePrivate.h308 NSString *inputString);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java6880 String inputString = (String) cas[0];
6892 CurrencyAmount ca_strict = df.parseCurrency(inputString, ppos);
6896 assertEquals("Strict parse of " + inputString + " using " + patternString,
6901 CurrencyAmount ca_lenient = df.parseCurrency(inputString, ppos);
6905 assertEquals("Strict parse of " + inputString + " using " + patternString,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTest.java6883 String inputString = (String) cas[0];
6895 CurrencyAmount ca_strict = df.parseCurrency(inputString, ppos);
6899 assertEquals("Strict parse of " + inputString + " using " + patternString,
6904 CurrencyAmount ca_lenient = df.parseCurrency(inputString, ppos);
6908 assertEquals("Strict parse of " + inputString + " using " + patternString,