| /external/clang/unittests/Tooling/ |
| RewriterTestContext.h | 25 #include "llvm/Support/Path.h" 62 SmallString<1024> Path; 64 std::error_code EC = llvm::sys::fs::createTemporaryFile(Name, "", FD, Path); 71 const FileEntry *File = Files.getFile(Path); 74 StringRef Found = TemporaryFiles.GetOrCreateValue(Name, Path.str()).second; 75 assert(Found == Path); 96 std::string Path = TemporaryFiles.lookup(Name); 97 assert(!Path.empty()); 104 Files.getBufferForFile(Path, nullptr));
|
| RefactoringTest.cpp | 28 #include "llvm/Support/Path.h" 99 Replacement Replace("/path/to/file.cpp", 0, 1, ""); 100 EXPECT_EQ("/path/to/file.cpp", Replace.getFilePath()); 228 SmallString<1024> Path; 230 std::error_code EC = llvm::sys::fs::createTemporaryFile(Name, "", FD, Path); 237 const FileEntry *File = Context.Files.getFile(Path); 240 StringRef Found = TemporaryFiles.GetOrCreateValue(Name, Path.str()).second; 241 assert(Found == Path); 247 std::string Path = TemporaryFiles.lookup(Name); 248 assert(!Path.empty()) [all...] |
| /external/fonttools/Lib/fontTools/pens/ |
| reportLabPen.py | 4 from reportlab.graphics.shapes import Path 9 """A pen for drawing onto a reportlab.graphics.shapes.Path object.""" 11 def __init__(self, glyphSet, path=None): 13 if path is None: 14 path = Path() 15 self.path = path 19 self.path.moveTo(x,y) 23 self.path.lineTo(x,y 47 path = sys.argv[1] variable [all...] |
| /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
| Path.java | 29 public class Path { 31 private Path() { 40 private static String createPath(Box box, String path) { 42 return path; 46 path = String.format("/%s[%d]", box.getType(), index) + path; 48 return createPath(box.getParent(), path); 52 public static Box getPath(Box box, String path) { 53 List<Box> all = getPaths(box, path); 58 public static List<Box> getPaths(Box box, String path) { [all...] |
| /frameworks/base/rs/java/android/renderscript/ |
| Path.java | 23 public class Path extends BaseObj { 41 Path(long id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) { 66 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { 68 Path newPath = new Path(id, rs, p, null, null, quality); 72 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { 76 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { 80 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) {
|
| /frameworks/compile/mclinker/include/mcld/Support/ |
| Path.h | 1 //===- Path.h -------------------------------------------------------------===// 9 // This file declares the mcld::sys::fs::Path. It follows TR2/boost 11 // path class. 39 /** \class Path 40 * \brief Path provides an abstraction for the path to a file or directory in 43 class Path 50 Path(); 51 Path(const ValueType* s); 52 Path(const StringType &s) [all...] |
| /external/chromium_org/content/browser/fileapi/ |
| native_file_util_unittest.cc | 29 base::FilePath Path() { 30 return data_dir_.path(); 33 base::FilePath Path(const char* file_name) { 34 return data_dir_.path().AppendASCII(file_name); 37 bool FileExists(const base::FilePath& path) { 38 return base::PathExists(path) && 39 !base::DirectoryExists(path); 42 int64 GetSize(const base::FilePath& path) { 44 base::GetFileInfo(path, &info); 55 base::FilePath file_name = Path("test_file") [all...] |
| /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/ |
| fake_pepper_interface_html5_fs.h | 28 // "/some/path"); 64 typedef std::string Path; 67 Path path; member in struct:FakeHtml5FsFilesystem::DirectoryEntry 78 bool AddEmptyFile(const Path& path, FakeHtml5FsNode** out_node); 79 bool AddFile(const Path& path, 82 bool AddFile(const Path& path, [all...] |
| /external/chromium_org/net/cookies/ |
| canonical_cookie.h | 34 const std::string& path, 66 const std::string& path, 77 const std::string& Path() const { return path_; } 95 // match (case insensitive), and path must match (case sensitive). 104 && path_ == ecc.Path()); 111 // Returns true if the given |url_path| path-matches the cookie-path as
|
| parsed_cookie.h | 27 // Construct from a cookie string like "BLAH=1; path=/; domain=.google.com" 40 const std::string& Path() const { return pairs_[path_index_].second; } 52 // "BLAH=hah; path=/; domain=.google.com" 62 bool SetPath(const std::string& path);
|
| /external/clang/include/clang/Lex/ |
| HeaderSearchOptions.h | 25 /// path starts at the -iquote group, then searches the Angled group, then 48 std::string Path; 52 /// IgnoreSysRoot - This is false if an absolute path should be treated 54 /// path. 57 Entry(StringRef path, frontend::IncludeDirGroup group, bool isFramework, 59 : Path(path), Group(group), IsFramework(isFramework), 173 /// AddPath - Add the \p Path path to the specified \p Group list. 174 void AddPath(StringRef Path, frontend::IncludeDirGroup Group [all...] |
| /external/llvm/lib/LineEditor/ |
| LineEditor.cpp | 13 #include "llvm/Support/Path.h" 23 SmallString<32> Path; 24 if (sys::path::home_directory(Path)) { 25 sys::path::append(Path, "." + ProgName + "-history"); 26 return Path.str();
|
| /external/llvm/tools/bugpoint/ |
| ExecutionDriver.cpp | 71 SafeInterpreterPath("safe-path", 72 cl::desc("Specify the path to the \"safe\" backend program"), 204 std::string Path = SafeInterpreterPath; 205 if (Path.empty()) 206 Path = getToolName(); 215 SafeInterpreter = AbstractInterpreter::createLLC(Path.c_str(), Message, 226 SafeInterpreter = AbstractInterpreter::createLLC(Path.c_str(), Message, 239 SafeInterpreter = AbstractInterpreter::createLLC(Path.c_str(), Message,
|
| /external/lzma/CPP/7zip/UI/Common/ |
| ZipRegistry.h | 79 UString Path;
86 Path.Empty();
|
| /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
| ClipRegionActivity.java | 24 import android.graphics.Path; 59 private final Path mClipPath = new Path(); 83 getWidth() / 4.0f, Path.Direction.CW);
|
| /external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
| Path.cpp | 31 #include "platform/graphics/Path.h" 44 Path::Path() 49 Path::Path(const Path& other) 54 Path::~Path() 58 Path& Path::operator=(const Path& other [all...] |
| /dalvik/dx/src/com/android/multidex/ |
| ClassReferenceListBuilder.java | 67 private Path path; field in class:ClassReferenceListBuilder 72 * @param inputPath list of path to input jars or folders. Path elements must be separated by 73 * the system path separator: ':' on Unix, ';' on Windows. 76 this(new Path(inputPath)); 79 private ClassReferenceListBuilder(Path path) { 80 this.path = path; 100 Path path = null; local [all...] |
| /external/chromium_org/third_party/mesa/src/src/egl/main/ |
| egldriver.c | 57 char *Path; 211 mainFunc = _eglOpenLibrary(mod->Path, &lib); 224 _eglLog(_EGL_WARNING, "Driver loaded from %s has no name", mod->Path); 267 _eglAddModule(const char *path) 281 if (strcmp(mod->Path, path) == 0) 288 mod->Path = _eglstrdup(path); 289 if (!mod->Path) { 296 _eglLog(_EGL_DEBUG, "added %s to module array", mod->Path); 324 char path[1024]; local [all...] |
| /external/clang/lib/CodeGen/ |
| CGCXXABI.cpp | 286 ArrayRef<const CXXRecordDecl*> Path = MP.getMemberPointerPath(); 289 for (unsigned I = 0, N = Path.size(); I != N; ++I) { 291 const CXXRecordDecl *Derived = Path[I]; 296 RD = Path[I];
|
| /external/clang/lib/Driver/ |
| ToolChain.cpp | 326 const Twine &Path) { 328 CC1Args.push_back(DriverArgs.MakeArgString(Path)); 341 const Twine &Path) { 343 CC1Args.push_back(DriverArgs.MakeArgString(Path)); 348 const Twine &Path) { 349 if (llvm::sys::fs::exists(Path)) 350 addExternCSystemInclude(DriverArgs, CC1Args, Path); 414 std::string Path = GetFilePath("crtfastmath.o"); 415 if (Path == "crtfastmath.o") // Not found. 418 CmdArgs.push_back(Args.MakeArgString(Path)); [all...] |
| /external/clang/lib/Frontend/ |
| InitPreprocessor.cpp | 29 #include "llvm/Support/Path.h" [all...] |
| /external/clang/lib/Lex/ |
| HeaderMap.cpp | 51 uint32_t MaxValueLength; // Length of longest result path (excluding nul). 205 SmallString<1024> Path; 206 StringRef Dest = lookupFilename(Filename, Path); 233 // path.
|
| PPLexerChange.cpp | 24 #include "llvm/Support/Path.h" 211 /// \brief Compute the relative path that names the given file relative to 219 StringRef Path = FilePath; 220 while (!Path.empty()) { 221 if (const DirectoryEntry *CurDir = FM.getDirectory(Path)) { 223 Result = FilePath.substr(Path.size()); 224 llvm::sys::path::append(Result, 225 llvm::sys::path::filename(File->getName())); 230 Path = llvm::sys::path::parent_path(Path) [all...] |
| /external/clang/tools/driver/ |
| driver.cpp | 38 #include "llvm/Support/Path.h" 230 std::string ProgName(llvm::sys::path::stem(ArgVector[0])); 344 std::string Path = GetExecutablePath(argv[0], CanonicalPrefixes); 364 StringRef ExeBasename(llvm::sys::path::filename(Path)); 374 Driver TheDriver(Path, llvm::sys::getDefaultTargetTriple(), Diags); 376 // Attempt to find the original path used to invoke the driver, to determine 377 // the installed path. We do this manually, because we want to support that 378 // path being a symlink. 382 // Do a PATH lookup, if there are no directory components [all...] |
| /external/clang/unittests/Basic/ |
| VirtualFileSystemTest.cpp | 13 #include "llvm/Support/Path.h" 35 ErrorOr<vfs::Status> status(const Twine &Path) { 37 FilesAndDirs.find(Path.str()); 42 std::error_code openFileForRead(const Twine &Path, 56 std::string Path; 58 if (Path.size() < S.size() && S.find(Path) == 0) { 60 if (LastSep == Path.size() || LastSep == Path.size()-1) 68 Path(_Path.str()) [all...] |