Home
last modified time | relevance | path

Searched refs:m_path (Results 1 – 25 of 71) sorted by relevance

123

/external/webkit/Source/WebCore/platform/graphics/wx/
DPathWx.cpp53 m_path = 0; in Path()
63 m_path = new wxGraphicsPath(path); in Path()
75 m_path = new wxGraphicsPath(*path.m_path); in Path()
81 if (m_path) { in contains()
83 …return m_path->Contains(point.x(), point.y(), static_cast<wxPolygonFillMode>(getWxWindRuleForWindR… in contains()
85 return m_path->Contains(point.x(), point.y(), getWxWindRuleForWindRule(rule)); in contains()
100 if (m_path) { in boundingRect()
101 return m_path->GetBox(); in boundingRect()
122 *m_path = *path.platformPath(); in operator =()
128 if (m_path) in clear()
[all …]
/external/webkit/Source/WebCore/platform/graphics/openvg/
DPathOpenVG.cpp107 m_path = new PlatformPathOpenVG(); in Path()
112 delete m_path; in ~Path()
117 m_path = new PlatformPathOpenVG(*(other.m_path)); in Path()
122 *m_path = *(other.m_path); in operator =()
165 m_path->makeCompatibleContextCurrent(); in boundingRect()
166 vgPathBounds(m_path->vgPath(), &minX, &minY, &width, &height); in boundingRect()
186 m_path->makeCompatibleContextCurrent(); in moveTo()
187 vgAppendPathData(m_path->vgPath(), 1, pathSegments, pathData); in moveTo()
190 m_path->m_currentPoint = m_path->m_subpathStartPoint = point; in moveTo()
198 m_path->makeCompatibleContextCurrent(); in addLineTo()
[all …]
/external/webkit/Source/WebCore/platform/graphics/wince/
DPathWinCE.cpp33 : m_path(new PlatformPath()) in Path()
38 : m_path(new PlatformPath(*other.m_path)) in Path()
44 delete m_path; in ~Path()
50 delete m_path; in operator =()
51 m_path = new PlatformPath(*other.m_path); in operator =()
58 return m_path->contains(point, rule); in contains()
63 m_path->translate(size); in translate()
68 return m_path->boundingRect(); in boundingRect()
73 m_path->moveTo(point); in moveTo()
78 m_path->addLineTo(point); in addLineTo()
[all …]
/external/webkit/Source/WebCore/platform/graphics/qt/
DPathQt.cpp56 : m_path(other.m_path) in Path()
62 m_path = other.m_path; in operator =()
104 Qt::FillRule savedRule = m_path.fillRule(); in contains()
105 …const_cast<QPainterPath*>(&m_path)->setFillRule(rule == RULE_EVENODD ? Qt::OddEvenFill : Qt::Windi… in contains()
107 bool contains = m_path.contains(point); in contains()
111 contains = isPointOnPathBorder(m_path.toFillPolygon(), point); in contains()
114 const_cast<QPainterPath*>(&m_path)->setFillRule(savedRule); in contains()
142 return stroke.createStroke(m_path).contains(point); in strokeContains()
149 m_path = m_path * matrix; in translate()
154 return m_path.boundingRect(); in boundingRect()
[all …]
/external/webkit/Source/WebCore/platform/graphics/skia/
DPathSkia.cpp48 m_path = new SkPath; in Path()
53 m_path = new SkPath(*other.m_path); in Path()
58 delete m_path; in ~Path()
63 *m_path = *other.m_path; in operator =()
69 return m_path->isEmpty(); in isEmpty()
74 return m_path->getPoints(NULL, 0) != 0; in hasCurrentPoint()
86 return SkPathContainsPoint(m_path, point, in contains()
92 m_path->offset(WebCoreFloatToSkScalar(size.width()), WebCoreFloatToSkScalar(size.height())); in translate()
97 return m_path->getBounds(); in boundingRect()
102 m_path->moveTo(point); in moveTo()
[all …]
/external/webkit/Source/WebCore/platform/graphics/cg/
DPathCG.cpp69 : m_path(CGPathCreateMutable()) in Path()
75 CGPathRelease(m_path); in ~Path()
79 : m_path(CGPathCreateMutableCopy(other.m_path)) in Path()
85 CGMutablePathRef path = CGPathCreateMutableCopy(other.m_path); in operator =()
86 CGPathRelease(m_path); in operator =()
87 m_path = path; in operator =()
131 RetainPtr<CGMutablePathRef> path(AdoptCF, copyCGPathClosingSubpaths(m_path)); in contains()
159 CGPathAddPath(newPath, &translation, m_path); in translate()
160 CGPathRelease(m_path); in translate()
161 m_path = newPath; in translate()
[all …]
/external/webkit/Source/WebCore/svg/
DSVGPathBuilder.cpp32 : m_path(0) in SVGPathBuilder()
38 ASSERT(m_path); in moveTo()
40 if (closed && !m_path->isEmpty()) in moveTo()
41 m_path->closeSubpath(); in moveTo()
42 m_path->moveTo(m_current); in moveTo()
47 ASSERT(m_path); in lineTo()
49 m_path->addLineTo(m_current); in lineTo()
54 ASSERT(m_path); in curveToCubic()
56 m_path->addBezierCurveTo(m_current + point1, m_current + point2, m_current + targetPoint); in curveToCubic()
60 m_path->addBezierCurveTo(point1, point2, m_current); in curveToCubic()
[all …]
DSVGPathBuilder.h38 void setCurrentPath(Path* path) { m_path = path; } in setCurrentPath()
43 virtual void cleanup() { m_path = 0; } in cleanup()
59 Path* m_path; variable
/external/webkit/Source/WebCore/platform/graphics/android/
DPathAndroid.cpp45 m_path = new SkPath; in Path()
51 m_path = new SkPath(*other.m_path); in Path()
56 delete m_path; in ~Path()
61 *m_path = *other.m_path; in operator =()
67 return m_path->isEmpty(); in isEmpty()
76 return m_path->getPoints(0, 0) > 0; in hasCurrentPoint()
83 m_path->getLastPt(&lastPt); in currentPoint()
98 SkPath::FillType ft = m_path->getFillType(); // save in contains()
99m_path->setFillType(rule == RULE_NONZERO ? SkPath::kWinding_FillType : SkPath::kEvenOdd_FillType); in contains()
101 bool contains = rgn.setPath(*m_path, clip); in contains()
[all …]
/external/webkit/Source/WebCore/platform/graphics/haiku/
DPathHaiku.cpp41 : m_path(new BRegion()) in Path()
47 delete m_path; in ~Path()
51 : m_path(new BRegion(*other.platformPath())) in Path()
58 m_path = other.platformPath(); in operator =()
78 return m_path->Contains(point); in contains()
88 return m_path->Frame(); in boundingRect()
129 m_path->Include(r); in addRect()
139 m_path->MakeEmpty(); in clear()
144 return !m_path->Frame().IsValid(); in isEmpty()
/external/opencv/otherlibs/highgui/
Dloadsave.cpp73 const char* Get() const { return m_path; };
89 char* m_path;
97 delete[] m_path;
104 m_path = 0;
131 if( m_path )
133 memcpy( new_path, m_path, m_len );
134 delete[] m_path;
137 m_path = new_path;
141 m_path[m_len++] = ';';
142 memcpy( m_path + m_len, buffer, len );
[all …]
/external/webkit/Source/WebCore/fileapi/
DFile.cpp51 , m_path(path) in File()
58 , m_path(path) in File()
66 , m_path(path) in File()
76 if (!getFileModificationTime(m_path, modificationTime)) in lastModifiedDate()
88 if (!getFileSize(m_path, size)) in size()
99 if (!getFileSize(m_path, snapshotSize) || !getFileModificationTime(m_path, modificationTime)) { in captureSnapshot()
DDOMFileSystem.cpp127 m_path = metadata.platformPath; in didReadMetadata()
129 m_filesystem->scheduleCallback(m_successCallback.release(), File::create(m_path)); in didReadMetadata()
136 , m_path(path) in GetPathCallback()
142 String m_path; member in WebCore::__anon905f5dc10211::GetPathCallback
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DURI.java133 private String m_path = null; field in URI
347 m_path = p_other.getPath(); in initialize()
458 if (m_path.length() == 0 && m_scheme == null && m_host == null) in initialize()
464 m_path = p_base.getPath(); in initialize()
495 if (m_path.length() > 0 && m_path.startsWith("/")) in initialize()
517 path = path.concat(m_path); in initialize()
568 m_path = path; in initialize()
770 m_path = p_uriSpec.substring(start, index); in initializePath()
887 if (m_path != null) in getSchemeSpecificPart()
889 schemespec.append((m_path)); in getSchemeSpecificPart()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/utils/
DURI.java130 private String m_path = null; field in URI
344 m_path = p_other.getPath(); in initialize()
478 if (m_path.length() == 0 && m_scheme == null && m_host == null) in initialize()
484 m_path = p_base.getPath(); in initialize()
515 if (m_path.length() > 0 && m_path.startsWith("/")) in initialize()
537 path = path.concat(m_path); in initialize()
588 m_path = path; in initialize()
790 m_path = p_uriSpec.substring(start, index); in initializePath()
907 if (m_path != null) in getSchemeSpecificPart()
909 schemespec.append((m_path)); in getSchemeSpecificPart()
[all …]
/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGPath.cpp90 return m_path.contains(point, fillRule); in fillContains()
103 return m_path.strokeContains(&strokeStyle, point); in strokeContains()
115 m_path.clear(); in layout()
116 element->toPathData(m_path); in layout()
158 fillPaintingResource->postApplyResource(this, context, ApplyToFillMode, &m_path); in fillAndStrokePath()
163 fallbackResource->postApplyResource(this, context, ApplyToFillMode, &m_path); in fillAndStrokePath()
182 path = m_path; in fillAndStrokePath()
191 …gResource->postApplyResource(this, context, ApplyToStrokeMode, nonScalingStroke ? &path : &m_path); in fillAndStrokePath()
196 …kResource->postApplyResource(this, context, ApplyToStrokeMode, nonScalingStroke ? &path : &m_path); in fillAndStrokePath()
205 … if (paintInfo.context->paintingDisabled() || style()->visibility() == HIDDEN || m_path.isEmpty()) in paint()
[all …]
/external/webkit/Source/WebCore/storage/
DStorageSyncManager.cpp52 , m_path(path.crossThreadString()) in StorageSyncManager()
55 ASSERT(!m_path.isEmpty()); in StorageSyncManager()
68 if (!makeAllDirectories(m_path)) { in fullDatabaseFilename()
69 LOG_ERROR("Unabled to create LocalStorage database path %s", m_path.utf8().data()); in fullDatabaseFilename()
73 return pathByAppendingComponent(m_path, databaseIdentifier + ".localstorage"); in fullDatabaseFilename()
DStorageNamespaceImpl.cpp73 , m_path(path.crossThreadString()) in StorageNamespaceImpl()
78 if (m_storageType == LocalStorage && !m_path.isEmpty()) in StorageNamespaceImpl()
79 m_syncManager = StorageSyncManager::create(m_path); in StorageNamespaceImpl()
87 ASSERT(localStorageNamespaceMap().get(m_path) == this); in ~StorageNamespaceImpl()
88 localStorageNamespaceMap().remove(m_path); in ~StorageNamespaceImpl()
101 …geNamespaceImpl> newNamespace = adoptRef(new StorageNamespaceImpl(m_storageType, m_path, m_quota)); in copy()
/external/webkit/Source/WebCore/plugins/android/
DPluginPackageAndroid.cpp213 PLUGIN_LOG("Loading \"%s\"\n", m_path.utf8().data()); in load()
216 void *handle = dlopen(m_path.utf8().data(), RTLD_NOW); in load()
219 m_path.utf8().data(), dlerror()); in load()
267 PLUGIN_LOG("Fetch Info Loading \"%s\"\n", m_path.utf8().data()); in fetchInfo()
270 void *handle = dlopen(m_path.utf8().data(), RTLD_NOW); in fetchInfo()
273 m_path.utf8().data(), dlerror()); in fetchInfo()
308 int last_slash = m_path.reverseFind('/'); in fetchInfo()
310 m_fileName = m_path; in fetchInfo()
312 m_fileName = m_path.substring(last_slash + 1); in fetchInfo()
359 m_path.utf8().data()); in fetchInfo()
/external/webkit/Source/WebCore/html/canvas/
DCanvasRenderingContext2D.cpp176 m_path.clear(); in reset()
308 m_path.transform(state().m_transform); in restore()
310 m_path.transform(state().m_transform.inverse()); in restore()
572 m_path.transform(AffineTransform().scaleNonUniform(1.0 / sx, 1.0 / sy)); in scale()
595 m_path.transform(AffineTransform().rotate(-angleInRadians / piDouble * 180.0)); in rotate()
618 m_path.transform(AffineTransform().translate(-tx, -ty)); in translate()
641 m_path.transform(transform.inverse()); in transform()
659 m_path.transform(ctm); in setTransform()
749 m_path.clear(); in beginPath()
754 if (m_path.isEmpty()) in closePath()
[all …]
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/mac/
DInjectedBundleMac.cpp43 …ndle::load failed - Could not consume bundle sandbox extension for [%s].\n", m_path.utf8().data()); in load()
50 …tringCreateWithCharacters(0, reinterpret_cast<const UniChar*>(m_path.characters()), m_path.length(… in load()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DInspectorServerQt.cpp194 m_path = header.path(); in tcpReadyRead()
206 QStringList pathAndQuery = m_path.split(QLatin1Char('?')); in tcpReadyRead()
207 m_path = pathAndQuery[0]; in tcpReadyRead()
208 QStringList words = m_path.split(QLatin1Char('/')); in tcpReadyRead()
229 …Sec-WebSocket-Location"), (QLatin1String("ws://") + header.value(QLatin1String("Host")) + m_path)); in tcpReadyRead()
261 if (m_path.isEmpty() || (m_path == QString(QLatin1Char('/')))) { in tcpReadyRead()
273 QString path = QString::fromLatin1(":%1").arg(m_path); in tcpReadyRead()
/external/webkit/Source/WebCore/loader/appcache/
DApplicationCacheResource.h59 const String& path() const { return m_path; } in path()
60 void setPath(const String& path) { m_path = path; } in setPath()
72 String m_path; variable
/external/webkit/Source/WebCore/plugins/win/
DPluginPackageWin.cpp170 …versionInfoSize = GetFileVersionInfoSizeW(const_cast<UChar*>(m_path.charactersWithNullTermination(… in fetchInfo()
176 if (!GetFileVersionInfoW(const_cast<UChar*>(m_path.charactersWithNullTermination()), in fetchInfo()
241 m_module = ::LoadLibraryW(m_path.charactersWithNullTermination()); in load()
248 String path = m_path.substring(0, m_path.reverseFind('\\')); in load()
254 …m_module = ::LoadLibraryExW(m_path.charactersWithNullTermination(), 0, LOAD_WITH_ALTERED_SEARCH_PA… in load()
/external/webkit/Source/WebCore/plugins/qt/
DPluginPackageQt.cpp141 m_module = new QLibrary((QString)m_path); in load()
144 LOG(Plugins, "%s not loaded (%s)", m_path.utf8().data(), in load()
165 if (m_path.contains("npwrapper.")) { in load()
172 } else if (m_path.contains("flashplayer")) { in load()

123