/external/sfntly/cpp/src/test/ |
endian_test.cc | 42 ReadableFontDataPtr rfd = new ReadableFontData(ba1); local 43 EXPECT_EQ(rfd->ReadULongAsInt(0), Tag::head); 44 EXPECT_EQ(rfd->ReadUByte(4), 202); 45 EXPECT_EQ(rfd->ReadByte(5), -54); 46 EXPECT_EQ(rfd->ReadChar(6), 202); 47 EXPECT_EQ(rfd->ReadUShort(8), 24); 48 EXPECT_EQ(rfd->ReadShort(10), -32744); 49 EXPECT_EQ(rfd->ReadUInt24(12), 24); 50 EXPECT_EQ(rfd->ReadULong(16), 24); 51 EXPECT_EQ(rfd->ReadLong(20), -256) [all...] |
font_data_test.cc | 143 void ReadFontDataWithSingleByte(ReadableFontData* rfd, ByteVector* buffer) { 144 buffer->resize(rfd->Length()); 145 for (int32_t index = 0; index < rfd->Length(); ++index) { 146 (*buffer)[index] = (byte_t)(rfd->ReadByte(index)); 150 void ReadFontDataWithBuffer(ReadableFontData* rfd, 154 b->resize(rfd->Length()); 157 while (index < rfd->Length()) { 158 int32_t bytes_read = rfd->ReadBytes(index, &(buffer[0]), 0, buffer.size()); 165 void ReadFontDataWithSlidingWindow(ReadableFontData* rfd, int32_t window_size, 167 b->resize(rfd->Length()) 308 ReadableFontDataPtr rfd = new ReadableFontData(ba); local [all...] |
/external/wpa_supplicant_8/src/common/ |
wpa_helpers.c | 104 fd_set rfd; local 118 FD_ZERO(&rfd); 119 FD_SET(fd, &rfd); 122 ret = select(fd + 1, &rfd, NULL, NULL, &tv);
|
/external/clang/test/SemaCXX/ |
addr-of-overloaded-function.cpp | 14 int (&rfd)(double) = f; // selects f(double) variable
|
/external/toybox/toys/pending/ |
bootchartd.c | 56 int rfd = open(fname, O_RDONLY); local 58 if (rfd != -1) { 60 xsendfile(rfd, wfd); 61 close(rfd);
|
ftpget.c | 199 int len, rfd = (TT.isget)?remote_fd:local_fd, local 202 if (rfd < 0 || wfd < 0) error_exit("Error in file creation:"); 203 while ((len = xread(rfd, toybuf, sizeof(toybuf)))) xwrite(wfd, toybuf, len);
|
/bionic/libc/bionic/ |
fts.c | 209 int rfd, error = 0; local 226 rfd = ISSET(FTS_NOCHDIR) ? -1 : sp->fts_rfd; 237 if (rfd != -1) { 239 error = fchdir(rfd); 241 (void)close(rfd);
|
/hardware/qcom/wlan/qcwcn/wcnss-service/ |
wcnss_service.c | 272 int rfd; local 294 rfd = open(WLAN_INI_FILE_SOURCE, O_RDONLY); 295 if (rfd < 0) { 303 close(rfd); 307 rc = sendfile(wfd, rfd, 0, st_src.st_size); 332 close(rfd);
|
/system/core/adb/ |
fdevent.cpp | 365 fd_set rfd, wfd, efd; local 367 memcpy(&rfd, &read_fds, sizeof(fd_set)); 373 n = select(select_n, &rfd, &wfd, &efd, NULL); 386 FD_ZERO(&rfd); 396 n = fdevent_fd_check(&rfd); 401 if(FD_ISSET(i, &rfd)) { events |= FDE_READ; n--; }
|
/external/libxml2/ |
nanoftp.c | 738 fd_set rfd; local 744 FD_ZERO(&rfd); 745 FD_SET(ctxt->controlFd, &rfd); 746 switch(select(ctxt->controlFd + 1, &rfd, NULL, NULL, &tv)) { 1552 fd_set rfd, efd; local 1734 fd_set rfd, efd; local 1908 fd_set rfd; local [all...] |
/external/openssh/ |
channels.h | 102 int rfd; /* read fd */ member in struct:Channel 107 int isatty; /* rfd is a tty */
|