HomeSort by relevance Sort by last modified time
    Searched refs:testStr (Results 1 - 22 of 22) sorted by null

  /external/skia/tests/
GrGLSLPrettyPrintTest.cpp 90 SkTArray<const char*> testStr;
92 testStr.push_back(input1.c_str());
94 testStr.push_back(input2.c_str());
96 testStr.push_back(input3.c_str());
98 testStr.push_back(input4.c_str());
100 testStr.push_back(input5.c_str());
102 testStr.push_back(input6.c_str());
105 SkString test = GrGLSLPrettyPrint::PrettyPrintGLSL(testStr.begin(), lengths.begin(),
106 testStr.count(), true);
109 testStr.reset()
    [all...]
  /art/test/020-string/src/
Main.java 32 String testStr;
35 testStr = baseStr.substring(4, baseStr.length() - 3);
36 System.out.println("testStr is '" + testStr + "'");
39 for (i = 0; i < testStr.length(); i++)
40 System.out.print(testStr.charAt(i));
44 if (testStr.length() != testStr2.length())
47 System.out.println("Compare result is " + testStr.compareTo(testStr2));
55 testStr.charAt(500);
  /external/fonttools/Lib/fontTools/misc/
eexec.py 49 testStr = "\0\0asdadads asds\265"
50 print(decrypt, decrypt(testStr, 12321))
51 print(encrypt, encrypt(testStr, 12321))
  /external/v8/test/webkit/
date-constructor.js 76 var testStr = "";
77 var year = { valueOf: function() { testStr += 1; return 2007; } };
78 var month = { valueOf: function() { testStr += 2; return 2; } };
79 var date = { valueOf: function() { testStr += 3; return 4; } };
80 var hours = { valueOf: function() { testStr += 4; return 13; } };
81 var minutes = { valueOf: function() { testStr += 5; return 50; } };
82 var seconds = { valueOf: function() { testStr += 6; return 0; } };
83 var ms = { valueOf: function() { testStr += 7; return 999; } };
85 testStr = "";
87 shouldBe('testStr', '\"1234567\"')
    [all...]
codegen-temporaries.js 951 var testStr = "[";
953 testStr += "(0/0), ";
954 testStr += "].length";
955 shouldBe(testStr, "64");
math.js 77 var testStr = "";
78 var v = { valueOf: function() { testStr += "one"; return 1; } };
79 var w = { valueOf: function() { testStr += "two"; return 2; } };
81 shouldBe('testStr', '\"onetwo\"');
  /development/samples/ApiDemos/src/com/example/android/apis/app/
SearchQueryResults.java 111 String testStr = appData.getString("demo_key");
112 mAppDataText.setText((testStr == null) ? "<no app data>" : testStr);
  /cts/tests/tests/widget/src/android/widget/cts/
FilterTest.java 49 final String testStr = "Test";
55 assertEquals(testStr, filter.convertResultToString(testStr));
  /external/icu/icu4c/source/test/iotest/
strtst.c 249 UChar testStr[256];
254 UFILE *strFile = u_fstropen(testStr, sizeof(testStr)/sizeof(testStr[0]), "en_US");
264 u_austrcpy(cBuffer,testStr);
265 if (u_strcmp(testStr, uBuffer) != 0) {
289 u_austrcpy(cBuffer,testStr);
290 if (u_strcmp(testStr, uBuffer) != 0) {
297 strFile = u_fstropen(testStr, sizeof(testStr)/sizeof(testStr[0]), NULL)
    [all...]
stream.cpp 64 static const char testStr[] = "\x42\x65\x67\x69\x6E\x6E\x69\x6E\x67\x20\x6F\x66\x20\x74\x65\x73\x74\x20\x73\x74\x72\x31\x20\x20\x20\x3C\x3C\x32\x31\x20" UTF8_NEW_LINE "\x20\x55\x54\x46\x2D\x38\x20\xCE\xBC\xF0\x90\x80\x81\xF0\x90\x80\x82";
100 if (strcmp(testStreamBuf, testStr) != 0) {
101 log_err("Got: \"%s\", Expected: \"%s\"\n", testStreamBuf, testStr);
filetst.c 440 static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don't try to read too much!";
442 int32_t expectedSize = (int32_t)strlen(testStr);
461 u_uastrncpy(buffer, testStr, expectedSize+1);
503 u_uastrncpy(buffer, testStr, expectedSize+1);
545 u_uastrncpy(buffer, testStr, expectedSize+1);
597 static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don't try to read too much!";
600 int32_t expectedSize = (int32_t)strlen(testStr);
611 fwrite(testStr, sizeof(testStr[0]), expectedSize, stdFile);
613 fwrite("\n", sizeof(testStr[0]), 1, stdFile)
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
SmsMessageBodyTest.java 278 String testStr = sb.toString();
283 callGsmLengthMethods(testStr, false, values);
284 callGsmLengthMethods(testStr, true, values);
285 callCdmaLengthMethods(testStr, false, values);
286 callCdmaLengthMethods(testStr, true, values);
312 String testStr = sb.toString();
319 callGsmLengthMethods(testStr, false, values);
320 callCdmaLengthMethods(testStr, false, values);
321 callGsmLengthMethods(testStr, true, values7bit);
322 callCdmaLengthMethods(testStr, true, values7bit)
    [all...]
  /art/test/082-inline-execute/src/
Main.java 128 String testStr = "Now is the time to test some stuff";
130 Assert.assertEquals(testStr.length() - 1, 33); // 33 = testStr.length()-1 as a constant.
131 Assert.assertEquals('f', testStr.charAt(33));
133 test_String_charAt(testStr, 'N', 'o', ' ', 'f');
134 test_String_charAt(testStr.substring(3,15), ' ', 'i', 'm', 'e');
136 public static void test_String_charAt(String testStr, char a, char b, char c, char d) {
137 Assert.assertEquals(a, testStr.charAt(0));
138 Assert.assertEquals(b, testStr.charAt(1));
139 Assert.assertEquals(c, testStr.charAt(10))
    [all...]
  /external/icu/icu4c/source/test/intltest/
canittst.cpp 153 UnicodeString testStr = CharsToUnicodeString(testArray[i][0]);
154 it.setSource(testStr, status);
166 expectEqual(i + UnicodeString(": "), testStr, collectionToString(set), CharsToUnicodeString(testArray[i][1]));
rbbiapts.cpp     [all...]
  /external/owasp/sanitizer/src/tests/org/owasp/html/
AntiSamyTest.java 389 String testStr = new String(
392 sanitize(testStr);
393 sanitize(testStr);
    [all...]
  /external/clang/test/SemaCXX/
warn-unreachable.cpp 143 std::string testStr() {
  /external/icu/icu4c/source/test/cintltst/
cbiapts.c     [all...]
reapits.c     [all...]
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
CollationAPITest.java     [all...]
  /cts/tests/tests/webkit/src/android/webkit/cts/
WebViewTest.java     [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
SocketChannelTest.java     [all...]

Completed in 510 milliseconds