HomeSort by relevance Sort by last modified time
    Searched refs:rfd (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /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/strace/tests/
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-m32/
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/
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
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
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/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/python/cpython2/Lib/test/
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)
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
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)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
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)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
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)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
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/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/python/cpython3/Lib/test/
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)
  /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);
  /external/syslinux/utils/
isohybrid.in 81 my $rfd, $rnd;
84 if (open($rfd, "< /dev/urandom\0") && read($rfd, $rnd, 4) == 4) {
88 close($rfd) if (defined($rfd));
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/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/compiler-rt/lib/tsan/rtl/
tsan_fd.h 48 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd);
  /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/syslinux/bios/utils/
mkdiskimage 45 my $rfd, $rnd;
48 if (open($rfd, "< /dev/urandom\0") && read($rfd, $rnd, 4) == 4) {
52 close($rfd) if (defined($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);
  /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
  /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);
  /art/tools/
dt_fds_forward.py 65 (rfd, lfd) = socket.socketpair(socket.AF_UNIX, socket.SOCK_SEQPACKET)
66 yield (rfd, lfd)
67 rfd.close()

Completed in 8052 milliseconds

1 2 3 4