/external/tensorflow/tensorflow/contrib/session_bundle/ |
D | gc_test.py | 35 paths = [gc.Path("/foo", 8), gc.Path("/foo", 9), gc.Path("/foo", 10)] 38 self.assertEquals(n, [gc.Path("/foo", 9), gc.Path("/foo", 10)]) 41 paths = [gc.Path("/foo", 0), gc.Path("/foo", 3)] 44 self.assertEquals(n, [gc.Path("/foo", 0), gc.Path("/foo", 3)]) 48 gc.Path("/foo", 4), gc.Path("/foo", 5), gc.Path("/foo", 6), 49 gc.Path("/foo", 9) 52 self.assertEquals(mod(paths), [gc.Path("/foo", 4), gc.Path("/foo", 6)]) 54 self.assertEquals(mod(paths), [gc.Path("/foo", 6), gc.Path("/foo", 9)]) 58 gc.Path("/foo", 0), gc.Path("/foo", 1), gc.Path("/foo", 3), 59 gc.Path("/foo", 5), gc.Path("/foo", 6), gc.Path("/foo", 7), [all …]
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/ |
D | gc_test.py | 54 paths = [gc.Path("/foo", 8), gc.Path("/foo", 9), gc.Path("/foo", 10)] 57 self.assertEqual(n, [gc.Path("/foo", 9), gc.Path("/foo", 10)]) 60 paths = [gc.Path("/foo", 0), gc.Path("/foo", 3)] 63 self.assertEqual(n, [gc.Path("/foo", 0), gc.Path("/foo", 3)]) 67 gc.Path("/foo", 4), 68 gc.Path("/foo", 5), 69 gc.Path("/foo", 6), 70 gc.Path("/foo", 9) 73 self.assertEqual(mod(paths), [gc.Path("/foo", 4), gc.Path("/foo", 6)]) 75 self.assertEqual(mod(paths), [gc.Path("/foo", 6), gc.Path("/foo", 9)]) [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PathV1.h | 91 class Path { 101 LLVM_ATTRIBUTE_DEPRECATED(static Path GetRootDirectory(), 112 static Path GetTemporaryDirectory(std::string* ErrMsg = 0); 117 static void GetSystemLibraryPaths(std::vector<sys::Path>& Paths); 127 static void GetBitcodeLibraryPaths(std::vector<sys::Path>& Paths); 132 static Path FindLibrary(std::string& short_name); 139 static Path GetLLVMDefaultConfigDir(); 146 static Path GetLLVMConfigDir(); 155 static Path GetUserHomeDirectory(); 160 static Path GetCurrentDirectory(); [all …]
|
/external/icu/icu4c/packaging/ |
D | distrelease.ps1 | 26 $icuDir = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent 27 $icuDir = Resolve-Path -Path '$icuDir\..' 32 New-Item -Path "$icuDir\source\dist" -ErrorAction SilentlyContinue -ItemType "directory" 34 Get-ChildItem -Path $source -ErrorAction SilentlyContinue | Remove-Item -Recurse 35 New-Item -Path $source -ItemType "directory" -ErrorAction SilentlyContinue 38 Copy-Item -Path "$icuDir\lib64" -Destination $source -Recurse 39 Copy-Item -Path "$icuDir\include" -Destination $source -Recurse 40 Copy-Item -Path "$icuDir\bin64" -Destination $source -Recurse 41 Copy-Item -Path "$icuDir\APIChangeReport.html" -Destination $source -Recurse 42 Copy-Item -Path "$icuDir\icu4c.css" -Destination $source -Recurse [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Path.cpp | 33 bool Path::operator==(const Path &that) const { in operator ==() 37 bool Path::operator<(const Path& that) const { in operator <() 41 Path 42 Path::GetLLVMConfigDir() { in GetLLVMConfigDir() 43 Path result; in GetLLVMConfigDir() 164 Path::isArchive() const { in isArchive() 172 Path::isDynamicLibrary() const { in isDynamicLibrary() 187 Path::isObjectFile() const { in isObjectFile() 194 Path 195 Path::FindLibrary(std::string& name) { in FindLibrary() [all …]
|
D | GraphWriter.cpp | 54 void llvm::DisplayGraph(const sys::Path &Filename, bool wait, in DisplayGraph() 58 sys::Path Graphviz(LLVM_PATH_GRAPHVIZ); in DisplayGraph() 90 if (sys::Program::ExecuteAndWait(sys::Path(LLVM_PATH_XDOT_PY), in DisplayGraph() 100 sys::Path PSFilename = Filename; in DisplayGraph() 103 sys::Path prog; in DisplayGraph() 107 prog = sys::Path(LLVM_PATH_CIRCO); in DisplayGraph() 110 prog = sys::Path(LLVM_PATH_TWOPI); in DisplayGraph() 113 prog = sys::Path(LLVM_PATH_NEATO); in DisplayGraph() 116 prog = sys::Path(LLVM_PATH_FDP); in DisplayGraph() 119 prog = sys::Path(LLVM_PATH_DOT); in DisplayGraph() [all …]
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerIO.cpp | 26 bool IsFile(const std::string &Path) { in IsFile() argument 28 if (stat(Path.c_str(), &St)) in IsFile() 33 static long GetEpoch(const std::string &Path) { in GetEpoch() argument 35 if (stat(Path.c_str(), &St)) in GetEpoch() 52 std::string Path = DirPlusFile(Dir, E->d_name); in ListFilesInDirRecursive() local 54 V->push_back(Path); in ListFilesInDirRecursive() 56 ListFilesInDirRecursive(Path, Epoch, V, false); in ListFilesInDirRecursive() 63 Unit FileToVector(const std::string &Path, size_t MaxSize) { in FileToVector() argument 64 std::ifstream T(Path); in FileToVector() 66 Printf("No such directory: %s; exiting\n", Path.c_str()); in FileToVector() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/ |
D | SourceRoot.java | 13 import java.nio.file.Path; 56 Result process(Path localPath, Path absolutePath, ParseResult<CompilationUnit> result); in process() 59 private final Path root; 60 private final Map<Path, ParseResult<CompilationUnit>> cache = new ConcurrentHashMap<>(); 65 public SourceRoot(Path root) { in SourceRoot() 74 public SourceRoot(Path root, ParserConfiguration parserConfiguration) { in SourceRoot() 105 final Path relativePath = fileInPackageRelativePath(startPackage, filename); in tryToParse() 110 final Path path = root.resolve(relativePath); in tryToParse() 142 final Path path = packageAbsolutePath(root, startPackage); in tryToParse() 143 Files.walkFileTree(path, new SimpleFileVisitor<Path>() { in tryToParse() [all …]
|
D | CodeGenerationUtils.java | 5 import java.nio.file.Path; 64 public static Path fileInPackageAbsolutePath(String root, String pkg, String file) { in fileInPackageAbsolutePath() 69 public static Path fileInPackageAbsolutePath(Path root, String pkg, String file) { in fileInPackageAbsolutePath() 77 public static Path fileInPackageRelativePath(String pkg, String file) { in fileInPackageRelativePath() 95 public static Path packageAbsolutePath(String root, String pkg) { in packageAbsolutePath() 100 public static Path packageAbsolutePath(Path root, String pkg) { in packageAbsolutePath() 107 public static Path classLoaderRoot(Class<?> c) { in classLoaderRoot() 119 public static Path mavenModuleRoot(Class<?> c) { in mavenModuleRoot() 126 public static Path subtractPaths(Path full, Path difference) { in subtractPaths()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/ |
D | CompilationUnitTest.java | 28 import java.nio.file.Path; 48 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetSourceRoot() 49 … Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "Z.java")); in testGetSourceRoot() 52 Path sourceRoot1 = cu.getStorage().get().getSourceRoot(); in testGetSourceRoot() 58 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetSourceRootWithBadPackageDeclaration() 59 … Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "A.java")); in testGetSourceRootWithBadPackageDeclaration() 67 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetSourceRootInDefaultPackage() 68 Path testFile = sourceRoot.resolve(Paths.get("B.java")); in testGetSourceRootInDefaultPackage() 71 Path sourceRoot1 = cu.getStorage().get().getSourceRoot(); in testGetSourceRootInDefaultPackage() 77 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetPrimaryTypeName() [all …]
|
/external/clang/lib/AST/ |
D | CXXInheritance.cpp | 30 for (paths_iterator Path = begin(), PathEnd = end(); Path != PathEnd; ++Path) in ComputeDeclsFound() local 31 Decls.insert(Path->Decls.front()); in ComputeDeclsFound() 92 [this, BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { in isDerivedFrom() argument 93 return FindBaseClass(Specifier, Path, BaseDecl); in isDerivedFrom() 113 [this, BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { in isVirtuallyDerivedFrom() argument 114 return FindVirtualBaseClass(Specifier, Path, BaseDecl); in isVirtuallyDerivedFrom() 323 Paths.Paths.remove_if([&Paths](const CXXBasePath &Path) { in lookupInBases() argument 324 for (const CXXBasePathElement &PE : Path) { in lookupInBases() 357 CXXBasePath &Path, in FindBaseClass() argument 366 CXXBasePath &Path, in FindVirtualBaseClass() argument [all …]
|
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
D | ToolRunner.cpp | 56 static int RunProgramWithTimeout(const sys::Path &ProgramPath, in RunProgramWithTimeout() 58 const sys::Path &StdInFile, in RunProgramWithTimeout() 59 const sys::Path &StdOutFile, in RunProgramWithTimeout() 60 const sys::Path &StdErrFile, in RunProgramWithTimeout() 64 const sys::Path* redirects[3]; in RunProgramWithTimeout() 89 static int RunProgramRemotelyWithTimeout(const sys::Path &RemoteClientPath, in RunProgramRemotelyWithTimeout() 91 const sys::Path &StdInFile, in RunProgramRemotelyWithTimeout() 92 const sys::Path &StdOutFile, in RunProgramRemotelyWithTimeout() 93 const sys::Path &StdErrFile, in RunProgramRemotelyWithTimeout() 96 const sys::Path* redirects[3]; in RunProgramRemotelyWithTimeout() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/Unix/ |
D | Path.inc | 1 //===- llvm/Support/Unix/Path.cpp - Unix Path Implementation -----*- C++ -*-===// 10 // This file implements the Unix specific portion of the Path class. 81 StringRef Path::GetEXESuffix() { 85 Path::Path(StringRef p) 88 Path::Path(const char *StrStart, unsigned StrLen) 91 Path& 92 Path::operator=(StringRef that) { 98 Path::isValid() const { 108 Path::isAbsolute(const char *NameStart, unsigned NameLen) { 116 Path::isAbsolute() const { [all …]
|
/external/bcc/src/cc/includes/ |
D | table_storage.h | 33 class Path { 36 Path() = default; 37 Path(const Path &other) = default; 38 Path &operator=(const Path &other) = default; 39 Path(std::initializer_list<std::string> parts) { in Path() function 90 bool Find(const Path &path, TableStorage::iterator &result) const; 91 bool Insert(const Path &path, TableDesc &&desc); 92 bool Delete(const Path &path); 93 size_t DeletePrefix(const Path &path); 100 iterator lower_bound(const Path &p); [all …]
|
/external/bcc/src/cc/ |
D | table_storage.h | 33 class Path { 36 Path() = default; 37 Path(const Path &other) = default; 38 Path &operator=(const Path &other) = default; 39 Path(std::initializer_list<std::string> parts) { in Path() function 90 bool Find(const Path &path, TableStorage::iterator &result) const; 91 bool Insert(const Path &path, TableDesc &&desc); 92 bool Delete(const Path &path); 93 size_t DeletePrefix(const Path &path); 100 iterator lower_bound(const Path &p); [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/Windows/ |
D | Path.inc | 1 //===- llvm/Support/Win32/Path.cpp - Win32 Path Implementation ---*- C++ -*-===// 10 // This file provides the Win32 specific implementation of the Path class. 48 StringRef Path::GetEXESuffix() { 52 Path::Path(llvm::StringRef p) 57 Path::Path(const char *StrStart, unsigned StrLen) 62 Path& 63 Path::operator=(StringRef that) { 82 Path::isValid() const { 144 void Path::makeAbsolute() { 164 Path::isAbsolute(const char *NameStart, unsigned NameLen) { [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Path.cpp | 235 i.Path = path; in begin() 243 i.Path = path; in end() 249 assert(Position < Path.size() && "Tried to increment past end!"); in operator ++() 255 if (Position == Path.size()) { in operator ++() 268 if (is_separator(Path[Position])) { in operator ++() 276 Component = Path.substr(Position, 1); in operator ++() 281 while (Position != Path.size() && in operator ++() 282 is_separator(Path[Position])) { in operator ++() 287 if (Position == Path.size()) { in operator ++() 295 size_t end_pos = Path.find_first_of(separators, Position); in operator ++() [all …]
|
/external/llvm/lib/Support/ |
D | Path.cpp | 235 i.Path = path; in begin() 243 i.Path = path; in end() 249 assert(Position < Path.size() && "Tried to increment past end!"); in operator ++() 255 if (Position == Path.size()) { in operator ++() 268 if (is_separator(Path[Position])) { in operator ++() 276 Component = Path.substr(Position, 1); in operator ++() 281 while (Position != Path.size() && in operator ++() 282 is_separator(Path[Position])) { in operator ++() 287 if (Position == Path.size()) { in operator ++() 295 size_t end_pos = Path.find_first_of(separators, Position); in operator ++() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | Path.cpp | 243 i.Path = path; in begin() 252 i.Path = path; in end() 258 assert(Position < Path.size() && "Tried to increment past end!"); in operator ++() 264 if (Position == Path.size()) { in operator ++() 275 if (is_separator(Path[Position], S)) { in operator ++() 280 Component = Path.substr(Position, 1); in operator ++() 285 while (Position != Path.size() && is_separator(Path[Position], S)) { in operator ++() 290 if (Position == Path.size() && Component != "/") { in operator ++() 298 size_t end_pos = Path.find_first_of(separators(S), Position); in operator ++() 299 Component = Path.slice(Position, end_pos); in operator ++() [all …]
|
/external/clang/lib/Basic/ |
D | VirtualFileSystem.cpp | 104 std::error_code FileSystem::makeAbsolute(SmallVectorImpl<char> &Path) const { in makeAbsolute() 105 if (llvm::sys::path::is_absolute(Path)) in makeAbsolute() 112 return llvm::sys::fs::make_absolute(WorkingDir.get(), Path); in makeAbsolute() 115 bool FileSystem::exists(const Twine &Path) { in exists() argument 116 auto Status = status(Path); in exists() 125 static bool pathHasTraversal(StringRef Path) { in pathHasTraversal() argument 127 for (StringRef Comp : llvm::make_range(path::begin(Path), path::end(Path))) in pathHasTraversal() 198 ErrorOr<Status> status(const Twine &Path) override; 199 ErrorOr<std::unique_ptr<File>> openFileForRead(const Twine &Path) override; 203 std::error_code setCurrentWorkingDirectory(const Twine &Path) override; [all …]
|
/external/kotlinc/license/ |
D | README.md | 10 …- Path: compiler/backend/src/org/jetbrains/kotlin/codegen/inline/MaxStackFrameSizeAndLocalsCalcula… 14 - Path: compiler/backend/src/org/jetbrains/kotlin/codegen/inline/MaxLocalsCalculator.java 18 - Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/common/MethodAnalyzer.kt 22 - Path: core/reflection.jvm/src/kotlin.reflect/jvm/internal/pcollections 26 - Path: eval4j/src/org/jetbrains/eval4j/interpreterLoop.kt 30 …- Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/common/OptimizationBasicInt… 34 - Path: js/js.ast 38 - Path: js/js.inliner/src/org/jetbrains/kotlin/js/inline/FunctionInlineMutator.kt 42 - Path: js/js.parser/src/com/google 48 - Path: js/js.translator/qunit/qunit.js [all …]
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/aosp/ |
D | RepackagingTransform.java | 39 import java.nio.file.Path; 70 OptionSpec<Path> sourceDirOption = optionParser in main() 77 OptionSpec<Path> targetDirOption = optionParser in main() 88 OptionSpec<Path> corePlatformApiFileOption = in main() 96 OptionSpec<Path> defaultConstructorsFileOption = in main() 104 OptionSpec<Path> intraCoreApiFileOption = in main() 112 OptionSpec<Path> unsupportedAppUsageFileOption = in main() 127 OptionSpec<Path> changeLogOption = in main() 153 Path changeLogPath = optionSet.valueOf(changeLogOption); in main() 156 Path sourceDir = optionSet.valueOf(sourceDirOption); in main() [all …]
|
/external/skqp/modules/sksg/include/ |
D | SkSGPath.h | 23 class Path : public GeometryNode { 25 static sk_sp<Path> Make() { return sk_sp<Path>(new Path(SkPath())); } in Make() 26 static sk_sp<Path> Make(const SkPath& r) { return sk_sp<Path>(new Path(r)); } in Make() 28 SG_ATTRIBUTE(Path, SkPath, fPath) 39 explicit Path(const SkPath&);
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | TarWriterTest.cpp | 43 SmallString<128> Path; in createTar() local 45 sys::fs::createTemporaryFile("TarWriterTest", "tar", Path); in createTar() 49 Expected<std::unique_ptr<TarWriter>> TarOrErr = TarWriter::create(Path, Base); in createTar() 56 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getFile(Path); in createTar() 65 sys::fs::remove(Path); in createTar() 125 SmallString<128> Path; in TEST_F() local 127 sys::fs::createTemporaryFile("TarWriterTest", "tar", Path); in TEST_F() 130 Expected<std::unique_ptr<TarWriter>> TarOrErr = TarWriter::create(Path, ""); in TEST_F() 137 EC = sys::fs::file_size(Path, TarSize); in TEST_F() 143 SmallString<128> Path; in TEST_F() local [all …]
|
/external/skia/modules/sksg/include/ |
D | SkSGPath.h | 23 class Path : public GeometryNode { 25 static sk_sp<Path> Make() { return sk_sp<Path>(new Path(SkPath())); } in Make() 26 static sk_sp<Path> Make(const SkPath& r) { return sk_sp<Path>(new Path(r)); } in Make() 28 SG_ATTRIBUTE(Path, SkPath, fPath) 40 explicit Path(const SkPath&);
|