/external/clang/test/CodeGenCXX/ |
dynamic_cast-no-rtti.cpp | 12 // An upcast can be resolved statically and can be used with -fno-rtti, iff it 14 A *upcast(B *b) { function
|
/external/skia/src/pathops/ |
SkPathOpsPostSect.cpp | 65 span->upCast()->detach(kept); 91 SkOpSpan* span = this->upCast(); 287 this->upCast()->mergeAttributes(span->upCast()); 346 SkOpSpan* coinStart = coinPtTStart->span()->upCast(); 348 SkOpSpan* oppStart = (flipped ? oppPtTEnd : oppPtTStart)->span()->upCast(); 385 SkOpSpan* start = coin->fCoinPtTStart->span()->upCast(); 389 SkOpSpan* oStart = (flipped ? coin->fOppPtTEnd : coin->fOppPtTStart)->span()->upCast(); 400 oStart = oNext->upCast(); 464 start = next->upCast(); [all...] |
SkOpSpan.h | 265 return result->upCast(); 271 return result->upCast(); 284 return result->upCast(); 299 SkOpSpan* upCast() { 304 const SkOpSpan* upCast() const { 310 return final() ? NULL : upCast(); 314 return final() ? NULL : upCast();
|
SkOpCoincidence.cpp | 198 SkOpSpan* start = coin->fCoinPtTStart->span()->upCast(); 205 SkOpSpan* oStart = (flipped ? coin->fOppPtTEnd : coin->fOppPtTStart)->span()->upCast(); 220 oStart = oNext->upCast(); 289 start = next->upCast(); 294 oStart = oNext->upCast(); 325 SkOpSpan* start = coin->fCoinPtTStart->span()->upCast(); 338 SkOpSpanBase* next = end->final() ? NULL : end->upCast()->next(); 403 next = next->upCast()->next(); 404 oNext = flipped ? oNext->prev() : oNext->upCast()->next(); 411 SkOpSpan* nextSpan = next->upCast(); [all...] |
SkOpSegment.cpp | 229 } while ((test = test->upCast()->next())); 293 } while ((span = span->upCast()->next())); 305 while ((span = span->upCast()->next())) { 338 SkOpSpan* span = spanBase->upCast(); 366 span = base->upCast(); 562 *nextEnd = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); 565 SkOpSpanBase* endNear = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); 629 SkDebugf(" windSum=%d", last->upCast()->windSum()); 667 *nextEnd = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); 670 SkOpSpanBase* endNear = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev() [all...] |
SkOpSegment.h | 258 int result = start->t() < end->t() ? -start->upCast()->oppValue() 259 : end->upCast()->oppValue(); 327 int result = start->t() < end->t() ? -start->upCast()->windValue() 328 : end->upCast()->windValue(); 334 return start->t() < end->t() ? start->upCast()->toAngle() : start->fromAngle();
|
SkPathOpsDebug.cpp | 415 done += span->upCast()->done() ? 1 : 0; 418 SkASSERT(!prev || prev->upCast()->next() == span); 425 } while (!span->final() && (span = span->upCast()->next())); 468 SkASSERT(this->upCast()->debugCoinLoopCheck()); 473 if (!this->final() && this->upCast()->toAngle()) { 474 this->upCast()->toAngle()->debugValidate();
|
SkPathOpsSimplify.cpp | 76 SkDebugf(" windSum=%d", last->upCast()->windSum());
|
SkPathOpsWinding.cpp | 199 } while (!next->final() && (span = next->upCast())); 370 } while (!next->final() && (span = next->upCast()));
|
SkOpSpan.cpp | 77 span->upCast()->detach(kept);
|
SkPathOpsOp.cpp | 150 SkDebugf(" windSum=%d", last->upCast()->windSum());
|
/external/compiler-rt/test/ubsan/TestCases/TypeCheck/ |
misaligned.cpp | 9 // RUN: %run %t u1 2>&1 | FileCheck %s --check-prefix=CHECK-UPCAST 90 // CHECK-UPCAST: misaligned.cpp:[[@LINE+4]]:17: runtime error: upcast of misaligned address [[PTR:0x[0-9a-f]*]] for type 'T', which requires 4 byte alignment 91 // CHECK-UPCAST-NEXT: [[PTR]]: note: pointer points here 92 // CHECK-UPCAST-NEXT: {{^ 00 00 00 01 02 03 04 05}} 93 // CHECK-UPCAST-NEXT: {{^ \^}}
|
/external/llvm/unittests/Support/ |
Casting.cpp | 183 // types are statically known to be OK to upcast. This is the case when, 191 // No classof. We are testing that the upcast is inferred. 210 // This test verifies that the inferred upcast takes precedence over an
|
/external/clang/test/SemaCXX/ |
address-space-conversion.cpp | 53 // Well-formed upcast 104 // Well-formed upcast
|
cstyle-cast.cpp | 156 // Member pointer upcast.
|
static-cast.cpp | 132 // Member pointer upcast.
|
functional-cast.cpp | 217 // Member pointer upcast.
|
warn-reinterpret-base-class.cpp | 65 // Base class outside upcast base-chain is malformed. 82 // Virtual base class outside upcast base-chain is malformed.
|
/external/skia/tests/ |
PathOpsDebug.cpp | 941 this->upCast()->dumpSpan(); 946 } else if (this->final() || !this->upCast()->isCoincident()) { 1027 } while (!span->final() && (span = span->upCast()->next())); 1038 } while (!span->final() && (span = span->upCast()->next())); 1047 const SkOpAngle* tAngle = span->final() ? NULL : span->upCast()->toAngle(); 1056 } while (!span->final() && (span = span->upCast()->next())); [all...] |
PathOpsAngleTest.cpp | 483 startSpan = startSpan->upCast()->next(); 487 endSpan = endSpan->upCast()->next(); 491 startSpan->upCast()->setToAngle(angle); 494 endSpan->upCast()->setToAngle(angle);
|
/art/runtime/base/ |
casts.h | 52 // When you upcast (that is, cast a pointer from type Foo to type
|
/external/ceres-solver/internal/ceres/ |
casts.h | 71 // When you upcast (that is, cast a pointer from type Foo to type
|
/external/guava/guava/src/com/google/common/collect/ |
RegularImmutableMap.java | 143 * result must never be upcast back to ImmutableMapEntry[] (or Object[], etc.), or
|
/external/compiler-rt/lib/ubsan/ |
ubsan_handlers.cc | 38 "upcast of", "cast to virtual base of"};
|
/external/skia/src/utils/ |
SkCanvasStateUtils.cpp | 355 // Upcast to the correct version of SkCanvasState. This avoids having a virtual destructor on
|