Home
last modified time | relevance | path

Searched refs:absPath (Results 1 – 8 of 8) sorted by relevance

/external/perfetto/ui/
Dbuild.js502 walk(cfg.outDistDir, (absPath) => {
503 const contents = fs.readFileSync(absPath);
504 const relPath = path.relative(cfg.outDistDir, absPath);
542 let absPath = path.normalize(path.join(cfg.outDistRootDir, uri));
547 absPath = pjoin(ROOT_DIR, uri);
551 if (path.relative(ROOT_DIR, absPath).startsWith('..')) {
557 fs.readFile(absPath, function(err, data) {
575 'Last-Modified': fs.statSync(absPath).mtime.toUTCString(),
599 walk(cfg.outDistDir, (absPath) => {
600 relPaths.add(path.relative(cfg.outDistDir, absPath));
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DDefaultFileSystemTest.groovy144 assertEquals("<empty>", absPath(""), fileSystem.normalize(""))
145 assertEquals("abc", absPath("abc"), fileSystem.normalize("abc"))
146 assertEquals("abc\\def", absPath("abc","def"), fileSystem.normalize("abc\\def"))
147 assertEquals("abc/def", absPath("abc","def"), fileSystem.normalize("abc/def"))
148 assertEquals("abc/def/..", absPath("abc"), fileSystem.normalize("abc/def/.."))
149 assertEquals("abc\\def\\.", absPath("abc","def"), fileSystem.normalize("abc\\def\\."))
150 assertEquals("\\abc", absPath("\\abc"), fileSystem.normalize("\\abc"))
151 assertEquals("/abc", absPath("/abc"), fileSystem.normalize("/abc"))
184 def absPath = new File(".").absolutePath
185 assert fileSystem.isAbsolute(absPath)
[all …]
/external/skia/bazel/exporter/
Dgni_exporter.go432 func (e *GNIExporter) absToWorkspacePath(absPath string) (string, error) {
433 if !filepath.IsAbs(absPath) {
434 return "", skerr.Fmt(`"%s" is not an absolute path`, absPath)
436 if absPath == e.workspaceDir {
440 if !strings.HasPrefix(absPath, wsDir) {
441 return "", skerr.Fmt(`"%s" is not in the workspace "%s"`, absPath, wsDir)
443 return strings.TrimPrefix(absPath, wsDir), nil
Dcmake_exporter.go163 func (e *CMakeExporter) absToWorkspaceRelativePath(absPath string) string {
164 if absPath == e.workspaceDir {
167 return fmt.Sprintf("${CMAKE_SOURCE_DIR}/%s", absPath[len(e.workspaceDir)+1:])
178 absPath := filepath.Join(projectDir, target)
179 fmt.Fprintf(buffer, " %q\n", e.absToWorkspaceRelativePath(absPath))
/external/perfetto/infra/perfetto.dev/
Dbuild.js92 const absPath = path.normalize(path.join(serveDir, uri));
93 const relative = path.relative(serveDir, absPath);
100 fs.readFile(absPath, function(err, data) {
/external/dokka/core/src/main/kotlin/Model/
DSourceLinks.kt15 val absPath = File(path).absolutePath in appendSourceLink() constant
16 val linkDef = sourceLinks.firstOrNull { absPath.startsWith(it.path) } in appendSourceLink()
/external/deqp/scripts/
Dgen_android_bp.py120 absPath = os.path.join(root, file)
121 nativeRelPath = os.path.relpath(absPath, DEQP_DIR)
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestLocale.java126 String absPath = f.getAbsolutePath(); in shouldCheckForAliases() local
127 return absPath.endsWith("xml") && !absPath.contains("dtd") in shouldCheckForAliases()
128 && !absPath.contains("keyboard") in shouldCheckForAliases()
129 && !absPath.contains("Keyboard"); in shouldCheckForAliases()