/external/python/cpython2/Lib/test/ |
test_file_eintr.py | 74 def _test_reading(self, data_to_write, read_and_verify_code): 80 data_to_write: String to write to the child process for reading 85 executed as part of a python subprocess fed data_to_write. 90 assert len(data_to_write) < 512, 'data_to_write must fit in pipe buf.' 111 self._process.stdin.write(data_to_write) 157 data_to_write=b'hello, world!', 165 data_to_write=b'hello\nworld!', 173 data_to_write=b'hello\nworld!', 179 data_to_write=b'hello\nworld!' [all...] |
test_file2k.py | 658 def _test_reading(self, data_to_write, read_and_verify_code, method_name, 665 data_to_write: String to write to the child process for reading 670 executed as part of a python subprocess fed data_to_write. 678 data_to_write = data_to_write.replace('\n', '\r\n') 684 assert len(data_to_write) < 512, 'data_to_write must fit in pipe buf.' 704 reader_process.stdin.write(data_to_write) 741 data_to_write='hello, world!', 757 data_to_write='hello\nworld!' [all...] |
/external/python/cpython3/Lib/test/ |
test_file_eintr.py | 72 def _test_reading(self, data_to_write, read_and_verify_code): 78 data_to_write: String to write to the child process for reading 83 executed as part of a python subprocess fed data_to_write. 88 assert len(data_to_write) < 512, 'data_to_write must fit in pipe buf.' 109 self._process.stdin.write(data_to_write) 155 data_to_write=b'hello, world!', 163 data_to_write=b'hello\nworld!', 171 data_to_write=b'hello\nworld!', 177 data_to_write=b'hello\nworld!' [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_file_eintr.py | 74 def _test_reading(self, data_to_write, read_and_verify_code): 80 data_to_write: String to write to the child process for reading 85 executed as part of a python subprocess fed data_to_write. 90 assert len(data_to_write) < 512, 'data_to_write must fit in pipe buf.' 111 self._process.stdin.write(data_to_write) 157 data_to_write=b'hello, world!', 165 data_to_write=b'hello\nworld!', 173 data_to_write=b'hello\nworld!', 179 data_to_write=b'hello\nworld!' [all...] |
test_file2k.py | 610 def _test_reading(self, data_to_write, read_and_verify_code, method_name, 617 data_to_write: String to write to the child process for reading 622 executed as part of a python subprocess fed data_to_write. 630 data_to_write = data_to_write.replace('\n', '\r\n') 636 assert len(data_to_write) < 512, 'data_to_write must fit in pipe buf.' 656 reader_process.stdin.write(data_to_write) 693 data_to_write='hello, world!', 709 data_to_write='hello\nworld!' [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_file_eintr.py | 74 def _test_reading(self, data_to_write, read_and_verify_code): 80 data_to_write: String to write to the child process for reading 85 executed as part of a python subprocess fed data_to_write. 90 assert len(data_to_write) < 512, 'data_to_write must fit in pipe buf.' 111 self._process.stdin.write(data_to_write) 157 data_to_write=b'hello, world!', 165 data_to_write=b'hello\nworld!', 173 data_to_write=b'hello\nworld!', 179 data_to_write=b'hello\nworld!' [all...] |
test_file2k.py | 610 def _test_reading(self, data_to_write, read_and_verify_code, method_name, 617 data_to_write: String to write to the child process for reading 622 executed as part of a python subprocess fed data_to_write. 630 data_to_write = data_to_write.replace('\n', '\r\n') 636 assert len(data_to_write) < 512, 'data_to_write must fit in pipe buf.' 656 reader_process.stdin.write(data_to_write) 693 data_to_write='hello, world!', 709 data_to_write='hello\nworld!' [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_file_eintr.py | 74 def _test_reading(self, data_to_write, read_and_verify_code): 80 data_to_write: String to write to the child process for reading 85 executed as part of a python subprocess fed data_to_write. 90 assert len(data_to_write) < 512, 'data_to_write must fit in pipe buf.' 111 self._process.stdin.write(data_to_write) 157 data_to_write=b'hello, world!', 165 data_to_write=b'hello\nworld!', 173 data_to_write=b'hello\nworld!', 179 data_to_write=b'hello\nworld!' [all...] |
test_file2k.py | 610 def _test_reading(self, data_to_write, read_and_verify_code, method_name, 617 data_to_write: String to write to the child process for reading 622 executed as part of a python subprocess fed data_to_write. 630 data_to_write = data_to_write.replace('\n', '\r\n') 636 assert len(data_to_write) < 512, 'data_to_write must fit in pipe buf.' 656 reader_process.stdin.write(data_to_write) 693 data_to_write='hello, world!', 709 data_to_write='hello\nworld!' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_file_eintr.py | 74 def _test_reading(self, data_to_write, read_and_verify_code): 80 data_to_write: String to write to the child process for reading 85 executed as part of a python subprocess fed data_to_write. 90 assert len(data_to_write) < 512, 'data_to_write must fit in pipe buf.' 111 self._process.stdin.write(data_to_write) 157 data_to_write=b'hello, world!', 165 data_to_write=b'hello\nworld!', 173 data_to_write=b'hello\nworld!', 179 data_to_write=b'hello\nworld!' [all...] |
test_file2k.py | 610 def _test_reading(self, data_to_write, read_and_verify_code, method_name, 617 data_to_write: String to write to the child process for reading 622 executed as part of a python subprocess fed data_to_write. 630 data_to_write = data_to_write.replace('\n', '\r\n') 636 assert len(data_to_write) < 512, 'data_to_write must fit in pipe buf.' 656 reader_process.stdin.write(data_to_write) 693 data_to_write='hello, world!', 709 data_to_write='hello\nworld!' [all...] |
/external/libchrome/base/files/ |
file_unittest.cc | 162 char data_to_write[] = "test"; local 166 int bytes_written = file.Write(0, data_to_write, 0); 170 bytes_written = file.Write(0, data_to_write, kTestDataSize); 183 EXPECT_EQ(data_to_write[i + kPartialReadOffset], data_read_1[i]); 193 EXPECT_EQ(data_to_write[i], data_read_1[i]); 199 EXPECT_EQ(data_to_write[i], data_read_1[i]); 205 data_to_write, kPartialWriteLength); 218 EXPECT_EQ(data_to_write[i], data_read_2[i]); 222 EXPECT_EQ(data_to_write[i - kOffsetBeyondEndOfFile], data_read_2[i]); 232 char data_to_write[] = "test" local 284 char data_to_write[] = "test"; local [all...] |