Home
last modified time | relevance | path

Searched refs:pathRef (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/core/
DSkPathRef.cpp15 SkPathRef::Editor::Editor(SkAutoTUnref<SkPathRef>* pathRef, in Editor() argument
19 if ((*pathRef)->unique()) { in Editor()
20 (*pathRef)->incReserve(incReserveVerbs, incReservePoints); in Editor()
23 copy->copy(**pathRef, incReserveVerbs, incReservePoints); in Editor()
24 pathRef->reset(copy); in Editor()
26 fPathRef = *pathRef; in Editor()
177 void SkPathRef::Rewind(SkAutoTUnref<SkPathRef>* pathRef) { in Rewind() argument
178 if ((*pathRef)->unique()) { in Rewind()
179 SkDEBUGCODE((*pathRef)->validate();) in Rewind()
180 (*pathRef)->callGenIDChangeListeners(); in Rewind()
[all …]
DSkPath.cpp1708 matrix.mapPoints(ed.points(), ed.pathRef()->countPoints()); in transform()
2052 SkPathRef* pathRef = SkPathRef::CreateFromBuffer(&buffer); in readFromMemory() local
2053 if (!pathRef) { in readFromMemory()
2057 fPathRef.reset(pathRef); in readFromMemory()
2474 ContourIter(const SkPathRef& pathRef);
2492 ContourIter::ContourIter(const SkPathRef& pathRef) { in ContourIter() argument
2493 fStopVerbs = pathRef.verbsMemBegin(); in ContourIter()
2495 fCurrPt = pathRef.points(); in ContourIter()
2496 fCurrVerb = pathRef.verbs(); in ContourIter()
2497 fCurrConicWeight = pathRef.conicWeights(); in ContourIter()
/external/skia/src/ports/
DSkOSFile_stdio.cpp28 CFStringRef pathRef = CFStringCreateWithCString(NULL, path, kCFStringEncodingUTF8); in ios_open_from_bundle() local
29 CFURLRef imageURL = CFBundleCopyResourceURL(mainBundle, pathRef, NULL, NULL); in ios_open_from_bundle()
/external/skia/include/core/
DSkPathRef.h42 Editor(SkAutoTUnref<SkPathRef>* pathRef,
100 SkPathRef* pathRef() { return fPathRef; } in pathRef() function
220 static void Rewind(SkAutoTUnref<SkPathRef>* pathRef);
/external/clang/lib/Basic/
DFileManager.cpp389 StringRef pathRef(path.data(), path.size()); in FixupRelativePath() local
392 || llvm::sys::path::is_absolute(pathRef)) in FixupRelativePath()
396 llvm::sys::path::append(NewPath, pathRef); in FixupRelativePath()
/external/skia/tests/
DPathTest.cpp3689 SkAutoTUnref<SkPathRef> pathRef(new SkPathRef); in TestPathRef() local
3691 SkPathRef::Editor ed(&pathRef); in TestPathRef()
3695 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef()
3696 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef()
3697 REPORTER_ASSERT(reporter, 0 == pathRef->getSegmentMasks()); in TestPathRef()
3699 REPORTER_ASSERT(reporter, SkPath::kMove_Verb == pathRef->atVerb(i)); in TestPathRef()
3706 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef()
3707 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef()
3708 REPORTER_ASSERT(reporter, SkPath::kLine_SegmentMask == pathRef->getSegmentMasks()); in TestPathRef()
3710 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == pathRef->atVerb(i)); in TestPathRef()
[all …]