Home
last modified time | relevance | path

Searched refs:Wrapper (Results 1 – 25 of 273) sorted by relevance

1234567891011

/external/clang/test/Analysis/
Dinitializer.cpp98 class Wrapper { class
102 Wrapper();
105 Wrapper::Wrapper() /* initializers synthesized */ {} in Wrapper() function in DefaultConstructorWithCleanups::Wrapper
108 Wrapper w; in test()
114 struct Wrapper { struct
117 Wrapper() {} in Wrapper() function
118 Wrapper(int x) : value(x) {} in Wrapper() function
119 Wrapper(bool) {} in Wrapper() function
123 Wrapper w1; in test()
126 Wrapper w2(50); in test()
[all …]
/external/snakeyaml/src/test/java/examples/staticstate/
DStaticFieldsWrapperTest.java41 String output = yaml.dump(new Wrapper(bean)); in testWrapper()
47 Wrapper wrapper = (Wrapper) yaml.load(output); in testWrapper()
63 repr.addClassTag(Wrapper.class, new Tag("!mybean")); in testLocalTag()
65 String output = yaml.dump(new Wrapper(bean)); in testLocalTag()
70 TypeDescription description = new TypeDescription(Wrapper.class, new Tag("!mybean")); in testLocalTag()
73 Wrapper wrapper = (Wrapper) yaml.load(output); in testLocalTag()
89 String output = yaml.dumpAsMap(new Wrapper(bean)); in testRootBean()
94 Wrapper wrapper = loader.loadAs(output, Wrapper.class); in testRootBean()
DWrapper.java18 public class Wrapper { class
33 public Wrapper() { in Wrapper() method in Wrapper
38 public Wrapper(JavaBeanWithStaticState bean) { in Wrapper() method in Wrapper
/external/clang/test/Analysis/inlining/
Dpath-notes.cpp93 class Wrapper { class
112 Wrapper w; in testDefaultConstruction()
117 void testCopyConstruction(const Wrapper &input) { in testCopyConstruction()
120 Wrapper w{input}; in testCopyConstruction()
132 void testCopyAssignment(const Wrapper &input) { in testCopyAssignment()
133 Wrapper w; in testCopyAssignment()
150 Wrapper w; in testDestruction()
226 struct Wrapper { struct
229 Wrapper *arr;
242 Owner::Wrapper *arr; // expected-note {{'arr' declared without an initial value}} in testGetDerefExprOnMemberExprWithADot() argument
/external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/
DShadowLocalBroadcastManager.java23 private final List<Wrapper> registeredReceivers = new ArrayList<>();
37 registeredReceivers.add(new Wrapper(receiver, filter));
42 Iterator<Wrapper> iterator = registeredReceivers.iterator();
44 Wrapper wrapper = iterator.next();
55 List<Wrapper> copy = new ArrayList<>();
57 for (Wrapper wrapper : copy) {
80 public List<Wrapper> getRegisteredBroadcastReceivers() {
84 public static class Wrapper {
88 public Wrapper(BroadcastReceiver broadcastReceiver, IntentFilter intentFilter) {
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp38 std::unique_ptr<OProfileWrapper> Wrapper; member in __anona85547bb0111::OProfileJITEventListener
45 : Wrapper(std::move(LibraryWrapper)) { in OProfileJITEventListener()
58 if (!Wrapper->op_open_agent()) { in initialize()
67 if (Wrapper->isAgentAvailable()) { in ~OProfileJITEventListener()
68 if (Wrapper->op_close_agent() == -1) { in ~OProfileJITEventListener()
81 if (!Wrapper->isAgentAvailable()) { in NotifyObjectEmitted()
104 if (Wrapper->op_write_native_code(Name.data(), Addr, (void *)Addr, Size) == in NotifyObjectEmitted()
118 if (Wrapper->isAgentAvailable()) { in NotifyFreeingObject()
137 if (Wrapper->op_unload_native_code(Addr) == -1) { in NotifyFreeingObject()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp40 std::unique_ptr<OProfileWrapper> Wrapper; member in __anon552eff530111::OProfileJITEventListener
47 : Wrapper(std::move(LibraryWrapper)) { in OProfileJITEventListener()
60 if (!Wrapper->op_open_agent()) { in initialize()
70 if (Wrapper->isAgentAvailable()) { in ~OProfileJITEventListener()
71 if (Wrapper->op_close_agent() == -1) { in ~OProfileJITEventListener()
84 if (!Wrapper->isAgentAvailable()) { in NotifyObjectEmitted()
108 if (Wrapper->op_write_native_code(Name.data(), Addr, (void *)Addr, Size) == in NotifyObjectEmitted()
131 if (Wrapper->op_write_debug_line_info((void *)Addr, num_entries, in NotifyObjectEmitted()
144 if (Wrapper->isAgentAvailable()) { in NotifyFreeingObject()
163 if (Wrapper->op_unload_native_code(Addr) == -1) { in NotifyFreeingObject()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GlobalOpt/
Dstatic-const-bitcast.ll5 %struct.A = type { %class.Wrapper }
6 %class.Wrapper = type { i32 }
8 $Wrapper = comdat any
11 ; CHECK: @kA = internal unnamed_addr constant %struct.A { %class.Wrapper { i32 1036831949 } }, alig…
25 …call void @Wrapper(%class.Wrapper* getelementptr inbounds (%struct.A, %struct.A* @kA, i32 0, i32 0…
30 define linkonce_odr dso_local void @Wrapper(%class.Wrapper* %this, float %x) unnamed_addr #0 comdat…
34 %store_ = getelementptr inbounds %class.Wrapper, %class.Wrapper* %this, i32 0, i32 0
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFixFunctionBitcasts.cpp111 Function *Wrapper = in CreateWrapper() local
113 BasicBlock *BB = BasicBlock::Create(M->getContext(), "body", Wrapper); in CreateWrapper()
117 Function::arg_iterator AI = Wrapper->arg_begin(); in CreateWrapper()
118 Function::arg_iterator AE = Wrapper->arg_end(); in CreateWrapper()
123 Wrapper->eraseFromParent(); in CreateWrapper()
145 Wrapper->eraseFromParent(); in CreateWrapper()
149 return Wrapper; in CreateWrapper()
212 Function *Wrapper = Pair.first->second; in runOnModule() local
213 if (!Wrapper) in runOnModule()
217 U->get()->replaceAllUsesWith(Wrapper); in runOnModule()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowInstrumentation.java56 import org.robolectric.shadows.ShadowApplication.Wrapper;
71 private List<Wrapper> registeredReceivers = new ArrayList<>();
216 List<Wrapper> receivers = getAppropriateWrappers(intent, receiverPermission); in sendOrderedBroadcast()
218 receivers.add(new Wrapper(resultReceiver, null, context, null, scheduler)); in sendOrderedBroadcast()
223 for (Wrapper registeredReceiver : registeredReceivers) { in assertNoBroadcastListenersOfActionRegistered()
246 private List<Wrapper> getAppropriateWrappers(Intent intent, String receiverPermission) { in getAppropriateWrappers()
249 List<Wrapper> result = new ArrayList<>(); in getAppropriateWrappers()
251 List<Wrapper> copy = new ArrayList<>(); in getAppropriateWrappers()
253 for (Wrapper wrapper : copy) { in getAppropriateWrappers()
267 Intent intent, Wrapper wrapper, final AtomicBoolean abort, Context context) { in postIntent()
[all …]
/external/clang/test/Misc/
Ddiag-template-diffing.cpp1107 struct Wrapper {};
1110 Wrapper<T> MakeWrapper();
1113 Wrapper<S<ptr>> W = MakeWrapper<S<&global>>();
1118 Wrapper<S<(&global2)>> W2 = MakeWrapper<S<&global>>();
1120 Wrapper<S<&global2>> W3 = MakeWrapper<S<(&global)>>();
1122 Wrapper<S<(&global2)>> W4 = MakeWrapper<S<(&global)>>();
1131 struct Wrapper {};
1134 Wrapper<T> MakeWrapper();
1147 Wrapper<S<&global, nullptr>> W1 = MakeWrapper<S<&global, ptr>>();
1148 Wrapper<S<&global, static_cast<int*>(0)>> W2 = MakeWrapper<S<&global, ptr>>();
[all …]
/external/clang/test/SemaObjCXX/
Dpointer-to-objc-pointer-conv.mm29 class Wrapper {
39 Wrapper &operator*();
40 Wrapper &operator[](int);
41 Wrapper& operator->*(int);
48 Wrapper w;
/external/testng/src/main/java/org/testng/xml/dom/
DReflect.java12 public static List<Pair<Method, Wrapper>> findMethodsWithAnnotation( in findMethodsWithAnnotation()
14 List<Pair<Method, Wrapper>> result = Lists.newArrayList(); in findMethodsWithAnnotation()
18 result.add(Pair.of(m, new Wrapper(a, bean))); in findMethodsWithAnnotation()
24 public static Pair<Method, Wrapper> findSetterForTag( in findSetterForTag()
31 List<Pair<Method, Wrapper>> methods in findSetterForTag()
34 for (Pair<Method, Wrapper> pair : methods) { in findSetterForTag()
/external/guava/android/guava/src/com/google/common/base/
DEquivalence.java151 public final <S extends T> Wrapper<S> wrap(@NullableDecl S reference) { in wrap()
152 return new Wrapper<S>(this, reference); in wrap()
175 public static final class Wrapper<T> implements Serializable { class in Equivalence
179 private Wrapper(Equivalence<? super T> equivalence, @NullableDecl T reference) { in Wrapper() method in Equivalence.Wrapper
200 if (obj instanceof Wrapper) { in equals()
201 Wrapper<?> that = (Wrapper<?>) obj; // note: not necessarily a Wrapper<T> in equals()
/external/libchrome/base/numerics/
Dchecked_math.h173 IsGreater<T, R>::Test(state_.value(), Wrapper<U>::value(rhs)) in Max()
175 : Wrapper<U>::value(rhs)), in Max()
176 state_.is_valid() && Wrapper<U>::is_valid(rhs)); in Max()
188 IsLess<T, R>::Test(state_.value(), Wrapper<U>::value(rhs)) in Min()
190 : Wrapper<U>::value(rhs)), in Min()
191 state_.is_valid() && Wrapper<U>::is_valid(rhs)); in Min()
234 Wrapper<L>::is_valid(lhs) && Wrapper<R>::is_valid(rhs) && in MathOp()
235 Math::Do(Wrapper<L>::value(lhs), Wrapper<R>::value(rhs), &result); in MathOp()
244 bool is_valid = state_.is_valid() && Wrapper<R>::is_valid(rhs) && in MathOp()
245 Math::Do(state_.value(), Wrapper<R>::value(rhs), &result); in MathOp()
[all …]
/external/guava/guava/src/com/google/common/base/
DEquivalence.java161 public final <S extends T> Wrapper<S> wrap(@Nullable S reference) { in wrap()
162 return new Wrapper<S>(this, reference); in wrap()
185 public static final class Wrapper<T> implements Serializable { class in Equivalence
189 private Wrapper(Equivalence<? super T> equivalence, @Nullable T reference) { in Wrapper() method in Equivalence.Wrapper
209 if (obj instanceof Wrapper) { in equals()
210 Wrapper<?> that = (Wrapper<?>) obj; // note: not necessarily a Wrapper<T> in equals()
/external/golang-protobuf/ptypes/wrappers/
Dwrappers.proto48 // Wrapper message for `double`.
56 // Wrapper message for `float`.
64 // Wrapper message for `int64`.
72 // Wrapper message for `uint64`.
80 // Wrapper message for `int32`.
88 // Wrapper message for `uint32`.
96 // Wrapper message for `bool`.
104 // Wrapper message for `string`.
112 // Wrapper message for `bytes`.
/external/protobuf/src/google/protobuf/
Dwrappers.proto53 // Wrapper message for `double`.
61 // Wrapper message for `float`.
69 // Wrapper message for `int64`.
77 // Wrapper message for `uint64`.
85 // Wrapper message for `int32`.
93 // Wrapper message for `uint32`.
101 // Wrapper message for `bool`.
109 // Wrapper message for `string`.
117 // Wrapper message for `bytes`.
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/selects/
DSelectDeferredTest.kt141 val deferred = async { Wrapper("OK") } in <lambda>()
142 val result = select<Wrapper> { in <lambda>()
155 val deferred = async(Dispatchers.Unconfined) { Wrapper("OK") } in <lambda>()
156 val result = select<Wrapper> { in <lambda>()
167 private class Wrapper(val value: String) : Incomplete { in <lambda>() class
/external/pdfium/third_party/base/numerics/
Dsafe_math.h239 IsGreater<T, R>::Test(state_.value(), Wrapper<U>::value(rhs)) in Max()
241 : Wrapper<U>::value(rhs)), in Max()
242 state_.is_valid() && Wrapper<U>::is_valid(rhs)); in Max()
254 IsLess<T, R>::Test(state_.value(), Wrapper<U>::value(rhs)) in Min()
256 : Wrapper<U>::value(rhs)), in Min()
257 state_.is_valid() && Wrapper<U>::is_valid(rhs)); in Min()
300 Wrapper<L>::is_valid(lhs) && Wrapper<R>::is_valid(rhs) && in MathOp()
301 Math::Do(Wrapper<L>::value(lhs), Wrapper<R>::value(rhs), &result); in MathOp()
310 bool is_valid = state_.is_valid() && Wrapper<R>::is_valid(rhs) && in MathOp()
311 Math::Do(state_.value(), Wrapper<R>::value(rhs), &result); in MathOp()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp43 std::unique_ptr<IntelJITEventsWrapper> Wrapper; member in __anoned2fee400111::IntelJITEventListener
54 Wrapper.reset(libraryWrapper); in IntelJITEventListener()
78 IntelJITEventsWrapper& Wrapper, in FunctionDescToIntelJITFormat() argument
85 Result.method_id = Wrapper.iJIT_GetNewMethodID(); in FunctionDescToIntelJITFormat()
150 FunctionDescToIntelJITFormat(*Wrapper, Name->data(), Addr, Size); in NotifyObjectEmitted()
182 Wrapper->iJIT_NotifyEvent(iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED, in NotifyObjectEmitted()
218 Wrapper->iJIT_NotifyEvent(iJVM_EVENT_TYPE_METHOD_UNLOAD_START, in NotifyFreeingObject()
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp42 std::unique_ptr<IntelJITEventsWrapper> Wrapper; member in __anon405636a80111::IntelJITEventListener
53 Wrapper.reset(libraryWrapper); in IntelJITEventListener()
77 IntelJITEventsWrapper& Wrapper, in FunctionDescToIntelJITFormat() argument
84 Result.method_id = Wrapper.iJIT_GetNewMethodID(); in FunctionDescToIntelJITFormat()
147 FunctionDescToIntelJITFormat(*Wrapper, Name->data(), Addr, Size); in NotifyObjectEmitted()
179 Wrapper->iJIT_NotifyEvent(iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED, in NotifyObjectEmitted()
215 Wrapper->iJIT_NotifyEvent(iJVM_EVENT_TYPE_METHOD_UNLOAD_START, in NotifyFreeingObject()
/external/clang/test/SemaCXX/
Dwarn-infinite-recursion.cpp132 struct Wrapper { struct
137 return Wrapper<x/2>::run(); in run()
147 return Wrapper<x>::run() + in test_wrapper() argument
148 Wrapper<x>::run2(); // expected-note{{instantiation}} in test_wrapper()
/external/dagger2/java/dagger/model/
DKey.java27 import com.google.common.base.Equivalence.Wrapper;
54 return wrappedQualifier().map(Wrapper::get); in qualifier()
72 abstract Optional<Equivalence.Wrapper<AnnotationMirror>> wrappedQualifier(); in wrappedQualifier()
80 abstract Equivalence.Wrapper<TypeMirror> wrappedType(); in wrappedType()
184 abstract Builder wrappedType(Equivalence.Wrapper<TypeMirror> wrappedType);
191 Optional<Equivalence.Wrapper<AnnotationMirror>> wrappedQualifier);
193 abstract Builder wrappedQualifier(Equivalence.Wrapper<AnnotationMirror> wrappedQualifier);
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue11/
DYamlMapTest.java59 data.put("knownClass", new Wrapper("test", new Custom(456))); in testYamlMapBean()
68 assertEquals(Wrapper.class, m.get("knownClass").getClass()); in testYamlMapBean()
71 public static class Wrapper { class in YamlMapTest
75 public Wrapper(String s, Custom bb) { in Wrapper() method in YamlMapTest.Wrapper
80 public Wrapper() { in Wrapper() method in YamlMapTest.Wrapper

1234567891011