/external/kotlinx.atomicfu/atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/ |
D | FlowAnalyzer.kt | 25 private fun push(n: Int, forward: Boolean) { in abort() 26 if (!forward && abs(depth) < n) unsupported() in abort() 30 private fun pop(n: Int, forward: Boolean) { in pop() 31 if (forward && depth < n) unsupported() in pop() 85 private fun executeOne(i: AbstractInsnNode, forward: Boolean = true): AbstractInsnNode? { in executeOne() 91 popDesc(i.desc, forward) in executeOne() 93 if (i.opcode != INVOKESTATIC) pop(1, forward) in executeOne() 94 pushDesc(i.desc, forward) in executeOne() 97 GETSTATIC -> pushDesc(i.desc, forward) in executeOne() 98 PUTSTATIC -> popDesc(i.desc, forward) in executeOne() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/utility/forward/ |
D | forward.pass.cpp | 31 return std::forward<int&>(x) == 42 in test_constexpr_forward() 32 && std::forward<int>(x) == 42 in test_constexpr_forward() 33 && std::forward<const int&>(x) == 42 in test_constexpr_forward() 34 && std::forward<const int>(x) == 42 in test_constexpr_forward() 35 && std::forward<int&&>(x) == 42 in test_constexpr_forward() 36 && std::forward<const int&&>(x) == 42 in test_constexpr_forward() 37 && std::forward<const int&>(cx) == 101 in test_constexpr_forward() 38 && std::forward<const int>(cx) == 101; in test_constexpr_forward() 50 static_assert(std::is_same<decltype(std::forward<A&>(a)), A&>::value, ""); in main() 51 static_assert(std::is_same<decltype(std::forward<A>(a)), A&&>::value, ""); in main() [all …]
|
/external/libcxx/test/std/utilities/utility/forward/ |
D | forward.pass.cpp | 32 return std::forward<int&>(x) == 42 in test_constexpr_forward() 33 && std::forward<int>(x) == 42 in test_constexpr_forward() 34 && std::forward<const int&>(x) == 42 in test_constexpr_forward() 35 && std::forward<const int>(x) == 42 in test_constexpr_forward() 36 && std::forward<int&&>(x) == 42 in test_constexpr_forward() 37 && std::forward<const int&&>(x) == 42 in test_constexpr_forward() 38 && std::forward<const int&>(cx) == 101 in test_constexpr_forward() 39 && std::forward<const int>(cx) == 101; in test_constexpr_forward() 53 static_assert(std::is_same<decltype(std::forward<A&>(a)), A&>::value, ""); in main() 54 static_assert(std::is_same<decltype(std::forward<A>(a)), A&&>::value, ""); in main() [all …]
|
D | forward_03.pass.cpp | 41 static_assert(sizeof(test(std::forward<A&>(a))) == 1, ""); in main() 42 static_assert(sizeof(test(std::forward<A>(a))) == 1, ""); in main() 48 static_assert(sizeof(test(std::forward<const A&>(a))) == 2, ""); in main() 49 static_assert(sizeof(test(std::forward<const A&>(source()))) == 2, ""); in main() 50 static_assert(sizeof(test(std::forward<const A>(a))) == 2, ""); in main() 51 static_assert(sizeof(test(std::forward<const A>(source()))) == 2, ""); in main() 53 static_assert(sizeof(test(std::forward<const A&>(ca))) == 2, ""); in main() 54 static_assert(sizeof(test(std::forward<const A&>(csource()))) == 2, ""); in main() 55 static_assert(sizeof(test(std::forward<const A>(ca))) == 2, ""); in main() 56 static_assert(sizeof(test(std::forward<const A>(csource()))) == 2, ""); in main()
|
/external/libcxx/test/support/ |
D | is_transparent.h | 22 noexcept(noexcept(std::forward<T>(t) < std::forward<U>(u))) 23 -> decltype (std::forward<T>(t) < std::forward<U>(u)) 24 { return std::forward<T>(t) < std::forward<U>(u); } 32 noexcept(noexcept(std::forward<T>(t) < std::forward<U>(u))) 33 -> decltype (std::forward<T>(t) < std::forward<U>(u)) 34 { return std::forward<T>(t) < std::forward<U>(u); } 42 noexcept(noexcept(std::forward<T>(t) < std::forward<U>(u))) 43 -> decltype (std::forward<T>(t) < std::forward<U>(u)) 44 { return std::forward<T>(t) < std::forward<U>(u); } 53 noexcept(noexcept(std::forward<T>(t) < std::forward<U>(u))) [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | ir_builder_mixin.h | 39 return mixin_builder()->CreateAdd(std::forward<Args>(args)...); in Add() 44 return mixin_builder()->CreateAlignedLoad(std::forward<Args>(args)...); in AlignedLoad() 49 return mixin_builder()->CreateAlignedStore(std::forward<Args>(args)...); in AlignedStore() 54 return mixin_builder()->CreateAlloca(std::forward<Args>(args)...); in Alloca() 59 return mixin_builder()->CreateAnd(std::forward<Args>(args)...); in And() 64 return mixin_builder()->CreateAtomicCmpXchg(std::forward<Args>(args)...); in AtomicCmpXchg() 69 return mixin_builder()->CreateAtomicRMW(std::forward<Args>(args)...); in AtomicRMW() 74 return mixin_builder()->CreateBitCast(std::forward<Args>(args)...); in BitCast() 79 return mixin_builder()->CreateBr(std::forward<Args>(args)...); in Br() 99 return mixin_builder()->CreateCondBr(std::forward<Args>(args)...); in CondBr() [all …]
|
/external/llvm-project/libcxx/test/support/ |
D | is_transparent.h | 23 noexcept(noexcept(std::forward<T>(t) < std::forward<U>(u))) 24 -> decltype (std::forward<T>(t) < std::forward<U>(u)) 25 { return std::forward<T>(t) < std::forward<U>(u); } 33 noexcept(noexcept(std::forward<T>(t) < std::forward<U>(u))) 34 -> decltype (std::forward<T>(t) < std::forward<U>(u)) 35 { return std::forward<T>(t) < std::forward<U>(u); } 43 noexcept(noexcept(std::forward<T>(t) < std::forward<U>(u))) 44 -> decltype (std::forward<T>(t) < std::forward<U>(u)) 45 { return std::forward<T>(t) < std::forward<U>(u); } 54 noexcept(noexcept(std::forward<T>(t) < std::forward<U>(u))) [all …]
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/ |
D | rx-observable.hpp | 53 rxu::decay_t<SO> so = std::forward<SO>(source); in construct() 62 state->on_subscribe = std::forward<F>(f); in construct() 77 construct(std::forward<SOF>(sof), in dynamic_observable() 103 return observable<T>(dynamic_observable<T>(std::forward<Source>(s))); in make_observable_dynamic() 119 return observable_type(type(std::forward<AN>(an)...)); in make() 141 return observable_type(type(std::forward<AN>(an)...)); in make() 178 auto dest = make_subscriber<T>(std::forward<ArgN>(an)...); in blocking_subscribe() 244 return blocking_subscribe(source, false, std::forward<ArgN>(an)...); in subscribe() 269 return blocking_subscribe(source, true, std::forward<ArgN>(an)...); in subscribe_with_rethrow() 586 … -> decltype(observable_member(ref_count_tag{}, *(this_type*)nullptr, std::forward<AN>(an)...)) in ref_count() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | DescendingImmutableSortedSet.java | 29 private final ImmutableSortedSet<E> forward; field in DescendingImmutableSortedSet 31 DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) { in DescendingImmutableSortedSet() argument 32 super(Ordering.from(forward.comparator()).reverse()); in DescendingImmutableSortedSet() 33 this.forward = forward; in DescendingImmutableSortedSet() 38 return forward.contains(object); in contains() 43 return forward.size(); in size() 48 return forward.descendingIterator(); in iterator() 53 return forward.tailSet(toElement, inclusive).descendingSet(); in headSetImpl() 59 return forward.subSet(toElement, toInclusive, fromElement, fromInclusive).descendingSet(); in subSetImpl() 64 return forward.headSet(fromElement, inclusive).descendingSet(); in tailSetImpl() [all …]
|
D | DescendingImmutableSortedMultiset.java | 28 private final transient ImmutableSortedMultiset<E> forward; field in DescendingImmutableSortedMultiset 30 DescendingImmutableSortedMultiset(ImmutableSortedMultiset<E> forward) { in DescendingImmutableSortedMultiset() argument 31 this.forward = forward; in DescendingImmutableSortedMultiset() 36 return forward.count(element); in count() 41 return forward.lastEntry(); in firstEntry() 46 return forward.firstEntry(); in lastEntry() 51 return forward.size(); in size() 56 return forward.elementSet().descendingSet(); in elementSet() 61 return forward.entrySet().asList().reverse().get(index); in getEntry() 66 return forward; in descendingMultiset() [all …]
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | DescendingImmutableSortedSet.java | 29 private final ImmutableSortedSet<E> forward; field in DescendingImmutableSortedSet 31 DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) { in DescendingImmutableSortedSet() argument 32 super(Ordering.from(forward.comparator()).reverse()); in DescendingImmutableSortedSet() 33 this.forward = forward; in DescendingImmutableSortedSet() 38 return forward.contains(object); in contains() 43 return forward.size(); in size() 48 return forward.descendingIterator(); in iterator() 53 return forward.tailSet(toElement, inclusive).descendingSet(); in headSetImpl() 59 return forward.subSet(toElement, toInclusive, fromElement, fromInclusive).descendingSet(); in subSetImpl() 64 return forward.headSet(fromElement, inclusive).descendingSet(); in tailSetImpl() [all …]
|
D | DescendingImmutableSortedMultiset.java | 28 private final transient ImmutableSortedMultiset<E> forward; field in DescendingImmutableSortedMultiset 30 DescendingImmutableSortedMultiset(ImmutableSortedMultiset<E> forward) { in DescendingImmutableSortedMultiset() argument 31 this.forward = forward; in DescendingImmutableSortedMultiset() 36 return forward.count(element); in count() 41 return forward.lastEntry(); in firstEntry() 46 return forward.firstEntry(); in lastEntry() 51 return forward.size(); in size() 56 return forward.elementSet().descendingSet(); in elementSet() 61 return forward.entrySet().asList().reverse().get(index); in getEntry() 66 return forward; in descendingMultiset() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/reader/ |
D | ReaderBomTest.java | 35 reader.forward(1); in testReader() 37 reader.forward(1); in testReader() 39 reader.forward(1); in testReader() 41 reader.forward(1); in testReader() 52 reader.forward(1); in testNoBom() 54 reader.forward(1); in testNoBom() 56 reader.forward(1); in testNoBom() 58 reader.forward(1); in testNoBom() 69 reader.forward(1); in testUtf8Bom() 71 reader.forward(1); in testUtf8Bom() [all …]
|
/external/llvm-project/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
D | construct_types.pass.cpp | 42 A.construct(ptr, std::forward<Args>(args)...); in construct() 57 TH.construct(std::forward<Args>(args)...); in doTest() 68 TH.construct(std::forward<Args>(args)...); in doTestUsesAllocV0() 79 TH.construct(std::allocator_arg, ealloc, std::forward<Args>(args)...); in doTestUsesAllocV1() 89 TH.construct(std::forward<Args>(args)..., ealloc); in doTestUsesAllocV2() 105 assert(doTestUsesAllocV0<T>(std::forward<Args>(args)...)); in test_pmr_uses_alloc() 106 assert((doTestUsesAllocV1<T>(M, std::forward<Args>(args)...))); in test_pmr_uses_alloc() 107 assert((doTestUsesAllocV2<T>(M, std::forward<Args>(args)...))); in test_pmr_uses_alloc() 112 assert((doTest<T>(UA_AllocArg, std::forward<Args>(args)...))); in test_pmr_uses_alloc() 117 assert((doTest<T>(UA_AllocLast, std::forward<Args>(args)...))); in test_pmr_uses_alloc() [all …]
|
D | construct_pair_values.pass.cpp | 46 A.construct(ptr, std::forward<TT>(t), std::forward<UU>(u)); in doTest() 48 std::forward_as_tuple(std::forward<TT>(t)), in doTest() 49 std::forward_as_tuple(std::forward<UU>(u))); in doTest() 72 std::forward<TT>(t), std::forward<UU>(u)))); in test_pmr_uses_allocator() 78 std::forward<TT>(t), std::forward<UU>(u)))); in test_pmr_uses_allocator() 84 std::forward<TT>(t), std::forward<UU>(u)))); in test_pmr_uses_allocator() 90 std::forward<TT>(t), std::forward<UU>(u)))); in test_pmr_uses_allocator() 101 std::forward<TT>(t), std::forward<UU>(u)))); in test_pmr_not_uses_allocator() 107 std::forward<TT>(t), std::forward<UU>(u)))); in test_pmr_not_uses_allocator() 113 std::forward<TT>(t), std::forward<UU>(u)))); in test_pmr_not_uses_allocator() [all …]
|
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
D | construct_types.pass.cpp | 44 A.construct(ptr, std::forward<Args>(args)...); in construct() 59 TH.construct(std::forward<Args>(args)...); in doTest() 70 TH.construct(std::forward<Args>(args)...); in doTestUsesAllocV0() 81 TH.construct(std::allocator_arg, ealloc, std::forward<Args>(args)...); in doTestUsesAllocV1() 91 TH.construct(std::forward<Args>(args)..., ealloc); in doTestUsesAllocV2() 107 assert(doTestUsesAllocV0<T>(std::forward<Args>(args)...)); in test_pmr_uses_alloc() 108 assert((doTestUsesAllocV1<T>(M, std::forward<Args>(args)...))); in test_pmr_uses_alloc() 109 assert((doTestUsesAllocV2<T>(M, std::forward<Args>(args)...))); in test_pmr_uses_alloc() 114 assert((doTest<T>(UA_AllocArg, std::forward<Args>(args)...))); in test_pmr_uses_alloc() 119 assert((doTest<T>(UA_AllocLast, std::forward<Args>(args)...))); in test_pmr_uses_alloc() [all …]
|
D | construct_pair_values.pass.cpp | 48 A.construct(ptr, std::forward<TT>(t), std::forward<UU>(u)); in doTest() 50 std::forward_as_tuple(std::forward<TT>(t)), in doTest() 51 std::forward_as_tuple(std::forward<UU>(u))); in doTest() 74 std::forward<TT>(t), std::forward<UU>(u)))); in test_pmr_uses_allocator() 80 std::forward<TT>(t), std::forward<UU>(u)))); in test_pmr_uses_allocator() 86 std::forward<TT>(t), std::forward<UU>(u)))); in test_pmr_uses_allocator() 92 std::forward<TT>(t), std::forward<UU>(u)))); in test_pmr_uses_allocator() 103 std::forward<TT>(t), std::forward<UU>(u)))); in test_pmr_not_uses_allocator() 109 std::forward<TT>(t), std::forward<UU>(u)))); in test_pmr_not_uses_allocator() 115 std::forward<TT>(t), std::forward<UU>(u)))); in test_pmr_not_uses_allocator() [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | NonTrivialTypeVisitor.h | 24 std::forward<Ts>(Args)...); in visit() 32 return asDerived().visitARCStrong(FT, std::forward<Ts>(Args)...); in visitWithKind() 34 return asDerived().visitStruct(FT, std::forward<Ts>(Args)...); in visitWithKind() 36 return asDerived().visitTrivial(FT, std::forward<Ts>(Args)...); in visitWithKind() 38 return asDerived().visitCXXDestructor(FT, std::forward<Ts>(Args)...); in visitWithKind() 40 return asDerived().visitARCWeak(FT, std::forward<Ts>(Args)...); in visitWithKind() 54 std::forward<Ts>(Args)...); in visit() 62 return asDerived().visitARCStrong(FT, std::forward<Ts>(Args)...); in visitWithKind() 64 return asDerived().visitARCWeak(FT, std::forward<Ts>(Args)...); in visitWithKind() 66 return asDerived().visitStruct(FT, std::forward<Ts>(Args)...); in visitWithKind() [all …]
|
/external/libdrm/ |
D | xf86drmSL.c | 62 struct SLEntry *forward[1]; /* variable sized array */ member 80 + (max_level + 1) * sizeof(entry->forward[0])); in SLCreateEntry() 113 for (i = 0; i <= SL_MAX_LEVEL; i++) list->head->forward[i] = NULL; in drmSLCreate() 128 next = entry->forward[0]; in drmSLDestroy() 147 while (entry->forward[i] && entry->forward[i]->key < key) in SLLocate() 148 entry = entry->forward[i]; in SLLocate() 152 return entry->forward[0]; in SLLocate() 180 entry->forward[i] = update[i]->forward[i]; in drmSLInsert() 181 update[i]->forward[i] = entry; in drmSLInsert() 203 if (update[i]->forward[i] == entry) in drmSLDelete() [all …]
|
/external/tensorflow/tensorflow/core/lib/gtl/subtle/ |
D | map_traits.h | 36 auto GetKey(V&& v, Rank0) -> decltype((std::forward<V>(v).first)) { 37 return std::forward<V>(v).first; 40 auto GetKey(V&& v, Rank1) -> decltype(std::forward<V>(v).key()) { 41 return std::forward<V>(v).key(); 45 auto GetMapped(V&& v, Rank0) -> decltype((std::forward<V>(v).second)) { 46 return std::forward<V>(v).second; 49 auto GetMapped(V&& v, Rank1) -> decltype(std::forward<V>(v).value()) { 50 return std::forward<V>(v).value(); 58 -> decltype(internal_map_traits::GetKey(std::forward<V>(v), 60 return internal_map_traits::GetKey(std::forward<V>(v), [all …]
|
/external/guava/android/guava-tests/test/com/google/common/cache/ |
D | ForwardingLoadingCacheTest.java | 34 private LoadingCache<String, Boolean> forward; field in ForwardingLoadingCacheTest 47 forward = in setUp() 58 assertSame(Boolean.TRUE, forward.get("key")); in testGet() 63 assertSame(Boolean.TRUE, forward.getUnchecked("key")); in testGetUnchecked() 68 assertEquals(ImmutableMap.of("key", Boolean.TRUE), forward.getAll(ImmutableList.of("key"))); in testGetAll() 73 assertSame(Boolean.TRUE, forward.apply("key")); in testApply() 77 forward.invalidate("key"); in testInvalidate() 82 forward.refresh("key"); in testRefresh() 87 forward.invalidateAll(); in testInvalidateAll() 93 forward.size(); in testSize() [all …]
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | ForwardingLoadingCacheTest.java | 34 private LoadingCache<String, Boolean> forward; field in ForwardingLoadingCacheTest 47 forward = in setUp() 58 assertSame(Boolean.TRUE, forward.get("key")); in testGet() 63 assertSame(Boolean.TRUE, forward.getUnchecked("key")); in testGetUnchecked() 68 assertEquals(ImmutableMap.of("key", Boolean.TRUE), forward.getAll(ImmutableList.of("key"))); in testGetAll() 73 assertSame(Boolean.TRUE, forward.apply("key")); in testApply() 77 forward.invalidate("key"); in testInvalidate() 82 forward.refresh("key"); in testRefresh() 87 forward.invalidateAll(); in testInvalidateAll() 93 forward.size(); in testSize() [all …]
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ForwardingClientStreamTest.java | 43 private ForwardingClientStream forward = new ForwardingClientStream() { field in ForwardingClientStreamTest 55 forward, in allMethodsForwarded() 61 forward.request(1234); in requestTest() 68 forward.writeMessage(is); in writeMessageTest() 75 assertEquals(true, forward.isReady()); in isReadyTest() 81 forward.setCompressor(compressor); in setCompressorTest() 87 forward.setMessageCompression(true); in setMessageCompressionTest() 94 forward.cancel(reason); in cancelTest() 101 forward.setAuthority(authority); in setAuthorityTest() 107 forward.setFullStreamDecompression(true); in setFullStreamDecompressionTest() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/ |
D | compile_test.cc | 247 std::string* forward, std::string* reverse) { in Dump() argument 251 if (forward != NULL) { in Dump() 254 *forward = prog->Dump(); in Dump() 272 std::string forward, reverse; in TEST() local 274 Dump("[\\x{10000}\\x{10010}]", Regexp::LikePerl, &forward, &reverse); in TEST() 281 forward); in TEST() 290 Dump("[\\x{8000}-\\x{10FFF}]", Regexp::LikePerl, &forward, &reverse); in TEST() 297 forward); in TEST() 306 Dump("[\\x{80}-\\x{10FFFF}]", Regexp::LikePerl, &forward, &reverse); in TEST() 314 forward); in TEST() [all …]
|
/external/python/cpython2/Demo/turtle/ |
D | tdemo_bytedesign.py | 36 self.forward(64.65 * scale) 45 self.forward(24.5 * scale) 63 self.forward(28 * scale) 89 self.forward(29 * scale) 92 self.forward(18 * scale) 98 self.forward(29 * scale) 101 self.forward(18 * scale) 112 self.forward(side) 118 self.forward(side) 124 self.forward(side) [all …]
|