Home
last modified time | relevance | path

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

12

/external/clang/test/Analysis/
Ddtor.cpp129 struct IntWrapper { struct
130 IntWrapper() : x(0) {} in IntWrapper() argument
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() function
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) {
/external/llvm-project/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
323 IntWrapper *obj = new IntWrapper(42); in test()
329 IntWrapper *obj = static_cast<IntWrapper *>(malloc(sizeof(IntWrapper))); in testPlacement()
330 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) {
/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()
/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/llvm-project/clang/test/Analysis/inlining/
Deager-reclamation-path-notes.cpp5 struct IntWrapper { struct
9 IntWrapper *getNullWrapper() { in getNullWrapper()
24 IntWrapper *ptr = getNullWrapper(); in memberCallBaseDisappears()
/external/llvm-project/compiler-rt/test/asan/TestCases/Darwin/
Dasan-symbolize-templated-cxx.cpp14 class IntWrapper { class
19 IntWrapper(int value, std::function<CallBackTy> callback) : value_(value), callback_(callback) {} in IntWrapper() function in IntWrapper
26 using IntW = IntWrapper<void(int)>;
/external/skqp/tests/
DGrTRecorderTest.cpp19 class IntWrapper { class
21 IntWrapper() {} in IntWrapper() function in IntWrapper
22 IntWrapper(int value) : fValue(value) {} in IntWrapper() function in IntWrapper
35 GrTRecorder<IntWrapper, int> recorder(j); in test_empty_back_and_pop()
42 IntWrapper, (i))); in test_empty_back_and_pop()
46 IntWrapper, (i), in test_empty_back_and_pop()
/external/llvm-project/clang/test/CodeGenCXX/
Dmatrix-type-operators.cpp123 struct IntWrapper { struct
140 IntWrapper w3; in test_IntWrapper_Add()
155 IntWrapper w3; in test_IntWrapper_Sub()
186 void test_IntWrapper_Multiply(MyMatrix<double, 10, 9> &m, IntWrapper &w3) { in test_IntWrapper_Multiply()
310 double extract_IntWrapper_idx(double4x4 &m, IntWrapper i, UnsignedWrapper j) { in extract_IntWrapper_idx()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-use-emplace.cpp475 class IntWrapper { class
477 IntWrapper(int x) : value(x) {} in IntWrapper() function in IntWrapper
478 IntWrapper operator+(const IntWrapper other) const { in operator +()
479 return IntWrapper(value + other.value); in operator +()
487 std::vector<IntWrapper> v; in testMultipleOpsInPushBack()
488 v.push_back(IntWrapper(42) + IntWrapper(27)); in testMultipleOpsInPushBack()
/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/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-param-test-test.cc250 class IntWrapper { class
252 explicit IntWrapper(int a_value) : value_(a_value) {} in IntWrapper() function in IntWrapper
253 IntWrapper(const IntWrapper& other) : value_(other.value_) {} in IntWrapper() function in IntWrapper
255 IntWrapper operator=(const IntWrapper& other) { in operator =()
260 IntWrapper operator+(int other) const { return IntWrapper(value_ + other); } in operator +()
261 bool operator<(const IntWrapper& other) const { in operator <()
271 const ParamGenerator<IntWrapper> gen = Range(IntWrapper(0), IntWrapper(2)); in TEST()
272 ParamGenerator<IntWrapper>::iterator it = gen.begin(); in TEST()
/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/llvm-project/clang/test/SemaCXX/
Dmatrix-type-builtins.cpp79 struct IntWrapper { struct
85 void test_column_major_load_wrapper(unsigned *Ptr, IntWrapper &W) { in test_column_major_load_wrapper() argument
161 void test_column_major_store_wrapper(unsigned *Ptr, MyMatrix<unsigned, 3, 3> &M, IntWrapper &W) { in test_column_major_store_wrapper()
/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() function
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);

12