/external/sfntly/cpp/src/test/ |
D | font_data_test.cc | 143 void ReadFontDataWithSingleByte(ReadableFontData* rfd, ByteVector* buffer) { in ReadFontDataWithSingleByte() argument 144 buffer->resize(rfd->Length()); in ReadFontDataWithSingleByte() 145 for (int32_t index = 0; index < rfd->Length(); ++index) { in ReadFontDataWithSingleByte() 146 (*buffer)[index] = (byte_t)(rfd->ReadByte(index)); in ReadFontDataWithSingleByte() 150 void ReadFontDataWithBuffer(ReadableFontData* rfd, in ReadFontDataWithBuffer() argument 154 b->resize(rfd->Length()); in ReadFontDataWithBuffer() 157 while (index < rfd->Length()) { in ReadFontDataWithBuffer() 158 int32_t bytes_read = rfd->ReadBytes(index, &(buffer[0]), 0, buffer.size()); in ReadFontDataWithBuffer() 165 void ReadFontDataWithSlidingWindow(ReadableFontData* rfd, int32_t window_size, in ReadFontDataWithSlidingWindow() argument 167 b->resize(rfd->Length()); in ReadFontDataWithSlidingWindow() [all …]
|
D | endian_test.cc | 42 ReadableFontDataPtr rfd = new ReadableFontData(ba1); in TestEndian() local 43 EXPECT_EQ(rfd->ReadULongAsInt(0), Tag::head); in TestEndian() 44 EXPECT_EQ(rfd->ReadUByte(4), 202); in TestEndian() 45 EXPECT_EQ(rfd->ReadByte(5), -54); in TestEndian() 46 EXPECT_EQ(rfd->ReadChar(6), 202); in TestEndian() 47 EXPECT_EQ(rfd->ReadUShort(8), 24); in TestEndian() 48 EXPECT_EQ(rfd->ReadShort(10), -32744); in TestEndian() 49 EXPECT_EQ(rfd->ReadUInt24(12), 24); in TestEndian() 50 EXPECT_EQ(rfd->ReadULong(16), 24); in TestEndian() 51 EXPECT_EQ(rfd->ReadLong(20), -256); in TestEndian() [all …]
|
/external/strace/tests-m32/ |
D | readv.test | 43 rfd="$(($wfd - 1))" 45 -eread="$rfd" -ewrite="$wfd" 47 -eread="!$rfd" -ewrite="!$wfd" -eread="$rfd" -ewrite="$wfd" 50 [ $rfd -lt 1023 ] || rfd=1023 52 while [ $i -lt $rfd ]; do
|
/external/strace/tests-mx32/ |
D | readv.test | 43 rfd="$(($wfd - 1))" 45 -eread="$rfd" -ewrite="$wfd" 47 -eread="!$rfd" -ewrite="!$wfd" -eread="$rfd" -ewrite="$wfd" 50 [ $rfd -lt 1023 ] || rfd=1023 52 while [ $i -lt $rfd ]; do
|
/external/strace/tests/ |
D | readv.test | 43 rfd="$(($wfd - 1))" 45 -eread="$rfd" -ewrite="$wfd" 47 -eread="!$rfd" -ewrite="!$wfd" -eread="$rfd" -ewrite="$wfd" 50 [ $rfd -lt 1023 ] || rfd=1023 52 while [ $i -lt $rfd ]; do
|
/external/syslinux/gpxe/src/drivers/net/ |
D | eepro100.c | 763 static void ifec_rfd_init ( struct ifec_rfd *rfd, s16 command, u32 link ) in ifec_rfd_init() argument 767 rfd->status = 0; in ifec_rfd_init() 768 rfd->command = command; in ifec_rfd_init() 769 rfd->rx_buf_addr = 0xFFFFFFFF; in ifec_rfd_init() 770 rfd->count = 0; in ifec_rfd_init() 771 rfd->size = RFD_PACKET_LEN; in ifec_rfd_init() 772 rfd->link = link; in ifec_rfd_init() 843 struct ifec_rfd *rfd = priv->rfds[cur_rx]; in ifec_rx_process() local 850 while ( iob && rfd && ( status = rfd->status ) ) { in ifec_rx_process() 851 rx_len = rfd->count & RFDMaskCount; in ifec_rx_process() [all …]
|
D | eepro100.h | 193 static void ifec_rfd_init ( struct ifec_rfd *rfd, s16 command, u32 link );
|
/external/ltp/testcases/kernel/syscalls/read/ |
D | read03.c | 57 int rfd, wfd; variable 81 TEST(read(rfd, &c, 1)); in main() 128 rfd = open(fifo, O_RDONLY | O_NONBLOCK); in setup() 139 close(rfd); in cleanup()
|
/external/python/cpython2/Lib/test/ |
D | test_select.py | 37 rfd, wfd, xfd = select.select([p], [], [], tout) 38 if (rfd, wfd, xfd) == ([], [], []): 40 if (rfd, wfd, xfd) == ([p], [], []): 49 self.fail('Unexpected return values from select():', rfd, wfd, xfd)
|
/external/syslinux/utils/ |
D | isohybrid.in | 81 my $rfd, $rnd; 84 if (open($rfd, "< /dev/urandom\0") && read($rfd, $rnd, 4) == 4) { 88 close($rfd) if (defined($rfd));
|
D | mkdiskimage.in | 45 my $rfd, $rnd; 48 if (open($rfd, "< /dev/urandom\0") && read($rfd, $rnd, 4) == 4) { 52 close($rfd) if (defined($rfd));
|
/external/python/cpython3/Lib/test/ |
D | test_select.py | 53 rfd, wfd, xfd = select.select([p], [], [], tout) 54 if (rfd, wfd, xfd) == ([], [], []): 56 if (rfd, wfd, xfd) == ([p], [], []): 65 self.fail('Unexpected return values from select():', rfd, wfd, xfd)
|
D | test_signal.py | 150 rfd, wfd = os.pipe() 151 self.addCleanup(os.close, rfd)
|
/external/ltp/testcases/kernel/syscalls/write/ |
D | write04.c | 67 int rfd, wfd; variable 128 rfd = open(fifo, O_RDONLY | O_NONBLOCK); in main() 130 if (rfd < 0) { in main() 234 close(rfd); in cleanup()
|
/external/syslinux/bios/utils/ |
D | mkdiskimage | 45 my $rfd, $rnd; 48 if (open($rfd, "< /dev/urandom\0") && read($rfd, $rnd, 4) == 4) { 52 close($rfd) if (defined($rfd));
|
D | isohybrid.pl | 81 my $rfd, $rnd; 84 if (open($rfd, "< /dev/urandom\0") && read($rfd, $rnd, 4) == 4) { 88 close($rfd) if (defined($rfd));
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_helpers.c | 104 fd_set rfd; in get_wpa_cli_event2() local 118 FD_ZERO(&rfd); in get_wpa_cli_event2() 119 FD_SET(fd, &rfd); in get_wpa_cli_event2() 122 ret = select(fd + 1, &rfd, NULL, NULL, &tv); in get_wpa_cli_event2()
|
/external/libxml2/ |
D | nanoftp.c | 732 fd_set rfd; in xmlNanoFTPCheckResponse() local 738 FD_ZERO(&rfd); in xmlNanoFTPCheckResponse() 739 FD_SET(ctxt->controlFd, &rfd); in xmlNanoFTPCheckResponse() 740 switch(select(ctxt->controlFd + 1, &rfd, NULL, NULL, &tv)) { in xmlNanoFTPCheckResponse() 1550 fd_set rfd, efd; in xmlNanoFTPCloseConnection() local 1558 FD_ZERO(&rfd); in xmlNanoFTPCloseConnection() 1559 FD_SET(ctxt->controlFd, &rfd); in xmlNanoFTPCloseConnection() 1562 res = select(ctxt->controlFd + 1, &rfd, NULL, &efd, &tv); in xmlNanoFTPCloseConnection() 1732 fd_set rfd, efd; in xmlNanoFTPList() local 1773 FD_ZERO(&rfd); in xmlNanoFTPList() [all …]
|
/external/toybox/toys/pending/ |
D | bootchartd.c | 57 int rfd = open(fname, O_RDONLY); in dump_data_in_file() local 59 if (rfd != -1) { in dump_data_in_file() 61 xsendfile(rfd, wfd); in dump_data_in_file() 62 close(rfd); in dump_data_in_file()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_fd.cc | 236 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd) { in FdPipeCreate() argument 237 DPrintf("#%d: FdCreatePipe(%d, %d)\n", thr->tid, rfd, wfd); in FdPipeCreate() 239 init(thr, pc, rfd, ref(s)); in FdPipeCreate()
|
D | tsan_fd.h | 48 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd);
|
/external/sfntly/cpp/src/sfntly/ |
D | font_factory.cc | 203 bool FontFactory::IsCollection(ReadableFontData* rfd) { in IsCollection() argument 205 rfd->ReadBytes(0, &(tag[0]), 0, tag.size()); in IsCollection()
|
/external/python/cpython2/Lib/multiprocessing/ |
D | forking.py | 251 rfd, wfd = os.pipe() 254 rhandle = duplicate(msvcrt.get_osfhandle(rfd), inheritable=True) 255 os.close(rfd)
|
/external/python/cpython2/Lib/ |
D | telnetlib.py | 591 rfd, wfd, xfd = select.select([self, sys.stdin], [], []) 592 if self in rfd: 601 if sys.stdin in rfd:
|
/external/clang/test/SemaCXX/ |
D | addr-of-overloaded-function.cpp | 16 int (&rfd)(double) = f; // selects f(double) variable
|