Home
last modified time | relevance | path

Searched refs:any (Results 1 – 25 of 5083) sorted by relevance

12345678910>>...204

/external/r8/src/test/java/com/android/tools/r8/
DJctfTestSpecifications.java11 import static com.android.tools.r8.TestCondition.any;
34 .put("math.BigInteger.nextProbablePrime.BigInteger_nextProbablePrime_A02", any())
38 .put("math.BigInteger.ConstructorLjava_lang_String.BigInteger_Constructor_A02", any())
47 .put("lang.StringBuffer.serialization.StringBuffer_serialization_A01", any())
55 any())
62 any())
78 .put("lang.StrictMath.atan2DD.StrictMath_atan2_A01", any())
82 .put("lang.Thread.stop.Thread_stop_A05", any())
88 .put("lang.Thread.resume.Thread_resume_A02", any())
94 .put("lang.Thread.suspend.Thread_suspend_A02", any())
[all …]
/external/libcxx/include/experimental/
Dany2 //===------------------------------ any -----------------------------------===//
15 experimental/any synopsis
27 class any
31 // 6.3.1 any construct/destruct
32 any() noexcept;
34 any(const any& other);
35 any(any&& other) noexcept;
38 any(ValueType&& value);
40 ~any();
42 // 6.3.2 any assignments
[all …]
/external/llvm/bindings/ocaml/transforms/scalar_opts/
Dllvm_scalar_opts.ml11 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
14 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
17 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
20 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
23 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
26 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
29 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
32 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
35 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
38 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
[all …]
Dllvm_scalar_opts.mli17 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
22 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
27 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
32 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
37 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
42 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
47 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
52 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
57 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
62 : [< Llvm.PassManager.any ] Llvm.PassManager.t -> unit
[all …]
/external/guice/core/test/com/google/inject/matcher/
DMatcherTest.java22 import static com.google.inject.matcher.Matchers.any;
49 assertTrue(any().matches(null)); in testAny()
50 assertEquals("any()", any().toString()); in testAny()
51 assertEqualsBothWays(any(), any()); in testAny()
52 assertFalse(any().equals(not(any()))); in testAny()
56 assertFalse(not(any()).matches(null)); in testNot()
57 assertEquals("not(any())", not(any()).toString()); in testNot()
58 assertEqualsBothWays(not(any()), not(any())); in testNot()
59 assertFalse(not(any()).equals(any())); in testNot()
63 assertTrue(any().and(any()).matches(null)); in testAnd()
[all …]
/external/libcxx/include/
Dany2 //===------------------------------ any -----------------------------------===//
15 any synopsis
25 class any
29 // 6.3.1 any construct/destruct
30 any() noexcept;
32 any(const any& other);
33 any(any&& other) noexcept;
36 any(ValueType&& value);
38 ~any();
40 // 6.3.2 any assignments
[all …]
/external/llvm/test/MC/Mips/
Dmodule-directive-bad.s6 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
10 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
14 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
18 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
22 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
26 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
30 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
34 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
38 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
42 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
[all …]
/external/swiftshader/third_party/LLVM/bindings/ocaml/transforms/scalar/
Dllvm_scalar_opts.ml10 external add_constant_propagation : [<Llvm.PassManager.any] Llvm.PassManager.t
13 external add_sccp : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
15 external add_dead_store_elimination : [<Llvm.PassManager.any] Llvm.PassManager.t
18 external add_aggressive_dce : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
21 add_scalar_repl_aggregation : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
25 add_scalar_repl_aggregation_ssa : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
29 add_scalar_repl_aggregation_with_threshold : int -> [<Llvm.PassManager.any] Llvm.PassManager.t
32 external add_ind_var_simplification : [<Llvm.PassManager.any] Llvm.PassManager.t
36 add_instruction_combination : [<Llvm.PassManager.any] Llvm.PassManager.t
39 external add_licm : [<Llvm.PassManager.any] Llvm.PassManager.t
[all …]
Dllvm_scalar_opts.mli16 external add_constant_propagation : [<Llvm.PassManager.any] Llvm.PassManager.t
21 external add_sccp : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
25 external add_dead_store_elimination : [<Llvm.PassManager.any] Llvm.PassManager.t
30 external add_aggressive_dce : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
35 add_scalar_repl_aggregation : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
40 add_scalar_repl_aggregation_ssa : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
45 add_scalar_repl_aggregation_with_threshold : int -> [<Llvm.PassManager.any] Llvm.PassManager.t
50 external add_ind_var_simplification : [<Llvm.PassManager.any] Llvm.PassManager.t
56 add_instruction_combination : [<Llvm.PassManager.any] Llvm.PassManager.t
61 external add_licm : [<Llvm.PassManager.any] Llvm.PassManager.t
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DAnyTest.cs44 var any = Any.Pack(message); in Pack()
45 Assert.AreEqual("type.googleapis.com/protobuf_unittest.TestAllTypes", any.TypeUrl); in Pack()
46 Assert.AreEqual(message.CalculateSize(), any.Value.Length); in Pack()
53 var any = Any.Pack(message, "foo.bar/baz"); in Pack_WithCustomPrefix()
54 Assert.AreEqual("foo.bar/baz/protobuf_unittest.TestAllTypes", any.TypeUrl); in Pack_WithCustomPrefix()
55 Assert.AreEqual(message.CalculateSize(), any.Value.Length); in Pack_WithCustomPrefix()
62 var any = Any.Pack(message, "foo.bar/baz/"); in Pack_WithCustomPrefixTrailingSlash()
63 Assert.AreEqual("foo.bar/baz/protobuf_unittest.TestAllTypes", any.TypeUrl); in Pack_WithCustomPrefixTrailingSlash()
64 Assert.AreEqual(message.CalculateSize(), any.Value.Length); in Pack_WithCustomPrefixTrailingSlash()
71 var any = Any.Pack(message); in Unpack_WrongType()
[all …]
/external/libcxx/test/std/utilities/any/any.class/any.cons/
Din_place_type.pass.cpp33 using std::any;
43 any a(std::in_place_type<Type>); in test_in_place_type()
53 any a(std::in_place_type<Type&>); in test_in_place_type()
63 any a(std::in_place_type<Type>, 101); in test_in_place_type()
73 any a(std::in_place_type<Type>, -1, 42, -1); in test_in_place_type()
89 any a(std::in_place_type<Type>); in test_in_place_type_tracked()
93 any a(std::in_place_type<Type>, -1, 42, -1); in test_in_place_type_tracked()
98 any a(std::in_place_type<Type>, {-1, 42, -1}); in test_in_place_type_tracked()
103 any a(std::in_place_type<Type&>, {-1, 42, -1}, x); in test_in_place_type_tracked()
114 any a(std::in_place_type<Type>, test_func); in test_in_place_type_decayed()
[all …]
Dvalue.pass.cpp30 using std::any;
42 any const a2(t); in test_copy_value_throws()
64 any const a(std::move(v)); in test_move_value_throws()
87 any a(t); in test_copy_move_value()
100 any a(std::move(t)); in test_copy_move_value()
117 std::any a(t); in test_sfinae_constraints()
121 std::any a(std::move(t)); in test_sfinae_constraints()
125 std::any a(ot); in test_sfinae_constraints()
131 static_assert(!std::is_constructible<std::any, T>::value, ""); in test_sfinae_constraints()
141 static_assert(!std::is_constructible<std::any, NoCopy>::value, ""); in test_sfinae_constraints()
[all …]
/external/libcxx/test/std/experimental/any/any.class/any.assign/
Dcopy.pass.cpp25 using std::experimental::any;
35 any lhs(LHS(1)); in test_copy_assign()
36 any const rhs(RHS(2)); in test_copy_assign()
60 any lhs; in test_copy_assign_empty()
61 any const rhs(LHS(42)); in test_copy_assign_empty()
77 any lhs(LHS(1)); in test_copy_assign_empty()
78 any const rhs; in test_copy_assign_empty()
97 any a; in test_copy_assign_self()
105 any a((small(1))); in test_copy_assign_self()
118 any a(large(1)); in test_copy_assign_self()
[all …]
Dmove.pass.cpp24 using std::experimental::any;
33 any a(s1); in test_move_assign()
35 any a2(s2); in test_move_assign()
56 any a; in test_move_assign_empty()
57 any a2((LHS(1))); in test_move_assign_empty()
70 any a((LHS(1))); in test_move_assign_empty()
71 any a2; in test_move_assign_empty()
86 any a1; in test_move_assign_noexcept()
87 any a2; in test_move_assign_noexcept()
/external/libcxx/test/std/utilities/any/any.class/any.assign/
Dcopy.pass.cpp25 using std::any;
35 any lhs(LHS(1)); in test_copy_assign()
36 any const rhs(RHS(2)); in test_copy_assign()
60 any lhs; in test_copy_assign_empty()
61 any const rhs(LHS(42)); in test_copy_assign_empty()
77 any lhs(LHS(1)); in test_copy_assign_empty()
78 any const rhs; in test_copy_assign_empty()
97 any a; in test_copy_assign_self()
105 any a((small(1))); in test_copy_assign_self()
118 any a(large(1)); in test_copy_assign_self()
[all …]
Dvalue.pass.cpp26 using std::any;
36 any lhs(LHS(1)); in test_assign_value()
37 any const rhs(RHS(2)); in test_assign_value()
57 any lhs(LHS(1)); in test_assign_value()
58 any rhs(RHS(2)); in test_assign_value()
85 any lhs; in test_assign_value_empty()
100 any lhs; in test_assign_value_empty()
121 [](any& lhs, auto&& rhs) { in test_assign_throws()
134 any lhs; in test_assign_throws()
144 any lhs((small(2))); in test_assign_throws()
[all …]
/external/valgrind/drd/
Ddrd_clientobj.c97 if (p && p->any.type == t) in DRD_()
113 if (a1 <= p->any.a1 && p->any.a1 < a2) in DRD_()
139 p->any.a1 = a1; in DRD_()
140 p->any.type = t; in DRD_()
141 p->any.first_observed_at = VG_(record_ExeContext)(VG_(get_running_tid)(), 0); in DRD_()
163 tl_assert(p->any.type == t); in DRD_()
181 DRD_(trace_msg)("Removing client object 0x%lx of type %d", p->any.a1, in clientobj_remove_obj()
182 (Int)p->any.type); in clientobj_remove_obj()
189 tl_assert(p->any.cleanup); in clientobj_remove_obj()
190 (*p->any.cleanup)(p); in clientobj_remove_obj()
[all …]
/external/protobuf/src/google/protobuf/
Dany_test.cc56 google::protobuf::Any any; in TEST() local
57 any.PackFrom(submessage); in TEST()
59 message.mutable_any_value()->PackFrom(any); in TEST()
65 ASSERT_TRUE(message.any_value().UnpackTo(&any)); in TEST()
66 ASSERT_TRUE(any.UnpackTo(&submessage)); in TEST()
73 google::protobuf::Any any; in TEST() local
74 any.PackFrom(submessage); in TEST()
75 ASSERT_TRUE(any.ParseFromString(any.SerializeAsString())); in TEST()
76 EXPECT_TRUE(any.Is<protobuf_unittest::TestAny>()); in TEST()
77 EXPECT_FALSE(any.Is<google::protobuf::Any>()); in TEST()
[all …]
/external/libcxx/test/std/utilities/any/any.nonmembers/any.cast/
Dany_cast_pointer.pass.cpp26 using std::any;
31 any a; in test_cast_is_noexcept()
34 any const& ca = a; in test_cast_is_noexcept()
40 any a; in test_cast_return_type()
44 any const& ca = a; in test_cast_return_type()
51 any* a = nullptr; in test_cast_nullptr()
55 any const* ca = nullptr; in test_cast_nullptr()
63 any a; in test_cast_empty()
67 any const& ca = a; in test_cast_empty()
73 any a(42); in test_cast_empty()
[all …]
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
DIsInstanceOfTest.java7 import static org.hamcrest.core.IsInstanceOf.any;
42 assertMatches(any(boolean.class), true); in matchesPrimitiveTypes()
43 assertMatches(any(byte.class), (byte)1); in matchesPrimitiveTypes()
44 assertMatches(any(char.class), 'x'); in matchesPrimitiveTypes()
45 assertMatches(any(double.class), 5.0); in matchesPrimitiveTypes()
46 assertMatches(any(float.class), 5.0f); in matchesPrimitiveTypes()
47 assertMatches(any(int.class), 2); in matchesPrimitiveTypes()
48 assertMatches(any(long.class), 4L); in matchesPrimitiveTypes()
49 assertMatches(any(short.class), (short)1); in matchesPrimitiveTypes()
61 Integer anInteger = with(any(Integer.class)); in anyWillReturnTheCorrectTypeForUseInJMock()
/external/libcxx/test/std/utilities/any/any.class/any.modifiers/
Dswap.pass.cpp23 using std::any;
31 any a1((LHS(1))); in test_swap()
32 any a2(RHS{2}); in test_swap()
54 any a1((Tp(1))); in test_swap_empty()
55 any a2; in test_swap_empty()
67 any a1((Tp(1))); in test_swap_empty()
68 any a2; in test_swap_empty()
84 any a1; in test_noexcept()
85 any a2; in test_noexcept()
95 any a; in test_self_swap()
[all …]
/external/libcxx/test/std/experimental/any/any.nonmembers/any.cast/
Dany_cast_pointer.pass.cpp26 using std::experimental::any;
31 any a; in test_cast_is_noexcept()
34 any const& ca = a; in test_cast_is_noexcept()
40 any a; in test_cast_return_type()
44 any const& ca = a; in test_cast_return_type()
51 any* a = nullptr; in test_cast_nullptr()
55 any const* ca = nullptr; in test_cast_nullptr()
63 any a; in test_cast_empty()
67 any const& ca = a; in test_cast_empty()
73 any a(42); in test_cast_empty()
[all …]
Dany_cast_reference.pass.cpp31 using std::experimental::any;
38 any a; in test_cast_is_not_noexcept()
39 static_assert(!noexcept(any_cast<int>(static_cast<any&>(a))), ""); in test_cast_is_not_noexcept()
40 static_assert(!noexcept(any_cast<int>(static_cast<any const&>(a))), ""); in test_cast_is_not_noexcept()
41 static_assert(!noexcept(any_cast<int>(static_cast<any &&>(a))), ""); in test_cast_is_not_noexcept()
46 any a; in test_cast_return_type()
63 any const& ca = a; in test_cast_return_type()
72 void checkThrows(any& a) in checkThrows()
85 any_cast<ConstT>(static_cast<any const&>(a)); in checkThrows()
94 any_cast<Type>(static_cast<any&&>(a)); in checkThrows()
[all …]
/external/dagger2/producers/src/test/java/dagger/producers/monitoring/internal/
DMonitorsTest.java31 import static org.mockito.Matchers.any;
67 when(mockProductionComponentMonitorFactory.create(any(Object.class))).thenReturn(null); in singleMonitor_nullProductionComponentMonitor()
78 .create(any(Object.class)); in singleMonitor_throwingProductionComponentMonitorFactory()
87 when(mockProductionComponentMonitorFactory.create(any(Object.class))) in singleMonitor_nullProducerMonitor()
89 when(mockProductionComponentMonitor.producerMonitorFor(any(ProducerToken.class))) in singleMonitor_nullProducerMonitor()
101 when(mockProductionComponentMonitorFactory.create(any(Object.class))) in singleMonitor_throwingProductionComponentMonitor()
105 .producerMonitorFor(any(ProducerToken.class)); in singleMonitor_throwingProductionComponentMonitor()
161 doThrow(new RuntimeException("monkey")).when(mockProducerMonitor).succeeded(any(Object.class)); in singleMonitor_throwingProducerMonitorSuccess()
185 doThrow(new RuntimeException("monkey")).when(mockProducerMonitor).failed(any(Throwable.class)); in singleMonitor_throwingProducerMonitorFailure()
206 when(mockProductionComponentMonitorFactoryA.create(any(Object.class))).thenReturn(null); in multipleMonitors_nullProductionComponentMonitors()
[all …]
/external/libcxx/test/std/experimental/any/any.class/any.modifiers/
Dswap.pass.cpp23 using std::experimental::any;
31 any a1((LHS(1))); in test_swap()
32 any a2(RHS{2}); in test_swap()
54 any a1((Tp(1))); in test_swap_empty()
55 any a2; in test_swap_empty()
67 any a1((Tp(1))); in test_swap_empty()
68 any a2; in test_swap_empty()
84 any a1; in test_noexcept()
85 any a2; in test_noexcept()

12345678910>>...204