Home
last modified time | relevance | path

Searched refs:script_path (Results 1 – 25 of 66) sorted by relevance

123

/aosp_15_r20/external/flatbuffers/tests/flatc/
H A Dflatc_test.py29 script_path = Path(__file__).parent.resolve() variable
32 root_path = script_path.parent.parent.absolute()
49 def flatc(options, cwd=script_path):
54 def make_absolute(filename, path=script_path):
58 def assert_file_exists(filename, path=script_path):
64 def assert_file_doesnt_exists(filename, path=script_path):
91 file, needle, doesnt_contain=None, path=script_path, unlink=True
H A Dflatc_cpp_tests.py214 str(script_path.absolute()),
216 str(Path(script_path, ".tmp").absolute()),
217 str(Path(script_path, "bar/bar_with_foo.fbs").absolute()),
/aosp_15_r20/external/flatbuffers/tests/annotated_binary/
H A Dgenerate_annotations.py23 script_path = Path(__file__).parent.resolve() variable
26 root_path = script_path.parent.parent.absolute()
41 tests_path = Path(script_path, "tests")
44 def flatc_annotate(schema, file, cwd=script_path):
/aosp_15_r20/tools/asuite/aidegen/lib/
H A Dconfig.py240 def deprecated_version(ide, script_path): argument
251 return AidegenConfig.deprecated_studio_version(script_path)
253 return AidegenConfig.deprecated_intellij_version(script_path)
275 def deprecated_studio_version(script_path): argument
286 if not os.path.isfile(script_path):
288 script_dir = os.path.dirname(script_path)
/aosp_15_r20/build/make/tools/releasetools/
H A Dvalidate_target_files.py176 script_path = 'VENDOR/bin/install-recovery.sh'
179 script_path = 'SYSTEM/vendor/bin/install-recovery.sh'
182 if not os.path.exists(os.path.join(input_tmp, script_path)):
183 logging.info('%s does not exist in input_tmp', script_path)
186 logging.info('Checking %s', script_path)
187 with open(os.path.join(input_tmp, script_path), 'r') as script:
248 logging.info('Done checking %s', script_path)
/aosp_15_r20/external/cronet/testing/scripts/rust/
H A Dgenerate_script.py75 GEN_SCRIPT_DIR = os.path.dirname(args.script_path)
112 with action_helpers.atomic_output(args.script_path) as f:
116 st = os.stat(args.script_path)
119 os.chmod(args.script_path,
H A Dgenerate_script_unittests.py23 self.assertEqual('./bin/run_foobar', parsed_args.script_path)
32 args.script_path = os.path.join(out_dir, 'bin/run_foo_bar')
64 args.script_path = os.path.join(out_dir, 'bin/run_foo_bar')
/aosp_15_r20/external/toolchain-utils/binary_search_tool/
H A Drun_bisect_tests.py39 script_path = os.path.join(top_dir, TEST_DIR)
46 script_path,
71 script_path = os.path.join(top_dir, TEST_DIR)
78 script_path,
/aosp_15_r20/external/gsc-utils/util/
H A Dopentitantool.sh14 local script_path
18 script_path="$(cd "$(dirname \
21 opentitan_root="${script_path}/../../../third_party/lowrisc/opentitan"
/aosp_15_r20/external/cronet/build/toolchain/win/
H A Dsetup_toolchain.py151 script_path = os.path.normpath(os.path.join(
154 if not os.path.exists(script_path):
175 script_path)
176 script_path = other_path
181 args = [script_path, cpu_arg, ]
/aosp_15_r20/external/angle/build/toolchain/win/
H A Dsetup_toolchain.py150 script_path = os.path.normpath(os.path.join(
153 if not os.path.exists(script_path):
174 script_path)
175 script_path = other_path
180 args = [script_path, cpu_arg, ]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/setuptools/command/
Ddevelop.py160 script_path = os.path.abspath(convert_path(script_name))
161 script_name = os.path.basename(script_path)
162 with io.open(script_path) as strm:
164 self.install_script(dist, script_name, script_text, script_path)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/setuptools/command/
Ddevelop.py160 script_path = os.path.abspath(convert_path(script_name))
161 script_name = os.path.basename(script_path)
162 with io.open(script_path) as strm:
164 self.install_script(dist, script_name, script_text, script_path)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/setuptools/command/
Ddevelop.py160 script_path = os.path.abspath(convert_path(script_name))
161 script_name = os.path.basename(script_path)
162 with io.open(script_path) as strm:
164 self.install_script(dist, script_name, script_text, script_path)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/setuptools/command/
Ddevelop.py160 script_path = os.path.abspath(convert_path(script_name))
161 script_name = os.path.basename(script_path)
162 with io.open(script_path) as strm:
164 self.install_script(dist, script_name, script_text, script_path)
/aosp_15_r20/external/python/setuptools/setuptools/command/
Ddevelop.py160 script_path = os.path.abspath(convert_path(script_name))
161 script_name = os.path.basename(script_path)
162 with io.open(script_path) as strm:
164 self.install_script(dist, script_name, script_text, script_path)
/aosp_15_r20/external/pytorch/test/jit/
H A Dtest_python_builtins.py25 def get_fn(file_name, script_path): argument
28 spec = importlib.util.spec_from_file_location(file_name, script_path)
63 script_path = os.path.join(tmp_dir, "script.py")
64 with open(script_path, "w") as f:
66 fn = get_fn("test_matmul_py3", script_path)
/aosp_15_r20/external/rust/android-crates-io/crates/criterion/src/plot/gnuplot_backend/
Dmod.rs45 let mut script_path = path.to_path_buf(); in debug_script() localVariable
46 script_path.set_extension("gnuplot"); in debug_script()
47 info!("Writing gnuplot script to {:?}", script_path); in debug_script()
48 let result = figure.save(script_path.as_path()); in debug_script()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/process/
H A Dtests.rs677 let script_path = tempdir.join("hello.cmd"); in run_bat_script() localVariable
679 crate::fs::write(&script_path, "@echo Hello, %~1!").unwrap(); in run_bat_script()
680 let output = Command::new(&script_path) in run_bat_script()
696 let script_path = tempdir.join("hello.cmd"); in run_canonical_bat_script() localVariable
698 crate::fs::write(&script_path, "@echo Hello, %~1!").unwrap(); in run_canonical_bat_script()
701 let output = Command::new(&script_path.canonicalize().unwrap()) in run_canonical_bat_script()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/process/
H A Dtests.rs677 let script_path = tempdir.join("hello.cmd"); in run_bat_script() localVariable
679 crate::fs::write(&script_path, "@echo Hello, %~1!").unwrap(); in run_bat_script()
680 let output = Command::new(&script_path) in run_bat_script()
696 let script_path = tempdir.join("hello.cmd"); in run_canonical_bat_script() localVariable
698 crate::fs::write(&script_path, "@echo Hello, %~1!").unwrap(); in run_canonical_bat_script()
701 let output = Command::new(&script_path.canonicalize().unwrap()) in run_canonical_bat_script()
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/process/
H A Dtests.rs681 let script_path = tempdir.join("hello.cmd"); in run_bat_script() localVariable
683 crate::fs::write(&script_path, "@echo Hello, %~1!").unwrap(); in run_bat_script()
684 let output = Command::new(&script_path) in run_bat_script()
700 let script_path = tempdir.join("hello.cmd"); in run_canonical_bat_script() localVariable
702 crate::fs::write(&script_path, "@echo Hello, %~1!").unwrap(); in run_canonical_bat_script()
705 let output = Command::new(&script_path.canonicalize().unwrap()) in run_canonical_bat_script()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/process/
H A Dtests.rs681 let script_path = tempdir.join("hello.cmd"); in run_bat_script() localVariable
683 crate::fs::write(&script_path, "@echo Hello, %~1!").unwrap(); in run_bat_script()
684 let output = Command::new(&script_path) in run_bat_script()
700 let script_path = tempdir.join("hello.cmd"); in run_canonical_bat_script() localVariable
702 crate::fs::write(&script_path, "@echo Hello, %~1!").unwrap(); in run_canonical_bat_script()
705 let output = Command::new(&script_path.canonicalize().unwrap()) in run_canonical_bat_script()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/process/
H A Dtests.rs677 let script_path = tempdir.join("hello.cmd"); in run_bat_script() localVariable
679 crate::fs::write(&script_path, "@echo Hello, %~1!").unwrap(); in run_bat_script()
680 let output = Command::new(&script_path) in run_bat_script()
696 let script_path = tempdir.join("hello.cmd"); in run_canonical_bat_script() localVariable
698 crate::fs::write(&script_path, "@echo Hello, %~1!").unwrap(); in run_canonical_bat_script()
701 let output = Command::new(&script_path.canonicalize().unwrap()) in run_canonical_bat_script()
/aosp_15_r20/external/cronet/net/data/gencerts/
H A D__init__.py320 script_path = os.path.realpath(g_invoking_script_path)
321 script_path = "/".join(script_path.split(os.sep)[-3:])
322 m.update(script_path.encode('utf-8'))
/aosp_15_r20/external/cronet/testing/
H A Dtest_env.py143 script_path = os.path.join(
145 cmd = [sys.executable, script_path]
185 script_path = os.path.join(
188 cmd = [sys.executable, script_path]

123