Home
last modified time | relevance | path

Searched refs:Selected (Results 1 – 25 of 255) sorted by relevance

1234567891011

/external/rust/crates/crossbeam-channel/src/
Dcontext.rs11 use crate::select::Selected;
71 select: AtomicUsize::new(Selected::Waiting.into()), in new()
84 .store(Selected::Waiting.into(), Ordering::Release); in reset()
92 pub fn try_select(&self, select: Selected) -> Result<(), Selected> { in try_select() argument
96 Selected::Waiting.into(), in try_select()
107 pub fn selected(&self) -> Selected { in selected() argument
108 Selected::from(self.inner.select.load(Ordering::Acquire)) in selected()
138 pub fn wait_until(&self, deadline: Option<Instant>) -> Selected { in wait_until() argument
142 let sel = Selected::from(self.inner.select.load(Ordering::Acquire)); in wait_until()
143 if sel != Selected::Waiting { in wait_until()
[all …]
Dselect.rs54 pub enum Selected { enum
68 impl From<usize> for Selected { implementation
70 fn from(val: usize) -> Selected { in from() argument
72 0 => Selected::Waiting, in from()
73 1 => Selected::Aborted, in from()
74 2 => Selected::Disconnected, in from()
75 oper => Selected::Operation(Operation(oper)), in from()
80 impl Into<usize> for Selected { implementation
84 Selected::Waiting => 0, in into()
85 Selected::Aborted => 1, in into()
[all …]
Dwaker.rs7 use crate::select::{Operation, Selected};
88 let sel = Selected::Operation(self.selectors[i].oper); in try_select()
118 entry.cx.thread_id() != thread_id && entry.cx.selected() == Selected::Waiting in can_select()
143 if entry.cx.try_select(Selected::Operation(entry.oper)).is_ok() { in notify()
153 if entry.cx.try_select(Selected::Disconnected).is_ok() { in disconnect()
/external/llvm-project/lld/test/COFF/
Dicf-safe.s7 # CHECK-NOT: Selected
8 # CHECK: Selected g3
11 # CHECK-NOT: Selected
13 # EXPORT-NOT: Selected
Dicf-executable.s5 # CHECK: Selected internal
Dicf-circular2.test6 # CHECK: Selected foo
Dicf-different-align.test7 # CHECK: Selected foo
Dicf-circular.test6 # CHECK: Selected foo
Dicf-associative.test6 # CHECK: Selected foo
/external/llvm-project/clang/lib/Tooling/Refactoring/
DASTSelection.cpp391 SelectedNodeWithParents &Selected = ContainSelection[0]; in create() local
392 if (!Selected.Node.get().Node.get<Stmt>()) in create()
394 const Stmt *CodeRangeStmt = Selected.Node.get().Node.get<Stmt>(); in create()
396 Selected.canonicalize(); in create()
397 return CodeRangeASTSelection(Selected.Node, Selected.Parents, in create()
408 Selected.Parents.push_back(Selected.Node); in create()
409 return CodeRangeASTSelection(Selected.Node, Selected.Parents, in create()
/external/rust/crates/crossbeam-channel/src/flavors/
Darray.rs27 use crate::select::{Operation, SelectHandle, Selected, Token};
376 let _ = cx.try_select(Selected::Aborted); in send()
383 Selected::Waiting => unreachable!(), in send()
384 Selected::Aborted | Selected::Disconnected => { in send()
387 Selected::Operation(_) => {} in send()
436 let _ = cx.try_select(Selected::Aborted); in recv()
443 Selected::Waiting => unreachable!(), in recv()
444 Selected::Aborted | Selected::Disconnected => { in recv()
449 Selected::Operation(_) => {} in recv()
Dzero.rs14 use crate::select::{Operation, SelectHandle, Selected, Token};
238 Selected::Waiting => unreachable!(), in send()
239 Selected::Aborted => { in send()
244 Selected::Disconnected => { in send()
249 Selected::Operation(_) => { in send()
307 Selected::Waiting => unreachable!(), in recv()
308 Selected::Aborted => { in recv()
312 Selected::Disconnected => { in recv()
316 Selected::Operation(_) => { in recv()
Dlist.rs14 use crate::select::{Operation, SelectHandle, Selected, Token};
469 let _ = cx.try_select(Selected::Aborted); in recv()
476 Selected::Waiting => unreachable!(), in recv()
477 Selected::Aborted | Selected::Disconnected => { in recv()
482 Selected::Operation(_) => {} in recv()
/external/llvm-project/clang-tools-extra/clangd/
DSelection.cpp246 S.Selected = SelectionTree::Complete; in SelectionTester()
248 S.Selected = SelectionTree::Partial; in SelectionTester()
363 update(Result, It->Selected); in testTokenRange()
377 return It->Selected; in testToken()
383 SelectionTree::Selection Selected; member
562 Nodes.back().Selected = SelectionTree::Unselected; in SelectionVisitor()
656 Nodes.back().Selected = NoTokens; in push()
658 claimRange(Early, Nodes.back().Selected); in push()
666 claimRange(N.ASTNode.getSourceRange(), N.Selected); in pop()
667 if (N.Selected == NoTokens) in pop()
[all …]
DSelection.h130 Selection Selected; member
/external/llvm-project/llvm/test/MachineVerifier/
Dverify-selected.mir25 ; CHECK: *** Bad machine code: Unexpected generic instruction in a Selected function ***
29 ; CHECK: *** Bad machine code: Generic virtual register invalid in a Selected function ***
/external/llvm-project/clang-tools-extra/clangd/unittests/
DSelectionTests.cpp83 if (Root.Selected) in verifyCommonAncestor()
508 TEST(SelectionTest, Selected) { in TEST() argument
545 if (N->Selected == SelectionTree::Complete) in TEST()
547 else if (N->Selected == SelectionTree::Partial) in TEST()
601 EXPECT_TRUE(T.commonAncestor()->Selected); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DInstructionSelect.h43 MachineFunctionProperties::Property::Selected); in getSetProperties()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DInstructionSelect.h43 MachineFunctionProperties::Property::Selected); in getSetProperties()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DExtractFunction.cpp101 if (N->Selected == SelectionTree::Partial) in isRootStmt()
105 if (N->Selected == SelectionTree::Unselected && !N->ASTNode.get<DeclStmt>()) in isRootStmt()
124 switch (CommonAnc->Selected) { in getParentOfRootStmts()
/external/deqp/doc/testspecs/GLES3/
Dfunctional.texture.specification.txt26 - Selected texture formats
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64PostSelectOptimize.cpp166 MachineFunctionProperties::Property::Selected) && in runOnMachineFunction()
/external/linux-kselftest/tools/testing/selftests/rcutorture/doc/
DTREE_RCU-kconfig.txt77 Selected by CONFIG_RCU_TORTURE_TEST, so cannot disable.
/external/llvm/test/CodeGen/AMDGPU/
Dctlz_zero_undef.ll206 ; Selected on wrong constant
222 ; Selected on wrong constant
254 ; Selected on wrong constant
/external/ukey2/src/main/proto/
Dukey.proto97 // Selected Cipher and corresponding public key

1234567891011