/external/rust/crates/mio/src/sys/windows/ |
D | event.rs | 3 use super::afd; 26 self.flags |= afd::POLL_RECEIVE in set_readable() 31 self.flags |= afd::POLL_SEND; in set_writable() 46 pub(crate) const READABLE_FLAGS: u32 = afd::POLL_RECEIVE 47 | afd::POLL_DISCONNECT 48 | afd::POLL_ACCEPT 49 | afd::POLL_ABORT 50 | afd::POLL_CONNECT_FAIL; 51 pub(crate) const WRITABLE_FLAGS: u32 = afd::POLL_SEND | afd::POLL_ABORT | afd::POLL_CONNECT_FAIL; 52 pub(crate) const ERROR_FLAGS: u32 = afd::POLL_CONNECT_FAIL; [all …]
|
D | selector.rs | 1 use super::afd::{self, Afd, AfdPollInfo}; 77 let afd = Afd::new(&self.cp)?; localVariable 78 let arc = Arc::new(afd); 96 afd: Arc<Afd>, field 122 if (self.user_evts & afd::KNOWN_EVENTS & !self.pending_evts) == 0 { in update() 148 self.poll_info.handles[0].events = self.user_evts | afd::POLL_LOCAL_CLOSE; in update() 154 self.afd in update() 191 self.afd.cancel(&mut *self.iosb)?; in cancel() 212 afd_events = afd::POLL_CONNECT_FAIL; in feed_event() 215 } else if self.poll_info.handles[0].events & afd::POLL_LOCAL_CLOSE != 0 { in feed_event() [all …]
|
D | afd.rs | 221 let afd = Afd { fd }; localVariable 222 cp.add_handle(token, &afd.fd)?; 228 _ => Ok(afd),
|
D | mod.rs | 1 mod afd; module
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | ApkAssets.java | 27 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()
|
D | ContentUriUtils.java | 74 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/ |
D | cpio.c | 86 int pipe, afd = FLAG(o), reown = !geteuid() && !FLAG(no_preserve_owner), in cpio_main() local 114 afd = pipe; in cpio_main() 125 afd = xcreate(TT.F, perm, 0644); in cpio_main() 139 if (1>(len = readall(afd, toybuf+size, 110-size))) break; in cpio_main() 153 tofree = name = strpad(afd, x8u(toybuf+94), 110); in cpio_main() 210 if (size < sizeof(toybuf)) data = strpad(afd, size, 0); in cpio_main() 211 else xreadall(afd, toybuf, sizeof(toybuf)); in cpio_main() 226 data = S_ISLNK(mode) ? strpad(afd, size, 0) : 0; in cpio_main() 292 xwrite(afd, toybuf, llen); in cpio_main() 293 xwrite(afd, name, nlen); in cpio_main() [all …]
|
/external/cronet/base/android/java/src/org/chromium/base/ |
D | ApkAssets.java | 29 AssetFileDescriptor afd = null; in open() local 36 afd = manager.openNonAssetFd(fileName); in open() 37 return new long[] {afd.getParcelFileDescriptor().detachFd(), afd.getStartOffset(), in open() 38 afd.getLength()}; in open() 56 if (afd != null) { in open() 57 afd.close(); in open()
|
D | ContentUriUtils.java | 85 AssetFileDescriptor afd = getAssetFileDescriptor(uriString); in openContentUriForRead() local 86 if (afd != null) { in openContentUriForRead() 87 return afd.getParcelFileDescriptor().detachFd(); in openContentUriForRead() 148 AssetFileDescriptor afd = in getAssetFileDescriptor() local 150 if (afd != null && afd.getStartOffset() != 0) { in getAssetFileDescriptor() 154 afd.close(); in getAssetFileDescriptor() 160 return afd; in getAssetFileDescriptor()
|
/external/linux-kselftest/tools/testing/selftests/openat2/ |
D | rename_attack_test.c | 86 int dfd, afd; in test_rename_attack() local 102 afd = openat(dfd, "a", O_PATH); in test_rename_attack() 103 if (afd < 0) in test_rename_attack() 113 fd = sys_openat2(afd, victim_path, &how); in test_rename_attack() 115 fd = sys_openat(afd, victim_path, &how); in test_rename_attack() 127 if (fdequal(fd, afd, NULL)) in test_rename_attack()
|
/external/strace/tests-mx32/ |
D | recvfrom.c | 79 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-m32/ |
D | recvfrom.c | 79 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/ |
D | recvfrom.c | 79 int afd = accept(lfd, 0, 0); in main() local 80 if (afd < 0) in main() 85 test_sockname_syscall(afd); in main()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/transformer/src/androidTest/java/com/google/android/exoplayer2/transformer/ |
D | FrameEditorDataProcessingTest.java | 75 try (AssetFileDescriptor afd = in setUp() argument 77 mediaExtractor.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in setUp()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/transformer/src/androidTest/java/com/google/android/exoplayer2/transformer/ |
D | FrameProcessorChainPixelTest.java | 236 try (AssetFileDescriptor afd = context.getAssets().openFd(INPUT_MP4_ASSET_STRING)) { in setUpAndPrepareFirstFrame() argument 237 mediaExtractor.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in setUpAndPrepareFirstFrame()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowResourcesTest.java | 88 try (AssetFileDescriptor afd = resources.openRawResourceFd(R.raw.raw_resource)) { in openRawResourceFd_shouldReturnsNullForLegacyResource() argument 89 assertThat(afd).isNull(); in openRawResourceFd_shouldReturnsNullForLegacyResource() 96 try (AssetFileDescriptor afd = resources.openRawResourceFd(R.raw.raw_resource)) { in openRawResourceFd_shouldReturnsValidFdForUnCompressFile() argument 97 assertThat(afd).isNotNull(); in openRawResourceFd_shouldReturnsValidFdForUnCompressFile()
|
D | ShadowBitmapRegionDecoderTest.java | 35 try (AssetFileDescriptor afd = getImageFd()) { in testNewInstance() argument 36 assertThat(BitmapRegionDecoder.newInstance(afd.getFileDescriptor(), false)).isNotNull(); in testNewInstance()
|
/external/libtextclassifier/java/src/com/android/textclassifier/common/ |
D | ModelFile.java | 56 try (AssetFileDescriptor afd = new AssetFileDescriptor(pfd, 0, file.length())) { in createFromRegularFile() argument 58 file.getAbsolutePath(), modelType, afd, /* isAsset= */ false); in createFromRegularFile() 235 LangIdModel::getVersion, afd -> ModelFile.LANGUAGE_INDEPENDENT); in create()
|
/external/tcpdump/tests/ |
D | pgm_group_addr_asan.out | 1 …one], proto PGM (113), length 768, options (unknown 89 [bad length 232]), bad cksum 5959 (->5afd)!)
|
/external/libtextclassifier/java/src/com/android/textclassifier/ |
D | TextClassifierImpl.java | 525 try (AssetFileDescriptor afd = annotatorModelFile.open(context.getAssets())) { in loadAnnotatorModelFile() argument 526 annotatorImpl = new AnnotatorModel(afd); in loadAnnotatorModelFile() 554 try (AssetFileDescriptor afd = bestModel.open(context.getAssets())) { in getLangIdImpl() argument 555 langIdImpl = new LangIdModel(afd); in getLangIdImpl() 574 try (AssetFileDescriptor afd = bestModel.open(context.getAssets())) { in getActionsImpl() argument 575 actionsImpl = new ActionsSuggestionsModel(afd); in getActionsImpl()
|
/external/arm-optimized-routines/pl/math/test/testcases/directed/ |
D | log10f.tst | 50 func=log10f op1=3f832a20 result=3c2dc6e9.afd error=0
|
/external/webrtc/rtc_base/ |
D | physical_socket_server.cc | 1027 std::array<int, 2> afd = {-1, -1}; in Signaler() local 1029 if (pipe(afd.data()) < 0) { in Signaler() 1032 return afd; in Signaler()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowContentResolverTest.java | 754 …AssetFileDescriptor afd = contentResolver.openTypedAssetFileDescriptor(Uri.parse("content://" + AU… in openTypedAssetFileDescriptor_shouldOpenDescriptor() local 756 FileDescriptor descriptor = afd.getFileDescriptor(); in openTypedAssetFileDescriptor_shouldOpenDescriptor()
|
/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/content/res/ |
D | CopiedResourcesTest.java | 662 try (AssetFileDescriptor afd = resources.openRawResourceFd(R.raw.raw_resource)) { in openRawResourceFd_withNonCompressedFile_returnsNotNull() argument 663 assertThat(afd).isNotNull(); in openRawResourceFd_withNonCompressedFile_returnsNotNull()
|
D | ResourcesTest.java | 661 try (AssetFileDescriptor afd = resources.openRawResourceFd(R.raw.raw_resource)) { in openRawResourceFd_withNonCompressedFile_returnsNotNull() argument 662 assertThat(afd).isNotNull(); in openRawResourceFd_withNonCompressedFile_returnsNotNull()
|