/external/python/cpython2/Lib/test/ |
D | test_popen2.py | 36 teststr = "ab cd\n" variable in Popen2Test 40 expected = teststr.strip() 61 def validate_output(self, teststr, expected_out, r, w, e=None): argument 62 w.write(teststr) 66 (teststr, got)) 74 self.validate_output(self.teststr, self.expected, r, w) 79 self.validate_output(self.teststr, self.expected, r, w, e) 82 self.validate_output(self.teststr, self.expected, r, w, e) 88 self.validate_output(self.teststr, self.expected, r, w) 90 w, r = os.popen2(["echo", self.teststr]) [all …]
|
D | pickletester.py | 1705 teststr = "def f(): {0}.dumps(0)".format(self.module.__name__) 1706 exec teststr in {'__builtins__': builtins}, d
|
/external/kmod/testsuite/ |
D | test-util.c | 121 struct teststr { in test_underscores() struct 124 } teststr[] = { in test_underscores() local 134 for (iter = &teststr[0]; iter->val != NULL; iter++) { in test_underscores() 149 struct teststr { in test_path_ends_with_kmod_ext() struct 152 } teststr[] = { in test_path_ends_with_kmod_ext() local 167 for (iter = &teststr[0]; iter->val != NULL; iter++) { in test_path_ends_with_kmod_ext()
|
/external/minijail/ |
D | libminijail_unittest.cc | 174 char teststr[] = "test\n"; in TEST() local 175 size_t teststr_len = strlen(teststr); in TEST() 188 write_ret = write(child_stdin, teststr, teststr_len); in TEST() 194 EXPECT_EQ(strcmp(buf, teststr), 0); in TEST()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/ |
D | GlobalizationPreferences.java | 619 String teststr = result; in getDisplayName() local 623 teststr = result.substring(sidx+1, eidx); in getDisplayName() 625 if (teststr.length() == 2) { in getDisplayName() 628 char c = teststr.charAt(i); in getDisplayName()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | GlobalizationPreferences.java | 594 String teststr = result; in getDisplayName() local 598 teststr = result.substring(sidx+1, eidx); in getDisplayName() 600 if (teststr.length() == 2) { in getDisplayName() 603 char c = teststr.charAt(i); in getDisplayName()
|
/external/icu/icu4c/source/test/cintltst/ |
D | citertst.c | 945 UChar teststr[500]; in TestSmallBuffer() local 953 teststr[count ++] = 0x300; in TestSmallBuffer() 956 teststr[count ++] = 0x31A; in TestSmallBuffer() 962 testiter = ucol_openElements(coll, teststr, 500, &status); in TestSmallBuffer()
|
D | capitst.c | 454 UChar teststr[10]; in TestRuleBasedColl() local 512 teststr[0] = 0x0e40; in TestRuleBasedColl() 513 teststr[1] = 0x0e01; in TestRuleBasedColl() 514 teststr[2] = 0x0e2d; in TestRuleBasedColl() 525 iter1 = ucol_openElements(col1, teststr, 3, &status); in TestRuleBasedColl() 526 iter2 = ucol_openElements(col2, teststr, 3, &status); in TestRuleBasedColl()
|
/external/python/cpython2/Lib/email/test/ |
D | test_email.py | 1109 teststr = u'\u043a\u0438\u0440\u0438\u043b\u0438\u0446\u0430' 1111 msg = MIMEText(teststr, _charset='utf-8') 1114 eq(msg.get_payload(decode=True), teststr.encode('utf-8')) 1117 teststr = u'\u043a\u0438\u0440\u0438\u043b\u0438\u0446\u0430' 1118 self.assertRaises(UnicodeEncodeError, MIMEText, teststr)
|