Home
last modified time | relevance | path

Searched refs:read_end (Results 1 – 12 of 12) sorted by relevance

/external/fmtlib/test/
Dposix-mock-test.cc231 file read_end, write_end; in TEST() local
232 file::pipe(read_end, write_end); in TEST()
233 std::unique_ptr<file> f(new file(std::move(read_end))); in TEST()
248 file read_end, write_end; in TEST() local
249 file::pipe(read_end, write_end); in TEST()
251 EXPECT_SYSTEM_ERROR(read_end.close(), EINTR, "cannot close file"); in TEST()
285 file read_end, write_end; in TEST() local
286 file::pipe(read_end, write_end); in TEST()
292 EXPECT_RETRY(count = read_end.read(buffer, SIZE), read, in TEST()
298 file read_end, write_end; in TEST() local
[all …]
Dgtest-extra-test.cc341 file read_end, write_end; in TEST() local
342 file::pipe(read_end, write_end); in TEST()
352 EXPECT_READ(read_end, "[[[]]]"); in TEST()
357 file read_end, write_end; in TEST() local
358 file::pipe(read_end, write_end); in TEST()
385 file read_end, write_end; in TEST() local
386 file::pipe(read_end, write_end); in TEST()
395 EXPECT_READ(read_end, "[[[]]]"); in TEST()
400 file read_end, write_end; in TEST() local
401 file::pipe(read_end, write_end); in TEST()
[all …]
Dos-test.cc158 file read_end, write_end; in open_file() local
159 file::pipe(read_end, write_end); in open_file()
162 return read_end; in open_file()
447 file read_end, write_end; in TEST() local
448 file::pipe(read_end, write_end); in TEST()
451 EXPECT_READ(read_end, "test"); in TEST()
509 file read_end, write_end; in TEST() local
510 file::pipe(read_end, write_end); in TEST()
511 EXPECT_NE(-1, read_end.descriptor()); in TEST()
514 EXPECT_READ(read_end, "test"); in TEST()
[all …]
Dutil.cc38 fmt::file read_end, write_end; in open_buffered_file() local
39 fmt::file::pipe(read_end, write_end); in open_buffered_file()
42 fmt::buffered_file f = read_end.fdopen("r"); in open_buffered_file()
Dprintf-test.cc533 fmt::file read_end, write_end; in TEST() local
534 fmt::file::pipe(read_end, write_end); in TEST()
535 int result = fmt::fprintf(read_end.fdopen("r").get(), "test"); in TEST()
/external/fmtlib/src/
Dos.cc269 void file::pipe(file& read_end, file& write_end) { in pipe() argument
272 read_end.close(); in pipe()
287 read_end = file(fds[0]); in pipe()
/external/autotest/client/common_lib/
Dlogging_manager.py609 read_end, write_end = os.pipe()
612 os.close(read_end)
625 self._run_logging_subprocess(read_end) # never returns
/external/python/cpython3/Modules/_io/
Dbufferedio.c225 Py_off_t read_end; member
351 (self->readable && self->read_end != -1)
359 if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
360 self->read_end = self->pos; \
365 ? (self->read_end - self->pos) : 0)
1417 self->read_end = -1; in _bufferedreader_reset_buf()
1502 start = Py_SAFE_DOWNCAST(self->read_end, Py_off_t, Py_ssize_t); in _bufferedreader_fill_buffer()
1509 self->read_end = start + n; in _bufferedreader_fill_buffer()
1681 self->read_end = 0; in _bufferedreader_read_generic()
1685 while (remaining > 0 && self->read_end < self->buffer_size) { in _bufferedreader_read_generic()
/external/python/cpython2/Modules/_io/
Dbufferedio.c216 Py_off_t read_end; member
335 (self->readable && self->read_end != -1)
343 if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
344 self->read_end = self->pos; \
349 ? (self->read_end - self->pos) : 0)
1244 self->read_end = -1; in _bufferedreader_reset_buf()
1328 start = Py_SAFE_DOWNCAST(self->read_end, Py_off_t, Py_ssize_t); in _bufferedreader_fill_buffer()
1335 self->read_end = start + n; in _bufferedreader_fill_buffer()
1489 self->read_end = 0; in _bufferedreader_read_generic()
1493 while (remaining > 0 && self->read_end < self->buffer_size) { in _bufferedreader_read_generic()
/external/libwebm/
Dwebm_info.cc804 int read_end = sizeof(uint64_t); in PrintSubSampleEncryption() local
807 if (size < read_end) in PrintSubSampleEncryption()
812 read_end += sizeof(uint8_t); in PrintSubSampleEncryption()
813 if (size < read_end) in PrintSubSampleEncryption()
820 read_end += sizeof(uint32_t); in PrintSubSampleEncryption()
821 if (size < read_end) in PrintSubSampleEncryption()
830 return read_end; in PrintSubSampleEncryption()
/external/fmtlib/include/fmt/
Dos.h338 FMT_API static void pipe(file& read_end, file& write_end);
/external/tremolo/Tremolo/
DbitwiseARM.s314 read_end: label
344 BGE read_end