Home
last modified time | relevance | path

Searched refs:rfd (Results 1 – 17 of 17) sorted by relevance

/external/sfntly/cpp/src/test/
Dfont_data_test.cc143 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 …]
Dendian_test.cc42 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/wpa_supplicant_8/src/common/
Dwpa_helpers.c104 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/
Dnanoftp.c738 fd_set rfd; in xmlNanoFTPCheckResponse() local
744 FD_ZERO(&rfd); in xmlNanoFTPCheckResponse()
745 FD_SET(ctxt->controlFd, &rfd); in xmlNanoFTPCheckResponse()
746 switch(select(ctxt->controlFd + 1, &rfd, NULL, NULL, &tv)) { in xmlNanoFTPCheckResponse()
1552 fd_set rfd, efd; in xmlNanoFTPCloseConnection() local
1560 FD_ZERO(&rfd); in xmlNanoFTPCloseConnection()
1561 FD_SET(ctxt->controlFd, &rfd); in xmlNanoFTPCloseConnection()
1564 res = select(ctxt->controlFd + 1, &rfd, NULL, &efd, &tv); in xmlNanoFTPCloseConnection()
1734 fd_set rfd, efd; in xmlNanoFTPList() local
1775 FD_ZERO(&rfd); in xmlNanoFTPList()
[all …]
Dnanohttp.c531 fd_set rfd; in xmlNanoHTTPRecv()
617 FD_ZERO(&rfd); in xmlNanoHTTPRecv()
624 FD_SET(ctxt->fd, &rfd); in xmlNanoHTTPRecv()
630 if ((select(ctxt->fd + 1, &rfd, NULL, NULL, &tv) < 1) in xmlNanoHTTPRecv()
/external/toybox/toys/pending/
Dbootchartd.c56 int rfd = open(fname, O_RDONLY); in dump_data_in_file() local
58 if (rfd != -1) { in dump_data_in_file()
60 xsendfile(rfd, wfd); in dump_data_in_file()
61 close(rfd); in dump_data_in_file()
Dftpget.c199 int len, rfd = (TT.isget)?remote_fd:local_fd, in transfer_file() local
202 if (rfd < 0 || wfd < 0) error_exit("Error in file creation:"); in transfer_file()
203 while ((len = xread(rfd, toybuf, sizeof(toybuf)))) xwrite(wfd, toybuf, len); in transfer_file()
/external/openssh/
Dchannels.c238 channel_register_fds(Channel *c, int rfd, int wfd, int efd, in channel_register_fds() argument
242 channel_max_fd = MAX(channel_max_fd, rfd); in channel_register_fds()
246 if (rfd != -1) in channel_register_fds()
247 fcntl(rfd, F_SETFD, FD_CLOEXEC); in channel_register_fds()
248 if (wfd != -1 && wfd != rfd) in channel_register_fds()
250 if (efd != -1 && efd != rfd && efd != wfd) in channel_register_fds()
253 c->rfd = rfd; in channel_register_fds()
255 c->sock = (rfd == wfd) ? rfd : -1; in channel_register_fds()
260 debug2("channel %d: rfd %d isatty", c->self, c->rfd); in channel_register_fds()
268 if (rfd != -1) in channel_register_fds()
[all …]
Dnchan.c526 if (channel_close_fd(&c->rfd) < 0) in chan_shutdown_read()
529 c->self, c->rfd, strerror(errno)); in chan_shutdown_read()
Dchannels.h102 int rfd; /* read fd */ member
Dmux.c1359 cctx->term, &cctx->tio, c->rfd, &cctx->cmd, cctx->env); in mux_session_confirm()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_fd.cc218 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd) { in FdPipeCreate() argument
219 DPrintf("#%d: FdCreatePipe(%d, %d)\n", thr->tid, rfd, wfd); in FdPipeCreate()
221 init(thr, pc, rfd, ref(s)); in FdPipeCreate()
Dtsan_fd.h48 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd);
/external/sfntly/cpp/src/sfntly/
Dfont_factory.cc203 bool FontFactory::IsCollection(ReadableFontData* rfd) { in IsCollection() argument
205 rfd->ReadBytes(0, &(tag[0]), 0, tag.size()); in IsCollection()
/external/clang/test/SemaCXX/
Daddr-of-overloaded-function.cpp14 int (&rfd)(double) = f; // selects f(double) variable
/external/icu/icu4c/source/data/lang/
Dfy.txt701 Zinh{"Oergeërfd"}
Dnl.txt799 Zinh{"Overgeërfd"}