Home
last modified time | relevance | path

Searched refs:Wrapper (Results 1 – 25 of 258) 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() argument
119 Wrapper(bool) {} in Wrapper() argument
123 Wrapper w1; in test()
126 Wrapper w2(50); in test()
[all …]
Dcall-invalidation.cpp38 struct Wrapper { struct
42 void useStruct(Wrapper &w); argument
43 void useConstStruct(const Wrapper &w);
47 Wrapper w; in testPointerStruct()
/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/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp38 std::unique_ptr<OProfileWrapper> Wrapper; member in __anon5bbdabf90111::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/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/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/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp40 std::unique_ptr<OProfileWrapper> Wrapper; member in __anon8be463510111::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/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<>();
211 List<Wrapper> receivers = getAppropriateWrappers(intent, receiverPermission); in sendOrderedBroadcast()
213 receivers.add(new Wrapper(resultReceiver, null, context, null, scheduler)); in sendOrderedBroadcast()
218 for (Wrapper registeredReceiver : registeredReceivers) { in assertNoBroadcastListenersOfActionRegistered()
241 private List<Wrapper> getAppropriateWrappers(Intent intent, String receiverPermission) { in getAppropriateWrappers()
244 List<Wrapper> result = new ArrayList<>(); in getAppropriateWrappers()
246 List<Wrapper> copy = new ArrayList<>(); in getAppropriateWrappers()
248 for (Wrapper wrapper : copy) { in getAppropriateWrappers()
262 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/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/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/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.java150 public final <S extends T> Wrapper<S> wrap(@Nullable S reference) { in wrap()
151 return new Wrapper<S>(this, reference); in wrap()
172 public static final class Wrapper<T> implements Serializable { class in Equivalence
176 private Wrapper(Equivalence<? super T> equivalence, @Nullable T reference) { in Wrapper() method in Equivalence.Wrapper
195 if (obj instanceof Wrapper) { in equals()
196 Wrapper<?> that = (Wrapper<?>) obj; // note: not necessarily a Wrapper<T> in equals()
/external/protobuf/src/google/protobuf/
Dwrappers.proto49 // Wrapper message for `double`.
57 // Wrapper message for `float`.
65 // Wrapper message for `int64`.
73 // Wrapper message for `uint64`.
81 // Wrapper message for `int32`.
89 // Wrapper message for `uint32`.
97 // Wrapper message for `bool`.
105 // Wrapper message for `string`.
113 // Wrapper message for `bytes`.
/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/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/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp42 std::unique_ptr<IntelJITEventsWrapper> Wrapper; member in __anonf3be9ae60111::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/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp43 std::unique_ptr<IntelJITEventsWrapper> Wrapper; member in __anon23e5523e0111::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/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMethodSignature.java15 abstract ImmutableList<Equivalence.Wrapper<TypeMirror>> parameterTypes(); in parameterTypes()
16 abstract ImmutableList<Equivalence.Wrapper<TypeMirror>> thrownTypes(); in thrownTypes()
20 ImmutableList.Builder<Equivalence.Wrapper<TypeMirror>> parameters = ImmutableList.builder(); in fromExecutableType()
21 ImmutableList.Builder<Equivalence.Wrapper<TypeMirror>> thrownTypes = ImmutableList.builder(); in fromExecutableType()
/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/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
/external/brotli/java/org/brotli/wrapper/dec/
DDecoder.java21 private final DecoderJNI.Wrapper decoder;
41 this.decoder = new DecoderJNI.Wrapper(inputBufferSize); in Decoder()
139 DecoderJNI.Wrapper decoder = new DecoderJNI.Wrapper(data.length); in decompress()

1234567891011