/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/ltp/testcases/kernel/syscalls/read/ |
read03.c | 57 int rfd, wfd; variable 81 TEST(read(rfd, &c, 1)); 128 rfd = open(fifo, O_RDONLY | O_NONBLOCK); 139 close(rfd);
|
/external/ltp/testcases/kernel/syscalls/write/ |
write04.c | 67 int rfd, wfd; variable 128 rfd = open(fifo, O_RDONLY | O_NONBLOCK); 130 if (rfd < 0) { 234 close(rfd);
|
/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 | 16 int (&rfd)(double) = f; // selects f(double) variable
|
/external/syslinux/gpxe/src/drivers/net/ |
eepro100.c | 87 * ifec_net_poll() calls ifec_rx_process(), which checks the next RFD for 89 * packet data into it. If alloc_iob() fails, we don't touch the RFD and try 757 * Initializes an RFD. 759 * @v rfd RFD struct to initialize 763 static void ifec_rfd_init ( struct ifec_rfd *rfd, s16 command, u32 link ) 767 rfd->status = 0; 768 rfd->command = command; 769 rfd->rx_buf_addr = 0xFFFFFFFF; 770 rfd->count = 0 843 struct ifec_rfd *rfd = priv->rfds[cur_rx]; local 896 struct ifec_rfd *rfd = priv->rfds[cur]; local 942 struct ifec_rfd *rfd = priv->rfds[prev_rx]; local [all...] |
/external/toybox/toys/pending/ |
bootchartd.c | 57 int rfd = open(fname, O_RDONLY); local 59 if (rfd != -1) { 61 xsendfile(rfd, wfd); 62 close(rfd);
|
/frameworks/base/services/core/java/com/android/server/security/ |
VerityUtils.java | 67 FileDescriptor rfd = shm.getFileDescriptor(); local 68 if (rfd == null || !rfd.valid()) { 71 return SetupResult.ok(Os.dup(rfd), contentSize);
|
/bionic/libc/bionic/ |
fts.c | 210 int rfd, error = 0; local 227 rfd = ISSET(FTS_NOCHDIR) ? -1 : sp->fts_rfd; 238 if (rfd != -1) { 240 error = fchdir(rfd); 242 (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);
|
/external/libxml2/ |
nanoftp.c | 732 fd_set rfd; local 738 FD_ZERO(&rfd); 739 FD_SET(ctxt->controlFd, &rfd); 740 switch(select(ctxt->controlFd + 1, &rfd, NULL, NULL, &tv)) { 1550 fd_set rfd, efd; local 1732 fd_set rfd, efd; local 1906 fd_set rfd; local [all...] |
/toolchain/binutils/binutils-2.27/include/coff/ |
sym.h | 294 * If the rfd field is 4095, the index field indexes into the global symbol 299 unsigned rfd : 12; /* index into the file indirect table */ member in struct:__anon4637 306 * a rfd of 0xffffffff is an index into the global table. 309 unsigned long rfd; /* index into the file table */ member in struct:__anon4638
|
alpha.h | 365 unsigned char rfd[4]; member in struct:rfd_ext
|
mips.h | 322 unsigned char rfd[4]; member in struct:rfd_ext
|
/toolchain/binutils/binutils-2.27/bfd/ |
ecofflink.c | 172 intern->rfd = (ext->r_bits[0] << RNDX_BITS0_RFD_SH_LEFT_BIG) 182 intern->rfd = (ext->r_bits[0] << RNDX_BITS0_RFD_SH_LEFT_LITTLE) 213 ext->r_bits[0] = intern->rfd >> RNDX_BITS0_RFD_SH_LEFT_BIG; 214 ext->r_bits[1] = (((intern->rfd << RNDX_BITS1_RFD_SH_BIG) 223 ext->r_bits[0] = intern->rfd >> RNDX_BITS0_RFD_SH_LEFT_LITTLE; 224 ext->r_bits[1] = (((intern->rfd >> RNDX_BITS1_RFD_SH_LEFT_LITTLE) 377 struct shuffle *rfd; 496 ainfo->rfd = NULL; 645 if (!add_memory_shuffle (ainfo, &ainfo->rfd, &ainfo->rfd_end, rfd_out, sz)) 716 /* Copy over any existing RFD's. RFD's are only created by th 375 struct shuffle *rfd; member in struct:accumulate 723 RFDT rfd; local [all...] |
ecoff.c | 1032 unsigned int ifd = rndx->rfd; 1042 || (rndx->rfd == 0xfff && indx == 0)) 1054 RFDT rfd; 1060 &rfd); 1061 fdr = debug_info->fdr + rfd; 1051 RFDT rfd; local [all...] |