/external/ltp/testcases/kernel/syscalls/read/ |
read03.c | 57 int rfd, wfd; variable 129 wfd = open(fifo, O_WRONLY | O_NONBLOCK); 140 close(wfd);
|
/external/ltp/testcases/kernel/syscalls/write/ |
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);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wfd/ |
WifiDisplaySettingsTest.java | 17 package com.android.settings.wfd;
|
/external/sfntly/cpp/src/sfntly/data/ |
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();
|
readable_font_data.cc | 45 ReadableFontDataPtr wfd = new ReadableFontData(ba); local 46 return wfd.Detach(); 216 int32_t ReadableFontData::CopyTo(WritableFontData* wfd) { 217 return array_->CopyTo(wfd->BoundOffset(0), 218 wfd->array_,
|
/external/sfntly/cpp/src/sfntly/ |
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, 0)) 170 WritableFontDataPtr wfd; local [all...] |
/external/sfntly/cpp/src/test/ |
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]);
|
font_data_test.cc | 82 FillTestFontDataWithShortsForSearching(WritableFontData* wfd, 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) { 182 wfd->WriteByte(index, b) 319 WritableFontDataPtr wfd = new WritableFontData(ba); local [all...] |
/libcore/ojluni/src/main/native/ |
LinuxWatchService.c | 86 int wfd = -1; local 89 wfd = inotify_add_watch((int)fd, path, mask); 90 if (wfd == -1) { 93 return (jint)wfd;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
newapis.h | 198 WIN32_FIND_DATA wfd; local 199 hfind = FindFirstFile(ptszFile,&wfd); 203 pfad->dwFileAttributes = wfd.dwFileAttributes; 204 pfad->ftCreationTime = wfd.ftCreationTime; 205 pfad->ftLastAccessTime = wfd.ftLastAccessTime; 206 pfad->ftLastWriteTime = wfd.ftLastWriteTime; 207 pfad->nFileSizeHigh = wfd.nFileSizeHigh; 208 pfad->nFileSizeLow = wfd.nFileSizeLow;
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
DeviceUtils.java | 102 WaitForDevice wfd = new WaitForDevice(serial, timeout); local 103 return wfd.get(); 110 WaitForDevice wfd = new WaitForDevice(null, timeout); local 111 wfd.get();
|
/external/libusb/libusb/os/ |
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.handle = handle 429 struct winfd wfd; local 455 struct winfd wfd; local 481 struct winfd wfd; local [all...] |
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...] |
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...] |
/frameworks/base/core/java/android/os/ |
FileObserver.java | 90 int wfd = startWatching(m_fd, path, mask); local 92 Integer i = new Integer(wfd); 93 if (wfd >= 0) { 106 public void onEvent(int wfd, int mask, String path) { 111 WeakReference weak = m_observers.get(wfd); 112 if (weak != null) { // can happen with lots of events from a dead wfd 115 m_observers.remove(wfd); 133 private native void stopWatching(int fd, int wfd);
|
/bootable/recovery/uncrypt/ |
uncrypt.cpp | 141 static int write_at_offset(unsigned char* buffer, size_t size, int wfd, off64_t offset) { 142 if (TEMP_FAILURE_RETRY(lseek64(wfd, offset, SEEK_SET)) == -1) { 146 if (!android::base::WriteFully(wfd, buffer, size)) { 301 android::base::unique_fd wfd; local 303 wfd.reset(open(blk_dev, O_WRONLY)); 304 if (wfd == -1) { 338 if (write_at_offset(buffers[head].data(), sb.st_blksize, wfd, 383 if (write_at_offset(buffers[head].data(), sb.st_blksize, wfd, 415 if (fsync(wfd) == -1) { 419 if (close(wfd.release()) == -1) [all...] |
/hardware/qcom/wlan/qcwcn/wcnss-service/ |
wcnss_service.c | 273 int wfd; local 300 wfd = open(WLAN_INI_FILE_DEST, O_WRONLY | O_CREAT | O_TRUNC, 0660); 301 if (wfd < 0) { 307 rc = sendfile(wfd, rfd, 0, st_src.st_size); 333 close(wfd);
|
/external/netcat/ |
netcat.c | 764 int n, wfd = fileno(stdin); local 775 pfd[1].fd = wfd; 806 if ((n = read(wfd, buf, plen)) < 0)
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_group.c | 340 wpabuf_put_data(buf, dev_info, 2); /* WFD Device Info */ 341 wpabuf_put_data(buf, dev_info + 4, 2); /* WFD Device Max Throughput */ 377 /* Build WFD Session Info */ 393 p2p_dbg(group->p2p, "WFD: WFD Session Info: %u descriptors", 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/libxml2/ |
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/ |
channels.h | 104 int wfd; /* write fd */ member in struct:Channel 110 int wfd_isatty; /* wfd is a tty */
|
/external/sfntly/cpp/src/sfntly/table/core/ |
cmap_table.cc | 1247 Ptr<WritableFontData> wfd; local [all...] |
/external/wpa_supplicant_8/src/common/ |
ieee802_11_common.h | 52 const u8 *wfd; member in struct:ieee802_11_elems
|
/frameworks/native/cmds/dumpstate/ |
utils.cpp | 1020 int ifd, wfd = -1; local [all...] |
/packages/apps/Settings/src/com/android/settings/wfd/ |
WifiDisplaySettings.java | 17 package com.android.settings.wfd; 333 // show buttons for Pause/Resume when a WFD session is established
|