Home
last modified time | relevance | path

Searched +refs:env +refs:Path (Results 1 – 25 of 167) sorted by relevance

1234567

/external/swiftshader/third_party/LLVM/include/llvm/Support/
DProgram.h58 ( const Path& path, ///< sys::Path object providing the path of the
64 const char ** env = 0, ///< An optional vector of strings to use for
67 const sys::Path** redirects = 0, ///< An optional array of pointers to
94 ( const Path& path, ///< The path to the child process executable.
123 static Path FindProgramByName(const std::string& name);
135 static int ExecuteAndWait(const Path& path,
137 const char ** env = 0,
138 const sys::Path** redirects = 0,
145 static void ExecuteNoWait(const Path& path,
147 const char ** env = 0,
[all …]
/external/turbine/java/com/google/turbine/binder/
DJimageClassBinder.java33 import com.google.turbine.binder.env.Env;
48 import java.nio.file.Path;
60 Path modules = fileSystem.getPath("/modules"); in create()
61 Path packages = fileSystem.getPath("/packages"); in create()
63 try (DirectoryStream<Path> ps = Files.newDirectoryStream(packages)) { in create()
64 for (Path p : ps) { in create()
66 try (DirectoryStream<Path> ms = Files.newDirectoryStream(p)) { in create()
67 for (Path m : ms) { in create()
93 private final Path modulesRoot;
99 private final Map<ClassSymbol, BytecodeBoundClass> env = new HashMap<>(); field in JimageClassBinder
[all …]
DClassPathBinder.java26 import com.google.turbine.binder.env.Env;
27 import com.google.turbine.binder.env.SimpleEnv;
34 import java.nio.file.Path;
50 public static ClassPath bindClasspath(Collection<Path> paths) throws IOException { in bindClasspath()
63 for (Path path : paths) { in bindClasspath()
74 SimpleEnv<ClassSymbol, BytecodeBoundClass> env = new SimpleEnv<>(ImmutableMap.copyOf(map)); in bindClasspath() local
76 TopLevelIndex index = SimpleTopLevelIndex.of(env.asMap().keySet()); in bindClasspath()
79 public Env<ClassSymbol, BytecodeBoundClass> env() { in bindClasspath()
80 return env; in bindClasspath()
96 Path path,
[all …]
DCtSymClassBinder.java27 import com.google.turbine.binder.env.Env;
28 import com.google.turbine.binder.env.SimpleEnv;
36 import java.nio.file.Path;
47 Path javaHome = Paths.get(JAVA_HOME.value()); in bind()
48 Path ctSym = javaHome.resolve("lib/ct.sym"); in bind()
90 SimpleEnv<ClassSymbol, BytecodeBoundClass> env = new SimpleEnv<>(ImmutableMap.copyOf(map)); in bind() local
92 TopLevelIndex index = SimpleTopLevelIndex.of(env.asMap().keySet()); in bind()
95 public Env<ClassSymbol, BytecodeBoundClass> env() { in bind()
96 return env; in bind()
/external/swiftshader/third_party/subzero/runtime/
Dwasm-runtime.cpp66 namespace env { namespace
145 void env$$abort() { in env$$abort()
150 void env$$_abort() { env$$abort(); } in env$$_abort()
152 double env$$floor_f(float X) { in env$$floor_f()
154 return env::floor(X); in env$$floor_f()
156 double env$$floor_d(double X) { in env$$floor_d()
158 return env::floor(X); in env$$floor_d()
161 void env$$exit(int Status) { in env$$exit()
165 void env$$_exit(int Status) { in env$$_exit()
167 env$$exit(Status); in env$$_exit()
[all …]
/external/turbine/javatests/com/google/turbine/bytecode/sig/
DSigIntegrationTest.java32 import java.nio.file.Path;
58 void forEachBootclass(Consumer<Path> consumer) throws IOException { in forEachBootclass()
59 ImmutableList<Path> bootclasspath = in forEachBootclass()
67 for (Path path : bootclasspath) { in forEachBootclass()
68 Map<String, ?> env = new HashMap<>(); in forEachBootclass() local
69 try (FileSystem jarfs = FileSystems.newFileSystem(URI.create("jar:" + path.toUri()), env); in forEachBootclass()
70 Stream<Path> stream = Files.walk(jarfs.getPath("/"))) { in forEachBootclass()
80 Map<String, ?> env = new HashMap<>(); in forEachBootclass() local
81 try (FileSystem fileSystem = FileSystems.newFileSystem(URI.create("jrt:/"), env); in forEachBootclass()
82 Stream<Path> stream = Files.walk(fileSystem.getPath("/modules"))) { in forEachBootclass()
/external/turbine/javatests/com/google/turbine/binder/
DClassPathBinderTest.java34 import com.google.turbine.binder.env.Env;
47 import java.nio.file.Path;
75 Env<ClassSymbol, BytecodeBoundClass> env = TURBINE_BOOTCLASSPATH.env(); in classPathClasses() local
77 TypeBoundClass c = env.get(new ClassSymbol("java/util/Map$Entry")); in classPathClasses()
81 assertThat(env.get(new ClassSymbol("javax/lang/model/SourceVersion")).kind()) in classPathClasses()
83 assertThat(env.get(new ClassSymbol("java/lang/String")).kind()).isEqualTo(TurbineTyKind.CLASS); in classPathClasses()
84 assertThat(env.get(new ClassSymbol("java/lang/Override")).kind()) in classPathClasses()
87 c = env.get(new ClassSymbol("java/util/ArrayList")); in classPathClasses()
96 Env<ClassSymbol, BytecodeBoundClass> env = TURBINE_BOOTCLASSPATH.env(); in interfaces() local
98 TypeBoundClass c = env.get(new ClassSymbol("java/lang/annotation/Retention")); in interfaces()
[all …]
/external/vulkan-validation-layers/tests/
D_run_all_tests.ps121 $AboveDir = (Get-Item -Path ".." -Verbose).FullName
23 Set-Item -path env:Path -value ("$AboveDir\loader\$dPath;" + $env:Path)
/external/grpc-grpc/third_party/nanopb/tests/
DSConstruct17 env = Environment(ENV = os.environ, tools = ['default', 'nanopb'])
20 if 'CC' in ARGUMENTS: env.Replace(CC = ARGUMENTS['CC'])
21 if 'CXX' in ARGUMENTS: env.Replace(CXX = ARGUMENTS['CXX'])
22 if 'CCFLAGS' in ARGUMENTS: env.Append(CCFLAGS = ARGUMENTS['CCFLAGS'])
23 if 'CXXFLAGS' in ARGUMENTS: env.Append(CXXFLAGS = ARGUMENTS['CXXFLAGS'])
26 add_nanopb_builders(env)
28 # Path to the files shared by tests, and to the nanopb core.
29 env.Append(CPPPATH = ["#../", "$COMMON"])
31 # Path for finding nanopb.proto
32 env.Append(PROTOCPATH = '#../generator')
[all …]
/external/nanopb-c/tests/
DSConstruct17 env = Environment(ENV = os.environ, tools = ['default', 'nanopb'])
20 if 'CC' in ARGUMENTS: env.Replace(CC = ARGUMENTS['CC'])
21 if 'CXX' in ARGUMENTS: env.Replace(CXX = ARGUMENTS['CXX'])
22 if 'CCFLAGS' in ARGUMENTS: env.Append(CCFLAGS = ARGUMENTS['CCFLAGS'])
23 if 'CXXFLAGS' in ARGUMENTS: env.Append(CXXFLAGS = ARGUMENTS['CXXFLAGS'])
26 add_nanopb_builders(env)
28 # Path to the files shared by tests, and to the nanopb core.
29 env.Append(CPPPATH = ["#../", "$COMMON"])
31 # Path for finding nanopb.proto
32 env.Append(PROTOCPATH = '#../generator')
[all …]
/external/googletest/googletest/
DCMakeLists.txt186 $env:Path = \"$project_bin;$env:Path\"
192 $env:Path = \"$project_bin;$env:Path\"
284 cxx_executable(googletest-env-var-test_ test gtest)
285 py_test(googletest-env-var-test)
/external/googletest/googlemock/
DCMakeLists.txt140 $env:Path = \"$project_bin;$env:Path\"
146 $env:Path = \"$project_bin;$env:Path\"
/external/grpc-grpc/templates/test/cpp/naming/
Dresolver_component_tests_defs.include1 <%def name="resolver_component_tests(tests)">#!/usr/bin/env python
30 help='Path to gtest test binary to invoke.')
32 help='Path to local DNS server python script.')
34 help=('Path to DNS records yaml file that '
39 help=('Path to the DNS health check utility.'))
41 help=('Path to the TCP health check utility.'))
/external/clang/lib/Driver/
DToolChains.cpp506 if (char *env = ::getenv("SDKROOT")) { in AddDeploymentTarget() local
509 if (llvm::sys::path::is_absolute(env) && getVFS().exists(env) && in AddDeploymentTarget()
510 StringRef(env) != "/") { in AddDeploymentTarget()
512 nullptr, Opts.getOption(options::OPT_isysroot), env)); in AddDeploymentTarget()
546 if (char *env = ::getenv("MACOSX_DEPLOYMENT_TARGET")) in AddDeploymentTarget() local
547 OSXTarget = env; in AddDeploymentTarget()
548 if (char *env = ::getenv("IPHONEOS_DEPLOYMENT_TARGET")) in AddDeploymentTarget() local
549 iOSTarget = env; in AddDeploymentTarget()
550 if (char *env = ::getenv("TVOS_DEPLOYMENT_TARGET")) in AddDeploymentTarget() local
551 TvOSTarget = env; in AddDeploymentTarget()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DPath.inc1 //===- llvm/Support/Unix/Path.inc - Unix Path Implementation ----*- C++ -*-===//
10 // This file implements the Unix specific implementation of the Path API.
224 ErrorOr<space_info> disk_space(const Twine &Path) {
226 if (::STATVFS(Path.str().c_str(), &Vfs))
387 std::error_code is_local(const Twine &Path, bool &Result) {
389 if (::STATVFS(Path.str().c_str(), &Vfs))
447 std::error_code access(const Twine &Path, AccessMode Mode) {
449 StringRef P = Path.toNullTerminatedStringRef(PathStorage);
466 bool can_execute(const Twine &Path) {
467 return !access(Path, AccessMode::Execute);
[all …]
/external/turbine/javatests/com/google/turbine/lower/
DLowerTest.java32 import com.google.turbine.binder.env.SimpleEnv;
54 import java.nio.file.Path;
227 TURBINE_BOOTCLASSPATH.env()) in hello()
367 Path lib = temporaryFolder.newFile("lib.jar").toPath(); in invalidConstants()
516 Path libJar = temporaryFolder.newFile("lib.jar").toPath(); in missingOuter()
573 Path libJar = temporaryFolder.newFile("lib.jar").toPath(); in missingOuter2()
/external/llvm/lib/Support/Unix/
DPath.inc1 //===- llvm/Support/Unix/Path.inc - Unix Path Implementation ----*- C++ -*-===//
10 // This file implements the Unix specific implementation of the Path API.
216 ErrorOr<space_info> disk_space(const Twine &Path) {
218 if (::STATVFS(Path.str().c_str(), &Vfs))
350 std::error_code access(const Twine &Path, AccessMode Mode) {
352 StringRef P = Path.toNullTerminatedStringRef(PathStorage);
369 bool can_execute(const Twine &Path) {
370 return !access(Path, AccessMode::Execute);
424 std::error_code status(const Twine &Path, file_status &Result) {
426 StringRef P = Path.toNullTerminatedStringRef(PathStorage);
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DPath.inc1 //===- llvm/Support/Unix/Path.inc - Unix Path Implementation ----*- C++ -*-===//
10 // This file implements the Unix specific implementation of the Path API.
213 ErrorOr<space_info> disk_space(const Twine &Path) {
215 if (::STATVFS(Path.str().c_str(), &Vfs))
369 std::error_code access(const Twine &Path, AccessMode Mode) {
371 StringRef P = Path.toNullTerminatedStringRef(PathStorage);
388 bool can_execute(const Twine &Path) {
389 return !access(Path, AccessMode::Execute);
443 std::error_code status(const Twine &Path, file_status &Result) {
445 StringRef P = Path.toNullTerminatedStringRef(PathStorage);
[all …]
/external/python/cpython3/Doc/library/
Dpathlib.rst17 appropriate for different operating systems. Path classes are divided
26 right for your task, :class:`Path` is most likely what you need. It instantiates
51 >>> from pathlib import Path
55 >>> p = Path('.')
69 >>> p = Path('/etc')
113 >>> PurePath(Path('foo'), Path('bar'))
365 recommended to first call :meth:`Path.resolve` so as to resolve
586 .. class:: Path(*pathsegments)
592 >>> Path('setup.py')
599 A subclass of :class:`Path` and :class:`PurePosixPath`, this class
[all …]
Dzipapp.rst156 is passed a Path object representing the path to the file being added
208 $ python -m zipapp myapp -p "/usr/bin/env python"
243 * If you use "/usr/bin/env python" (or other forms of the "python" command,
247 * If you use an explicit version, for example "/usr/bin/env python3" your
251 exact version like "/usr/bin/env python3.4" as you will need to change your
254 Typically, you should use an "/usr/bin/env python2" or "/usr/bin/env python3",
358 >>> from pathlib import Path
361 >>> src = Path(src)
/external/u-boot/board/freescale/t208xqds/
DREADME16 - Data Path Acceleration Architecture (DPAA) incorporating acceleration
94 another will use copper cable. An hwconfig env "fsl_10gkr_copper" is
99 do not have to be coexist in hwconfig. If a MAC is listed in the env
115 MAC to use 1G-KX mode, set its' corresponding env in "fsl_1gkx", 'fm1_1g1'
146 0xEFF20000 0xEFF3FFFF U-Boot env (current bank) 128KB
153 0xEBF20000 0xEBF3FFFF U-Boot env (alt bank) 128KB
247 0x100000 0x17FFFF U-Boot env 512KB (1 block)
255 0x800 0016 U-Boot env 8KB
263 0x100000 0x101FFF U-Boot env 8KB
/external/u-boot/board/freescale/t208xrdb/
DREADME16 - Data Path Acceleration Architecture (DPAA) incorporating acceleration
111 0xEFF20000 0xEFF3FFFF U-Boot env (current bank) 128KB
119 0xEBF20000 0xEBF3FFFF U-Boot env (alt bank) 128KB
228 0x100000 0x17FFFF U-Boot env 512KB (1 block)
237 0x800 0016 U-Boot env 8KB
246 0x100000 0x101FFF U-Boot env 8KB
/external/u-boot/board/freescale/t1040qds/
DREADME19 - Data Path Acceleration Architecture (DPAA) incorporating acceleration
122 0xEFF20000 0xEFF3FFFF U-Boot env (current bank) 128KB
129 0xEBF20000 0xEBF3FFFF U-Boot env (alt bank) 128KB
/external/u-boot/board/freescale/t102xrdb/
DREADME25 - Data Path Acceleration Architecture (DPAA) incorporating acceleration for the following functions:
149 0xEFF20000 0xEFF3FFFF U-Boot env (current bank) 128KB
162 0xEBF20000 0xEBF3FFFF U-Boot env (alt bank) 128KB
286 0x100000 0x17FFFF U-Boot env 512KB(1 block)
295 0x100000 0x15FFFF U-Boot env 8KB
303 0x800 0016 U-Boot env 8KB
312 0x100000 0x101FFF U-Boot env 8KB
/external/u-boot/board/freescale/t104xrdb/
DREADME50 - Data Path Acceleration Architecture (DPAA) incorporating acceleration
190 0xEFF20000 0xEFF3FFFF U-Boot env (current bank) 128KB
197 0xEBF20000 0xEBF3FFFF U-Boot env (alt bank) 128KB
260 0x180000 0x19FFFF U-Boot env 128KB
268 0x800 0024 U-Boot env 8KB
276 0x100000 0x101FFF U-Boot env 8KB

1234567