Home
last modified time | relevance | path

Searched refs:Dummy (Results 1 – 25 of 246) sorted by relevance

12345678910

/external/clang/test/Analysis/
Dnullability.mm22 typedef struct Dummy { int val; } Dummy; typedef
24 void takesNullable(Dummy *_Nullable); argument
25 void takesNonnull(Dummy *_Nonnull); argument
26 void takesUnspecified(Dummy *); argument
28 Dummy *_Nullable returnsNullable(); argument
29 Dummy *_Nonnull returnsNonnull(); argument
30 Dummy *returnsUnspecified(); argument
35 void takesAttrNonnull(Dummy *p) __attribute((nonnull(1))); argument
38 Dummy *p = returnsNullable(); argument
43 Dummy &r = *p; // expected-warning {{Nullable pointer is dereferenced}}
[all …]
Dnullability_nullonly.mm8 typedef struct Dummy { int val; } Dummy; struct
10 void takesNullable(Dummy *_Nullable); argument
11 void takesNonnull(Dummy *_Nonnull); argument
12 Dummy *_Nullable returnsNullable(); argument
16 Dummy *p = returnsNullable(); argument
18 Dummy *q = 0;
25 Dummy *_Nonnull testNullReturn() { argument
26 Dummy *p = 0;
31 Dummy *p = 0; argument
40 Dummy *_Nonnull doNotWarnWhenPreconditionIsViolatedInTopFunc( argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFObject.h27 DWARFSection Dummy; variable
36 virtual const DWARFSection &getInfoSection() const { return Dummy; } in getInfoSection()
40 virtual const DWARFSection &getLocSection() const { return Dummy; } in getLocSection()
44 virtual const DWARFSection &getLineSection() const { return Dummy; } in getLineSection()
47 virtual const DWARFSection &getRangeSection() const { return Dummy; } in getRangeSection()
48 virtual const DWARFSection &getRnglistsSection() const { return Dummy; } in getRnglistsSection()
54 virtual const DWARFSection &getStringOffsetSection() const { return Dummy; } in getStringOffsetSection()
55 virtual const DWARFSection &getInfoDWOSection() const { return Dummy; } in getInfoDWOSection()
59 virtual const DWARFSection &getLineDWOSection() const { return Dummy; } in getLineDWOSection()
60 virtual const DWARFSection &getLocDWOSection() const { return Dummy; } in getLocDWOSection()
[all …]
/external/libcxx/test/support/
Darchetypes.hpp57 template <bool Dummy = true, typename std::enable_if<Dummy && Explicit, bool>::type = true>
61 template <bool Dummy = true, typename std::enable_if<Dummy && !Explicit, bool>::type = true>
65 template <bool Dummy = true, typename std::enable_if<Dummy && Explicit, bool>::type = true>
69 template <bool Dummy = true, typename std::enable_if<Dummy && !Explicit, bool>::type = true>
73 template <bool Dummy = true, typename std::enable_if<Dummy && Explicit, bool>::type = true>
78 template <bool Dummy = true, typename std::enable_if<Dummy && !Explicit, bool>::type = true>
134 template <bool Dummy = true, typename std::enable_if<Dummy && Explicit, bool>::type = true>
136 template <bool Dummy = true, typename std::enable_if<Dummy && !Explicit, bool>::type = true>
138 template <bool Dummy = true, typename std::enable_if<Dummy && Explicit, bool>::type = true>
140 template <bool Dummy = true, typename std::enable_if<Dummy && !Explicit, bool>::type = true>
[all …]
Dexperimental_any_helpers.h76 template <int Dummy = 0>
129 template <int Dummy>
130 int small_type<Dummy>::count = 0;
132 template <int Dummy>
133 int small_type<Dummy>::copied = 0;
135 template <int Dummy>
136 int small_type<Dummy>::moved = 0;
138 template <int Dummy>
139 int small_type<Dummy>::const_copied = 0;
141 template <int Dummy>
[all …]
Dany_helpers.h101 template <int Dummy = 0>
160 template <int Dummy>
161 int small_type<Dummy>::count = 0;
163 template <int Dummy>
164 int small_type<Dummy>::copied = 0;
166 template <int Dummy>
167 int small_type<Dummy>::moved = 0;
169 template <int Dummy>
170 int small_type<Dummy>::const_copied = 0;
172 template <int Dummy>
[all …]
/external/skqp/tests/
DTDPQueueTest.cpp67 struct Dummy { struct
72 static bool LessP(Dummy* const& a, Dummy* const& b) { return a->fPriority < b->fPriority; } in LessP() argument
73 static int* PQIndex(Dummy* const& dummy) { return &dummy->fIndex; } in PQIndex() argument
75 bool operator== (const Dummy& that) const { in operator ==() argument
78 bool operator!= (const Dummy& that) const { return !(*this == that); } in operator !=() argument
83 static const Dummy kSentinel = {-1, -1, -1}; in random_test()
88 SkTDArray<Dummy> array; in random_test()
91 Dummy* dummy = array.append(); in random_test()
102 SkTDPQueue<Dummy*, Dummy::LessP, Dummy::PQIndex> pq; in random_test()
115 Dummy* top = pq.peek(); in random_test()
[all …]
/external/skia/tests/
DTDPQueueTest.cpp67 struct Dummy { struct
72 static bool LessP(Dummy* const& a, Dummy* const& b) { return a->fPriority < b->fPriority; } in LessP() argument
73 static int* PQIndex(Dummy* const& dummy) { return &dummy->fIndex; } in PQIndex() argument
75 bool operator== (const Dummy& that) const { in operator ==() argument
78 bool operator!= (const Dummy& that) const { return !(*this == that); } in operator !=() argument
83 static const Dummy kSentinel = {-1, -1, -1}; in random_test()
88 SkTDArray<Dummy> array; in random_test()
91 Dummy* dummy = array.append(); in random_test()
102 SkTDPQueue<Dummy*, Dummy::LessP, Dummy::PQIndex> pq; in random_test()
115 Dummy* top = pq.peek(); in random_test()
[all …]
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dfpconst.pnacl.ll54 %call = call float @Dummy(i32 0)
59 %call2 = call float @Dummy(i32 1)
64 %call5 = call float @Dummy(i32 2)
69 %call8 = call float @Dummy(i32 3)
74 %call11 = call float @Dummy(i32 -1)
79 %call15 = call float @Dummy(i32 -2)
86 %call20 = call float @Dummy(i32 -3)
91 %call25 = call float @Dummy(i32 10)
96 %call28 = call float @Dummy(i32 -10)
101 %call31 = call float @Dummy(i32 100)
[all …]
Dreorder-pooled-constants.ll41 %call = call float @Dummy(i32 0)
46 %call2 = call float @Dummy(i32 1)
51 %call5 = call float @Dummy(i32 2)
56 %call8 = call float @Dummy(i32 3)
61 %call11 = call float @Dummy(i32 -1)
66 %call15 = call float @Dummy(i32 -2)
73 %call20 = call float @Dummy(i32 -3)
78 %call25 = call float @Dummy(i32 10)
83 %call28 = call float @Dummy(i32 -10)
88 %call31 = call float @Dummy(i32 100)
[all …]
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Dmove_ctor.pass.cpp24 struct Dummy { struct
25 Dummy(Dummy const&) = delete;
26 Dummy(Dummy &&) = default;
40 using P = std::pair<Dummy, int>; in main()
Dtrivial_copy_move.pass.cpp25 struct Dummy { struct
26 Dummy(Dummy const&) = delete;
27 Dummy(Dummy &&) = default;
47 using P1 = std::pair<Dummy, int>; in main()
/external/clang/test/SemaTemplate/
Dclass-template-spec.cpp179 template<typename Dummy> struct make<0, 0, Dummy> { typedef integer_sequence<T> type; };
180 template<typename Dummy> struct make<1, 1, Dummy> { typedef integer_sequence<T, 0> type; };
181 …template<T N, typename Dummy> struct make<N, 0, Dummy> : __make_integer_sequence_impl<make_integer…
182 …template<T N, typename Dummy> struct make<N, 1, Dummy> : __make_integer_sequence_impl<make_integer…
/external/libcxx/test/std/utilities/meta/meta.rel/
Dis_nothrow_invocable.pass.cpp56 struct Dummy { void foo() noexcept {} static void bar() noexcept {} }; in test_noexcept_function_pointers() argument
61 static_assert(throws_invocable<decltype(&Dummy::foo), Dummy&>(), ""); in test_noexcept_function_pointers()
62 static_assert(throws_invocable<decltype(&Dummy::bar)>(), ""); in test_noexcept_function_pointers()
69 static_assert(std::is_nothrow_invocable<decltype(&Dummy::foo), Dummy&>::value, ""); in test_noexcept_function_pointers()
70 static_assert(std::is_nothrow_invocable<decltype(&Dummy::bar)>::value, ""); in test_noexcept_function_pointers()
/external/google-breakpad/src/testing/test/
Dgmock_stress_test.cc96 struct Dummy {}; struct
99 void TestConcurrentCopyAndReadLinkedPtr(Dummy /* dummy */) { in TestConcurrentCopyAndReadLinkedPtr() argument
126 void TestConcurrentWriteToEqualLinkedPtr(Dummy /* dummy */) { in TestConcurrentWriteToEqualLinkedPtr() argument
148 void TestConcurrentMockObjects(Dummy /* dummy */) { in TestConcurrentMockObjects() argument
199 void TestConcurrentCallsOnSameObject(Dummy /* dummy */) { in TestConcurrentCallsOnSameObject() argument
238 void TestPartiallyOrderedExpectationsWithThreads(Dummy /* dummy */) { in TestPartiallyOrderedExpectationsWithThreads() argument
278 void (*test_routines[])(Dummy dummy) = { in TEST()
289 ThreadWithParam<Dummy>* threads[kTestThreads] = {}; in TEST()
293 new ThreadWithParam<Dummy>(test_routines[i % kRoutines], Dummy(), NULL); in TEST()
/external/googletest/googlemock/test/
Dgmock_stress_test.cc63 struct Dummy {}; struct
68 void TestConcurrentMockObjects(Dummy /* dummy */) { in TestConcurrentMockObjects() argument
119 void TestConcurrentCallsOnSameObject(Dummy /* dummy */) { in TestConcurrentCallsOnSameObject() argument
158 void TestPartiallyOrderedExpectationsWithThreads(Dummy /* dummy */) { in TestPartiallyOrderedExpectationsWithThreads() argument
198 void (*test_routines[])(Dummy dummy) = { in TEST()
207 ThreadWithParam<Dummy>* threads[kTestThreads] = {}; in TEST()
210 threads[i] = new ThreadWithParam<Dummy>(test_routines[i % kRoutines], in TEST()
211 Dummy(), nullptr); in TEST()
/external/deqp/framework/common/
DtcuCPUWarmup.hpp37 class Dummy class
40 Dummy (void) : m_v(new float) {} in Dummy() function in tcu::warmupCPUInternal::Dummy
41 ~Dummy (void) { delete m_v; } in ~Dummy()
46 extern volatile Dummy g_dummy;
/external/guava/guava/src/com/google/common/collect/
DInterners.java68 private final MapMakerInternalMap<E, Dummy> map = new MapMaker()
76 ReferenceEntry<E, Dummy> entry = map.getEntry(sample);
85 Dummy sneaky = map.putIfAbsent(sample, Dummy.VALUE);
99 private enum Dummy { VALUE }
/external/clang/test/CodeGenCXX/
Dtemplate-static-var-defer.cpp4 template <class Dummy> struct COMTypeInfo {
9 template <class Dummy> const int X::COMTypeInfo<Dummy>::kIID = 10;
/external/robolectric-shadows/processor/src/test/resources/org/robolectric/annotation/processing/shadows/
DShadowRealObjectWithCorrectType.java5 import com.example.objects.Dummy;
7 @Implements(Dummy.class)
10 @RealObject Dummy someField;
/external/mockito/subprojects/inline/src/test/java/org/mockitoinline/
DSuperCallTest.java17 Dummy d = spy(new Dummy()); in testSuperMethodCall()
22 static class Dummy { class in SuperCallTest
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
DT.pass.cpp36 struct Dummy { struct
37 Dummy() = default;
53 using V = std::variant<Dummy, NoThrowT>; in test_T_ctor_noexcept()
57 using V = std::variant<Dummy, ThrowsT>; in test_T_ctor_noexcept()
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUISelDAGToDAG.cpp196 HandleSDNode Dummy(SDValue(bvNode, 0)); in emitBuildVector() local
199 return Dummy.getValue().getNode(); in emitBuildVector()
216 HandleSDNode Dummy(CurDAG->getLoad(vecVT, dl, in emitBuildVector() local
220 CurDAG->ReplaceAllUsesWith(SDValue(bvNode, 0), Dummy.getValue()); in emitBuildVector()
221 if (SDNode *N = SelectCode(Dummy.getValue().getNode())) in emitBuildVector()
223 return Dummy.getValue().getNode(); in emitBuildVector()
710 HandleSDNode Dummy(CurDAG->getNode(SPUISD::VEC2PREFSLOT, dl, OpVT, in Select() local
713 CurDAG->ReplaceAllUsesWith(N, Dummy.getValue().getNode()); in Select()
714 SelectCode(Dummy.getValue().getNode()); in Select()
715 return Dummy.getValue().getNode(); in Select()
[all …]
/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
DT.pass.cpp38 struct Dummy { struct
39 Dummy() = default;
117 using V = std::variant<Dummy, NoThrowT>; in test_T_assignment_noexcept()
121 using V = std::variant<Dummy, ThrowsCtorT>; in test_T_assignment_noexcept()
125 using V = std::variant<Dummy, ThrowsAssignT>; in test_T_assignment_noexcept()
/external/curl/tests/data/
Dtest61213 Dummy test file for remove test
33 Dummy test file for remove test
41 Dummy test file for remove test

12345678910