/external/skia/src/core/ |
D | SkPathRef.cpp | 27 SkPathRef::Editor::Editor(sk_sp<SkPathRef>* pathRef, in Editor() argument 31 if ((*pathRef)->unique()) { in Editor() 32 (*pathRef)->incReserve(incReserveVerbs, incReservePoints); in Editor() 35 copy->copy(**pathRef, incReserveVerbs, incReservePoints); in Editor() 36 pathRef->reset(copy); in Editor() 38 fPathRef = pathRef->get(); in Editor() 350 void SkPathRef::Rewind(sk_sp<SkPathRef>* pathRef) { in Rewind() argument 351 if ((*pathRef)->unique()) { in Rewind() 352 SkDEBUGCODE((*pathRef)->validate();) in Rewind() 353 (*pathRef)->callGenIDChangeListeners(); in Rewind() [all …]
|
D | SkPath_serial.cpp | 315 SkPathRef* pathRef = SkPathRef::CreateFromBuffer(&buffer); in readFromMemory_LE3() local 316 if (!pathRef) { in readFromMemory_LE3() 320 fPathRef.reset(pathRef); in readFromMemory_LE3()
|
D | SkPath.cpp | 1795 matrix.mapPoints(ed.points(), ed.pathRef()->countPoints()); in transform() 2514 ContourIter(const SkPathRef& pathRef); 2532 ContourIter::ContourIter(const SkPathRef& pathRef) { in ContourIter() argument 2533 fStopVerbs = pathRef.verbsMemBegin(); in ContourIter() 2535 fCurrPt = pathRef.points(); in ContourIter() 2536 fCurrVerb = pathRef.verbs(); in ContourIter() 2537 fCurrConicWeight = pathRef.conicWeights(); in ContourIter()
|
/external/skqp/src/core/ |
D | SkPathRef.cpp | 27 SkPathRef::Editor::Editor(sk_sp<SkPathRef>* pathRef, in Editor() argument 31 if ((*pathRef)->unique()) { in Editor() 32 (*pathRef)->incReserve(incReserveVerbs, incReservePoints); in Editor() 35 copy->copy(**pathRef, incReserveVerbs, incReservePoints); in Editor() 36 pathRef->reset(copy); in Editor() 38 fPathRef = pathRef->get(); in Editor() 350 void SkPathRef::Rewind(sk_sp<SkPathRef>* pathRef) { in Rewind() argument 351 if ((*pathRef)->unique()) { in Rewind() 352 SkDEBUGCODE((*pathRef)->validate();) in Rewind() 353 (*pathRef)->callGenIDChangeListeners(); in Rewind() [all …]
|
D | SkPath.cpp | 1767 matrix.mapPoints(ed.points(), ed.pathRef()->countPoints()); in transform() 2199 SkPathRef* pathRef = SkPathRef::CreateFromBuffer(&buffer); in readFromMemory() local 2200 if (!pathRef) { in readFromMemory() 2204 fPathRef.reset(pathRef); in readFromMemory() 2630 ContourIter(const SkPathRef& pathRef); 2648 ContourIter::ContourIter(const SkPathRef& pathRef) { in ContourIter() argument 2649 fStopVerbs = pathRef.verbsMemBegin(); in ContourIter() 2651 fCurrPt = pathRef.points(); in ContourIter() 2652 fCurrVerb = pathRef.verbs(); in ContourIter() 2653 fCurrConicWeight = pathRef.conicWeights(); in ContourIter()
|
/external/skia/src/ports/ |
D | SkOSFile_ios.h | 18 CFStringRef pathRef = CFStringCreateWithCString(nullptr, path, kCFStringEncodingUTF8); in ios_get_path_in_bundle() local 21 CFURLRef imageURL = CFBundleCopyResourceURL(mainBundle, pathRef, nullptr, CFSTR("data")); in ios_get_path_in_bundle() 22 CFRelease(pathRef); in ios_get_path_in_bundle()
|
/external/skqp/src/ports/ |
D | SkOSFile_ios.h | 18 CFStringRef pathRef = CFStringCreateWithCString(nullptr, path, kCFStringEncodingUTF8); in ios_get_path_in_bundle() local 21 CFURLRef imageURL = CFBundleCopyResourceURL(mainBundle, pathRef, nullptr, CFSTR("data")); in ios_get_path_in_bundle() 22 CFRelease(pathRef); in ios_get_path_in_bundle()
|
/external/skqp/include/private/ |
D | SkPathRef.h | 43 Editor(sk_sp<SkPathRef>* pathRef, 101 SkPathRef* pathRef() { return fPathRef; } in pathRef() function 246 static void Rewind(sk_sp<SkPathRef>* pathRef);
|
/external/skia/include/private/ |
D | SkPathRef.h | 44 Editor(sk_sp<SkPathRef>* pathRef, 102 SkPathRef* pathRef() { return fPathRef; } in pathRef() function 247 static void Rewind(sk_sp<SkPathRef>* pathRef);
|
/external/clang/lib/Basic/ |
D | FileManager.cpp | 391 StringRef pathRef(path.data(), path.size()); in FixupRelativePath() local 394 || llvm::sys::path::is_absolute(pathRef)) in FixupRelativePath() 398 llvm::sys::path::append(NewPath, pathRef); in FixupRelativePath()
|
/external/skia/tests/ |
D | PathTest.cpp | 4086 sk_sp<SkPathRef> pathRef(new SkPathRef); in TestPathRef() local 4088 SkPathRef::Editor ed(&pathRef); in TestPathRef() 4092 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef() 4093 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef() 4094 REPORTER_ASSERT(reporter, 0 == pathRef->getSegmentMasks()); in TestPathRef() 4096 REPORTER_ASSERT(reporter, SkPath::kMove_Verb == pathRef->atVerb(i)); in TestPathRef() 4103 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef() 4104 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef() 4105 REPORTER_ASSERT(reporter, SkPath::kLine_SegmentMask == pathRef->getSegmentMasks()); in TestPathRef() 4107 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == pathRef->atVerb(i)); in TestPathRef() [all …]
|
/external/skqp/tests/ |
D | PathTest.cpp | 4180 sk_sp<SkPathRef> pathRef(new SkPathRef); in TestPathRef() local 4182 SkPathRef::Editor ed(&pathRef); in TestPathRef() 4186 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef() 4187 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef() 4188 REPORTER_ASSERT(reporter, 0 == pathRef->getSegmentMasks()); in TestPathRef() 4190 REPORTER_ASSERT(reporter, SkPath::kMove_Verb == pathRef->atVerb(i)); in TestPathRef() 4197 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef() 4198 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef() 4199 REPORTER_ASSERT(reporter, SkPath::kLine_SegmentMask == pathRef->getSegmentMasks()); in TestPathRef() 4201 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == pathRef->atVerb(i)); in TestPathRef() [all …]
|