/external/chromium_org/base/ |
platform_file_unittest.cc | 157 char data_to_write[] = "test"; local 161 int bytes_written = WriteFully(file, 0, data_to_write, 0); 165 bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize); 178 EXPECT_EQ(data_to_write[i + kPartialReadOffset], data_read_1[i]); 188 EXPECT_EQ(data_to_write[i], data_read_1[i]); 195 EXPECT_EQ(data_to_write[i], data_read_1[i]); 201 data_to_write, kPartialWriteLength); 214 EXPECT_EQ(data_to_write[i], data_read_2[i]); 218 EXPECT_EQ(data_to_write[i - kOffsetBeyondEndOfFile], data_read_2[i]); 235 char data_to_write[] = "test" local 290 char data_to_write[] = "test"; local [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/chromium/base/ |
platform_file_unittest.cc | 142 char data_to_write[] = "test"; local 146 int bytes_written = WriteFully(file, 0, data_to_write, 0); 150 bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize); 163 EXPECT_EQ(data_to_write[i + kPartialReadOffset], data_read_1[i]); 173 EXPECT_EQ(data_to_write[i], data_read_1[i]); 179 data_to_write, kPartialWriteLength); 192 EXPECT_EQ(data_to_write[i], data_read_2[i]); 196 EXPECT_EQ(data_to_write[i - kOffsetBeyondEndOfFile], data_read_2[i]); 215 char data_to_write[] = "test"; local 217 int bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize) [all...] |
/external/chromium_org/base/files/ |
file_unittest.cc | 113 char data_to_write[] = "test"; local 117 int bytes_written = file.Write(0, data_to_write, 0); 121 bytes_written = file.Write(0, data_to_write, kTestDataSize); 134 EXPECT_EQ(data_to_write[i + kPartialReadOffset], data_read_1[i]); 144 EXPECT_EQ(data_to_write[i], data_read_1[i]); 150 EXPECT_EQ(data_to_write[i], data_read_1[i]); 156 data_to_write, kPartialWriteLength); 169 EXPECT_EQ(data_to_write[i], data_read_2[i]); 173 EXPECT_EQ(data_to_write[i - kOffsetBeyondEndOfFile], data_read_2[i]); 183 char data_to_write[] = "test" local 234 char data_to_write[] = "test"; local [all...] |
/external/chromium_org/net/quic/ |
quic_packet_generator.cc | 71 const IOVector& data_to_write, 88 IOVector data = data_to_write;
|