Home
last modified time | relevance | path

Searched refs:wfd (Results 1 – 25 of 64) sorted by relevance

123

/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/
Dfont_factory.cc56 WritableFontDataPtr wfd; in LoadFonts() local
57 wfd.Attach(WritableFontData::CreateWritableFontData(b)); in LoadFonts()
58 if (IsCollection(wfd)) { in LoadFonts()
59 LoadCollection(wfd, output); in LoadFonts()
63 font.Attach(LoadSingleOTF(wfd)); in LoadFonts()
85 WritableFontDataPtr wfd; in LoadFontsForBuilding() local
86 wfd.Attach(WritableFontData::CreateWritableFontData(b)); in LoadFontsForBuilding()
87 if (IsCollection(wfd)) { in LoadFontsForBuilding()
88 LoadCollectionForBuilding(wfd, output); in LoadFontsForBuilding()
92 builder.Attach(LoadSingleOTFForBuilding(wfd, 0)); in LoadFontsForBuilding()
[all …]
Dfont_factory.h110 CALLER_ATTACH Font* LoadSingleOTF(WritableFontData* wfd);
113 void LoadCollection(WritableFontData* wfd, FontArray* output);
117 LoadSingleOTFForBuilding(WritableFontData* wfd,
125 static bool IsCollection(ReadableFontData* wfd);
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/
Dfont_factory.cc56 WritableFontDataPtr wfd; in LoadFonts() local
57 wfd.Attach(WritableFontData::CreateWritableFontData(b)); in LoadFonts()
58 if (IsCollection(wfd)) { in LoadFonts()
59 LoadCollection(wfd, output); in LoadFonts()
63 font.Attach(LoadSingleOTF(wfd)); in LoadFonts()
85 WritableFontDataPtr wfd; in LoadFontsForBuilding() local
86 wfd.Attach(WritableFontData::CreateWritableFontData(b)); in LoadFontsForBuilding()
87 if (IsCollection(wfd)) { in LoadFontsForBuilding()
88 LoadCollectionForBuilding(wfd, output); in LoadFontsForBuilding()
92 builder.Attach(LoadSingleOTFForBuilding(wfd, 0)); in LoadFontsForBuilding()
[all …]
Dfont_factory.h110 CALLER_ATTACH Font* LoadSingleOTF(WritableFontData* wfd);
113 void LoadCollection(WritableFontData* wfd, FontArray* output);
117 LoadSingleOTFForBuilding(WritableFontData* wfd,
125 static bool IsCollection(ReadableFontData* wfd);
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/data/
DFontDataTests.java93 WritableFontData wfd = WritableFontData.createWritableFontData(arraySetupOffsets[0]); in testReadableFontDataSearching() local
94 fillTestFontDataWithShortsForSearching(wfd, in testReadableFontDataSearching()
102 int found = wfd.searchUShort(arraySetupOffsets[1], in testReadableFontDataSearching()
116 WritableFontData wfd = WritableFontData.createWritableFontData(size); in testWritableFontData() local
117 fillTestWFD(wfd, size); in testWritableFontData()
118 slicingReadTest(wfd); in testWritableFontData()
119 slicingWriteTest(wfd, WritableFontData.createWritableFontData(size)); in testWritableFontData()
124 WritableFontData wfd = WritableFontData.createWritableFontData(0); in testWritableFontData() local
125 fillTestWFD(wfd, size); in testWritableFontData()
126 slicingReadTest(wfd); in testWritableFontData()
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/data/
DFontDataTests.java93 WritableFontData wfd = WritableFontData.createWritableFontData(arraySetupOffsets[0]); in testReadableFontDataSearching() local
94 fillTestFontDataWithShortsForSearching(wfd, in testReadableFontDataSearching()
102 int found = wfd.searchUShort(arraySetupOffsets[1], in testReadableFontDataSearching()
116 WritableFontData wfd = WritableFontData.createWritableFontData(size); in testWritableFontData() local
117 fillTestWFD(wfd, size); in testWritableFontData()
118 slicingReadTest(wfd); in testWritableFontData()
119 slicingWriteTest(wfd, WritableFontData.createWritableFontData(size)); in testWritableFontData()
124 WritableFontData wfd = WritableFontData.createWritableFontData(0); in testWritableFontData() local
125 fillTestWFD(wfd, size); in testWritableFontData()
126 slicingReadTest(wfd); in testWritableFontData()
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/
DFontFactory.java189 WritableFontData wfd = WritableFontData.createWritableFontData(is.available()); in loadCollectionForBuilding() local
190 wfd.copyFrom(is); in loadCollectionForBuilding()
192 return loadCollectionForBuilding(wfd); in loadCollectionForBuilding()
238 WritableFontData wfd = WritableFontData.createWritableFontData(b); in loadFontsForBuilding() local
239 if (isCollection(wfd)) { in loadFontsForBuilding()
240 return loadCollectionForBuilding(wfd); in loadFontsForBuilding()
242 return new Font.Builder[] {loadSingleOTFForBuilding(wfd, 0)}; in loadFontsForBuilding()
245 private Font loadSingleOTF(WritableFontData wfd) throws IOException { in loadSingleOTF() argument
246 return loadSingleOTFForBuilding(wfd, 0).build(); in loadSingleOTF()
249 private Font[] loadCollection(WritableFontData wfd) throws IOException { in loadCollection() argument
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/
DFontFactory.java189 WritableFontData wfd = WritableFontData.createWritableFontData(is.available()); in loadCollectionForBuilding() local
190 wfd.copyFrom(is); in loadCollectionForBuilding()
192 return loadCollectionForBuilding(wfd); in loadCollectionForBuilding()
238 WritableFontData wfd = WritableFontData.createWritableFontData(b); in loadFontsForBuilding() local
239 if (isCollection(wfd)) { in loadFontsForBuilding()
240 return loadCollectionForBuilding(wfd); in loadFontsForBuilding()
242 return new Font.Builder[] {loadSingleOTFForBuilding(wfd, 0)}; in loadFontsForBuilding()
245 private Font loadSingleOTF(WritableFontData wfd) throws IOException { in loadSingleOTF() argument
246 return loadSingleOTFForBuilding(wfd, 0).build(); in loadSingleOTF()
249 private Font[] loadCollection(WritableFontData wfd) throws IOException { in loadCollection() argument
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dfont_data_test.cc82 FillTestFontDataWithShortsForSearching(WritableFontData* wfd, in FillTestFontDataWithShortsForSearching() argument
92 wfd->WriteUShort(offset, lower_data[i]); in FillTestFontDataWithShortsForSearching()
99 wfd->WriteUShort(offset, upper_data[i]); in FillTestFontDataWithShortsForSearching()
103 return wfd; in FillTestFontDataWithShortsForSearching()
109 WritableFontDataPtr wfd; in TestReadableFontDataSearching() local
110 wfd.Attach(WritableFontData::CreateWritableFontData(array_setup_offset[0])); in TestReadableFontDataSearching()
111 FillTestFontDataWithShortsForSearching(wfd, in TestReadableFontDataSearching()
120 int32_t found = wfd->SearchUShort(array_setup_offset[1], in TestReadableFontDataSearching()
179 void WriteFontDataWithSingleByte(ReadableFontData* rfd, WritableFontData* wfd) { in WriteFontDataWithSingleByte() argument
182 wfd->WriteByte(index, b); in WriteFontDataWithSingleByte()
[all …]
Dfont_parsing_test.cc63 WritableFontDataPtr wfd; in TestFontParsing() local
64 wfd.Attach(gdef_builder->Data()); in TestFontParsing()
67 wfd->ReadBytes(0, &(b[0]), 0, TTF_LENGTH[SAMPLE_TTF_FEAT]); in TestFontParsing()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/
Dfont_data_test.cc82 FillTestFontDataWithShortsForSearching(WritableFontData* wfd, in FillTestFontDataWithShortsForSearching() argument
92 wfd->WriteUShort(offset, lower_data[i]); in FillTestFontDataWithShortsForSearching()
99 wfd->WriteUShort(offset, upper_data[i]); in FillTestFontDataWithShortsForSearching()
103 return wfd; in FillTestFontDataWithShortsForSearching()
109 WritableFontDataPtr wfd; in TestReadableFontDataSearching() local
110 wfd.Attach(WritableFontData::CreateWritableFontData(array_setup_offset[0])); in TestReadableFontDataSearching()
111 FillTestFontDataWithShortsForSearching(wfd, in TestReadableFontDataSearching()
120 int32_t found = wfd->SearchUShort(array_setup_offset[1], in TestReadableFontDataSearching()
179 void WriteFontDataWithSingleByte(ReadableFontData* rfd, WritableFontData* wfd) { in WriteFontDataWithSingleByte() argument
182 wfd->WriteByte(index, b); in WriteFontDataWithSingleByte()
[all …]
Dfont_parsing_test.cc63 WritableFontDataPtr wfd; in TestFontParsing() local
64 wfd.Attach(gdef_builder->Data()); in TestFontParsing()
67 wfd->ReadBytes(0, &(b[0]), 0, TTF_LENGTH[SAMPLE_TTF_FEAT]); in TestFontParsing()
/third_party/gstreamer/gstreamer/gst/
Dgstpoll.c554 WinsockFd *wfd = &g_array_index (set->fds, WinsockFd, idx); in gst_poll_free_winsock_event() local
557 WSAEventSelect (wfd->fd, event, 0); in gst_poll_free_winsock_event()
565 WinsockFd *wfd; in gst_poll_update_winsock_event_mask() local
567 wfd = &g_array_index (set->fds, WinsockFd, idx); in gst_poll_update_winsock_event_mask()
570 wfd->event_mask |= flags; in gst_poll_update_winsock_event_mask()
572 wfd->event_mask &= ~flags; in gst_poll_update_winsock_event_mask()
575 if ((wfd->ignored_event_mask & wfd->event_mask) == 0) in gst_poll_update_winsock_event_mask()
576 wfd->ignored_event_mask = 0; in gst_poll_update_winsock_event_mask()
590 WinsockFd *wfd = &g_array_index (set->fds, WinsockFd, i); in gst_poll_prepare_winsock_active_sets() local
593 if (wfd->ignored_event_mask == 0) { in gst_poll_prepare_winsock_active_sets()
[all …]
/third_party/ltp/testcases/kernel/syscalls/write/
Dwrite04.c26 static int rfd, wfd; variable
33 TEST(write(wfd, wbuf, sizeof(wbuf))); in verify_write()
60 wfd = SAFE_OPEN(fifo, O_WRONLY | O_NONBLOCK); in setup()
62 SAFE_WRITE(0, wfd, wbuf, sizeof(wbuf)); in setup()
70 if (wfd > 0) in cleanup()
71 SAFE_CLOSE(wfd); in cleanup()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstpoll.c40 GstPollFD wfd = GST_POLL_FD_INIT; in GST_START_TEST() local
54 wfd.fd = socks[1]; in GST_START_TEST()
60 fail_unless (write (wfd.fd, &c, 1) == 1, "write() failed"); in GST_START_TEST()
69 fail_unless (gst_poll_add_fd (set, &wfd), "Could not add write descriptor"); in GST_START_TEST()
70 fail_unless (gst_poll_fd_ctl_write (set, &wfd, TRUE), in GST_START_TEST()
79 fail_if (gst_poll_fd_can_read (set, &wfd), in GST_START_TEST()
81 fail_unless (gst_poll_fd_can_write (set, &wfd), in GST_START_TEST()
92 fail_if (gst_poll_fd_can_read (set, &wfd), in GST_START_TEST()
94 fail_unless (gst_poll_fd_can_write (set, &wfd), in GST_START_TEST()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
DWritableFontData.java48 WritableFontData wfd = new WritableFontData(ba); in createWritableFontData() local
49 return wfd; in createWritableFontData()
62 WritableFontData wfd = new WritableFontData(ba); in createWritableFontData() local
63 return wfd; in createWritableFontData()
83 WritableFontData wfd = new WritableFontData(ba); in createWritableFontData() local
84 wfd.setCheckSumRanges(original.checkSumRange()); in createWritableFontData()
85 return wfd; in createWritableFontData()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
DWritableFontData.java48 WritableFontData wfd = new WritableFontData(ba); in createWritableFontData() local
49 return wfd; in createWritableFontData()
62 WritableFontData wfd = new WritableFontData(ba); in createWritableFontData() local
63 return wfd; in createWritableFontData()
83 WritableFontData wfd = new WritableFontData(ba); in createWritableFontData() local
84 wfd.setCheckSumRanges(original.checkSumRange()); in createWritableFontData()
85 return wfd; in createWritableFontData()
/third_party/node/deps/npm/node_modules/getpass/lib/
Dindex.js48 openTTY(function (err, rfd, wfd, rtty, wtty) { argument
93 if (wfd !== undefined && wfd !== rfd) {
95 mod_fs.closeSync(wfd);
/third_party/ltp/testcases/kernel/syscalls/read/
Dread03.c18 static int rfd, wfd; variable
41 wfd = SAFE_OPEN(fifo, O_WRONLY | O_NONBLOCK); in setup()
47 SAFE_CLOSE(wfd); in cleanup()
/third_party/python/Lib/test/
Dtest_select.py63 rfd, wfd, xfd = select.select([pipe], [], [], timeout)
64 self.assertEqual(wfd, [])
78 rfd, wfd, xfd)
/third_party/pulseaudio/src/pulsecore/
Dconf-parser.c227 WIN32_FIND_DATA wfd; in pa_config_parse() local
229 fh = FindFirstFile(pattern, &wfd); in pa_config_parse()
232 if (!(wfd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { in pa_config_parse()
233 char *filename2 = pa_sprintf_malloc("%s\\%s", dir_name, wfd.cFileName); in pa_config_parse()
237 } while (FindNextFile(fh, &wfd)); in pa_config_parse()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dwritable_font_data.cc42 WritableFontDataPtr wfd = new WritableFontData(ba); in CreateWritableFontData() local
43 return wfd.Detach(); in CreateWritableFontData()
53 WritableFontDataPtr wfd = new WritableFontData(ba); in CreateWritableFontData() local
54 return wfd.Detach(); in CreateWritableFontData()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dwritable_font_data.cc42 WritableFontDataPtr wfd = new WritableFontData(ba); in CreateWritableFontData() local
43 return wfd.Detach(); in CreateWritableFontData()
53 WritableFontDataPtr wfd = new WritableFontData(ba); in CreateWritableFontData() local
54 return wfd.Detach(); in CreateWritableFontData()
Dreadable_font_data.cc45 ReadableFontDataPtr wfd = new ReadableFontData(ba); in CreateReadableFontData() local
46 return wfd.Detach(); in CreateReadableFontData()
216 int32_t ReadableFontData::CopyTo(WritableFontData* wfd) { in CopyTo() argument
217 return array_->CopyTo(wfd->BoundOffset(0), in CopyTo()
218 wfd->array_, in CopyTo()
/third_party/toybox/toys/pending/
Dbootchartd.c39 static void dump_data_in_file(char *fname, int wfd)
44 xwrite(wfd, TT.timestamp, strlen(TT.timestamp));
45 xsendfile(rfd, wfd);
47 xwrite(wfd, "\n", 1);

123