/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/data/ |
D | FontDataTests.java | 86 ReadableFontData rfd = fillTestWFD(WritableFontData.createWritableFontData(size), size); in testReadableFontData() local 87 slicingReadTest(rfd); in testReadableFontData() 131 private void slicingReadTest(ReadableFontData rfd) throws Exception { in slicingReadTest() argument 132 for (int trim = 0; trim < (rfd.length() / 2) + 1; in slicingReadTest() 133 trim += (rfd.length() / SLICING_READWRITE_TEST_BUFFER_TRIM_FRACTION_DENOMINATOR) + 1) { in slicingReadTest() 135 int length = rfd.length() - 2 * trim; in slicingReadTest() 136 ReadableFontData slice = rfd.slice(trim, length); in slicingReadTest() 137 readComparison(trim, length, rfd, slice); in slicingReadTest() 141 private void slicingWriteTest(ReadableFontData rfd, WritableFontData wfd) throws Exception { in slicingWriteTest() argument 142 for (int trim = 0; trim < (rfd.length() / 2) + 1; in slicingWriteTest() [all …]
|
/third_party/skia/third_party/externals/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] = (uint8_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 …]
|
/third_party/ltp/testcases/kernel/syscalls/read/ |
D | read03.c | 18 static int rfd, wfd; variable 24 TST_EXP_FAIL(read(rfd, &c, 1), EAGAIN, in verify_read() 40 rfd = SAFE_OPEN(fifo, O_RDONLY | O_NONBLOCK); in setup() 46 SAFE_CLOSE(rfd); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/write/ |
D | write04.c | 24 static int rfd, wfd; variable 44 rfd = SAFE_OPEN(fifo, O_RDONLY | O_NONBLOCK); in setup() 52 if (rfd > 0) in cleanup() 53 SAFE_CLOSE(rfd); in cleanup()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/ |
D | FontFactory.java | 218 WritableFontData rfd = WritableFontData.createWritableFontData(b); in loadFonts() local 219 if (isCollection(rfd)) { in loadFonts() 220 return loadCollection(rfd); in loadFonts() 222 return new Font[] {loadSingleOTF(rfd)}; in loadFonts() 283 static private boolean isCollection(ReadableFontData rfd) { in isCollection() argument 285 rfd.readBytes(0, tag, 0, tag.length); in isCollection()
|
/third_party/python/Lib/test/ |
D | test_select.py | 63 rfd, wfd, xfd = select.select([pipe], [], [], timeout) 66 if not rfd: 68 if rfd == [pipe]: 78 rfd, wfd, xfd)
|
D | test_embed.py | 1522 rfd, wfd = os.pipe() 1523 self.addCleanup(os.close, rfd) 1535 data = os.read(rfd, 100)
|
D | test_signal.py | 216 rfd, wfd = os.pipe() 217 self.addCleanup(os.close, rfd)
|
D | test_os.py | 3738 rfd, wfd, xfd = select.select([fd], [fd], [fd], 0) 3739 self.assertEqual((rfd, wfd, xfd), ([], [fd], [])) 3743 rfd, wfd, xfd = select.select([fd], [fd], [fd], 0) 3744 self.assertEqual((rfd, wfd, xfd), ([fd], [fd], [])) 3749 rfd, wfd, xfd = select.select([fd], [fd], [fd], 0) 3750 self.assertEqual((rfd, wfd, xfd), ([fd], [], [])) 3924 rfd, wfd = os.pipe() 3925 self.addCleanup(os.close, rfd) 3927 self.assertEqual(os.get_inheritable(rfd), False)
|
D | test_posix.py | 1703 rfd, wfd = os.pipe() 1704 self.addCleanup(os.close, rfd) 1728 output = os.read(rfd, 100)
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
|
/third_party/toybox/toys/pending/ |
D | bootchartd.c | 41 int rfd = open(fname, O_RDONLY); local 43 if (rfd != -1) { 45 xsendfile(rfd, wfd); 46 close(rfd);
|
/third_party/NuttX/fs/nfs/ |
D | rpc_clnt.c | 448 fd_set rfd; in rpcclnt_alivecheck() local 456 FD_ZERO(&rfd); in rpcclnt_alivecheck() 461 FD_SET((uint32_t)sockfd, &rfd); in rpcclnt_alivecheck() 468 ret = select(sockfd + 1, &rfd, NULL, NULL, &timeout); in rpcclnt_alivecheck() 477 if (FD_ISSET((uint32_t)sockfd, &rfd)) in rpcclnt_alivecheck()
|
/third_party/nghttp2/src/ |
D | shrpx_exec.h | 35 int rfd; member
|
D | shrpx_connection_handler.cc | 151 ocsp_.proc.rfd = -1; in ConnectionHandler() 664 ev_io_set(&ocsp_.rev, ocsp_.proc.rfd, EV_READ); in start_ocsp_update() 677 while ((n = read(ocsp_.proc.rfd, buf.data(), buf.size())) == -1 && in read_ocsp_chunk() 784 if (ocsp_.proc.rfd != -1) { in reset_ocsp() 785 close(ocsp_.proc.rfd); in reset_ocsp() 788 ocsp_.proc.rfd = -1; in reset_ocsp()
|
D | shrpx_dns_resolver.h | 100 int handle_event(int rfd, int wfd);
|
D | shrpx_exec.cc | 131 proc.rfd = pfd[0]; in exec_read_command()
|
D | shrpx_dns_resolver.cc | 190 int DNSResolver::handle_event(int rfd, int wfd) { in handle_event() argument 195 ares_process_fd(channel_, rfd, wfd); in handle_event()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-blob.cc | 647 int rfd = _open_resource_fork (file_name, file); in hb_blob_create_from_file_or_fail() local 648 if (rfd != -1) in hb_blob_create_from_file_or_fail() 651 fd = rfd; in hb_blob_create_from_file_or_fail()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/ |
D | font_factory.cc | 206 bool FontFactory::IsCollection(ReadableFontData* rfd) { in IsCollection() argument 208 rfd->ReadBytes(0, &(tag[0]), 0, tag.size()); in IsCollection()
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_streams.py | 723 rfd, wfd = os.pipe() 726 pipe = open(rfd, 'rb', 0)
|
/third_party/skia/third_party/externals/icu/source/data/lang/ |
D | fy.txt | 694 Zinh{"Oergeërfd"}
|
/third_party/icu/icu4c/source/data/lang/ |
D | fy.txt | 694 Zinh{"Oergeërfd"}
|