/aosp_15_r20/external/flatbuffers/tests/flatc/ |
H A D | flatc_test.py | 29 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 D | flatc_cpp_tests.py | 214 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 D | generate_annotations.py | 23 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 D | config.py | 240 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 D | validate_target_files.py | 176 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 D | generate_script.py | 75 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 D | generate_script_unittests.py | 23 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 D | run_bisect_tests.py | 39 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 D | opentitantool.sh | 14 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 D | setup_toolchain.py | 151 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 D | setup_toolchain.py | 150 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/ |
D | develop.py | 160 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/ |
D | develop.py | 160 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/ |
D | develop.py | 160 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/ |
D | develop.py | 160 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/ |
D | develop.py | 160 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 D | test_python_builtins.py | 25 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/ |
D | mod.rs | 45 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 D | tests.rs | 677 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 D | tests.rs | 677 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 D | tests.rs | 681 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 D | tests.rs | 681 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 D | tests.rs | 677 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__.py | 320 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 D | test_env.py | 143 script_path = os.path.join( 145 cmd = [sys.executable, script_path] 185 script_path = os.path.join( 188 cmd = [sys.executable, script_path]
|