/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/chromium_org/base/ |
platform_file_unittest.cc | 177 char data_to_write[] = "test"; local 181 int bytes_written = WriteFully(file, 0, data_to_write, 0); 185 bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize); 198 EXPECT_EQ(data_to_write[i + kPartialReadOffset], data_read_1[i]); 208 EXPECT_EQ(data_to_write[i], data_read_1[i]); 215 EXPECT_EQ(data_to_write[i], data_read_1[i]); 221 data_to_write, kPartialWriteLength); 234 EXPECT_EQ(data_to_write[i], data_read_2[i]); 238 EXPECT_EQ(data_to_write[i - kOffsetBeyondEndOfFile], data_read_2[i]); 255 char data_to_write[] = "test" local 310 char data_to_write[] = "test"; local [all...] |
/external/chromium_org/base/files/ |
file_unittest.cc | 155 char data_to_write[] = "test"; local 159 int bytes_written = file.Write(0, data_to_write, 0); 163 bytes_written = file.Write(0, data_to_write, kTestDataSize); 176 EXPECT_EQ(data_to_write[i + kPartialReadOffset], data_read_1[i]); 186 EXPECT_EQ(data_to_write[i], data_read_1[i]); 192 EXPECT_EQ(data_to_write[i], data_read_1[i]); 198 data_to_write, kPartialWriteLength); 211 EXPECT_EQ(data_to_write[i], data_read_2[i]); 215 EXPECT_EQ(data_to_write[i - kOffsetBeyondEndOfFile], data_read_2[i]); 225 char data_to_write[] = "test" local 277 char data_to_write[] = "test"; local [all...] |
/external/chromium_org/net/quic/ |
quic_packet_generator.cc | 94 const IOVector& data_to_write, 117 IOVector data = data_to_write;
|