Home
last modified time | relevance | path

Searched refs:Path (Results 1 – 25 of 230) sorted by relevance

12345678910

/frameworks/compile/mclinker/lib/Support/
DPath.cpp34 const Path::StringType separator_str("/");
41 const Path::StringType separator_str("/");
49 Path::Path() : m_PathName() { in Path() function in mcld::sys::fs::Path
52 Path::Path(const Path::ValueType* s) : m_PathName(s) { in Path() function in mcld::sys::fs::Path
55 Path::Path(const Path::StringType& s) : m_PathName(s) { in Path() function in mcld::sys::fs::Path
58 Path::Path(const Path& pCopy) : m_PathName(pCopy.m_PathName) { in Path() function in mcld::sys::fs::Path
61 Path::~Path() { in ~Path()
64 bool Path::isFromRoot() const { in isFromRoot()
70 bool Path::isFromPWD() const { in isFromPWD()
76 Path& Path::assign(const Path::StringType& s) { in assign()
[all …]
DRealPath.cpp18 RealPath::RealPath() : Path() { in RealPath()
21 RealPath::RealPath(const RealPath::ValueType* s) : Path(s) { in RealPath()
25 RealPath::RealPath(const RealPath::StringType& s) : Path(s) { in RealPath()
29 RealPath::RealPath(const Path& pPath) : Path(pPath) { in RealPath()
36 RealPath& RealPath::assign(const Path& pPath) { in assign()
37 Path::m_PathName.assign(pPath.native()); in assign()
45 Path path_name; in initialize()
DDirectory.cpp26 const Path dot_path(".");
27 const Path dot_dot_path("..");
43 Directory::Directory(const Path& pPath, FileStatus st, FileStatus symlink_st) in Directory()
57 : Directory(sys::fs::Path(pPath), st, symlink_st) { in Directory()
83 void Directory::assign(const Path& pPath, in assign()
156 Path* DirIterator::path() { in path()
162 const Path* DirIterator::path() const { in path()
223 const Path* x_path = path(); in operator ==()
224 const Path* y_path = y.path(); in operator ==()
/frameworks/compile/mclinker/include/mcld/Support/
DPath.h44 class Path {
50 Path();
51 explicit Path(const ValueType* s);
52 explicit Path(const StringType& s);
53 Path(const Path& pCopy);
54 virtual ~Path();
58 Path& assign(InputIterator begin, InputIterator end);
59 Path& assign(const StringType& s);
60 Path& assign(const ValueType* s, unsigned int length);
64 Path& append(InputIterator begin, InputIterator end);
[all …]
DFileSystem.h69 class Path; variable
73 bool exists(const Path& pPath);
74 bool is_directory(const Path& pPath);
78 extern Path::StringType static_library_extension;
79 extern Path::StringType shared_library_extension;
80 extern Path::StringType executable_extension;
81 extern Path::StringType relocatable_extension;
82 extern Path::StringType assembly_extension;
83 extern Path::StringType bitcode_extension;
85 size_t canonicalize(Path::StringType& pPathName);
[all …]
DDirectory.h48 explicit Directory(const Path& pPath,
68 void assign(const Path& pPath,
78 const Path& path() const { return m_Path; } in path()
90 mcld::sys::fs::Path m_Path;
137 Path* generic_path();
139 Path* path();
140 const Path* path() const;
DRealPath.h23 class RealPath : public Path {
25 typedef Path::ValueType ValueType;
26 typedef Path::StringType StringType;
32 explicit RealPath(const Path& pPath);
36 RealPath& assign(const Path& pPath);
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DPathPerfTest.java19 import android.graphics.Path;
37 Path path = new Path(); in testReset()
46 Path path = new Path(); in testAddReset()
48 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testAddReset()
56 Path path = new Path(); in testRewind()
65 Path path = new Path(); in testAddRewind()
67 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testAddRewind()
75 Path path = new Path(); in testIsEmpty()
76 path.addRect(0, 0, 100, 100, Path.Direction.CW); in testIsEmpty()
85 Path path = new Path(); in testIsConvex()
[all …]
/frameworks/compile/mclinker/unittests/
DPathTest.cpp21 m_pTestee = new Path(); in PathTest()
47 m_pTestee = new Path(root); in TEST_F()
57 m_pTestee = new Path(root); in TEST_F()
67 m_pTestee = new Path(root); in TEST_F()
78 m_pTestee = new Path(root); in TEST_F()
87 Path* p2 = new Path("ccc///////"); in TEST_F()
92 m_pTestee = new Path(root); in TEST_F()
99 Path* p2 = new Path("aaa//"); in TEST_F()
105 m_pTestee = new Path(root); in TEST_F()
117 m_pTestee = new Path("aa/"); in TEST_F()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DPathOpsActivity.java24 import android.graphics.Path;
40 private Path[] mPaths;
57 Path.Op[] ops = Path.Op.values(); in onSizeChanged()
58 mPaths = new Path[ops.length]; in onSizeChanged()
62 Path p1 = new Path(); in onSizeChanged()
63 p1.addRect(0.0f, 0.0f, mSize, mSize, Path.Direction.CW); in onSizeChanged()
65 Path p2 = new Path(); in onSizeChanged()
66 p2.addCircle(mSize, mSize, mSize / 2.0f, Path.Direction.CW); in onSizeChanged()
69 mPaths[i] = new Path(); in onSizeChanged()
81 for (Path path : mPaths) { in onDraw()
DPathsCacheActivity.java23 import android.graphics.Path;
33 private Path mPath;
37 private final ArrayList<Path> mPathList = new ArrayList<Path>();
49 private static Path makePath() { in makePath()
50 Path path = new Path(); in makePath()
55 private static void buildPath(Path path) { in buildPath()
62 private static Path makeLargePath() { in makeLargePath()
63 Path path = new Path(); in makeLargePath()
68 private static void buildLargePath(Path path) { in buildLargePath()
115 Path path = makePath(); in onDraw()
DTextOnPathActivity.java23 import android.graphics.Path;
30 private Path mPath;
31 private Path mStraightPath;
44 private static Path makePath() { in makePath()
45 Path path = new Path(); in makePath()
50 private static void buildPath(Path path) { in buildPath()
57 private static Path makeStraightPath() { in makeStraightPath()
58 Path path = new Path(); in makeStraightPath()
63 private static void buildStraightPath(Path path) { in buildStraightPath()
/frameworks/base/core/tests/coretests/src/android/graphics/
DPathOffsetTest.java22 import android.graphics.Path.Direction;
44 Path actualPath = new Path(); in testPathOffset()
50 Path expectedPath = new Path(); in testPathOffset()
60 Path initialPath = new Path(); in testPathOffsetWithDestination()
62 Path actualPath = new Path(); in testPathOffsetWithDestination()
68 Path expectedPath = new Path(); in testPathOffsetWithDestination()
75 private static void assertPaths(Path actual, Path expected) { in assertPaths()
81 private static Bitmap drawAndGetBitmap(Path path) { in drawAndGetBitmap()
DPathTest.java27 Path path = new Path(); in testResetPreservesFillType()
29 final Path.FillType defaultFillType = path.getFillType(); in testResetPreservesFillType()
30 final Path.FillType fillType = Path.FillType.INVERSE_EVEN_ODD; in testResetPreservesFillType()
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutBidiCursorPathTest.java22 import android.graphics.Path;
62 final Path actualPath = new Path(); in testGetCursorPathSegments()
71 final Path expectedPath = new Path(); in testGetCursorPathSegments()
89 final Path actualPath = new Path(); in testGetCursorPath_whenShiftIsPressed()
102 final Path expectedPath = new Path(); in testGetCursorPath_whenShiftIsPressed()
129 final Path actualPath = new Path(); in testGetCursorPath_whenAltIsPressed()
141 final Path expectedPath = new Path(); in testGetCursorPath_whenAltIsPressed()
159 private void setupLayoutAndGetCursorPath(Path path) { in setupLayoutAndGetCursorPath()
/frameworks/base/core/java/android/transition/
DPatternPathMotion.java21 import android.graphics.Path;
41 private Path mOriginalPatternPath;
43 private final Path mPatternPath = new Path();
62 Path pattern = PathParser.createPathFromPathData(pathData); in PatternPathMotion()
78 public PatternPathMotion(Path patternPath) { in PatternPathMotion()
90 public Path getPatternPath() { in getPatternPath()
102 public void setPatternPath(Path patternPath) { in setPatternPath()
130 public Path getPath(float startX, float startY, float endX, float endY) { in getPath()
139 Path path = new Path(); in getPath()
/frameworks/base/core/tests/coretests/src/android/provider/
DDocumentsProviderTest.java22 import android.provider.DocumentsContract.Path;
56 final Path expected = new Path(ROOT_ID, Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID)); in testFindDocumentPath_docUri()
63 final Path actual = DocumentsContract.findDocumentPath( in testFindDocumentPath_docUri()
72 final Path expected = new Path(null, Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID)); in testFindDocumentPath_treeUri()
77 final Path actual = DocumentsContract.findDocumentPath(mResolver, docUri); in testFindDocumentPath_treeUri()
84 mProvider.nextPath = new Path(null, Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID)); in testFindDocumentPath_treeUri_throwsOnNonChildDocument()
97 mProvider.nextPath = new Path(ROOT_ID, Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID)); in testFindDocumentPath_treeUri_erasesNonNullRootId()
101 Path path = DocumentsContract.findDocumentPath(mResolver, docUri); in testFindDocumentPath_treeUri_erasesNonNullRootId()
109 mProvider.nextPath = new Path( in testFindDocumentPath_treeUri_erasesDocsOutsideTree()
114 Path path = DocumentsContract.findDocumentPath(mResolver, docUri); in testFindDocumentPath_treeUri_erasesDocsOutsideTree()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReader.java30 import java.nio.file.Path;
88 private static final Path DEFAULT_PROC_PATH = Paths.get("/proc");
91 private static final Path DEFAULT_INITIAL_TIME_IN_STATE_PATH =
104 private final Path mProcPath;
131 Path procPath, in KernelCpuThreadReader()
132 Path initialTimeInStatePath, in KernelCpuThreadReader()
181 try (DirectoryStream<Path> processPaths = in getProcessCpuUsage()
183 for (Path processPath : processPaths) { in getProcessCpuUsage()
257 private ProcessCpuUsage getProcessCpuUsage(Path processPath, int processId, int uid) { in getProcessCpuUsage()
269 final Path allThreadsPath = processPath.resolve("task"); in getProcessCpuUsage()
[all …]
/frameworks/compile/mclinker/include/mcld/MC/
DSearchDirs.h44 explicit SearchDirs(const sys::fs::Path& pSysRoot);
49 sys::fs::Path* find(const std::string& pNamespec,
52 const sys::fs::Path* find(const std::string& pNamespec,
55 void setSysRoot(const sys::fs::Path& pSysRoot) { m_SysRoot = pSysRoot; } in setSysRoot()
56 const sys::fs::Path& sysroot() const { return m_SysRoot; } in sysroot()
69 bool insert(const sys::fs::Path& pDirectory);
73 sys::fs::Path m_SysRoot;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DTriangleShape.java20 import android.graphics.Path;
30 private Path mTriangularPath;
32 public TriangleShape(Path path, float stdWidth, float stdHeight) { in TriangleShape()
38 Path triangularPath = new Path(); in create()
56 Path triangularPath = new Path(); in createHorizontal()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DSysUiOverlay.java23 import android.graphics.Path;
29 private final Path mCornerPath;
30 private final Path mNotchPath;
36 private static Path createCornerPath(float width, float height, float r) { in createCornerPath()
37 Path corner = new Path(); in createCornerPath()
46 private static Path createNotchPath(float topWidth, float bottomWidth, float height, float r) { in createNotchPath()
47 Path corner = new Path(); in createNotchPath()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DCornerPathRenderer.java19 import android.graphics.Path;
49 public Path getInsetPath(Corner corner, float insetAmountPx) { in getInsetPath()
58 public abstract Path getCornerPath(Corner corner); in getCornerPath()
60 private Path approximateInnerPath(Path input, float delta) { in approximateInnerPath()
65 private ArrayList<PointF> getApproximatePoints(Path path) { in getApproximatePoints()
90 private Path toPath(List<PointF> points) { in toPath()
91 Path path = new Path(); in toPath()
DPathSpecCornerPathRenderer.java21 import android.graphics.Path;
40 private final Path mPath = new Path();
41 private final Path mRoundedPath;
52 Path path = PathParser.createPathFromPathData(pathData); in PathSpecCornerPathRenderer()
55 mRoundedPath = new Path(); in PathSpecCornerPathRenderer()
79 public Path getCornerPath(Corner corner) { in getCornerPath()
DPerimeterPathGuide.java26 import android.graphics.Path;
72 public Path path;
78 private final Path mScratchPath = new Path();
127 public void strokeSegment(Path path, float startCoord, float endCoord) { in strokeSegment()
256 Path bottomPath = new Path(); in computeRegions()
262 Path topPath = new Path(); in computeRegions()
267 Path rightPath = new Path(); in computeRegions()
273 Path leftPath = new Path(); in computeRegions()
315 private void strokeSegmentInternal(Path path, float startCoord, float endCoord) { in strokeSegmentInternal()
341 private void strokeRegion(Path path, Region r, float relativeStart, float relativeEnd) { in strokeRegion()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DProcTimeInStateReaderTest.java38 import java.nio.file.Path;
59 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testSimple()
75 final Path initialTimeInStateFile = mProcDirectory.toPath().resolve( in testHeaderFormat()
92 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testDifferentFile()
96 Path timeInStateFile = mProcDirectory.toPath().resolve("time-in-state"); in testDifferentFile()
106 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testWrongLength()
110 Path timeInStateFile = mProcDirectory.toPath().resolve("time-in-state"); in testWrongLength()
117 Path initialTimeInStateFile = mProcDirectory.toPath().resolve("initial-time-in-state"); in testEmptyInitialFails()

12345678910