/external/ltp/testcases/kernel/syscalls/read/ |
H A D | read03.c | 57 int rfd, wfd; variable 129 wfd = open(fifo, O_WRONLY | O_NONBLOCK); 140 close(wfd);
|
/external/ltp/testcases/kernel/syscalls/write/ |
H A D | write04.c | 67 int rfd, wfd; variable 143 wfd = open(fifo, O_WRONLY | O_NONBLOCK); 145 if (wfd < 0) { 158 cnt = write(wfd, wbuf, 17 * PIPE_SIZE_TEST); 173 cnt = write(wfd, wbuf, 8 * PIPE_SIZE_TEST); 235 close(wfd);
|
/external/sfntly/cpp/src/test/ |
H A D | font_parsing_test.cc | 63 WritableFontDataPtr wfd; local 64 wfd.Attach(gdef_builder->Data()); 67 wfd->ReadBytes(0, &(b[0]), 0, TTF_LENGTH[SAMPLE_TTF_FEAT]);
|
H A D | font_data_test.cc | 82 FillTestFontDataWithShortsForSearching(WritableFontData* wfd, argument 92 wfd->WriteUShort(offset, lower_data[i]); 99 wfd->WriteUShort(offset, upper_data[i]); 103 return wfd; 109 WritableFontDataPtr wfd; local 110 wfd.Attach(WritableFontData::CreateWritableFontData(array_setup_offset[0])); 111 FillTestFontDataWithShortsForSearching(wfd, 120 int32_t found = wfd->SearchUShort(array_setup_offset[1], 179 void WriteFontDataWithSingleByte(ReadableFontData* rfd, WritableFontData* wfd) { argument 182 wfd 186 WriteFontDataWithBuffer(ReadableFontData* rfd, WritableFontData* wfd, int32_t buffer_size) argument 198 WriteFontDataWithSlidingWindow(ReadableFontData* rfd, WritableFontData* wfd, int32_t window_size) argument 267 SlicingWriteTest(ReadableFontData* rfd, WritableFontData* wfd) argument 319 WritableFontDataPtr wfd = new WritableFontData(ba); local [all...] |
/external/sfntly/cpp/src/sfntly/ |
H A D | font_factory.cc | 56 WritableFontDataPtr wfd; local 57 wfd.Attach(WritableFontData::CreateWritableFontData(b)); 58 if (IsCollection(wfd)) { 59 LoadCollection(wfd, output); 63 font.Attach(LoadSingleOTF(wfd)); 85 WritableFontDataPtr wfd; local 86 wfd.Attach(WritableFontData::CreateWritableFontData(b)); 87 if (IsCollection(wfd)) { 88 LoadCollectionForBuilding(wfd, output); 92 builder.Attach(LoadSingleOTFForBuilding(wfd, 117 LoadSingleOTF(WritableFontData* wfd) argument 135 LoadCollection(WritableFontData* wfd, FontArray* output) argument 157 LoadSingleOTFForBuilding(WritableFontData* wfd, int32_t offset_to_offset_table) argument 170 WritableFontDataPtr wfd; local 176 LoadCollectionForBuilding(WritableFontData* wfd, FontBuilderArray* builders) argument [all...] |
H A D | font.cc | 227 WritableFontData* wfd, 230 builder->LoadFont(wfd, offset_to_offset_table); 333 void Font::Builder::LoadFont(WritableFontData* wfd, argument 336 assert(wfd); 338 ReadHeader(wfd, offset_to_offset_table, &records); 339 LoadTableData(&records, wfd, &data_blocks_); 225 GetOTFBuilder( FontFactory* factory, WritableFontData* wfd, int32_t offset_to_offset_table) argument
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_fd.cc | 236 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd) { argument 237 DPrintf("#%d: FdCreatePipe(%d, %d)\n", thr->tid, rfd, wfd); 240 init(thr, pc, wfd, ref(s));
|
/external/libusb/libusb/os/ |
H A D | poll_windows.c | 258 * event. To that extent, we create a single wfd and overlapped as a means 323 struct winfd wfd = INVALID_WINFD; local 332 wfd.itransfer = itransfer; 333 wfd.cancel_fn = cancel_fn; 341 wfd.rw = RW_READ; 343 wfd.rw = RW_WRITE; 360 wfd.fd = i; 366 &wfd.handle, 0, TRUE, DUPLICATE_SAME_ACCESS)) { 368 wfd.handle = handle; 375 wfd 408 usbi_free_fd(struct winfd *wfd) argument 429 struct winfd wfd; local 455 struct winfd wfd; local 481 struct winfd wfd; local [all...] |
H A D | wince_usb.c | 544 struct winfd wfd = fd_to_winfd(transfer_priv->pollable_fd.fd); local 547 wfd.itransfer = NULL; 548 CloseHandle(wfd.handle); 571 struct winfd wfd; local 593 wfd = usbi_create_fd(eventHandle, direction_in ? RW_READ : RW_WRITE, itransfer, &wince_cancel_transfer); 594 if (wfd.fd < 0) { 599 transfer_priv->pollable_fd = wfd; 605 ret = UkwIssueControlTransfer(priv->dev, flags, setup, buf, bufLen, &transfer->actual_length, wfd.overlapped); 608 transfer->length, &transfer->actual_length, wfd.overlapped); 796 // let handle_callback free the event using the transfer wfd [all...] |
H A D | windows_usbdk.c | 555 struct winfd wfd; local 562 wfd = usbi_create_fd(sysHandle, RW_READ, NULL, NULL); 563 // Always use the handle returned from usbi_create_fd (wfd.handle) 564 if (wfd.fd < 0) 574 transResult = usbdk_helper.ReadPipe(priv->redirector_handle, &transfer_priv->request, wfd.overlapped); 576 transResult = usbdk_helper.WritePipe(priv->redirector_handle, &transfer_priv->request, wfd.overlapped); 580 wfd.overlapped->Internal = STATUS_COMPLETED_SYNCHRONOUSLY; 581 wfd.overlapped->InternalHigh = (DWORD)Length; 587 usbi_free_fd(&wfd); 592 transfer_priv->pollable_fd = wfd; 604 struct winfd wfd; local 662 struct winfd wfd; local [all...] |
/external/sfntly/cpp/src/sfntly/data/ |
H A D | readable_font_data.cc | 45 ReadableFontDataPtr wfd = new ReadableFontData(ba); local 46 return wfd.Detach(); 216 int32_t ReadableFontData::CopyTo(WritableFontData* wfd) { argument 217 return array_->CopyTo(wfd->BoundOffset(0), 218 wfd->array_,
|
H A D | writable_font_data.cc | 42 WritableFontDataPtr wfd = new WritableFontData(ba); local 43 return wfd.Detach(); 53 WritableFontDataPtr wfd = new WritableFontData(ba); local 54 return wfd.Detach();
|
/external/toybox/toys/pending/ |
H A D | bootchartd.c | 55 static void dump_data_in_file(char *fname, int wfd) argument 60 xwrite(wfd, TT.buf, strlen(TT.buf)); 61 xsendfile(rfd, wfd); 63 xwrite(wfd, "\n", 1);
|
/external/wpa_supplicant_8/hostapd/src/p2p/ |
H A D | p2p_sd.c | 19 static int wfd_wsd_supported(struct wpabuf *wfd) argument 25 if (wfd == NULL) 28 pos = wpabuf_head(wfd); 29 end = pos + wpabuf_len(wfd);
|
H A D | p2p_group.c | 471 struct wpabuf *wfd = wpabuf_dup(group->wfd_ie); local 472 ie = wpabuf_concat(wfd, ie); 630 " to group (p2p=%d wfd=%d client_info=%d); num_members=%u/%u",
|
/external/wpa_supplicant_8/src/p2p/ |
H A D | p2p_sd.c | 19 static int wfd_wsd_supported(struct wpabuf *wfd) argument 25 if (wfd == NULL) 28 pos = wpabuf_head(wfd); 29 end = pos + wpabuf_len(wfd);
|
H A D | p2p_group.c | 471 struct wpabuf *wfd = wpabuf_dup(group->wfd_ie); local 472 ie = wpabuf_concat(wfd, ie); 630 " to group (p2p=%d wfd=%d client_info=%d); num_members=%u/%u",
|
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/ |
H A D | p2p_sd.c | 19 static int wfd_wsd_supported(struct wpabuf *wfd) argument 25 if (wfd == NULL) 28 pos = wpabuf_head(wfd); 29 end = pos + wpabuf_len(wfd);
|
/external/netcat/ |
H A D | netcat.c | 764 int n, wfd = fileno(stdin); local 775 pfd[1].fd = wfd; 806 if ((n = read(wfd, buf, plen)) < 0)
|
/external/libxml2/ |
H A D | nanohttp.c | 459 fd_set wfd; local 493 FD_ZERO(&wfd); 498 FD_SET(ctxt->fd, &wfd); 502 (void) select(ctxt->fd + 1, NULL, &wfd, NULL, &tv); 854 fd_set wfd; local 954 FD_ZERO(&wfd); 955 FD_SET(s, &wfd); 961 switch (select(s + 1, NULL, &wfd, &xfd, &tv)) 963 switch (select(s + 1, NULL, &wfd, NULL, &tv)) 989 if (FD_ISSET(s, &wfd) [all...] |
/external/openssh/ |
H A D | channels.h | 103 int wfd; /* write fd */ member in struct:Channel 109 int wfd_isatty; /* wfd is a tty */
|
/external/sfntly/cpp/src/sfntly/table/core/ |
H A D | cmap_table.cc | 1247 Ptr<WritableFontData> wfd; local 1248 wfd.Attach(WritableFontData::CreateWritableFontData(data->Size())); 1249 data->CopyTo(wfd.p_); 1251 builder.Attach(CMap::Builder::GetBuilder(wfd.p_, 0, cmap_id));
|
/external/wpa_supplicant_8/hostapd/src/common/ |
H A D | ieee802_11_common.h | 52 const u8 *wfd; member in struct:ieee802_11_elems
|
/external/wpa_supplicant_8/src/common/ |
H A D | ieee802_11_common.h | 52 const u8 *wfd; member in struct:ieee802_11_elems
|
/external/wpa_supplicant_8/wpa_supplicant/src/common/ |
H A D | ieee802_11_common.h | 52 const u8 *wfd; member in struct:ieee802_11_elems
|