Home
last modified time | relevance | path

Searched refs:afd (Results 1 – 25 of 29) sorted by relevance

12

/external/rust/crates/mio/src/sys/windows/
Devent.rs5 use super::afd;
27 self.flags |= afd::POLL_RECEIVE in set_readable()
32 self.flags |= afd::POLL_SEND; in set_writable()
47 pub(crate) const READABLE_FLAGS: u32 = afd::POLL_RECEIVE
48 | afd::POLL_DISCONNECT
49 | afd::POLL_ACCEPT
50 | afd::POLL_ABORT
51 | afd::POLL_CONNECT_FAIL;
52 pub(crate) const WRITABLE_FLAGS: u32 = afd::POLL_SEND | afd::POLL_ABORT | afd::POLL_CONNECT_FAIL;
53 pub(crate) const ERROR_FLAGS: u32 = afd::POLL_CONNECT_FAIL;
[all …]
Dselector.rs1 use super::afd::{self, Afd, AfdPollInfo};
75 let afd = Afd::new(&self.cp)?; localVariable
76 let arc = Arc::new(afd);
94 afd: Arc<Afd>, field
121 if (self.user_evts & afd::KNOWN_EVENTS & !self.pending_evts) == 0 { in update()
147 self.poll_info.handles[0].events = self.user_evts | afd::POLL_LOCAL_CLOSE; in update()
153 self.afd in update()
190 self.afd.cancel(&mut *self.iosb)?; in cancel()
211 afd_events = afd::POLL_CONNECT_FAIL; in feed_event()
214 } else if self.poll_info.handles[0].events & afd::POLL_LOCAL_CLOSE != 0 { in feed_event()
[all …]
Dafd.rs203 let afd = Afd { fd }; localVariable
204 cp.add_handle(token, &afd.fd)?;
210 _ => Ok(afd),
Dmod.rs1 mod afd; module
/external/libchrome/base/android/java/src/org/chromium/base/
DApkAssets.java27 AssetFileDescriptor afd = null; in open() local
30 afd = manager.openNonAssetFd(fileName); in open()
31 return new long[] {afd.getParcelFileDescriptor().detachFd(), afd.getStartOffset(), in open()
32 afd.getLength()}; in open()
50 if (afd != null) { in open()
51 afd.close(); in open()
DContentUriUtils.java74 AssetFileDescriptor afd = getAssetFileDescriptor(uriString); in openContentUriForRead() local
75 if (afd != null) { in openContentUriForRead()
76 return afd.getParcelFileDescriptor().detachFd(); in openContentUriForRead()
137 AssetFileDescriptor afd = in getAssetFileDescriptor() local
139 if (afd != null && afd.getStartOffset() != 0) { in getAssetFileDescriptor()
143 afd.close(); in getAssetFileDescriptor()
149 return afd; in getAssetFileDescriptor()
/external/toybox/toys/posix/
Dcpio.c84 int pipe, afd = FLAG(o), empty = 1; in cpio_main() local
99 afd = pipe; in cpio_main()
110 afd = xcreate(TT.F, perm, 0644); in cpio_main()
122 if (1>(len = readall(afd, toybuf+size, 110-size))) break; in cpio_main()
136 tofree = name = strpad(afd, x8u(toybuf+94), 110); in cpio_main()
168 data = strpad(afd, size, 0); in cpio_main()
188 if (size < sizeof(toybuf)) data = strpad(afd, size, 0); in cpio_main()
189 else xreadall(afd, toybuf, sizeof(toybuf)); in cpio_main()
278 xwrite(afd, toybuf, llen); in cpio_main()
279 xwrite(afd, name, nlen); in cpio_main()
[all …]
/external/strace/tests-m32/
Drecvfrom.c79 int afd = accept(lfd, 0, 0); in main() local
80 if (afd < 0) in main()
85 test_sockname_syscall(afd); in main()
/external/strace/tests/
Drecvfrom.c79 int afd = accept(lfd, 0, 0); in main() local
80 if (afd < 0) in main()
85 test_sockname_syscall(afd); in main()
/external/strace/tests-mx32/
Drecvfrom.c79 int afd = accept(lfd, 0, 0); in main() local
80 if (afd < 0) in main()
85 test_sockname_syscall(afd); in main()
/external/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/
Dutils.py174 return [afd for afd, _ in results]
/external/tcpdump/tests/
Dpgm_group_addr_asan.out1 …one], proto PGM (113), length 768, options (unknown 89 [bad length 232]), bad cksum 5959 (->5afd)!)
/external/libtextclassifier/java/src/com/android/textclassifier/
DTextClassifierImpl.java476 try (AssetFileDescriptor afd = bestModel.open(context.getAssets())) { in getAnnotatorImpl() argument
477 annotatorImpl = new AnnotatorModel(afd); in getAnnotatorImpl()
495 try (AssetFileDescriptor afd = bestModel.open(context.getAssets())) { in getLangIdImpl() argument
496 langIdImpl = new LangIdModel(afd); in getLangIdImpl()
515 try (AssetFileDescriptor afd = bestModel.open(context.getAssets())) { in getActionsImpl() argument
516 actionsImpl = new ActionsSuggestionsModel(afd); in getActionsImpl()
/external/libtextclassifier/java/src/com/android/textclassifier/common/
DModelFileManager.java430 LangIdModel::getVersion, afd -> ModelFile.LANGUAGE_INDEPENDENT); in create()
452 try (AssetFileDescriptor afd = new AssetFileDescriptor(pfd, 0, file.length())) { in createFromRegularFile() argument
454 file.getAbsolutePath(), modelType, afd, /* isAsset= */ false); in createFromRegularFile()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContentResolverTest.java754 …AssetFileDescriptor afd = contentResolver.openTypedAssetFileDescriptor(Uri.parse("content://" + AU… in openTypedAssetFileDescriptor_shouldOpenDescriptor() local
756 FileDescriptor descriptor = afd.getFileDescriptor(); in openTypedAssetFileDescriptor_shouldOpenDescriptor()
/external/cldr/tools/java/org/unicode/cldr/util/data/
Diso-639-3_Retirements.tab34 arf Arafundi S Split into three languages: Andai [afd]; Nanubae [afk]; Tapei [afp] 2008-01-14
Diso-639-3_Name_Index.tab113 afd Andai Andai
Diso-639-3.tab110 afd I L Andai
Dlanguage-subtag-registry1737 Subtag: afd
/external/pdfium/testing/resources/
Dbug_555784.in45 …aee /aef /af0 /af1 /af2 /af3 /af4 /af5 /af6 /af7 /af8 /af9 /afa /afb /afc /afd /afe /aff /a100 /a1…
/external/google-breakpad/src/tools/windows/dump_syms/testdata/
Ddump_syms_regtest.sym652 1afd 4 98 3838
Domap_reorder_bbs.sym1864 4afd 6 56 2079
/external/google-breakpad/src/processor/testdata/symbols/null_read_av/7B7D1968FF0D47AE4366E9C3A7E1B6750/
Dnull_read_av.sym5671 STACK CFI 3afd .cfa: $rsp 16 +
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt4964 "afd~e",
/external/elfutils/tests/
Dtestfile45.expect.bz21testfile45.o: elf64-elf_x86_64 2 3Disassembly of section .text: 4 5 0 ...

12