Home
last modified time | relevance | path

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

12345678910>>...218

/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/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/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/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/golang-protobuf/ptypes/
Dany.go53 func AnyMessageName(any *any.Any) (string, error) {
54 if any == nil {
57 slash := strings.LastIndex(any.TypeUrl, "/")
59 return "", fmt.Errorf("message type url %q is invalid", any.TypeUrl)
61 return any.TypeUrl[slash+1:], nil
65 func MarshalAny(pb proto.Message) (*any.Any, error) {
70 return &any.Any{TypeUrl: googleApis + proto.MessageName(pb), Value: value}, nil
89 func Empty(any *any.Any) (proto.Message, error) {
90 aname, err := AnyMessageName(any)
107 func UnmarshalAny(any *any.Any, pb proto.Message) error {
[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.cpp40 using std::any;
50 any a(std::in_place_type<Type>); in test_in_place_type()
60 any a(std::in_place_type<Type&>); in test_in_place_type()
70 any a(std::in_place_type<Type>, 101); in test_in_place_type()
80 any a(std::in_place_type<Type>, -1, 42, -1); in test_in_place_type()
96 any a(std::in_place_type<Type>); in test_in_place_type_tracked()
100 any a(std::in_place_type<Type>, -1, 42, -1); in test_in_place_type_tracked()
105 any a(std::in_place_type<Type>, {-1, 42, -1}); in test_in_place_type_tracked()
110 any a(std::in_place_type<Type&>, {-1, 42, -1}, x); in test_in_place_type_tracked()
121 any a(std::in_place_type<Type>, test_func); in test_in_place_type_decayed()
[all …]
Dvalue.pass.cpp37 using std::any;
49 any const a2(t); in test_copy_value_throws()
71 any const a(std::move(v)); in test_move_value_throws()
94 any a(t); in test_copy_move_value()
107 any a(std::move(t)); in test_copy_move_value()
124 std::any a(t); in test_sfinae_constraints()
128 std::any a(std::move(t)); in test_sfinae_constraints()
132 std::any a(ot); in test_sfinae_constraints()
138 static_assert(!std::is_constructible<std::any, T>::value, ""); in test_sfinae_constraints()
148 static_assert(!std::is_constructible<std::any, NoCopy>::value, ""); in test_sfinae_constraints()
[all …]
/external/libcxx/test/std/utilities/any/any.class/any.assign/
Dcopy.pass.cpp32 using std::any;
42 any lhs(LHS(1)); in test_copy_assign()
43 any const rhs(RHS(2)); in test_copy_assign()
67 any lhs; in test_copy_assign_empty()
68 any const rhs(LHS(42)); in test_copy_assign_empty()
84 any lhs(LHS(1)); in test_copy_assign_empty()
85 any const rhs; in test_copy_assign_empty()
104 any a; in test_copy_assign_self()
112 any a((small(1))); in test_copy_assign_self()
125 any a(large(1)); in test_copy_assign_self()
[all …]
Dvalue.pass.cpp33 using std::any;
43 any lhs(LHS(1)); in test_assign_value()
44 any const rhs(RHS(2)); in test_assign_value()
64 any lhs(LHS(1)); in test_assign_value()
65 any rhs(RHS(2)); in test_assign_value()
92 any lhs; in test_assign_value_empty()
107 any lhs; in test_assign_value_empty()
128 [](any& lhs, auto&& rhs) { in test_assign_throws()
141 any lhs; in test_assign_throws()
151 any lhs((small(2))); in test_assign_throws()
[all …]
Dmove.pass.cpp31 using std::any;
40 any a(s1); in test_move_assign()
42 any a2(s2); in test_move_assign()
66 any a; in test_move_assign_empty()
67 any a2((LHS(1))); in test_move_assign_empty()
83 any a((LHS(1))); in test_move_assign_empty()
84 any a2; in test_move_assign_empty()
99 any a1; in test_move_assign_noexcept()
100 any a2; in test_move_assign_noexcept()
/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/tensorflow/tensorflow/core/platform/
Dprotobuf_internal.h43 Status ParseAny(const google::protobuf::Any& any, T* message, in ParseAny() argument
46 if (any.type_url() != strings::StrCat("type.googleapis.com/", type_name)) { in ParseAny()
49 ". Got: ", string(any.type_url().data(), any.type_url().size()), "."); in ParseAny()
51 if (!message->ParseFromString(any.value())) { in ParseAny()
53 DebugStringIfAvailable(any)); in ParseAny()
57 if (!any.Is<T>()) { in ParseAny()
60 ". Got: ", string(any.type_url().data(), any.type_url().size()), "."); in ParseAny()
62 if (!any.UnpackTo(message)) { in ParseAny()
64 DebugStringIfAvailable(any)); in ParseAny()
/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.cpp33 using std::any;
38 any a; in test_cast_is_noexcept()
41 any const& ca = a; in test_cast_is_noexcept()
47 any a; in test_cast_return_type()
51 any const& ca = a; in test_cast_return_type()
58 any* a = nullptr; in test_cast_nullptr()
62 any const* ca = nullptr; in test_cast_nullptr()
70 any a; in test_cast_empty()
74 any const& ca = a; in test_cast_empty()
80 any a(42); in test_cast_empty()
[all …]
Dany_cast_reference.pass.cpp38 using std::any;
45 any a; in test_cast_is_not_noexcept()
46 static_assert(!noexcept(any_cast<int>(static_cast<any&>(a))), ""); in test_cast_is_not_noexcept()
47 static_assert(!noexcept(any_cast<int>(static_cast<any const&>(a))), ""); in test_cast_is_not_noexcept()
48 static_assert(!noexcept(any_cast<int>(static_cast<any &&>(a))), ""); in test_cast_is_not_noexcept()
53 any a; in test_cast_return_type()
70 any const& ca = a; in test_cast_return_type()
79 void checkThrows(any& a) in checkThrows()
92 TEST_IGNORE_NODISCARD any_cast<ConstT>(static_cast<any const&>(a)); in checkThrows()
106 TEST_IGNORE_NODISCARD any_cast<RefType>(static_cast<any&&>(a)); in checkThrows()
[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.cpp30 using std::any;
38 any a1((LHS(1))); in test_swap()
39 any a2(RHS{2}); in test_swap()
61 any a1((Tp(1))); in test_swap_empty()
62 any a2; in test_swap_empty()
74 any a1((Tp(1))); in test_swap_empty()
75 any a2; in test_swap_empty()
91 any a1; in test_noexcept()
92 any a2; in test_noexcept()
102 any a; in test_self_swap()
[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/mockito/src/test/java/org/mockito/internal/runners/
DDefaultInternalRunnerTest.java19 import static org.mockito.ArgumentMatchers.any;
37 verify(runListener, never()).testFailure(any(Failure.class)); in does_not_fail_when_tests_succeeds()
38 verify(runListener, times(1)).testFinished(any(Description.class)); in does_not_fail_when_tests_succeeds()
39 verify(mockitoTestListener, only()).testFinished(any(TestFinishedEvent.class)); in does_not_fail_when_tests_succeeds()
47 verify(runListener, times(1)).testFailure(any(Failure.class)); in does_not_fail_second_test_when_first_test_fail()
48 verify(runListener, never()).testFinished(any(Description.class)); in does_not_fail_second_test_when_first_test_fail()
49 verify(mockitoTestListener, never()).testFinished(any(TestFinishedEvent.class)); in does_not_fail_second_test_when_first_test_fail()
56 verify(runListener, never()).testFailure(any(Failure.class)); in does_not_fail_second_test_when_first_test_fail()
57 verify(runListener, times(1)).testFinished(any(Description.class)); in does_not_fail_second_test_when_first_test_fail()
58 verify(mockitoTestListener, only()).testFinished(any(TestFinishedEvent.class)); in does_not_fail_second_test_when_first_test_fail()
/external/guice/core/test/com/google/inject/
DMethodInterceptionTest.java70 bindInterceptor(Matchers.any(), Matchers.returns(only(Foo.class)), in testSharedProxyClasses()
99 bindInterceptor(Matchers.any(), Matchers.returns(only(Foo.class)), in testSharedProxyClasses()
114 bindInterceptor(Matchers.any(), Matchers.any(), new MethodInterceptor() { in testGetThis()
131 bindInterceptor(Matchers.any(), Matchers.any(), new MethodInterceptor() { in testInterceptingFinalClass()
154 bindInterceptor(Matchers.any(),Matchers.returns(only(Foo.class)), in testSpiAccessToInterceptors()
156 bindInterceptor(Matchers.any(), Matchers.returns(only(Foo.class).or(only(Bar.class))), in testSpiAccessToInterceptors()
182 bindInterceptor(Matchers.any(), Matchers.any(), new CountingInterceptor()); in testInterceptedMethodThrows()
183 bindInterceptor(Matchers.any(), Matchers.any(), new CountingInterceptor()); in testInterceptedMethodThrows()
206 bindInterceptor(Matchers.any(), Matchers.returns(only(Foo.class)), in testNotInterceptedMethodsInInterceptedClassDontAddFrames()
261 bindInterceptor(Matchers.any(), new AbstractMatcher<Method>() { in testInterceptingNonBridgeWorks()
[all …]
/external/libcxx/test/std/utilities/any/any.nonmembers/
Dmake_any.pass.cpp32 using std::any;
43 any a = std::make_any<Type>(); in test_make_any_type()
53 any a = std::make_any<Type>(101); in test_make_any_type()
63 any a = std::make_any<Type>(-1, 42, -1); in test_make_any_type()
79 any a = std::make_any<Type>(); in test_make_any_type_tracked()
83 any a = std::make_any<Type>(-1, 42, -1); in test_make_any_type_tracked()
88 any a = std::make_any<Type>({-1, 42, -1}); in test_make_any_type_tracked()
93 any a = std::make_any<Type>({-1, 42, -1}, x); in test_make_any_type_tracked()
109 int data[sizeof(std::any)];

12345678910>>...218