Home
last modified time | relevance | path

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

12345678

/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() argument
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 __anona379d02f0111::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/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowApplication.java79 private List<Wrapper> registeredReceivers = new ArrayList<Wrapper>();
325 List<Wrapper> copy = new ArrayList<Wrapper>(); in sendBroadcast()
327 for (Wrapper wrapper : copy) { in sendBroadcast()
357 registeredReceivers.add(new Wrapper(receiver, filter, context)); in registerReceiverWithContext()
380 Iterator<Wrapper> iterator = registeredReceivers.iterator(); in unregisterReceiver()
382 Wrapper wrapper = iterator.next(); in unregisterReceiver()
402 for (Wrapper registeredReceiver : registeredReceivers) { in assertNoBroadcastListenersRegistered()
414 for (Wrapper registeredReceiver : registeredReceivers) { in assertNoBroadcastListenersOfActionRegistered()
431 for (Wrapper wrapper : registeredReceivers) { in hasReceiverForIntent()
441 for (Wrapper wrapper : registeredReceivers) { in getReceiversForIntent()
[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/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()
DUtil.java21 import com.google.common.base.Equivalence.Wrapper;
102 static <T> Optional<Equivalence.Wrapper<T>> wrapOptionalInEquivalence( in wrapOptionalInEquivalence()
106 : Optional.<Equivalence.Wrapper<T>>absent(); in wrapOptionalInEquivalence()
114 Optional<Equivalence.Wrapper<T>> wrappedOptional) { in unwrapOptionalEquivalence()
DContributionBinding.java20 import com.google.common.base.Equivalence.Wrapper;
275 static ImmutableSetMultimap<Wrapper<DeclaredType>, ContributionBinding>
280 new Function<ContributionBinding, Equivalence.Wrapper<DeclaredType>>() {
282 public Equivalence.Wrapper<DeclaredType> apply(ContributionBinding mapBinding) {
/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 __anon3b7abf1c0111::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/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/r8/src/main/java/com/android/tools/r8/naming/
DMethodNameMinifier.java16 import com.google.common.base.Equivalence.Wrapper;
189 Map<Wrapper<DexMethod>, Set<NamingState<DexProto>>> globalStateMap = new HashMap<>(); in assignNamesToInterfaceMethods()
191 Map<Wrapper<DexMethod>, Set<DexMethod>> sourceMethodsMap = new HashMap<>(); in assignNamesToInterfaceMethods()
193 Map<Wrapper<DexMethod>, NamingState<DexProto>> originStates = new HashMap<>(); in assignNamesToInterfaceMethods()
210 List<Wrapper<DexMethod>> methods = new ArrayList<>(globalStateMap.keySet()); in assignNamesToInterfaceMethods()
212 for (Wrapper<DexMethod> key : methods) { in assignNamesToInterfaceMethods()
249 Map<Wrapper<DexMethod>, Set<NamingState<DexProto>>> globalStateMap, in addStatesToGlobalMapForMethods()
250 Map<Wrapper<DexMethod>, Set<DexMethod>> sourceMethodsMap, in addStatesToGlobalMapForMethods()
251 Map<Wrapper<DexMethod>, NamingState<DexProto>> originStates, DexType originInterface) { in addStatesToGlobalMapForMethods()
253 Wrapper<DexMethod> key = equivalence.wrap(method.method); in addStatesToGlobalMapForMethods()
/external/r8/src/main/java/com/android/tools/r8/shaking/
DAbstractMethodRemover.java14 import com.google.common.base.Equivalence.Wrapper;
75 private final Set<Wrapper<DexMethod>> items = new HashSet<>();
85 private boolean contains(Wrapper<DexMethod> item) { in contains()
91 Wrapper<DexMethod> wrapped = METHOD_EQUIVALENCE.wrap(method); in addMethod()
DSimpleClassMerger.java29 import com.google.common.base.Equivalence.Wrapper;
83 private void addProgramMethods(Set<Wrapper<DexMethod>> set, DexMethod method, in addProgramMethods()
97 Set<Wrapper<DexMethod>> filteredInvokes = new HashSet<>(); in getInvokes()
100 invokes = filteredInvokes.stream().map(Wrapper::get).filter(this::removeNonProgram) in getInvokes()
205 Set<Wrapper<DexMethod>> existingMethods = new HashSet<>(); in merge()
231 Set<Wrapper<DexField>> existingFields = new HashSet<>(); in merge()
296 Collection<Wrapper<S>> collection, T[] items, Equivalence<S> equivalence) { in addAll()
313 Set<Wrapper<T>> existing, in mergeItems()
315 HashMap<Wrapper<T>, S> methods = new HashMap<>(); in mergeItems()
327 HashMap<Wrapper<T>, S> map, in addNonShadowed()
[all …]
/external/eigen/test/
Dconstructor.cpp15 template<typename MatrixType> struct Wrapper struct
18 inline Wrapper(const MatrixType &x) : m_mat(x) {} in Wrapper() argument
35 Wrapper<MatrixType> wrapper(m0); in ctor_init1() argument
/external/toolchain-utils/automation/clients/helper/
Dcrosstool.py99 build_toolchain = cmd.Wrapper(
115 remove_old_toolchains_from_x20 = cmd.Wrapper(
137 run_dejagnu = cmd.Wrapper(
159 return cmd.Wrapper(
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-for-malloc.h18 @interface Wrapper : NSData
22 @implementation Wrapper

12345678