/external/sfntly/cpp/src/sfntly/ |
D | font_factory.cc | 56 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 …]
|
D | font_factory.h | 116 CALLER_ATTACH Font* LoadSingleOTF(WritableFontData* wfd); 119 void LoadCollection(WritableFontData* wfd, FontArray* output); 123 LoadSingleOTFForBuilding(WritableFontData* wfd, 131 static bool IsCollection(ReadableFontData* wfd);
|
D | font.cc | 227 WritableFontData* wfd, in GetOTFBuilder() argument 230 builder->LoadFont(wfd, offset_to_offset_table); in GetOTFBuilder() 333 void Font::Builder::LoadFont(WritableFontData* wfd, in LoadFont() argument 336 assert(wfd); in LoadFont() 338 ReadHeader(wfd, offset_to_offset_table, &records); in LoadFont() 339 LoadTableData(&records, wfd, &data_blocks_); in LoadFont()
|
/external/strace/tests-m32/ |
D | readv.test | 42 wfd="$(../print_maxfd)" 43 rfd="$(($wfd - 1))" 45 -eread="$rfd" -ewrite="$wfd" 47 -eread="!$rfd" -ewrite="!$wfd" -eread="$rfd" -ewrite="$wfd" 58 [ $wfd -lt 1023 ] || wfd=1023 60 while [ $i -lt $wfd ]; do
|
/external/strace/tests-mx32/ |
D | readv.test | 42 wfd="$(../print_maxfd)" 43 rfd="$(($wfd - 1))" 45 -eread="$rfd" -ewrite="$wfd" 47 -eread="!$rfd" -ewrite="!$wfd" -eread="$rfd" -ewrite="$wfd" 58 [ $wfd -lt 1023 ] || wfd=1023 60 while [ $i -lt $wfd ]; do
|
/external/strace/tests/ |
D | readv.test | 42 wfd="$(../print_maxfd)" 43 rfd="$(($wfd - 1))" 45 -eread="$rfd" -ewrite="$wfd" 47 -eread="!$rfd" -ewrite="!$wfd" -eread="$rfd" -ewrite="$wfd" 58 [ $wfd -lt 1023 ] || wfd=1023 60 while [ $i -lt $wfd ]; do
|
/external/sfntly/cpp/src/test/ |
D | font_data_test.cc | 82 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 …]
|
D | font_parsing_test.cc | 63 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()
|
/external/libusb/libusb/os/ |
D | poll_windows.c | 323 struct winfd wfd = INVALID_WINFD; in usbi_create_fd() local 332 wfd.itransfer = itransfer; in usbi_create_fd() 333 wfd.cancel_fn = cancel_fn; in usbi_create_fd() 341 wfd.rw = RW_READ; in usbi_create_fd() 343 wfd.rw = RW_WRITE; in usbi_create_fd() 360 wfd.fd = i; in usbi_create_fd() 366 &wfd.handle, 0, TRUE, DUPLICATE_SAME_ACCESS)) { in usbi_create_fd() 368 wfd.handle = handle; in usbi_create_fd() 375 wfd.handle = handle; in usbi_create_fd() 377 wfd.overlapped = overlapped; in usbi_create_fd() [all …]
|
D | windows_usbdk.c | 555 struct winfd wfd; in usbdk_do_control_transfer() local 562 wfd = usbi_create_fd(sysHandle, RW_READ, NULL, NULL); in usbdk_do_control_transfer() 564 if (wfd.fd < 0) in usbdk_do_control_transfer() 574 …transResult = usbdk_helper.ReadPipe(priv->redirector_handle, &transfer_priv->request, wfd.overlapp… in usbdk_do_control_transfer() 576 …transResult = usbdk_helper.WritePipe(priv->redirector_handle, &transfer_priv->request, wfd.overlap… in usbdk_do_control_transfer() 580 wfd.overlapped->Internal = STATUS_COMPLETED_SYNCHRONOUSLY; in usbdk_do_control_transfer() 581 wfd.overlapped->InternalHigh = (DWORD)Length; in usbdk_do_control_transfer() 587 usbi_free_fd(&wfd); in usbdk_do_control_transfer() 592 transfer_priv->pollable_fd = wfd; in usbdk_do_control_transfer() 604 struct winfd wfd; in usbdk_do_bulk_transfer() local [all …]
|
D | windows_winusb.c | 2712 struct winfd wfd; in winusbx_submit_control_transfer() local 2733 wfd = usbi_create_fd(winusb_handle, RW_READ, NULL, NULL); in winusbx_submit_control_transfer() 2735 if (wfd.fd < 0) in winusbx_submit_control_transfer() 2743 usbi_free_fd(&wfd); in winusbx_submit_control_transfer() 2746 wfd.overlapped->Internal = STATUS_COMPLETED_SYNCHRONOUSLY; in winusbx_submit_control_transfer() 2747 wfd.overlapped->InternalHigh = 0; in winusbx_submit_control_transfer() 2749 … (!WinUSBX[sub_api].ControlTransfer(wfd.handle, *setup, transfer->buffer + LIBUSB_CONTROL_SETUP_SI… in winusbx_submit_control_transfer() 2752 usbi_free_fd(&wfd); in winusbx_submit_control_transfer() 2756 wfd.overlapped->Internal = STATUS_COMPLETED_SYNCHRONOUSLY; in winusbx_submit_control_transfer() 2757 wfd.overlapped->InternalHigh = (DWORD)size; in winusbx_submit_control_transfer() [all …]
|
D | wince_usb.c | 544 struct winfd wfd = fd_to_winfd(transfer_priv->pollable_fd.fd); in wince_clear_transfer_priv() local 547 wfd.itransfer = NULL; in wince_clear_transfer_priv() 548 CloseHandle(wfd.handle); in wince_clear_transfer_priv() 571 struct winfd wfd; in wince_submit_control_or_bulk_transfer() local 593 …wfd = usbi_create_fd(eventHandle, direction_in ? RW_READ : RW_WRITE, itransfer, &wince_cancel_tran… in wince_submit_control_or_bulk_transfer() 594 if (wfd.fd < 0) { in wince_submit_control_or_bulk_transfer() 599 transfer_priv->pollable_fd = wfd; in wince_submit_control_or_bulk_transfer() 605 …ret = UkwIssueControlTransfer(priv->dev, flags, setup, buf, bufLen, &transfer->actual_length, wfd.… in wince_submit_control_or_bulk_transfer() 608 transfer->length, &transfer->actual_length, wfd.overlapped); in wince_submit_control_or_bulk_transfer()
|
/external/ltp/testcases/kernel/syscalls/write/ |
D | write04.c | 67 int rfd, wfd; variable 143 wfd = open(fifo, O_WRONLY | O_NONBLOCK); in main() 145 if (wfd < 0) { in main() 158 cnt = write(wfd, wbuf, 17 * PIPE_SIZE_TEST); in main() 173 cnt = write(wfd, wbuf, 8 * PIPE_SIZE_TEST); in main() 235 close(wfd); in cleanup()
|
/external/python/cpython2/Lib/test/ |
D | 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/ |
D | read03.c | 57 int rfd, wfd; variable 129 wfd = open(fifo, O_WRONLY | O_NONBLOCK); in setup() 140 close(wfd); in cleanup()
|
/external/sfntly/cpp/src/sfntly/data/ |
D | writable_font_data.cc | 42 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()
|
D | readable_font_data.cc | 45 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()
|
D | readable_font_data.h | 191 virtual int32_t CopyTo(WritableFontData* wfd);
|
/external/toybox/toys/pending/ |
D | bootchartd.c | 55 static void dump_data_in_file(char *fname, int wfd) in dump_data_in_file() argument 60 xwrite(wfd, TT.buf, strlen(TT.buf)); in dump_data_in_file() 61 xsendfile(rfd, wfd); in dump_data_in_file() 63 xwrite(wfd, "\n", 1); in dump_data_in_file()
|
/external/openssh/ |
D | channels.c | 261 channel_register_fds(Channel *c, int rfd, int wfd, int efd, in channel_register_fds() argument 266 channel_max_fd = MAXIMUM(channel_max_fd, wfd); in channel_register_fds() 271 if (wfd != -1 && wfd != rfd) in channel_register_fds() 272 fcntl(wfd, F_SETFD, FD_CLOEXEC); in channel_register_fds() 273 if (efd != -1 && efd != rfd && efd != wfd) in channel_register_fds() 277 c->wfd = wfd; in channel_register_fds() 278 c->sock = (rfd == wfd) ? rfd : -1; in channel_register_fds() 286 c->wfd_isatty = is_tty || isatty(c->wfd); in channel_register_fds() 293 if (wfd != -1) in channel_register_fds() 294 set_nonblock(wfd); in channel_register_fds() [all …]
|
D | nchan.c | 501 if (channel_close_fd(&c->wfd) < 0) in chan_shutdown_write() 504 c->self, c->wfd, strerror(errno)); in chan_shutdown_write()
|
/external/libxml2/ |
D | nanohttp.c | 466 fd_set wfd; in xmlNanoHTTPSend() local 500 FD_ZERO(&wfd); in xmlNanoHTTPSend() 505 FD_SET(ctxt->fd, &wfd); in xmlNanoHTTPSend() 509 (void) select(ctxt->fd + 1, NULL, &wfd, NULL, &tv); in xmlNanoHTTPSend() 861 fd_set wfd; in xmlNanoHTTPConnectAttempt() local 961 FD_ZERO(&wfd); in xmlNanoHTTPConnectAttempt() 962 FD_SET(s, &wfd); in xmlNanoHTTPConnectAttempt() 968 switch (select(s + 1, NULL, &wfd, &xfd, &tv)) in xmlNanoHTTPConnectAttempt() 970 switch (select(s + 1, NULL, &wfd, NULL, &tv)) in xmlNanoHTTPConnectAttempt() 996 if (FD_ISSET(s, &wfd) in xmlNanoHTTPConnectAttempt()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_fd.cc | 236 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd) { in FdPipeCreate() argument 237 DPrintf("#%d: FdCreatePipe(%d, %d)\n", thr->tid, rfd, wfd); in FdPipeCreate() 240 init(thr, pc, wfd, ref(s)); in FdPipeCreate()
|
D | tsan_fd.h | 48 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd);
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_sd.c | 19 static int wfd_wsd_supported(struct wpabuf *wfd) in wfd_wsd_supported() argument 25 if (wfd == NULL) in wfd_wsd_supported() 28 pos = wpabuf_head(wfd); in wfd_wsd_supported() 29 end = pos + wpabuf_len(wfd); in wfd_wsd_supported()
|