/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 | 110 CALLER_ATTACH Font* LoadSingleOTF(WritableFontData* wfd); 113 void LoadCollection(WritableFontData* wfd, FontArray* output); 117 LoadSingleOTFForBuilding(WritableFontData* wfd, 125 static bool IsCollection(ReadableFontData* wfd);
|
D | font.cc | 228 WritableFontData* wfd, in GetOTFBuilder() argument 231 builder->LoadFont(wfd, offset_to_offset_table); in GetOTFBuilder() 334 void Font::Builder::LoadFont(WritableFontData* wfd, in LoadFont() argument 337 assert(wfd); in LoadFont() 339 ReadHeader(wfd, offset_to_offset_table, &records); in LoadFont() 340 LoadTableData(&records, wfd, &data_blocks_); in LoadFont()
|
/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/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/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/ltp/testcases/kernel/syscalls/write/ |
D | write04.c | 24 static int rfd, wfd; variable 31 TST_EXP_FAIL(write(wfd, wbuf, sizeof(wbuf)), EAGAIN); in verify_write() 45 wfd = SAFE_OPEN(fifo, O_WRONLY | O_NONBLOCK); in setup() 47 SAFE_WRITE(SAFE_WRITE_ANY, wfd, wbuf, sizeof(wbuf)); in setup() 55 if (wfd > 0) in cleanup() 56 SAFE_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/rust/crates/quiche/deps/boringssl/src/ssl/test/ |
D | handshake_util.cc | 180 static bool Proxy(BIO *socket, bool async, int control, int rfd, int wfd) { in Proxy() argument 184 FD_SET(wfd, &rfds); in Proxy() 186 int fd_max = wfd > control ? wfd : control; in Proxy() 194 if (FD_ISSET(wfd, &rfds) && in Proxy() 195 (bytes = read_eintr(wfd, buf, sizeof(buf))) > 0) { in Proxy() 486 int rfd[2], wfd[2]; in RunHandshaker() local 503 if (pipe(wfd) != 0) { in RunHandshaker() 507 ScopedFD wfd0_closer(wfd[0]), wfd1_closer(wfd[1]); in RunHandshaker() 513 {{kFdProxyToHandshaker, rfd[0]}, {kFdHandshakerToProxy, wfd[1]}}, in RunHandshaker() 514 {rfd[1], wfd[0]})) { in RunHandshaker() [all …]
|
/external/cronet/third_party/boringssl/src/ssl/test/ |
D | handshake_util.cc | 180 static bool Proxy(BIO *socket, bool async, int control, int rfd, int wfd) { in Proxy() argument 184 FD_SET(wfd, &rfds); in Proxy() 186 int fd_max = wfd > control ? wfd : control; in Proxy() 194 if (FD_ISSET(wfd, &rfds) && in Proxy() 195 (bytes = read_eintr(wfd, buf, sizeof(buf))) > 0) { in Proxy() 486 int rfd[2], wfd[2]; in RunHandshaker() local 503 if (pipe(wfd) != 0) { in RunHandshaker() 507 ScopedFD wfd0_closer(wfd[0]), wfd1_closer(wfd[1]); in RunHandshaker() 513 {{kFdProxyToHandshaker, rfd[0]}, {kFdHandshakerToProxy, wfd[1]}}, in RunHandshaker() 514 {rfd[1], wfd[0]})) { in RunHandshaker() [all …]
|
/external/boringssl/src/ssl/test/ |
D | handshake_util.cc | 180 static bool Proxy(BIO *socket, bool async, int control, int rfd, int wfd) { in Proxy() argument 184 FD_SET(wfd, &rfds); in Proxy() 186 int fd_max = wfd > control ? wfd : control; in Proxy() 194 if (FD_ISSET(wfd, &rfds) && in Proxy() 195 (bytes = read_eintr(wfd, buf, sizeof(buf))) > 0) { in Proxy() 486 int rfd[2], wfd[2]; in RunHandshaker() local 503 if (pipe(wfd) != 0) { in RunHandshaker() 507 ScopedFD wfd0_closer(wfd[0]), wfd1_closer(wfd[1]); in RunHandshaker() 513 {{kFdProxyToHandshaker, rfd[0]}, {kFdHandshakerToProxy, wfd[1]}}, in RunHandshaker() 514 {rfd[1], wfd[0]})) { in RunHandshaker() [all …]
|
/external/ltp/testcases/kernel/syscalls/read/ |
D | read03.c | 18 static int rfd, wfd; variable 41 wfd = SAFE_OPEN(fifo, O_WRONLY | O_NONBLOCK); in setup() 47 SAFE_CLOSE(wfd); in cleanup()
|
/external/libtracefs/src/ |
D | tracefs-record.c | 498 int tracefs_cpu_flush_write(struct tracefs_cpu *tcpu, int wfd) in tracefs_cpu_flush_write() argument 505 ret = write(wfd, buffer, ret); in tracefs_cpu_flush_write() 528 int tracefs_cpu_write(struct tracefs_cpu *tcpu, int wfd, bool nonblock) in tracefs_cpu_write() argument 555 ret = splice(tcpu->splice_pipe[0], NULL, wfd, NULL, in tracefs_cpu_write() 571 ret = write(wfd, buffer, ret); in tracefs_cpu_write() 596 int tracefs_cpu_pipe(struct tracefs_cpu *tcpu, int wfd, bool nonblock) in tracefs_cpu_pipe() argument 608 ret = splice(tcpu->fd, NULL, wfd, NULL, in tracefs_cpu_pipe()
|
/external/sg3_utils/src/ |
D | sg_compare_and_write.c | 479 int wfd = -1; in main() local 539 wfd = open_if(op->wfn, false); in main() 540 if (wfd < 0) { in main() 541 res = -wfd; in main() 571 res = read(wfd, wrkBuff + half_xlen, half_xlen); in main() 613 if (wfd >= 0) in main() 614 close(wfd); in main()
|
/external/python/cpython3/Lib/test/ |
D | test_select.py | 63 rfd, wfd, xfd = select.select([pipe], [], [], timeout) 64 self.assertEqual(wfd, []) 78 rfd, wfd, xfd)
|
D | test_signal.py | 216 rfd, wfd = os.pipe() 218 self.addCleanup(os.close, wfd) 221 os.set_blocking(wfd, True) 223 signal.set_wakeup_fd(wfd) 225 "the fd %s must be in non-blocking mode" % wfd) 228 os.set_blocking(wfd, False) 229 signal.set_wakeup_fd(wfd)
|
/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()
|
/external/toybox/toys/pending/ |
D | bootchartd.c | 39 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);
|
/external/python/cpython3/Lib/multiprocessing/ |
D | popen_spawn_win32.py | 54 wfd = msvcrt.open_osfhandle(whandle, 0) 70 with open(wfd, 'wb', closefd=True) as to_child:
|
/external/cronet/third_party/libxml/src/ |
D | nanohttp.c | 437 fd_set wfd; in xmlNanoHTTPSend() local 471 FD_ZERO(&wfd); in xmlNanoHTTPSend() 476 FD_SET(ctxt->fd, &wfd); in xmlNanoHTTPSend() 480 (void) select(ctxt->fd + 1, NULL, &wfd, NULL, &tv); in xmlNanoHTTPSend() 832 fd_set wfd; in xmlNanoHTTPConnectAttempt() local 922 FD_ZERO(&wfd); in xmlNanoHTTPConnectAttempt() 923 FD_SET(s, &wfd); in xmlNanoHTTPConnectAttempt() 929 switch (select(s + 1, NULL, &wfd, &xfd, &tv)) in xmlNanoHTTPConnectAttempt() 931 switch (select(s + 1, NULL, &wfd, NULL, &tv)) in xmlNanoHTTPConnectAttempt() 957 if (FD_ISSET(s, &wfd) in xmlNanoHTTPConnectAttempt()
|
/external/libxml2/ |
D | nanohttp.c | 437 fd_set wfd; in xmlNanoHTTPSend() local 471 FD_ZERO(&wfd); in xmlNanoHTTPSend() 476 FD_SET(ctxt->fd, &wfd); in xmlNanoHTTPSend() 480 (void) select(ctxt->fd + 1, NULL, &wfd, NULL, &tv); in xmlNanoHTTPSend() 832 fd_set wfd; in xmlNanoHTTPConnectAttempt() local 922 FD_ZERO(&wfd); in xmlNanoHTTPConnectAttempt() 923 FD_SET(s, &wfd); in xmlNanoHTTPConnectAttempt() 929 switch (select(s + 1, NULL, &wfd, &xfd, &tv)) in xmlNanoHTTPConnectAttempt() 931 switch (select(s + 1, NULL, &wfd, NULL, &tv)) in xmlNanoHTTPConnectAttempt() 957 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()
|