Home
last modified time | relevance | path

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

/external/clang/test/Analysis/
Ddtor.cpp129 struct IntWrapper { struct
130 IntWrapper() : x(0) {} in IntWrapper() function
131 ~IntWrapper();
140 IntWrapper arr[2]; in testArrayInvalidation() argument
312 IntWrapper arr[2][2]; in testArrayInvalidation()
333 struct IntWrapper { struct
335 IntWrapper(int y) : x(y) {} in IntWrapper() argument
336 IntWrapper() { in IntWrapper() argument
342 struct DerivedWrapper : public IntWrapper {
343 DerivedWrapper(int y) : IntWrapper(y) {} in DerivedWrapper()
Dinline.cpp313 class IntWrapper { class
317 IntWrapper(int input) : value(input) { in IntWrapper() function in OperatorNew::IntWrapper
326 IntWrapper *obj = new IntWrapper(42); in test()
333 IntWrapper *obj = static_cast<IntWrapper *>(malloc(sizeof(IntWrapper))); in testPlacement()
334 IntWrapper *alias = new (obj) IntWrapper(42); in testPlacement()
Dreinterpret-cast.cpp6 struct IntWrapper { struct
10 struct Child : public IntWrapper { argument
51 struct IntWrapperSubclass : public IntWrapper {};
54 IntWrapper w;
Dproperties.mm7 @interface IntWrapper interface
11 @implementation IntWrapper implementation
15 void testReferenceConsistency(IntWrapper *w) {
25 void testReferenceAssignment(IntWrapper *w) {
Dglobal_region_invalidation.mm24 struct IntWrapper { struct
27 extern struct IntWrapper globalStruct; argument
Dctor.mm26 struct IntWrapper {
31 IntWrapper a;
34 IntWrapper b(a);
365 IntWrapper values[3];
390 IntWrapper values[2][3];
Dproperties.m548 @interface IntWrapper interface
552 @implementation IntWrapper implementation
556 void testConsistencyInt(IntWrapper *w) {
566 void testConsistencyInt2(IntWrapper *w) {
Dretain-release.mm375 struct IntWrapper { struct
379 int operator>> (const IntWrapper &W, int (*f)(int)) { argument
384 IntWrapper val = { 42 }; argument
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DMapRelatedTypesDeserTest.java74 …final TypeReference<Map<String,IntWrapper>> type = new TypeReference<Map<String,IntWrapper>>() { }; in testSingletonMapRoundtrip()
76 … String json = MAPPER.writeValueAsString(Collections.singletonMap("value", new IntWrapper(5))); in testSingletonMapRoundtrip()
77 Map<String,IntWrapper> result = MAPPER.readValue(json, type); in testSingletonMapRoundtrip()
80 IntWrapper w = result.get("value"); in testSingletonMapRoundtrip()
DMapDeser2757Test.java14 public void setValue(IntWrapper w) { } in setValue()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DCoerceFloatToIntTest.java53 IntWrapper w = DEFAULT_MAPPER.readValue("{\"i\":-2.25 }", IntWrapper.class); in testLegacyDoubleToIntCoercion()
79 _verifyCoerceFail(READER_LEGACY_FAIL, IntWrapper.class, "{\"i\":-2.25 }", "int"); in testLegacyFailDoubleToInt()
119 IntWrapper w = MAPPER_TO_NULL.readValue( "{\"i\":-2.25 }", IntWrapper.class); in testCoerceConfigFloatToNull()
171 IntWrapper w = MAPPER_TO_EMPTY.readValue( "{\"i\":-2.25 }", IntWrapper.class); in testCoerceConfigFloatToEmpty()
208 IntWrapper w = MAPPER_TRY_CONVERT.readValue( "{\"i\":-2.25 }", IntWrapper.class); in testCoerceConfigFloatSuccess()
244 _verifyCoerceFail(MAPPER_TO_FAIL, IntWrapper.class, "{\"i\":-2.25 }", "int"); in testCoerceConfigFailFromFloat()
/external/clang/test/Analysis/inlining/
Deager-reclamation-path-notes.cpp7 } IntWrapper; typedef
9 IntWrapper *getNullWrapper() { in getNullWrapper()
24 IntWrapper *ptr = getNullWrapper(); in memberCallBaseDisappears()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DTestPropertyTypeInfo.java98 String json = mapper.writeValueAsString(new FieldWrapperBean(new IntWrapper(37))); in testSimpleMethod()
102 assertEquals(IntWrapper.class, bean.value.getClass()); in testSimpleMethod()
103 assertEquals(((IntWrapper) bean.value).i, 37); in testSimpleMethod()
177 map.put("foop", new FieldWrapperBean(new IntWrapper(13))); in testSimpleMapField()
185 assertEquals(IntWrapper.class, ob.getClass()); in testSimpleMapField()
186 assertEquals(((IntWrapper) ob).i, 13); in testSimpleMapField()
/external/googletest/googletest/test/
Dgoogletest-param-test-test.cc251 class IntWrapper { class
253 explicit IntWrapper(int a_value) : value_(a_value) {} in IntWrapper() function in IntWrapper
254 IntWrapper(const IntWrapper& other) : value_(other.value_) {} in IntWrapper() function in IntWrapper
256 IntWrapper operator=(const IntWrapper& other) { in operator =()
261 IntWrapper operator+(int other) const { return IntWrapper(value_ + other); } in operator +()
262 bool operator<(const IntWrapper& other) const { in operator <()
272 const ParamGenerator<IntWrapper> gen = Range(IntWrapper(0), IntWrapper(2)); in TEST()
273 ParamGenerator<IntWrapper>::iterator it = gen.begin(); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-param-test-test.cc251 class IntWrapper { class
253 explicit IntWrapper(int a_value) : value_(a_value) {} in IntWrapper() function in IntWrapper
254 IntWrapper(const IntWrapper& other) : value_(other.value_) {} in IntWrapper() function in IntWrapper
256 IntWrapper operator=(const IntWrapper& other) { in operator =()
261 IntWrapper operator+(int other) const { return IntWrapper(value_ + other); } in operator +()
262 bool operator<(const IntWrapper& other) const { in operator <()
272 const ParamGenerator<IntWrapper> gen = Range(IntWrapper(0), IntWrapper(2)); in TEST()
273 ParamGenerator<IntWrapper>::iterator it = gen.begin(); in TEST()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/struct/
DUnwrapSingleArrayMiscTest.java25 ObjectReader r = UNWRAPPING_MAPPER.readerFor(IntWrapper.class); in testSimplePOJOUnwrapping()
26 IntWrapper w = r.readValue(aposToQuotes("[{'i':42}]")); in testSimplePOJOUnwrapping()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/jdk/
DNumberSerTest.java26 static class IntWrapper { class in NumberSerTest
28 public IntWrapper(int value) { i = value; } in IntWrapper() method in NumberSerTest.IntWrapper
142 mapper.writeValueAsString(new IntWrapper(3))); in testConfigOverridesForNumbers()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DBaseMapTest.java49 protected static class IntWrapper { class in BaseMapTest
52 public IntWrapper() { } in IntWrapper() method in BaseMapTest.IntWrapper
53 public IntWrapper(int value) { i = value; } in IntWrapper() method in BaseMapTest.IntWrapper
/external/libbrillo/brillo/
Dany_internal_impl.h66 struct IntWrapper { struct
73 IntWrapper(int /* dummy */) {} // do nothing, NOLINT in IntWrapper() argument
81 static std::false_type TriggerFunction(IntWrapper dummy);
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestBasicAnnotations.java40 protected IntWrapper w = new IntWrapper(13);
/external/clang/test/SemaCXX/
Dconstructor-initializer.cpp151 int IntWrapper(int &i) { return 0; }; in IntWrapper() function
158 …: A(IntWrapper(A)), // Due to a conservative implementation, we do not report warnings inside fun… in InitializeUsingSelfExceptions()
Dtype-traits.cpp1722 struct IntWrapper struct
1725 IntWrapper(int _value) : value(_value) {} in IntWrapper() argument
1735 FloatWrapper(const IntWrapper& obj) in FloatWrapper() argument
1740 operator IntWrapper() const { in operator IntWrapper()
1741 return IntWrapper(static_cast<int>(value)); in operator IntWrapper()
1747 int t01[T(__is_convertible(IntWrapper, IntWrapper))]; in is_convertible()
1748 int t02[T(__is_convertible(IntWrapper, const IntWrapper))]; in is_convertible()
1749 int t03[T(__is_convertible(IntWrapper, int))]; in is_convertible()
1750 int t04[T(__is_convertible(int, IntWrapper))]; in is_convertible()
1751 int t05[T(__is_convertible(IntWrapper, FloatWrapper))]; in is_convertible()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/filter/
DJsonIncludeTest.java304 IntWrapper zero = new IntWrapper(0); in testEmptyInclusionScalars()
/external/clang/test/Misc/
Ddiag-template-diffing.cpp810 struct IntWrapper { struct
818 virtual X<IntWrapper, 1> foo();
823 virtual X<IntWrapper, 2> foo();
/external/rust/crates/hashbrown/src/
Dmap.rs4757 struct IntWrapper(u64); in test_key_without_hash_impl() struct
4759 let mut m: HashMap<IntWrapper, (), ()> = HashMap::default(); in test_key_without_hash_impl()
4768 vacant_entry.insert_with_hasher(0, IntWrapper(0), (), |k| k.0); in test_key_without_hash_impl()
4780 vacant_entry.insert_with_hasher(1, IntWrapper(1), (), |k| k.0); in test_key_without_hash_impl()