Searched refs:_which (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/which/tests/ |
D | basic.rs | 86 fn _which<T: AsRef<OsStr>>(f: &TestFixture, path: T) -> which::Result<which::CanonicalPath> { in _which() function 118 assert_eq!(_which(&f, &BIN_NAME).unwrap(), f.bins[0]) in test_which() 125 assert_eq!(_which(&f, &BIN_NAME).unwrap(), f.bins[1]) in test_which() 133 assert_eq!(_which(&f, &b).unwrap(), f.bins[0]) in test_which_extension() 141 assert_eq!(_which(&f, &b).unwrap(), f.bins[2]) in test_which_extension() 147 assert!(_which(&f, "a").is_err()); in test_which_not_found() 154 assert_eq!(_which(&f, "another").unwrap(), b); in test_which_second() 185 _which(&f, &f.bins[3]).unwrap(), in test_which_absolute() 195 _which(&f, &f.bins[4]).unwrap(), in test_which_absolute() 207 assert_eq!(_which(&f, &p).unwrap(), f.bins[4].canonicalize().unwrap()); in test_which_absolute_path_case() [all …]
|
/external/python/cpython3/Tools/c-analyzer/c_analyzer/symbols/ |
D | _nm.py | 47 _which=shutil.which, argument 52 nm = _which('nm')
|
/external/pigweed/pw_env_setup/py/pw_env_setup/ |
D | env_setup.py | 80 def _which(executable, function 431 orig_python3 = _which('python3') 433 new_python3 = _which('python3')
|