/external/skia/src/core/ |
D | SkPathRef.cpp | 19 SkPathRef::Editor::Editor(sk_sp<SkPathRef>* pathRef, in Editor() argument 26 if ((*pathRef)->unique()) { in Editor() 27 (*pathRef)->incReserve(incReserveVerbs, incReservePoints); in Editor() 30 copy->copy(**pathRef, incReserveVerbs, incReservePoints); in Editor() 31 pathRef->reset(copy); in Editor() 33 fPathRef = pathRef->get(); in Editor() 204 void SkPathRef::Rewind(sk_sp<SkPathRef>* pathRef) { in Rewind() argument 205 if ((*pathRef)->unique()) { in Rewind() 206 SkDEBUGCODE((*pathRef)->validate();) in Rewind() 207 (*pathRef)->callGenIDChangeListeners(); in Rewind() [all …]
|
D | SkPath.cpp | 1625 matrix.mapPoints(ed.writablePoints(), ed.pathRef()->countPoints()); in transform() 2275 ContourIter(const SkPathRef& pathRef); 2293 ContourIter::ContourIter(const SkPathRef& pathRef) { in ContourIter() argument 2294 fStopVerbs = pathRef.verbsEnd(); in ContourIter() 2296 fCurrPt = pathRef.points(); in ContourIter() 2297 fCurrVerb = pathRef.verbsBegin(); in ContourIter() 2298 fCurrConicWeight = pathRef.conicWeights(); in ContourIter()
|
/external/skqp/src/core/ |
D | SkPathRef.cpp | 29 SkPathRef::Editor::Editor(sk_sp<SkPathRef>* pathRef, in Editor() argument 36 if ((*pathRef)->unique()) { in Editor() 37 (*pathRef)->incReserve(incReserveVerbs, incReservePoints); in Editor() 40 copy->copy(**pathRef, incReserveVerbs, incReservePoints); in Editor() 41 pathRef->reset(copy); in Editor() 43 fPathRef = pathRef->get(); in Editor() 397 void SkPathRef::Rewind(sk_sp<SkPathRef>* pathRef) { in Rewind() argument 398 if ((*pathRef)->unique()) { in Rewind() 399 SkDEBUGCODE((*pathRef)->validate();) in Rewind() 400 (*pathRef)->callGenIDChangeListeners(); in Rewind() [all …]
|
D | SkPath_serial.cpp | 317 SkPathRef* pathRef = SkPathRef::CreateFromBuffer(&buffer); in readFromMemory_LE3() local 318 if (!pathRef) { in readFromMemory_LE3() 322 fPathRef.reset(pathRef); in readFromMemory_LE3()
|
D | SkPath.cpp | 1849 matrix.mapPoints(ed.points(), ed.pathRef()->countPoints()); in transform() 2916 ContourIter(const SkPathRef& pathRef); 2934 ContourIter::ContourIter(const SkPathRef& pathRef) { in ContourIter() argument 2935 fStopVerbs = pathRef.verbsMemBegin(); in ContourIter() 2937 fCurrPt = pathRef.points(); in ContourIter() 2938 fCurrVerb = pathRef.verbs(); in ContourIter() 2939 fCurrConicWeight = pathRef.conicWeights(); in ContourIter()
|
/external/skqp/src/ports/ |
D | SkOSFile_ios.h | 21 CFStringRef pathRef = CFStringCreateWithCString(nullptr, path, kCFStringEncodingUTF8); in ios_get_path_in_bundle() local 24 CFURLRef imageURL = CFBundleCopyResourceURL(mainBundle, pathRef, nullptr, CFSTR("data")); in ios_get_path_in_bundle() 25 CFRelease(pathRef); in ios_get_path_in_bundle()
|
/external/skia/src/ports/ |
D | SkOSFile_ios.h | 21 CFStringRef pathRef = CFStringCreateWithCString(nullptr, path, kCFStringEncodingUTF8); in ios_get_path_in_bundle() local 24 CFURLRef imageURL = CFBundleCopyResourceURL(mainBundle, pathRef, nullptr, CFSTR("data")); in ios_get_path_in_bundle() 25 CFRelease(pathRef); in ios_get_path_in_bundle()
|
/external/skia/include/private/ |
D | SkPathRef.h | 45 Editor(sk_sp<SkPathRef>* pathRef, 108 SkPathRef* pathRef() { return fPathRef; } in pathRef() function 253 static void Rewind(sk_sp<SkPathRef>* pathRef);
|
/external/skqp/include/private/ |
D | SkPathRef.h | 45 Editor(sk_sp<SkPathRef>* pathRef, 103 SkPathRef* pathRef() { return fPathRef; } in pathRef() function 248 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 | 4199 sk_sp<SkPathRef> pathRef(new SkPathRef); in TestPathRef() local 4201 SkPathRef::Editor ed(&pathRef); in TestPathRef() 4205 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef() 4206 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef() 4207 REPORTER_ASSERT(reporter, 0 == pathRef->getSegmentMasks()); in TestPathRef() 4209 REPORTER_ASSERT(reporter, SkPath::kMove_Verb == pathRef->atVerb(i)); in TestPathRef() 4216 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef() 4217 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef() 4218 REPORTER_ASSERT(reporter, SkPath::kLine_SegmentMask == pathRef->getSegmentMasks()); in TestPathRef() 4220 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == pathRef->atVerb(i)); in TestPathRef() [all …]
|
/external/skqp/tests/ |
D | PathTest.cpp | 4193 sk_sp<SkPathRef> pathRef(new SkPathRef); in TestPathRef() local 4195 SkPathRef::Editor ed(&pathRef); in TestPathRef() 4199 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef() 4200 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef() 4201 REPORTER_ASSERT(reporter, 0 == pathRef->getSegmentMasks()); in TestPathRef() 4203 REPORTER_ASSERT(reporter, SkPath::kMove_Verb == pathRef->atVerb(i)); in TestPathRef() 4210 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef() 4211 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef() 4212 REPORTER_ASSERT(reporter, SkPath::kLine_SegmentMask == pathRef->getSegmentMasks()); in TestPathRef() 4214 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == pathRef->atVerb(i)); in TestPathRef() [all …]
|