/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 | 1748 teststr = "def f(): {0}.dumps(0)".format(self.module.__name__) 1749 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 170 for (iter = &teststr[0]; iter->val != NULL; iter++) { in test_path_ends_with_kmod_ext()
|
/external/rust/crates/unicode-width/ |
D | README.md | 18 let teststr = "Hello, world!"; 19 let width = UnicodeWidthStr::width(teststr); 20 println!("{}", teststr); 22 let width = teststr.width_cjk();
|
/external/minijail/ |
D | libminijail_unittest.cc | 495 char teststr[] = "test\n"; in TEST() local 496 const size_t teststr_len = strlen(teststr); in TEST() 497 ssize_t write_ret = write(child_stdin, teststr, teststr_len); in TEST() 503 EXPECT_STREQ(buf, teststr); in TEST() 557 char teststr[] = "test\n"; in TEST() local 558 const size_t teststr_len = strlen(teststr); in TEST() 559 ssize_t write_ret = write(child_stdin, teststr, teststr_len); in TEST() 565 EXPECT_STREQ(buf, teststr); in TEST() 719 char teststr[] = "test\n"; in TEST() local 720 size_t teststr_len = strlen(teststr); in TEST() [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/ |
D | GlobalizationPreferences.java | 615 String teststr = result; in getDisplayName() local 619 teststr = result.substring(sidx+1, eidx); in getDisplayName() 621 if (teststr.length() == 2) { in getDisplayName() 624 char c = teststr.charAt(i); in getDisplayName()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | GlobalizationPreferences.java | 590 String teststr = result; in getDisplayName() local 594 teststr = result.substring(sidx+1, eidx); in getDisplayName() 596 if (teststr.length() == 2) { in getDisplayName() 599 char c = teststr.charAt(i); in getDisplayName()
|
/external/icu/icu4c/source/test/cintltst/ |
D | citertst.c | 946 UChar teststr[500]; in TestSmallBuffer() local 954 teststr[count ++] = 0x300; in TestSmallBuffer() 957 teststr[count ++] = 0x31A; in TestSmallBuffer() 963 testiter = ucol_openElements(coll, teststr, 500, &status); in TestSmallBuffer()
|
D | capitst.c | 455 UChar teststr[10]; in TestRuleBasedColl() local 513 teststr[0] = 0x0e40; in TestRuleBasedColl() 514 teststr[1] = 0x0e01; in TestRuleBasedColl() 515 teststr[2] = 0x0e2d; in TestRuleBasedColl() 526 iter1 = ucol_openElements(col1, teststr, 3, &status); in TestRuleBasedColl() 527 iter2 = ucol_openElements(col2, teststr, 3, &status); in TestRuleBasedColl()
|
/external/python/cpython3/Lib/test/ |
D | test_imp.py | 66 for modname, encoding, teststr in self.test_strings: 69 self.assertEqual(teststr, mod.test)
|
D | test_array.py | 160 teststr = "Bonne Journ\xe9e \U0002030a\U00020347" 169 a = array.array('u', teststr) 171 array.array, 'u', mformat_code, teststr.encode(encoding))
|
D | test_smtplib.py | 72 teststr = "abc\n.jkl\rfoo\r\n..blue" 74 self.assertEqual(expected, smtplib.quotedata(teststr))
|
/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)
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 1731 teststr = '\u043a\u0438\u0440\u0438\u043b\u0438\u0446\u0430' 1733 msg = MIMEText(teststr, _charset='utf-8') 1736 eq(msg.get_payload(decode=True), teststr.encode('utf-8')) 1741 teststr = '\u043a\u0438\u0440\u0438\u043b\u0438\u0446\u0430' 1742 self.assertRaises(UnicodeEncodeError, MIMEText, teststr)
|