SYMBOL INDEX (2294 symbols across 93 files) FILE: benches/sccache_bench.rs function generate_test_data (line 33) | fn generate_test_data(size: usize) -> Vec { function generate_preprocessor_output (line 45) | fn generate_preprocessor_output(num_lines: usize) -> Vec { function generate_data_with_time_macros (line 68) | fn generate_data_with_time_macros(size: usize) -> Vec { function hash_large_data (line 86) | fn hash_large_data(bencher: Bencher) { function time_macro_finder_no_macros (line 101) | fn time_macro_finder_no_macros(bencher: Bencher) { function time_macro_finder_with_macros (line 112) | fn time_macro_finder_with_macros(bencher: Bencher) { function time_macro_finder_chunked (line 123) | fn time_macro_finder_chunked(bencher: Bencher) { function lru_cache_insert (line 143) | fn lru_cache_insert(bencher: Bencher) { function lru_cache_get_hit (line 162) | fn lru_cache_get_hit(bencher: Bencher) { function lru_cache_eviction (line 184) | fn lru_cache_eviction(bencher: Bencher) { function lru_cache_mixed_workload (line 206) | fn lru_cache_mixed_workload(bencher: Bencher) { function simulate_hash_key (line 241) | fn simulate_hash_key( function cache_key_generation (line 276) | fn cache_key_generation(bencher: Bencher) { function generate_object_file (line 320) | fn generate_object_file(size: usize) -> Vec { function cache_entry_create_small (line 331) | fn cache_entry_create_small(bencher: Bencher) { function cache_entry_create_large (line 350) | fn cache_entry_create_large(bencher: Bencher) { function cache_entry_roundtrip_small (line 369) | fn cache_entry_roundtrip_small(bencher: Bencher) { function cache_entry_roundtrip_large (line 394) | fn cache_entry_roundtrip_large(bencher: Bencher) { function cache_entry_batch_create (line 421) | fn cache_entry_batch_create(bencher: Bencher) { function cache_entry_batch_roundtrip (line 442) | fn cache_entry_batch_roundtrip(bencher: Bencher) { function hash_header_file (line 480) | fn hash_header_file(bencher: Bencher) { function hash_multiple_files (line 492) | fn hash_multiple_files(bencher: Bencher) { function build_workflow_initial (line 516) | fn build_workflow_initial(bencher: Bencher) { function build_workflow_rebuild (line 545) | fn build_workflow_rebuild(bencher: Bencher) { function build_workflow_incremental (line 586) | fn build_workflow_incremental(bencher: Bencher) { function generate_compressible_data (line 642) | fn generate_compressible_data(size: usize) -> Vec { function generate_incompressible_data (line 653) | fn generate_incompressible_data(size: usize) -> Vec { function compression_high_compressibility (line 664) | fn compression_high_compressibility(bencher: Bencher) { function compression_low_compressibility (line 680) | fn compression_low_compressibility(bencher: Bencher) { function decompression_high_ratio (line 696) | fn decompression_high_ratio(bencher: Bencher) { function decompression_low_ratio (line 718) | fn decompression_low_ratio(bencher: Bencher) { function lru_hotcold_access_pattern (line 744) | fn lru_hotcold_access_pattern(bencher: Bencher) { function lru_sequential_scan_pattern (line 776) | fn lru_sequential_scan_pattern(bencher: Bencher) { function lru_realistic_eviction_pressure (line 799) | fn lru_realistic_eviction_pressure(bencher: Bencher) { function generate_win_path (line 824) | fn generate_win_path(depth: usize) -> Vec { function generate_preprocessor_output_with_paths (line 834) | fn generate_preprocessor_output_with_paths(num_includes: usize, basedir:... function normalize_win_path_typical (line 849) | fn normalize_win_path_typical(bencher: Bencher) { function strip_basedirs_typical (line 857) | fn strip_basedirs_typical(bencher: Bencher) { function strip_basedirs_multiple (line 871) | fn strip_basedirs_multiple(bencher: Bencher) { function main (line 888) | fn main() { FILE: src/bin/sccache-dist/build.rs type CommandExt (line 33) | trait CommandExt { method check_stdout_trim (line 34) | fn check_stdout_trim(&mut self) -> Result; method check_piped (line 35) | fn check_piped(&mut self, pipe: &mut dyn FnMut(&mut ChildStdin) -> Res... method check_run (line 36) | fn check_run(&mut self) -> Result<()>; method check_stdout_trim (line 40) | fn check_stdout_trim(&mut self) -> Result { method check_piped (line 48) | fn check_piped(&mut self, pipe: &mut dyn FnMut(&mut ChildStdin) -> Res... method check_run (line 63) | fn check_run(&mut self) -> Result<()> { function check_output (line 69) | fn check_output(output: &Output) -> Result<()> { function join_suffix (line 81) | fn join_suffix>(path: &Path, suffix: P) -> PathBuf { type OverlaySpec (line 91) | struct OverlaySpec { type DeflatedToolchain (line 97) | struct DeflatedToolchain { type OverlayBuilder (line 103) | pub struct OverlayBuilder { method new (line 110) | pub fn new(bubblewrap: PathBuf, dir: PathBuf) -> Result { method cleanup (line 164) | fn cleanup(&self) -> Result<()> { method prepare_overlay_dirs (line 171) | fn prepare_overlay_dirs( method perform_build (line 257) | fn perform_build( method finish_overlay (line 424) | fn finish_overlay(&self, _tc: &Toolchain, overlay: OverlaySpec) { method run_build (line 442) | fn run_build( constant BASE_DOCKER_IMAGE (line 463) | const BASE_DOCKER_IMAGE: &str = "aidanhs/busybox"; constant DOCKER_SHELL_INIT (line 467) | const DOCKER_SHELL_INIT: &str = "while true; do /busybox sleep 365d && /... function docker_diff (line 470) | fn docker_diff(cid: &str) -> Result { function docker_rm (line 478) | fn docker_rm(cid: &str) -> Result<()> { type DockerBuilder (line 485) | pub struct DockerBuilder { method new (line 494) | pub fn new() -> Result { method cleanup (line 507) | fn cleanup(&self) -> Result<()> { method get_container (line 577) | fn get_container(&self, tc: &Toolchain, tccache: &Mutex) -> R... method clean_container (line 604) | fn clean_container(&self, cid: &str) -> Result<()> { method finish_container (line 669) | fn finish_container(&self, tc: &Toolchain, cid: String) { method make_image (line 698) | fn make_image(tc: &Toolchain, tccache: &Mutex) -> Result Result { method perform_build (line 756) | fn perform_build( method run_build (line 855) | fn run_build( FILE: src/bin/sccache-dist/build_freebsd.rs type CommandExt (line 30) | trait CommandExt { method check_stdout_trim (line 31) | fn check_stdout_trim(&mut self) -> Result; method check_piped (line 32) | fn check_piped(&mut self, pipe: &mut dyn FnMut(&mut ChildStdin) -> Res... method check_run (line 33) | fn check_run(&mut self) -> Result<()>; method check_stdout_trim (line 37) | fn check_stdout_trim(&mut self) -> Result { method check_piped (line 45) | fn check_piped(&mut self, pipe: &mut dyn FnMut(&mut ChildStdin) -> Res... method check_run (line 60) | fn check_run(&mut self) -> Result<()> { function check_output (line 66) | fn check_output(output: &Output) -> Result<()> { function pot_rm (line 79) | fn pot_rm(cid: &str, pot_cmd: &PathBuf) -> Result<()> { type PotBuilder (line 87) | pub struct PotBuilder { method new (line 102) | pub fn new( method cleanup (line 125) | fn cleanup(&self) -> Result<()> { method get_container (line 149) | fn get_container(&self, tc: &Toolchain, tccache: &Mutex) -> R... method clean_container (line 183) | fn clean_container(cid: &str) -> Result<()> { method finish_container (line 203) | fn finish_container( method make_image (line 235) | fn make_image( method start_container (line 280) | fn start_container( method perform_build (line 305) | fn perform_build( method run_build (line 402) | fn run_build( FILE: src/bin/sccache-dist/cmdline/mod.rs type Command (line 23) | pub enum Command { type AuthSubcommand (line 30) | pub enum AuthSubcommand { FILE: src/bin/sccache-dist/cmdline/parse.rs type TokenLength (line 26) | struct TokenLength(usize); method as_bytes (line 29) | fn as_bytes(&self) -> usize { method from_bits (line 33) | fn from_bits(bits: &str) -> anyhow::Result { method fmt (line 51) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type LogLevel (line 57) | enum LogLevel { type Err (line 66) | type Err = anyhow::Error; method from_str (line 68) | fn from_str(s: &str) -> Result { function from (line 83) | fn from(log_level: LogLevel) -> Self { function flag_infer_long (line 94) | fn flag_infer_long(name: &'static str) -> Arg { function get_clap_command (line 98) | fn get_clap_command() -> ClapCommand { function check_init_syslog (line 170) | fn check_init_syslog(name: &str, log_level: LogLevel) { function try_parse_from (line 176) | pub fn try_parse_from( constant EXE (line 271) | const EXE: &str = "sccache-dist"; function auth_generate_shared_tokens_bits (line 273) | fn auth_generate_shared_tokens_bits(bit_val: &'static str) -> Vec<&'stat... function auth_generate_jwt_hs256_server_token (line 277) | fn auth_generate_jwt_hs256_server_token(subcommand_args: &[&'static str]... function debug_assert (line 284) | fn debug_assert() { function missing_required_subcommands_fails (line 289) | fn missing_required_subcommands_fails() { function invalid_token_bits_fails (line 298) | fn invalid_token_bits_fails() { function auth_generate_server_token_needs_key_source (line 308) | fn auth_generate_server_token_needs_key_source() { function assert_args_parse_to_auth (line 321) | fn assert_args_parse_to_auth(args: Vec<&'static str>, ideal_auth: AuthSu... function auth_generate_jwt_hs256_key_good (line 329) | fn auth_generate_jwt_hs256_key_good() { function auth_generate_jwt_hs256_server_token_good (line 336) | fn auth_generate_jwt_hs256_server_token_good() { function auth_generate_shared_token_good (line 353) | fn auth_generate_shared_token_good() { FILE: src/bin/sccache-dist/main.rs constant INSECURE_DIST_SERVER_TOKEN (line 36) | pub const INSECURE_DIST_SERVER_TOKEN: &str = "dangerously_insecure_server"; function main (line 42) | fn main() { function main (line 51) | fn main() { function create_server_token (line 95) | fn create_server_token(server_id: ServerId, auth_token: &str) -> String { function check_server_token (line 98) | fn check_server_token(server_token: &str, auth_token: &str) -> Option Re... function check_jwt_server_token (line 134) | fn check_jwt_server_token( function run (line 145) | fn run(command: Command) -> Result { function init_logging (line 313) | fn init_logging() { constant MAX_PER_CORE_LOAD (line 330) | const MAX_PER_CORE_LOAD: f64 = 2f64; constant SERVER_REMEMBER_ERROR_TIMEOUT (line 331) | const SERVER_REMEMBER_ERROR_TIMEOUT: Duration = Duration::from_secs(300); constant UNCLAIMED_PENDING_TIMEOUT (line 332) | const UNCLAIMED_PENDING_TIMEOUT: Duration = Duration::from_secs(300); constant UNCLAIMED_READY_TIMEOUT (line 333) | const UNCLAIMED_READY_TIMEOUT: Duration = Duration::from_secs(60); type JobDetail (line 336) | struct JobDetail { type Scheduler (line 343) | pub struct Scheduler { method new (line 365) | pub fn new() -> Self { method prune_servers (line 373) | fn prune_servers( type ServerDetails (line 352) | struct ServerDetails { method default (line 415) | fn default() -> Self { function load_weight (line 420) | fn load_weight(job_count: usize, core_count: usize) -> f64 { method handle_alloc_job (line 435) | fn handle_alloc_job( method handle_heartbeat_server (line 574) | fn handle_heartbeat_server( method handle_update_job_state (line 683) | fn handle_update_job_state( method handle_status (line 736) | fn handle_status(&self) -> Result { type Server (line 751) | pub struct Server { method new (line 758) | pub fn new( method handle_assign_job (line 774) | fn handle_assign_job(&self, job_id: JobId, tc: Toolchain) -> Result Result> { type EqCheck (line 53) | pub struct EqCheck { method new (line 71) | pub fn new(s: String) -> Self { method check (line 58) | fn check(&self, token: &str) -> StdResult<(), ClientVisibleMsg> { type ProxyTokenCheck (line 78) | pub struct ProxyTokenCheck { method new (line 99) | pub fn new(url: String, cache_secs: Option) -> Self { method check_token_with_forwarding (line 109) | fn check_token_with_forwarding(&self, token: &str) -> Result<()> { method check (line 85) | fn check(&self, token: &str) -> StdResult<(), ClientVisibleMsg> { type ValidJWTCheck (line 143) | pub struct ValidJWTCheck { method new (line 164) | pub fn new(audience: String, issuer: String, jwks_url: &str) -> Result... method check_jwt_validity (line 183) | fn check_jwt_validity(&self, token: &str) -> Result<()> { method check (line 150) | fn check(&self, token: &str) -> StdResult<(), ClientVisibleMsg> { FILE: src/cache/azure.rs type AzureBlobCache (line 25) | pub struct AzureBlobCache; method build (line 28) | pub fn build(connection_string: &str, container: &str, key_prefix: &st... FILE: src/cache/cache.rs type Storage (line 60) | pub trait Storage: Send + Sync { method get (line 68) | async fn get(&self, key: &str) -> Result; method put (line 74) | async fn put(&self, key: &str, entry: CacheWrite) -> Result; method check (line 88) | async fn check(&self) -> Result { method location (line 93) | fn location(&self) -> String; method cache_type_name (line 97) | fn cache_type_name(&self) -> &'static str { method current_size (line 102) | async fn current_size(&self) -> Result>; method max_size (line 105) | async fn max_size(&self) -> Result>; method preprocessor_cache_mode_config (line 108) | fn preprocessor_cache_mode_config(&self) -> PreprocessorCacheModeConfig { method basedirs (line 113) | fn basedirs(&self) -> &[Vec] { method get_preprocessor_cache_entry (line 119) | async fn get_preprocessor_cache_entry( method put_preprocessor_cache_entry (line 128) | async fn put_preprocessor_cache_entry( method get (line 185) | async fn get(&self, key: &str) -> Result { method put (line 199) | async fn put(&self, key: &str, entry: CacheWrite) -> Result { method check (line 209) | async fn check(&self) -> Result { method location (line 255) | fn location(&self) -> String { method cache_type_name (line 265) | fn cache_type_name(&self) -> &'static str { method current_size (line 271) | async fn current_size(&self) -> Result> { method max_size (line 275) | async fn max_size(&self) -> Result> { method basedirs (line 279) | fn basedirs(&self) -> &[Vec] { type RemoteStorage (line 149) | pub struct RemoteStorage { method new (line 166) | pub fn new(operator: opendal::Operator, basedirs: Vec>) -> Self { function build_single_cache (line 297) | pub fn build_single_cache( function storage_from_config (line 492) | pub fn storage_from_config( function test_read_write_mode_local (line 535) | fn test_read_write_mode_local() { function test_operator_storage_s3_with_basedirs (line 602) | fn test_operator_storage_s3_with_basedirs() { function test_operator_storage_redis_with_basedirs (line 627) | fn test_operator_storage_redis_with_basedirs() { FILE: src/cache/cache_io.rs type FileObjectSource (line 25) | pub struct FileObjectSource { type Cache (line 36) | pub enum Cache { method fmt (line 48) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type CacheMode (line 60) | pub enum CacheMode { type ReadSeek (line 68) | pub trait ReadSeek: Read + Seek + Send {} type CacheRead (line 73) | pub struct CacheRead { method from (line 91) | pub fn from(reader: R) -> Result method get_object (line 102) | pub fn get_object(&mut self, name: &str, to: &mut T) -> Result Vec { method get_stderr (line 121) | pub fn get_stderr(&mut self) -> Vec { method get_bytes (line 125) | fn get_bytes(&mut self, name: &str) -> Vec { method extract_objects (line 131) | pub async fn extract_objects( type DecompressionFailure (line 79) | pub struct DecompressionFailure; method fmt (line 82) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type CacheWrite (line 173) | pub struct CacheWrite { method new (line 179) | pub fn new() -> CacheWrite { method from_objects (line 186) | pub async fn from_objects(objects: T, pool: &tokio::runtime::Handle... method put_object (line 218) | pub fn put_object(&mut self, name: &str, from: &mut T, mode: Option... method put_stdout (line 242) | pub fn put_stdout(&mut self, bytes: &[u8]) -> Result<()> { method put_stderr (line 246) | pub fn put_stderr(&mut self, bytes: &[u8]) -> Result<()> { method put_bytes (line 250) | fn put_bytes(&mut self, name: &str, bytes: &[u8]) -> Result<()> { method finish (line 259) | pub fn finish(self) -> Result> { method default (line 267) | fn default() -> Self { FILE: src/cache/cos.rs type COSCache (line 21) | pub struct COSCache; method build (line 25) | pub fn build(bucket: &str, key_prefix: &str, endpoint: Option<&str>) -... FILE: src/cache/disk.rs type DiskCache (line 32) | pub struct DiskCache { method new (line 45) | pub fn new>( function make_key_path (line 73) | fn make_key_path(key: &str) -> PathBuf { method get (line 79) | async fn get(&self, key: &str) -> Result { method put (line 105) | async fn put(&self, key: &str, entry: CacheWrite) -> Result { method check (line 133) | async fn check(&self) -> Result { method location (line 137) | fn location(&self) -> String { method cache_type_name (line 141) | fn cache_type_name(&self) -> &'static str { method current_size (line 145) | async fn current_size(&self) -> Result> { method max_size (line 148) | async fn max_size(&self) -> Result> { method preprocessor_cache_mode_config (line 151) | fn preprocessor_cache_mode_config(&self) -> PreprocessorCacheModeConfig { method basedirs (line 154) | fn basedirs(&self) -> &[Vec] { method get_preprocessor_cache_entry (line 157) | async fn get_preprocessor_cache_entry(&self, key: &str) -> Result &'static str { type GCSCache (line 37) | pub struct GCSCache; method build (line 41) | pub fn build( function fetch_taskcluster_token (line 93) | async fn fetch_taskcluster_token(url: &str, scope: &str) -> Result Result { FILE: src/cache/http_client.rs function set_user_agent (line 5) | pub fn set_user_agent() -> HttpClient { FILE: src/cache/lazy_disk_cache.rs type LazyDiskCache (line 18) | pub enum LazyDiskCache { method get_or_init (line 24) | pub fn get_or_init(&mut self) -> Result<&mut LruDiskCache> { method get (line 34) | pub fn get(&mut self) -> Option<&mut LruDiskCache> { method capacity (line 41) | pub fn capacity(&self) -> u64 { method path (line 48) | pub fn path(&self) -> &Path { FILE: src/cache/memcached.rs type MemcachedCache (line 25) | pub struct MemcachedCache; method build (line 28) | pub fn build( FILE: src/cache/oss.rs type OSSCache (line 21) | pub struct OSSCache; method build (line 25) | pub fn build( FILE: src/cache/readonly.rs type ReadOnlyStorage (line 23) | pub struct ReadOnlyStorage(pub Arc); method get (line 27) | async fn get(&self, key: &str) -> Result { method put (line 35) | async fn put(&self, _key: &str, _entry: CacheWrite) -> Result { method check (line 42) | async fn check(&self) -> Result { method location (line 47) | fn location(&self) -> String { method cache_type_name (line 52) | fn cache_type_name(&self) -> &'static str { method current_size (line 57) | async fn current_size(&self) -> Result> { method max_size (line 62) | async fn max_size(&self) -> Result> { method preprocessor_cache_mode_config (line 67) | fn preprocessor_cache_mode_config(&self) -> PreprocessorCacheModeConfig { method basedirs (line 72) | fn basedirs(&self) -> &[Vec] { method get_preprocessor_cache_entry (line 79) | async fn get_preprocessor_cache_entry( method put_preprocessor_cache_entry (line 89) | async fn put_preprocessor_cache_entry( function readonly_storage_is_readonly (line 106) | fn readonly_storage_is_readonly() { function readonly_storage_forwards_preprocessor_cache_mode_config (line 115) | fn readonly_storage_forwards_preprocessor_cache_mode_config() { function readonly_storage_forwards_basedirs (line 134) | fn readonly_storage_forwards_basedirs() { function readonly_storage_put_err (line 168) | fn readonly_storage_put_err() { function readonly_storage_forwards_cache_type_name (line 197) | fn readonly_storage_forwards_cache_type_name() { FILE: src/cache/redis.rs type RedisCache (line 25) | pub struct RedisCache; method build_from_url (line 29) | pub fn build_from_url(url: &str, key_prefix: &str, ttl: u64) -> Result... method build_single (line 57) | pub fn build_single( method build_cluster (line 71) | pub fn build_cluster( method build_common (line 84) | fn build_common( FILE: src/cache/s3.rs type S3Cache (line 21) | pub struct S3Cache { method new (line 33) | pub fn new(bucket: String, key_prefix: String, no_credentials: bool) -... method with_region (line 45) | pub fn with_region(mut self, region: Option) -> Self { method with_endpoint (line 49) | pub fn with_endpoint(mut self, endpoint: Option) -> Self { method with_use_ssl (line 53) | pub fn with_use_ssl(mut self, use_ssl: Option) -> Self { method with_server_side_encryption (line 57) | pub fn with_server_side_encryption(mut self, server_side_encryption: O... method with_enable_virtual_host_style (line 61) | pub fn with_enable_virtual_host_style( method build (line 68) | pub fn build(self) -> Result { function endpoint_resolver (line 109) | fn endpoint_resolver(endpoint: &str, use_ssl: Option) -> Result Result<()> { FILE: src/cache/utils.rs function normalize_key (line 20) | pub(in crate::cache) fn normalize_key(key: &str) -> String { function get_file_mode (line 25) | pub(in crate::cache) fn get_file_mode(file: &fs::File) -> Result Result Result<... function set_file_mode (line 47) | pub(in crate::cache) fn set_file_mode(_path: &Path, _mode: u32) -> Resul... function test_normalize_key (line 56) | fn test_normalize_key() { FILE: src/cache/webdav.rs type WebdavCache (line 21) | pub struct WebdavCache; method build (line 25) | pub fn build( FILE: src/client.rs type ServerConnection (line 24) | pub struct ServerConnection { method new (line 33) | pub fn new(conn: Box) -> io::Result { method request (line 42) | pub fn request(&mut self, request: Request) -> Result { method read_one_response (line 50) | pub fn read_one_response(&mut self) -> Result { function connect_to_server (line 66) | pub fn connect_to_server(addr: &crate::net::SocketAddr) -> io::Result io::Result &'static str { type Err (line 42) | type Err = anyhow::Error; method from_str (line 44) | fn from_str(s: &str) -> anyhow::Result { type Command (line 54) | pub enum Command { function flag_infer_long_and_short (line 85) | fn flag_infer_long_and_short(name: &'static str) -> Arg { function flag_infer_long (line 89) | fn flag_infer_long(name: &'static str) -> Arg { function get_clap_command (line 94) | fn get_clap_command() -> clap::Command { function try_parse (line 187) | pub fn try_parse() -> Result { FILE: src/commands.rs constant DEFAULT_PORT (line 46) | pub const DEFAULT_PORT: u16 = 4226; constant SERVER_STARTUP_TIMEOUT (line 49) | const SERVER_STARTUP_TIMEOUT: Duration = Duration::from_millis(10000); function get_addr (line 52) | fn get_addr() -> crate::net::SocketAddr { function ignore_all_server_io_errors (line 67) | fn ignore_all_server_io_errors() -> bool { function read_server_startup_status (line 74) | async fn read_server_startup_status( function run_server_process (line 91) | fn run_server_process(startup_timeout: Option) -> Result Result { function redirect_error_log (line 169) | fn redirect_error_log(f: File) -> Result<()> { function run_server_process (line 177) | fn run_server_process(startup_timeout: Option) -> Result Result<()> { function request_stats (line 356) | pub fn request_stats(mut conn: ServerConnection) -> Result { function request_dist_status (line 369) | pub fn request_dist_status(mut conn: ServerConnection) -> Result Result { function request_compile (line 396) | fn request_compile( function status_signal (line 429) | fn status_signal(status: process::ExitStatus) -> Option { function status_signal (line 436) | fn status_signal(_status: process::ExitStatus) -> Option { function handle_compile_finished (line 442) | fn handle_compile_finished( function handle_compile_response (line 507) | fn handle_compile_response( function do_compile (line 592) | pub fn do_compile( function run_command (line 616) | pub fn run_command(cmd: Command) -> Result { FILE: src/compiler/args.rs type ArgParseResult (line 10) | pub type ArgParseResult = StdResult; type ArgToStringResult (line 11) | pub type ArgToStringResult = StdResult; type PathTransformerFn (line 12) | pub type PathTransformerFn<'a> = &'a mut dyn FnMut(&Path) -> Option) -> fmt::Result { method cause (line 33) | fn cause(&self) -> Option<&dyn Error> { type ArgToStringError (line 39) | pub enum ArgToStringError { method fmt (line 45) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method source (line 59) | fn source(&self) -> Option<&(dyn Error + 'static)> { type Delimiter (line 64) | pub type Delimiter = Option; type Argument (line 73) | pub enum Argument { type ArgDisposition (line 87) | pub enum ArgDisposition { type NormalizedDisposition (line 98) | pub enum NormalizedDisposition { function normalize (line 106) | pub fn normalize(self, disposition: NormalizedDisposition) -> Self { function to_os_string (line 121) | pub fn to_os_string(&self) -> OsString { function flag_str (line 128) | pub fn flag_str(&self) -> Option<&'static str> { function get_data (line 135) | pub fn get_data(&self) -> Option<&T> { function iter_os_strings (line 144) | pub fn iter_os_strings(&self) -> Iter<'_, T> { function iter_strings (line 153) | pub fn iter_strings Option>( type Iter (line 165) | pub struct Iter<'a, T> { type Item (line 171) | type Item = OsString; method next (line 173) | fn next(&mut self) -> Option { type IterStrings (line 214) | pub struct IterStrings<'a, T, F> { type Item (line 222) | type Item = ArgToStringResult; method next (line 224) | fn next(&mut self) -> Option { type ArgumentValue (line 319) | pub trait ArgumentValue: IntoArg + Clone + Debug {} type FromArg (line 323) | pub trait FromArg: Sized { method process (line 324) | fn process(arg: OsString) -> ArgParseResult; method process (line 333) | fn process(arg: OsString) -> ArgParseResult { method process (line 338) | fn process(arg: OsString) -> ArgParseResult { method process (line 343) | fn process(arg: OsString) -> ArgParseResult { type IntoArg (line 327) | pub trait IntoArg: Sized { method into_arg_os_string (line 328) | fn into_arg_os_string(self) -> OsString; method into_arg_string (line 329) | fn into_arg_string(self, transformer: PathTransformerFn<'_>) -> ArgToS... method into_arg_os_string (line 349) | fn into_arg_os_string(self) -> OsString { method into_arg_string (line 352) | fn into_arg_string(self, _transformer: PathTransformerFn<'_>) -> ArgTo... method into_arg_os_string (line 357) | fn into_arg_os_string(self) -> OsString { method into_arg_string (line 360) | fn into_arg_string(self, transformer: PathTransformerFn<'_>) -> ArgToS... method into_arg_os_string (line 365) | fn into_arg_os_string(self) -> OsString { method into_arg_string (line 368) | fn into_arg_string(self, _transformer: PathTransformerFn<'_>) -> ArgTo... method into_arg_os_string (line 373) | fn into_arg_os_string(self) -> OsString { method into_arg_string (line 376) | fn into_arg_string(self, _transformer: PathTransformerFn<'_>) -> ArgTo... function split_os_string_arg (line 381) | pub fn split_os_string_arg(val: OsString, split: &str) -> ArgParseResult... type ArgInfo (line 392) | pub enum ArgInfo { function process (line 409) | fn process(self, arg: &str, get_next_arg: F) -> ArgParseResult Ordering { function flag_str (line 485) | fn flag_str(&self) -> &'static str { function bsearch (line 496) | fn bsearch(key: K, items: &[T], cmp: F) -> Option<&T> type SearchableArgInfo (line 524) | pub trait SearchableArgInfo { method search (line 525) | fn search(&self, key: &str) -> Option<&ArgInfo>; method check (line 528) | fn check(&self) -> bool; function search (line 534) | fn search(&self, key: &str) -> Option<&ArgInfo> { function check (line 539) | fn check(&self) -> bool { function search (line 552) | fn search(&self, key: &str) -> Option<&ArgInfo> { function check (line 568) | fn check(&self) -> bool { type ArgsIter (line 574) | pub struct ArgsIter function new (line 593) | pub fn new(arguments: I, arg_info: S) -> Self { function with_double_dashes (line 604) | pub fn with_double_dashes(mut self) -> Self { type Item (line 616) | type Item = ArgParseResult>; method next (line 618) | fn next(&mut self) -> Option { function test_arginfo_cmp (line 735) | fn test_arginfo_cmp() { function test_arginfo_process (line 801) | fn test_arginfo_process() { function test_bsearch (line 872) | fn test_bsearch() { function test_multi_search (line 928) | fn test_multi_search() { function test_argsiter (line 949) | fn test_argsiter() { function test_argument_into_iter (line 1031) | fn test_argument_into_iter() { function test_arginfo_process_take_concat_arg_delim_doesnt_crash (line 1065) | fn test_arginfo_process_take_concat_arg_delim_doesnt_crash() { function test_arginfo_process_flag (line 1075) | fn test_arginfo_process_flag() { function test_arginfo_process_take_arg (line 1081) | fn test_arginfo_process_take_arg() { function test_arginfo_process_take_concat_arg (line 1089) | fn test_arginfo_process_take_concat_arg() { function test_arginfo_process_take_concat_arg_delim (line 1097) | fn test_arginfo_process_take_concat_arg_delim() { function test_arginfo_process_take_maybe_concat_arg (line 1105) | fn test_arginfo_process_take_maybe_concat_arg() { function test_arginfo_process_take_maybe_concat_arg_delim (line 1113) | fn test_arginfo_process_take_maybe_concat_arg_delim() { function test_args_iter_unsorted (line 1121) | fn test_args_iter_unsorted() { function test_args_iter_unsorted_2 (line 1128) | fn test_args_iter_unsorted_2() { function test_args_iter_no_conflict (line 1134) | fn test_args_iter_no_conflict() { FILE: src/compiler/c.rs type CCompiler (line 52) | pub struct CCompiler type CCompilerHasher (line 63) | pub struct CCompilerHasher type ArtifactDescriptor (line 75) | pub struct ArtifactDescriptor { type ParsedArguments (line 85) | pub struct ParsedArguments { method output_pretty (line 125) | pub fn output_pretty(&self) -> Cow<'_, str> { type CCompilation (line 135) | struct CCompilation { type CCompilerKind (line 148) | pub enum CCompilerKind { type CCompilerImpl (line 173) | pub trait CCompilerImpl: Clone + fmt::Debug + Send + Sync + 'static { method kind (line 175) | fn kind(&self) -> CCompilerKind; method plusplus (line 177) | fn plusplus(&self) -> bool; method version (line 179) | fn version(&self) -> Option; method parse_arguments (line 181) | fn parse_arguments( method preprocess (line 189) | async fn preprocess( method generate_compile_commands (line 204) | fn generate_compile_commands( function new (line 225) | pub async fn new( function extract_rocm_arg (line 248) | fn extract_rocm_arg(args: &ParsedArguments, flag: &str) -> Option Op... function search_hip_device_libs (line 267) | fn search_hip_device_libs( function kind (line 302) | fn kind(&self) -> CompilerKind { function get_toolchain_packager (line 306) | fn get_toolchain_packager(&self) -> Box { function parse_arguments (line 312) | fn parse_arguments( function box_clone (line 357) | fn box_clone(&self) -> Box> { function generate_hash_key (line 368) | async fn generate_hash_key( function color_mode (line 684) | fn color_mode(&self) -> ColorMode { function output_pretty (line 688) | fn output_pretty(&self) -> Cow<'_, str> { function box_clone (line 692) | fn box_clone(&self) -> Box> { function language (line 696) | fn language(&self) -> Language { constant PRAGMA_GCC_PCH_PREPROCESS (line 701) | const PRAGMA_GCC_PCH_PREPROCESS: &[u8] = b"pragma GCC pch_preprocess"; constant HASH_31_COMMAND_LINE_NEWLINE (line 702) | const HASH_31_COMMAND_LINE_NEWLINE: &[u8] = b"# 31 \"\"\n"; constant HASH_32_COMMAND_LINE_2_NEWLINE (line 703) | const HASH_32_COMMAND_LINE_2_NEWLINE: &[u8] = b"# 32 \"\" ... constant INCBIN_DIRECTIVE (line 704) | const INCBIN_DIRECTIVE: &[u8] = b".incbin"; function process_preprocessed_file (line 708) | fn process_preprocessed_file( type PreprocessedLineAction (line 825) | type PreprocessedLineAction = ControlFlow<(usize, usize, bool), (usize, ... function process_preprocessor_line (line 828) | fn process_preprocessor_line( function normalize_path (line 959) | pub fn normalize_path(path: &Path) -> PathBuf { type PreprocessorFileMetadata (line 990) | struct PreprocessorFileMetadata { method from (line 998) | fn from(meta: std::fs::Metadata) -> Self { type PreprocessorFSAbstraction (line 1013) | trait PreprocessorFSAbstraction { method metadata (line 1014) | fn metadata(&self, path: impl AsRef) -> io::Result) -> io::Result) -> io::Result) -> io::Result) -> io::Result) -> io::Result bool { function outputs (line 1244) | fn outputs<'a>(&'a self) -> Box + ... type CInputsPackager (line 1259) | struct CInputsPackager { method write_inputs (line 1269) | fn write_inputs(self: Box, wtr: &mut dyn io::Write) -> Result, f: fs::File) -> Result<()> { constant CACHE_VERSION (line 1449) | pub const CACHE_VERSION: &[u8] = b"12"; type HashKeyParams (line 1489) | pub struct HashKeyParams<'a> { function new (line 1510) | pub fn new( function with_extra_hashes (line 1529) | pub fn with_extra_hashes(mut self, extra_hashes: &'a [String]) -> Self { function with_env_vars (line 1535) | pub fn with_env_vars(mut self, env_vars: &'a [(OsString, OsString)]) -> ... function with_plusplus (line 1541) | pub fn with_plusplus(mut self, plusplus: bool) -> Self { function with_basedirs (line 1547) | pub fn with_basedirs(mut self, basedirs: &'a [Vec]) -> Self { function compute (line 1560) | pub fn compute(&self) -> String { function test_same_content (line 1598) | fn test_same_content() { function test_plusplus_differs (line 1606) | fn test_plusplus_differs() { function test_header_differs (line 1616) | fn test_header_differs() { function test_plusplus_header_differs (line 1624) | fn test_plusplus_header_differs() { function test_hash_key_executable_contents_differs (line 1636) | fn test_hash_key_executable_contents_differs() { function test_hash_key_args_differs (line 1644) | fn test_hash_key_args_differs() { function test_hash_key_preprocessed_content_differs (line 1661) | fn test_hash_key_preprocessed_content_differs() { function test_hash_key_env_var_differs (line 1669) | fn test_hash_key_env_var_differs() { function test_extra_hash_data (line 1690) | fn test_extra_hash_data() { function test_hash_key_basedirs (line 1703) | fn test_hash_key_basedirs() { function test_language_from_file_name (line 1765) | fn test_language_from_file_name() { function test_language_from_file_name_none (line 1816) | fn test_language_from_file_name_none() { function test_process_preprocessed_file (line 1835) | fn test_process_preprocessed_file() { type PanicFs (line 1878) | struct PanicFs; type TestFs (line 1891) | struct TestFs { function do_single_preprocessor_line_call (line 1921) | fn do_single_preprocessor_line_call( function test_process_preprocessor_line_simple (line 1956) | fn test_process_preprocessor_line_simple() { function test_test_helpers (line 2033) | fn test_test_helpers() { function test_process_preprocessor_line_fs_access (line 2083) | fn test_process_preprocessor_line_fs_access() { FILE: src/compiler/cicc.rs type Cicc (line 40) | pub struct Cicc { method kind (line 46) | fn kind(&self) -> CCompilerKind { method plusplus (line 49) | fn plusplus(&self) -> bool { method version (line 52) | fn version(&self) -> Option { method parse_arguments (line 55) | fn parse_arguments( method preprocess (line 64) | async fn preprocess( method generate_compile_commands (line 80) | fn generate_compile_commands( function parse_arguments (line 104) | pub fn parse_arguments( function preprocess (line 238) | pub async fn preprocess(cwd: &Path, parsed_args: &ParsedArguments) -> Re... function generate_compile_commands (line 254) | pub fn generate_compile_commands( FILE: src/compiler/clang.rs type Clang (line 40) | pub struct Clang { method is_minversion (line 50) | fn is_minversion(&self, major: u64) -> bool { method kind (line 84) | fn kind(&self) -> CCompilerKind { method plusplus (line 87) | fn plusplus(&self) -> bool { method version (line 90) | fn version(&self) -> Option { method parse_arguments (line 93) | fn parse_arguments( method preprocess (line 109) | async fn preprocess( method generate_compile_commands (line 150) | fn generate_compile_commands( function language_to_clang_arg (line 182) | pub fn language_to_clang_arg(lang: Language) -> Option<&'static str> { function resolve_profile_use_path (line 247) | pub(crate) fn resolve_profile_use_path(arg: &Path, cwd: &Path) -> PathBuf { function parse_arguments_ (line 279) | fn parse_arguments_(arguments: Vec) -> CompilerArguments: Send + Sync + 'static method execute (line 84) | async fn execute( method get_executable (line 90) | fn get_executable(&self) -> PathBuf; method get_arguments (line 91) | fn get_arguments(&self) -> Vec; method get_env_vars (line 92) | fn get_env_vars(&self) -> Vec<(OsString, OsString)>; method get_cwd (line 93) | fn get_cwd(&self) -> PathBuf; type CCompileCommand (line 97) | pub struct CCompileCommand function new (line 109) | pub fn new(cmd: I) -> Box> function get_executable (line 123) | fn get_executable(&self) -> PathBuf { function get_arguments (line 126) | fn get_arguments(&self) -> Vec { function get_env_vars (line 129) | fn get_env_vars(&self) -> Vec<(OsString, OsString)> { function get_cwd (line 132) | fn get_cwd(&self) -> PathBuf { function execute (line 136) | async fn execute( type CompileCommandImpl (line 146) | pub trait CompileCommandImpl: Send + Sync + 'static { method get_executable (line 147) | fn get_executable(&self) -> PathBuf; method get_arguments (line 148) | fn get_arguments(&self) -> Vec; method get_env_vars (line 149) | fn get_env_vars(&self) -> Vec<(OsString, OsString)>; method get_cwd (line 150) | fn get_cwd(&self) -> PathBuf; method execute (line 152) | async fn execute( method get_executable (line 171) | fn get_executable(&self) -> PathBuf { method get_arguments (line 174) | fn get_arguments(&self) -> Vec { method get_env_vars (line 177) | fn get_env_vars(&self) -> Vec<(OsString, OsString)> { method get_cwd (line 180) | fn get_cwd(&self) -> PathBuf { method execute (line 184) | async fn execute( type SingleCompileCommand (line 162) | pub struct SingleCompileCommand { type CompilerKind (line 211) | pub enum CompilerKind { method lang_kind (line 383) | pub fn lang_kind(&self, lang: &Language) -> String { method lang_comp_kind (line 409) | pub fn lang_comp_kind(&self, lang: &Language) -> String { constant EXPECTED_LANGUAGE_COUNT (line 221) | const EXPECTED_LANGUAGE_COUNT: usize = 21; type Language (line 224) | pub enum Language { method from_file_name (line 250) | pub fn from_file_name(file: &Path) -> Option { method as_str (line 282) | pub fn as_str(self) -> &'static str { method needs_c_preprocessing (line 307) | pub fn needs_c_preprocessing(self) -> bool { method is_c_like_header (line 319) | pub fn is_c_like_header(self) -> bool { method to_c_preprocessed_language (line 330) | pub fn to_c_preprocessed_language(self) -> Option { method to_compiler_arg (line 342) | fn to_compiler_arg(self, cuda_arg: &'static str) -> Option<&'static st... method to_gcc_arg (line 371) | pub fn to_gcc_arg(self) -> Option<&'static str> { method to_clang_arg (line 377) | pub fn to_clang_arg(self) -> Option<&'static str> { type DistPackagers (line 428) | pub type DistPackagers = ( type CacheLookupResult (line 434) | enum CacheLookupResult { type Compiler (line 440) | pub trait Compiler: Send + Sync + 'static method kind (line 445) | fn kind(&self) -> CompilerKind; method get_toolchain_packager (line 448) | fn get_toolchain_packager(&self) -> Box; method parse_arguments (line 450) | fn parse_arguments( method box_clone (line 456) | fn box_clone(&self) -> Box>; method clone (line 460) | fn clone(&self) -> Box> { type CompilerProxy (line 465) | pub trait CompilerProxy: Send + Sync + 'static method resolve_proxied_executable (line 474) | fn resolve_proxied_executable( method box_clone (line 482) | fn box_clone(&self) -> Box>; method clone (line 486) | fn clone(&self) -> Box> { type CompilerHasher (line 494) | pub trait CompilerHasher: fmt::Debug + Send + 'static method generate_hash_key (line 502) | async fn generate_hash_key( method color_mode (line 515) | fn color_mode(&self) -> ColorMode; method get_cached_or_compile (line 520) | async fn get_cached_or_compile( method output_pretty (line 816) | fn output_pretty(&self) -> Cow<'_, str>; method box_clone (line 818) | fn box_clone(&self) -> Box>; method language (line 820) | fn language(&self) -> Language; function dist_or_local_compile (line 824) | async fn dist_or_local_compile( function dist_or_local_compile (line 849) | async fn dist_or_local_compile( method clone (line 1077) | fn clone(&self) -> Box> { type Compilation (line 1083) | pub trait Compilation: Send method generate_compile_commands (line 1089) | fn generate_compile_commands( method into_dist_packagers (line 1101) | fn into_dist_packagers( method is_locally_preprocessed (line 1106) | fn is_locally_preprocessed(&self) -> bool { method outputs (line 1114) | fn outputs<'a>(&'a self) -> Box ... type OutputsRewriter (line 1118) | pub trait OutputsRewriter: Send { method handle_outputs (line 1120) | fn handle_outputs( method handle_outputs (line 1132) | fn handle_outputs( type NoopOutputsRewriter (line 1129) | pub struct NoopOutputsRewriter; type HashResult (line 1143) | pub struct HashResult type CompilerArguments (line 1157) | pub enum CompilerArguments { type DistType (line 1186) | pub enum DistType { type MissType (line 1197) | pub enum MissType { type CacheWriteInfo (line 1211) | pub struct CacheWriteInfo { type CompileResult (line 1217) | pub enum CompileResult { method fmt (line 1251) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method eq (line 1273) | fn eq(&self, other: &CompileResult) -> bool { type ColorMode (line 1242) | pub enum ColorMode { type Cacheable (line 1292) | pub enum Cacheable { type CacheControl (line 1299) | pub enum CacheControl { function write_temp_file (line 1317) | pub async fn write_temp_file( function is_rustc_like (line 1336) | fn is_rustc_like>(p: P) -> bool { function is_nvidia_cudafe (line 1347) | fn is_nvidia_cudafe>(p: P) -> bool { function is_nvidia_cicc (line 1358) | fn is_nvidia_cicc>(p: P) -> bool { function is_nvidia_ptxas (line 1369) | fn is_nvidia_ptxas>(p: P) -> bool { function is_known_c_compiler (line 1382) | fn is_known_c_compiler>(p: P) -> bool { function detect_compiler (line 1404) | async fn detect_compiler( function resolve_rust_compiler (line 1512) | async fn resolve_rust_compiler( function detect_c_compiler (line 1639) | async fn detect_c_compiler( function get_compiler_info (line 1876) | pub async fn get_compiler_info( function test_c_preprocessing_consistent (line 1909) | fn test_c_preprocessing_consistent() { function test_detect_compiler_kind_gcc (line 1973) | fn test_detect_compiler_kind_gcc() { function test_detect_compiler_kind_clang (line 1998) | fn test_detect_compiler_kind_clang() { function test_detect_compiler_must_be_clang (line 2023) | fn test_detect_compiler_must_be_clang() { function test_detect_compiler_vv_clang (line 2041) | fn test_detect_compiler_vv_clang() { function test_detect_compiler_kind_msvc (line 2062) | fn test_detect_compiler_kind_msvc() { function test_detect_compiler_kind_nvcc (line 2101) | fn test_detect_compiler_kind_nvcc() { function test_detect_compiler_kind_nvhpc (line 2119) | fn test_detect_compiler_kind_nvhpc() { function test_detect_compiler_kind_rustc (line 2137) | fn test_detect_compiler_kind_rustc() { function test_is_rustc_like (line 2155) | fn test_is_rustc_like() { function populate_rustc_command_mock (line 2170) | fn populate_rustc_command_mock( function test_detect_compiler_kind_rustc_workspace_wrapper (line 2198) | fn test_detect_compiler_kind_rustc_workspace_wrapper() { function test_detect_compiler_kind_diab (line 2260) | fn test_detect_compiler_kind_diab() { function test_detect_compiler_kind_unknown (line 2278) | fn test_detect_compiler_kind_unknown() { function test_detect_compiler_kind_process_fail (line 2304) | fn test_detect_compiler_kind_process_fail() { function test_compiler_version_affects_hash (line 2328) | fn test_compiler_version_affects_hash(preprocessor_cache_mode: bool) { function test_common_args_affects_hash (line 2385) | fn test_common_args_affects_hash(preprocessor_cache_mode: bool) { function test_preprocessed_file_works_without_preprocessor_call (line 2456) | fn test_preprocessed_file_works_without_preprocessor_call(preprocessor_c... function test_get_compiler_info (line 2518) | fn test_get_compiler_info() { function test_compiler_get_cached_or_compile (line 2539) | fn test_compiler_get_cached_or_compile(preprocessor_cache_mode: bool) { function test_compiler_get_cached_or_compile_dist (line 2670) | fn test_compiler_get_cached_or_compile_dist(preprocessor_cache_mode: boo... function test_compiler_get_cached_or_compile_cache_error (line 2801) | fn test_compiler_get_cached_or_compile_cache_error(preprocessor_cache_mo... function test_compiler_get_cached_or_compile_cache_get_timing (line 2890) | fn test_compiler_get_cached_or_compile_cache_get_timing(preprocessor_cac... function test_compiler_get_cached_or_compile_force_recache (line 2974) | fn test_compiler_get_cached_or_compile_force_recache(preprocessor_cache_... function test_compiler_get_cached_or_compile_preprocessor_error (line 3104) | fn test_compiler_get_cached_or_compile_preprocessor_error(preprocessor_c... function test_compiler_get_cached_or_compile_dist_error (line 3195) | fn test_compiler_get_cached_or_compile_dist_error(preprocessor_cache_mod... type ErrorPutToolchainClient (line 3326) | pub struct ErrorPutToolchainClient; method new (line 3329) | pub fn new() -> Arc { method do_alloc_job (line 3335) | async fn do_alloc_job(&self, _: Toolchain) -> Result { method do_get_status (line 3338) | async fn do_get_status(&self) -> Result { method do_submit_toolchain (line 3341) | async fn do_submit_toolchain( method do_run_job (line 3348) | async fn do_run_job( method put_toolchain (line 3357) | async fn put_toolchain( method rewrite_includes_only (line 3365) | fn rewrite_includes_only(&self) -> bool { method get_custom_toolchain (line 3368) | fn get_custom_toolchain(&self, _exe: &Path) -> Option { type ErrorAllocJobClient (line 3373) | pub struct ErrorAllocJobClient { method new (line 3378) | pub fn new() -> Arc { method do_alloc_job (line 3388) | async fn do_alloc_job(&self, tc: Toolchain) -> Result { method do_get_status (line 3392) | async fn do_get_status(&self) -> Result { method do_submit_toolchain (line 3395) | async fn do_submit_toolchain( method do_run_job (line 3402) | async fn do_run_job( method put_toolchain (line 3411) | async fn put_toolchain( method rewrite_includes_only (line 3419) | fn rewrite_includes_only(&self) -> bool { method get_custom_toolchain (line 3422) | fn get_custom_toolchain(&self, _exe: &Path) -> Option { type ErrorSubmitToolchainClient (line 3427) | pub struct ErrorSubmitToolchainClient { method new (line 3433) | pub fn new() -> Arc { method do_alloc_job (line 3445) | async fn do_alloc_job(&self, tc: Toolchain) -> Result { method do_get_status (line 3461) | async fn do_get_status(&self) -> Result { method do_submit_toolchain (line 3464) | async fn do_submit_toolchain( method do_run_job (line 3473) | async fn do_run_job( method put_toolchain (line 3482) | async fn put_toolchain( method rewrite_includes_only (line 3490) | fn rewrite_includes_only(&self) -> bool { method get_custom_toolchain (line 3493) | fn get_custom_toolchain(&self, _exe: &Path) -> Option { type ErrorRunJobClient (line 3498) | pub struct ErrorRunJobClient { method new (line 3504) | pub fn new() -> Arc { method do_alloc_job (line 3516) | async fn do_alloc_job(&self, tc: Toolchain) -> Result { method do_get_status (line 3532) | async fn do_get_status(&self) -> Result { method do_submit_toolchain (line 3535) | async fn do_submit_toolchain( method do_run_job (line 3544) | async fn do_run_job( method put_toolchain (line 3555) | async fn put_toolchain( method rewrite_includes_only (line 3569) | fn rewrite_includes_only(&self) -> bool { method get_custom_toolchain (line 3572) | fn get_custom_toolchain(&self, _exe: &Path) -> Option { type OneshotClient (line 3577) | pub struct OneshotClient { method new (line 3585) | pub fn new(code: i32, stdout: Vec, stderr: Vec) -> Arc Result { method do_get_status (line 3615) | async fn do_get_status(&self) -> Result { method do_submit_toolchain (line 3618) | async fn do_submit_toolchain( method do_run_job (line 3628) | async fn do_run_job( method put_toolchain (line 3654) | async fn put_toolchain( method rewrite_includes_only (line 3668) | fn rewrite_includes_only(&self) -> bool { method get_custom_toolchain (line 3671) | fn get_custom_toolchain(&self, _exe: &Path) -> Option { FILE: src/compiler/counted_array.rs function counted_array_macro (line 27) | fn counted_array_macro() { FILE: src/compiler/cudafe.rs type CudaFE (line 41) | pub struct CudaFE { method kind (line 47) | fn kind(&self) -> CCompilerKind { method plusplus (line 50) | fn plusplus(&self) -> bool { method version (line 53) | fn version(&self) -> Option { method parse_arguments (line 56) | fn parse_arguments( method preprocess (line 65) | async fn preprocess( method generate_compile_commands (line 81) | fn generate_compile_commands( function generate_compile_commands (line 105) | pub fn generate_compile_commands( FILE: src/compiler/diab.rs type Diab (line 40) | pub struct Diab { method kind (line 46) | fn kind(&self) -> CCompilerKind { method plusplus (line 49) | fn plusplus(&self) -> bool { method version (line 52) | fn version(&self) -> Option { method parse_arguments (line 55) | fn parse_arguments( method preprocess (line 65) | async fn preprocess( method generate_compile_commands (line 82) | fn generate_compile_commands( function parse_arguments (line 174) | pub fn parse_arguments( function preprocess (line 322) | pub async fn preprocess( function generate_compile_commands (line 349) | pub fn generate_compile_commands( type ExpandAtArgs (line 386) | pub struct ExpandAtArgs<'a> { function new (line 392) | pub fn new(cwd: &'a Path, args: &[OsString]) -> Self { type Item (line 401) | type Item = OsString; method next (line 403) | fn next(&mut self) -> Option { function parse_arguments_ (line 471) | fn parse_arguments_(arguments: Vec) -> CompilerArguments CCompilerKind { method plusplus (line 49) | fn plusplus(&self) -> bool { method version (line 52) | fn version(&self) -> Option { method parse_arguments (line 55) | fn parse_arguments( method preprocess (line 65) | async fn preprocess( method generate_compile_commands (line 99) | fn generate_compile_commands( constant ARCH_FLAG (line 178) | const ARCH_FLAG: &str = "-arch"; function parse_arguments (line 281) | pub fn parse_arguments( function module_artifact_descriptor (line 772) | fn module_artifact_descriptor( function language_to_gcc_arg (line 799) | pub fn language_to_gcc_arg(lang: Language) -> Option<&'static str> { function preprocess_cmd (line 804) | fn preprocess_cmd( function preprocess (line 887) | pub async fn preprocess( function generate_compile_commands (line 923) | pub fn generate_compile_commands( type ExpandIncludeFile (line 1056) | pub struct ExpandIncludeFile<'a> { function new (line 1062) | pub fn new(cwd: &'a Path, args: &[OsString]) -> Self { type Item (line 1071) | type Item = OsString; method next (line 1073) | fn next(&mut self) -> Option { function parse_arguments_ (line 1136) | fn parse_arguments_( function parse_arguments_clang (line 1144) | fn parse_arguments_clang( function test_parse_arguments_simple (line 1159) | fn test_parse_arguments_simple() { function test_parse_arguments_default_name (line 1193) | fn test_parse_arguments_default_name() { function test_parse_arguments_default_outputdir (line 1225) | fn test_parse_arguments_default_outputdir() { function test_parse_arguments_objc_header_language (line 1244) | fn test_parse_arguments_objc_header_language() { function test_parse_arguments_split_dwarf (line 1278) | fn test_parse_arguments_split_dwarf() { function test_parse_arguments_linker_options (line 1323) | fn test_parse_arguments_linker_options() { function test_parse_arguments_coverage_outputs_gcno (line 1367) | fn test_parse_arguments_coverage_outputs_gcno() { function test_parse_arguments_test_coverage_outputs_gcno (line 1408) | fn test_parse_arguments_test_coverage_outputs_gcno() { function test_parse_arguments_profile_generate (line 1449) | fn test_parse_arguments_profile_generate() { function test_parse_arguments_extra (line 1483) | fn test_parse_arguments_extra() { function test_parse_arguments_values (line 1515) | fn test_parse_arguments_values() { function test_parse_arguments_preprocessor_args (line 1549) | fn test_parse_arguments_preprocessor_args() { function test_parse_arguments_unhashed (line 1601) | fn test_parse_arguments_unhashed() { function test_parse_arguments_double_dash (line 1620) | fn test_parse_arguments_double_dash() { function test_parse_arguments_too_hard (line 1679) | fn test_parse_arguments_too_hard() { function test_parse_arguments_explicit_dep_target (line 1704) | fn test_parse_arguments_explicit_dep_target() { function test_parse_arguments_explicit_dep_target_needed (line 1745) | fn test_parse_arguments_explicit_dep_target_needed() { function test_parse_arguments_explicit_mq_dep_target_needed (line 1791) | fn test_parse_arguments_explicit_mq_dep_target_needed() { function test_parse_arguments_diagnostics_color (line 1837) | fn test_parse_arguments_diagnostics_color() { function color_mode_preprocess (line 1854) | fn color_mode_preprocess() { function test_preprocess_cmd_rewrites_archs (line 1865) | fn test_preprocess_cmd_rewrites_archs() { function test_preprocess_cmd_doesnt_rewrite_single_arch (line 1902) | fn test_preprocess_cmd_doesnt_rewrite_single_arch() { function test_preprocess_double_dash_input (line 1937) | fn test_preprocess_double_dash_input() { function pedantic_default (line 1963) | fn pedantic_default() { function pedantic_std (line 1989) | fn pedantic_std() { function pedantic_gnu (line 2015) | fn pedantic_gnu() { function test_parse_arguments_dep_target_needed (line 2041) | fn test_parse_arguments_dep_target_needed() { function test_parse_arguments_dep_target_and_file_needed (line 2085) | fn test_parse_arguments_dep_target_and_file_needed() { function test_parse_arguments_empty_args (line 2120) | fn test_parse_arguments_empty_args() { function test_parse_arguments_not_compile (line 2128) | fn test_parse_arguments_not_compile() { function test_parse_arguments_too_many_inputs_single (line 2136) | fn test_parse_arguments_too_many_inputs_single() { function test_parse_arguments_too_many_inputs_multiple (line 2144) | fn test_parse_arguments_too_many_inputs_multiple() { function test_parse_arguments_link (line 2158) | fn test_parse_arguments_link() { function test_parse_arguments_pgo (line 2169) | fn test_parse_arguments_pgo() { function test_parse_arguments_cxx20_modules_unsupported (line 2187) | fn test_parse_arguments_cxx20_modules_unsupported() { function test_parse_arguments_response_file (line 2210) | fn test_parse_arguments_response_file() { function test_parse_index_store_path (line 2222) | fn test_parse_index_store_path() { function test_parse_arguments_multiarch_cache_disabled (line 2240) | fn test_parse_arguments_multiarch_cache_disabled() { function test_parse_arguments_multiple_arch (line 2258) | fn test_parse_arguments_multiple_arch() { function at_signs (line 2316) | fn at_signs() { function test_compile_simple (line 2360) | fn test_compile_simple() { function test_compile_simple_verbose_short (line 2421) | fn test_compile_simple_verbose_short() { function test_compile_simple_verbose_long (line 2480) | fn test_compile_simple_verbose_long() { function test_compile_double_dash_input (line 2539) | fn test_compile_double_dash_input() { function test_parse_arguments_plusplus (line 2564) | fn test_parse_arguments_plusplus() { function test_pch_explicit (line 2598) | fn test_pch_explicit() { function test_pch_implicit (line 2623) | fn test_pch_implicit() { function test_pch_generic (line 2648) | fn test_pch_generic() { function test_too_hard_for_preprocessor_cache_mode (line 2673) | fn test_too_hard_for_preprocessor_cache_mode() { FILE: src/compiler/msvc.rs type Msvc (line 40) | pub struct Msvc { method kind (line 49) | fn kind(&self) -> CCompilerKind { method plusplus (line 52) | fn plusplus(&self) -> bool { method version (line 55) | fn version(&self) -> Option { method parse_arguments (line 58) | fn parse_arguments( method preprocess (line 68) | async fn preprocess( method generate_compile_commands (line 96) | fn generate_compile_commands( function from_local_codepage (line 121) | fn from_local_codepage(multi_byte_str: &[u8]) -> io::Result { function from_local_codepage (line 127) | pub fn from_local_codepage(multi_byte_str: &[u8]) -> io::Result { function detect_showincludes_prefix (line 170) | pub async fn detect_showincludes_prefix( function parse_arguments (line 517) | pub fn parse_arguments( function normpath (line 898) | fn normpath(path: &str) -> String { function normpath (line 928) | fn normpath(path: &str) -> String { function preprocess_cmd (line 933) | pub fn preprocess_cmd( function preprocess (line 991) | pub async fn preprocess( function generate_compile_commands (line 1088) | fn generate_compile_commands( type ExpandIncludeFile (line 1214) | struct ExpandIncludeFile<'a> { function new (line 1227) | pub fn new(cwd: &'a Path, args: &[OsString]) -> Self { type Item (line 1238) | type Item = OsString; method next (line 1240) | fn next(&mut self) -> Option { function read_text (line 1279) | fn read_text(reader: &mut R) -> io::Result type SplitMsvcResponseFileArgs (line 1323) | struct SplitMsvcResponseFileArgs<'a> { function from (line 1333) | fn from(file_content: &'a T) -> Self { function append_backslashes_to (line 1343) | fn append_backslashes_to(target: &mut String, count: &mut usize, step: u... type Item (line 1352) | type Item = String; method next (line 1354) | fn next(&mut self) -> Option { function parse_arguments (line 1432) | fn parse_arguments(arguments: Vec) -> CompilerArguments) -> CompilerArguments<... function test_detect_showincludes_prefix (line 1441) | fn test_detect_showincludes_prefix() { function test_parse_arguments_simple (line 1464) | fn test_parse_arguments_simple() { function test_cpp_parse_arguments_collects_type_library_headers (line 1498) | fn test_cpp_parse_arguments_collects_type_library_headers() { function test_c_parse_arguments_does_not_collect_type_library_headers (line 1538) | fn test_c_parse_arguments_does_not_collect_type_library_headers() { function test_parse_compile_flag (line 1564) | fn test_parse_compile_flag() { function test_parse_arguments_default_name (line 1598) | fn test_parse_arguments_default_name() { function test_parse_arguments_double_dash (line 1630) | fn test_parse_arguments_double_dash() { function parse_argument_slashes (line 1689) | fn parse_argument_slashes() { function parse_deps_arguments (line 1721) | fn parse_deps_arguments() { function test_parse_arguments_clang_passthrough (line 1773) | fn test_parse_arguments_clang_passthrough() { function test_parse_arguments_extra (line 1833) | fn test_parse_arguments_extra() { function test_parse_arguments_values (line 1865) | fn test_parse_arguments_values() { function parse_argument_output_file_trailing_backslash (line 1910) | fn parse_argument_output_file_trailing_backslash() { function parse_argument_output_file_trailing_slash_multi_extension (line 1943) | fn parse_argument_output_file_trailing_slash_multi_extension() { function test_parse_arguments_pdb (line 1975) | fn test_parse_arguments_pdb() { function test_parse_arguments_pdb_no_extension (line 2014) | fn test_parse_arguments_pdb_no_extension() { function test_parse_arguments_pdb_with_extension (line 2054) | fn test_parse_arguments_pdb_with_extension() { function test_parse_arguments_pdb_custom_extension (line 2094) | fn test_parse_arguments_pdb_custom_extension() { function test_parse_arguments_pdb_path_with_extension (line 2134) | fn test_parse_arguments_pdb_path_with_extension() { function test_parse_arguments_external_include (line 2174) | fn test_parse_arguments_external_include() { function test_parse_arguments_external_warning_suppression_forward_slashes (line 2225) | fn test_parse_arguments_external_warning_suppression_forward_slashes() { function test_parse_arguments_empty_args (line 2271) | fn test_parse_arguments_empty_args() { function test_parse_arguments_not_compile (line 2276) | fn test_parse_arguments_not_compile() { function test_parse_arguments_passthrough (line 2284) | fn test_parse_arguments_passthrough() { function test_parse_arguments_too_many_inputs_single (line 2328) | fn test_parse_arguments_too_many_inputs_single() { function test_parse_arguments_too_many_inputs_multiple (line 2336) | fn test_parse_arguments_too_many_inputs_multiple() { function test_parse_arguments_unsupported (line 2347) | fn test_parse_arguments_unsupported() { function test_parse_arguments_cxx20_modules_unsupported (line 2375) | fn test_parse_arguments_cxx20_modules_unsupported() { function test_responsefile_missing (line 2458) | fn test_responsefile_missing() { function test_responsefile_absolute_path (line 2466) | fn test_responsefile_absolute_path() { function test_responsefile_relative_path (line 2508) | fn test_responsefile_relative_path() { function test_responsefile_with_quotes (line 2556) | fn test_responsefile_with_quotes() { function test_responsefile_multiline (line 2598) | fn test_responsefile_multiline() { function test_responsefile_multiline_cr (line 2640) | fn test_responsefile_multiline_cr() { function test_responsefile_encoding_utf16le (line 2682) | fn test_responsefile_encoding_utf16le() { function test_responsefile_encoding_win1252 (line 2731) | fn test_responsefile_encoding_win1252() { function test_parse_arguments_missing_pdb (line 2779) | fn test_parse_arguments_missing_pdb() { function test_parse_arguments_missing_edit_and_continue_pdb (line 2787) | fn test_parse_arguments_missing_edit_and_continue_pdb() { function test_preprocess_double_dash_input (line 2795) | fn test_preprocess_double_dash_input() { function test_compile_simple (line 2811) | fn test_compile_simple() { function test_compile_double_dash_input (line 2869) | fn test_compile_double_dash_input() { function test_compile_not_cacheable_pdb (line 2891) | fn test_compile_not_cacheable_pdb() { function test_parse_fsanitize_blacklist (line 2959) | fn test_parse_fsanitize_blacklist() { function local_oem_codepage_conversions (line 2984) | fn local_oem_codepage_conversions() { FILE: src/compiler/nvcc.rs type NvccHostCompiler (line 51) | pub enum NvccHostCompiler { type Nvcc (line 58) | pub struct Nvcc { method kind (line 66) | fn kind(&self) -> CCompilerKind { method plusplus (line 69) | fn plusplus(&self) -> bool { method version (line 72) | fn version(&self) -> Option { method parse_arguments (line 85) | fn parse_arguments( method preprocess (line 155) | async fn preprocess( method generate_compile_commands (line 277) | fn generate_compile_commands( function generate_compile_commands (line 301) | pub fn generate_compile_commands( type NvccCompileCommand (line 485) | pub struct NvccCompileCommand { method get_executable (line 500) | fn get_executable(&self) -> PathBuf { method get_arguments (line 503) | fn get_arguments(&self) -> Vec { method get_env_vars (line 506) | fn get_env_vars(&self) -> Vec<(OsString, OsString)> { method get_cwd (line 509) | fn get_cwd(&self) -> PathBuf { method execute (line 513) | async fn execute( type NvccGeneratedSubcommand (line 622) | pub struct NvccGeneratedSubcommand { function group_nvcc_subcommands_by_compilation_stage (line 631) | async fn group_nvcc_subcommands_by_compilation_stage( function select_nvcc_subcommands (line 915) | async fn select_nvcc_subcommands( function select_valid_dryrun_lines (line 1025) | fn select_valid_dryrun_lines(re: &Regex, line: &str) -> Result { function fold_env_vars_or_split_into_exe_and_args (line 1035) | fn fold_env_vars_or_split_into_exe_and_args( function remap_generated_filenames (line 1123) | fn remap_generated_filenames( function run_nvcc_subcommands_group (line 1227) | async fn run_nvcc_subcommands_group( function aggregate_output (line 1336) | fn aggregate_output(lhs: process::Output, rhs: process::Output) -> proce... function error_to_output (line 1347) | fn error_to_output(err: Error) -> process::Output { function compile_result_to_output (line 1358) | fn compile_result_to_output(exe: &Path, res: protocol::CompileFinished) ... function status_to_code (line 1383) | fn status_to_code(res: process::ExitStatus) -> ExitStatusValue { function status_to_code (line 1392) | fn status_to_code(res: process::ExitStatus) -> ExitStatusValue { function parse_arguments_gcc (line 1487) | fn parse_arguments_gcc(arguments: Vec) -> CompilerArguments) -> CompilerArguments) -> CompilerArguments CCompilerKind { method plusplus (line 52) | fn plusplus(&self) -> bool { method version (line 55) | fn version(&self) -> Option { method parse_arguments (line 58) | fn parse_arguments( method preprocess (line 74) | async fn preprocess( method generate_compile_commands (line 160) | fn generate_compile_commands( function parse_arguments_ (line 236) | fn parse_arguments_(arguments: Vec) -> CompilerArguments Self { method read (line 66) | pub fn read(contents: &[u8]) -> Result { method serialize_to (line 80) | pub fn serialize_to(&self, mut buf: impl Write) -> Result<(), Error> { method add_result (line 92) | pub fn add_result( method lookup_result_digest (line 177) | pub fn lookup_result_digest( method result_matches (line 193) | fn result_matches( function preprocessor_cache_entry_hash_key (line 375) | pub fn preprocessor_cache_entry_hash_key( type IncludeEntry (line 442) | pub struct IncludeEntry { type Error (line 456) | pub enum Error { method from (line 463) | fn from(e: std::io::Error) -> Self { method from (line 469) | fn from(e: bincode::Error) -> Self { method fmt (line 475) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function test_find_time_macros_empty_file (line 496) | fn test_find_time_macros_empty_file() { function test_find_time_macros_small_file_no_match (line 503) | fn test_find_time_macros_small_file_no_match() { function test_find_time_macros_small_file_match (line 510) | fn test_find_time_macros_small_file_match() { function test_find_time_macros_small_file_match_multiple (line 532) | fn test_find_time_macros_small_file_match_multiple() { function test_find_time_macros_large_file_no_match (line 542) | fn test_find_time_macros_large_file_no_match() { function test_find_time_macros_large_file_match_no_overlap (line 552) | fn test_find_time_macros_large_file_match_no_overlap() { function test_find_time_macros_large_file_match_overlap (line 562) | fn test_find_time_macros_large_file_match_overlap() { function test_find_time_macros_large_file_match_overlap_multiple_pages (line 595) | fn test_find_time_macros_large_file_match_overlap_multiple_pages() { function test_find_time_macros_large_file_match_overlap_multiple_pages_tiny (line 610) | fn test_find_time_macros_large_file_match_overlap_multiple_pages_tiny() { function test_find_time_macros_ghost_pattern (line 629) | fn test_find_time_macros_ghost_pattern() { function test_preprocessor_cache_entry_hash_key_basedirs (line 643) | fn test_preprocessor_cache_entry_hash_key_basedirs() { FILE: src/compiler/ptxas.rs type Ptxas (line 41) | pub struct Ptxas { method kind (line 47) | fn kind(&self) -> CCompilerKind { method plusplus (line 50) | fn plusplus(&self) -> bool { method version (line 53) | fn version(&self) -> Option { method parse_arguments (line 56) | fn parse_arguments( method preprocess (line 65) | async fn preprocess( method generate_compile_commands (line 81) | fn generate_compile_commands( FILE: src/compiler/rust.rs constant RLIB_PREFIX (line 66) | const RLIB_PREFIX: &str = "lib"; constant RLIB_EXTENSION (line 68) | const RLIB_EXTENSION: &str = "rlib"; constant RMETA_EXTENSION (line 71) | const RMETA_EXTENSION: &str = "rmeta"; constant BINS_DIR (line 75) | const BINS_DIR: &str = "bin"; constant LIBS_DIR (line 79) | const LIBS_DIR: &str = "lib"; constant LIBS_DIR (line 83) | const LIBS_DIR: &str = "bin"; type Rust (line 87) | pub struct Rust { method new (line 405) | pub async fn new( method kind (line 513) | fn kind(&self) -> CompilerKind { method get_toolchain_packager (line 517) | fn get_toolchain_packager(&self) -> Box { method parse_arguments (line 533) | fn parse_arguments( method box_clone (line 557) | fn box_clone(&self) -> Box> { type RustHasher (line 121) | pub struct RustHasher { method generate_hash_key (line 1328) | async fn generate_hash_key( method color_mode (line 1688) | fn color_mode(&self) -> ColorMode { method output_pretty (line 1692) | fn output_pretty(&self) -> Cow<'_, str> { method box_clone (line 1696) | fn box_clone(&self) -> Box> { method language (line 1700) | fn language(&self) -> Language { type RustupProxy (line 141) | pub struct RustupProxy { method resolve_proxied_executable (line 566) | fn resolve_proxied_executable( method box_clone (line 607) | fn box_clone(&self) -> Box> { method new (line 613) | pub fn new

(proxy_executable: P) -> Result method find_proxy_executable (line 621) | pub async fn find_proxy_executable( type ParsedArguments (line 146) | pub struct ParsedArguments { type RustCompilation (line 196) | pub struct RustCompilation { method generate_compile_commands (line 1706) | fn generate_compile_commands( method into_dist_packagers (line 1855) | fn into_dist_packagers( method outputs (line 1888) | fn outputs<'a>(&'a self) -> Box ... type CrateTypes (line 228) | pub struct CrateTypes { constant CACHE_VERSION (line 238) | const CACHE_VERSION: &[u8] = b"6"; function get_source_files_and_env_deps (line 241) | async fn get_source_files_and_env_deps( function parse_dep_file (line 297) | fn parse_dep_file(file: T, cwd: U) -> Result<(Vec, Vec<(O... function parse_dep_info (line 308) | fn parse_dep_info(dep_info: &str, cwd: T) -> Vec function parse_env_dep_info (line 359) | fn parse_env_dep_info(dep_info: &str) -> Vec<(OsString, OsString)> { function get_compiler_outputs (line 374) | async fn get_compiler_outputs( type ArgCrateTypes (line 749) | struct ArgCrateTypes { method process (line 755) | fn process(arg: OsString) -> ArgParseResult { method into_arg_os_string (line 777) | fn into_arg_os_string(self) -> OsString { method into_arg_string (line 793) | fn into_arg_string(self, _transformer: PathTransformerFn<'_>) -> ArgToSt... type ArgLinkLibrary (line 812) | struct ArgLinkLibrary { method process (line 817) | fn process(arg: OsString) -> ArgParseResult { method into_arg_os_string (line 827) | fn into_arg_os_string(self) -> OsString { method into_arg_string (line 831) | fn into_arg_string(self, _transformer: PathTransformerFn<'_>) -> ArgToSt... type ArgLinkPath (line 838) | struct ArgLinkPath { method process (line 843) | fn process(arg: OsString) -> ArgParseResult { method into_arg_os_string (line 856) | fn into_arg_os_string(self) -> OsString { method into_arg_string (line 860) | fn into_arg_string(self, transformer: PathTransformerFn<'_>) -> ArgToStr... type ArgCodegen (line 867) | struct ArgCodegen { method process (line 872) | fn process(arg: OsString) -> ArgParseResult { method into_arg_os_string (line 878) | fn into_arg_os_string(self) -> OsString { method into_arg_string (line 886) | fn into_arg_string(self, transformer: PathTransformerFn<'_>) -> ArgToStr... type ArgUnstable (line 897) | struct ArgUnstable { method process (line 902) | fn process(arg: OsString) -> ArgParseResult { method into_arg_os_string (line 908) | fn into_arg_os_string(self) -> OsString { method into_arg_string (line 916) | fn into_arg_string(self, transformer: PathTransformerFn<'_>) -> ArgToStr... type ArgExtern (line 927) | struct ArgExtern { method process (line 932) | fn process(arg: OsString) -> ArgParseResult { method into_arg_os_string (line 944) | fn into_arg_os_string(self) -> OsString { method into_arg_string (line 948) | fn into_arg_string(self, transformer: PathTransformerFn<'_>) -> ArgToStr... type ArgTarget (line 955) | enum ArgTarget { method process (line 961) | fn process(arg: OsString) -> ArgParseResult { method into_arg_os_string (line 987) | fn into_arg_os_string(self) -> OsString { method into_arg_string (line 994) | fn into_arg_string(self, transformer: PathTransformerFn<'_>) -> ArgToStr... function parse_arguments (line 1068) | fn parse_arguments(arguments: &[OsString], cwd: &Path) -> CompilerArgume... function get_path_mappings (line 1901) | fn get_path_mappings( type RustInputsPackager (line 1908) | struct RustInputsPackager { method write_inputs (line 2013) | fn write_inputs(self: Box, wtr: &mut dyn io::Write) -> Result bool { function test_can_trim_this (line 1934) | fn test_can_trim_this() { function maybe_add_cargo_toml (line 1953) | fn maybe_add_cargo_toml(input_path: &Path, verify: bool) -> Option, f: fs::File) -> Result<()> { type RustOutputsRewriter (line 2240) | struct RustOutputsRewriter { method handle_outputs (line 2246) | fn handle_outputs( function test_rust_outputs_rewriter (line 2305) | fn test_rust_outputs_rewriter() { type RlibDepsDetail (line 2361) | struct RlibDepsDetail { type DepsSize (line 2367) | struct DepsSize; type Measure (line 2370) | type Measure = usize; method measure (line 2371) | fn measure(&self, _k: &Q, v: &RlibDepsDetail) -> usize type RlibDepReader (line 2393) | struct RlibDepReader { method new_with_check (line 2401) | fn new_with_check(executable: PathBuf, env_vars: &[(OsString, OsString... method get_rustc_version (line 2464) | fn get_rustc_version( method parse_rustc_version (line 2493) | fn parse_rustc_version(stdout: &[u8]) -> Result { method get_correct_ls_arg (line 2506) | fn get_correct_ls_arg(version: Version) -> String { method discover_rlib_deps (line 2514) | fn discover_rlib_deps( function parse_rustc_z_ls (line 2594) | fn parse_rustc_z_ls(stdout: &str) -> Result> { function _parse_arguments (line 2670) | fn _parse_arguments(arguments: &[String]) -> CompilerArguments>, dep_srcs: &[&... function mock_file_names (line 3407) | fn mock_file_names(creator: &Arc>, filenames: ... function test_generate_hash_key (line 3421) | fn test_generate_hash_key(preprocessor_cache_mode: bool) { function hash_key (line 3554) | fn hash_key( function nothing (line 3615) | fn nothing(_path: &Path) -> Result<()> { function test_equal_hashes_externs (line 3621) | fn test_equal_hashes_externs(preprocessor_cache_mode: bool) { function test_equal_hashes_link_paths (line 3678) | fn test_equal_hashes_link_paths(preprocessor_cache_mode: bool) { function test_equal_hashes_ignored_args (line 3728) | fn test_equal_hashes_ignored_args(preprocessor_cache_mode: bool) { function test_equal_hashes_ignored_check_cfg_arg (line 3783) | fn test_equal_hashes_ignored_check_cfg_arg(preprocessor_cache_mode: bool) { function test_equal_hashes_cfg_features (line 3831) | fn test_equal_hashes_cfg_features(preprocessor_cache_mode: bool) { function test_parse_unstable_profile_flag (line 3880) | fn test_parse_unstable_profile_flag() { function test_parse_remap_path_prefix (line 3913) | fn test_parse_remap_path_prefix() { function test_parse_target (line 3941) | fn test_parse_target() { FILE: src/compiler/tasking_vx.rs type TaskingVX (line 42) | pub struct TaskingVX; method kind (line 46) | fn kind(&self) -> CCompilerKind { method plusplus (line 50) | fn plusplus(&self) -> bool { method version (line 54) | fn version(&self) -> Option { method parse_arguments (line 58) | fn parse_arguments( method preprocess (line 67) | async fn preprocess( method generate_compile_commands (line 93) | fn generate_compile_commands( function parse_arguments (line 169) | fn parse_arguments( function preprocess (line 300) | async fn preprocess( function generate_compile_commands (line 362) | fn generate_compile_commands( function parse_arguments_ (line 412) | fn parse_arguments_(arguments: Vec) -> CompilerArguments PathBuf { function default_dist_cache_dir (line 59) | pub fn default_dist_cache_dir() -> PathBuf { function default_disk_cache_size (line 66) | fn default_disk_cache_size() -> u64 { function default_toolchain_cache_size (line 69) | fn default_toolchain_cache_size() -> u64 { type StringOrU64Visitor (line 73) | struct StringOrU64Visitor; type Value (line 76) | type Value = u64; method expecting (line 78) | fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { method visit_str (line 82) | fn visit_str(self, value: &str) -> StdResult method visit_u64 (line 89) | fn visit_u64(self, value: u64) -> StdResult method visit_i64 (line 96) | fn visit_i64(self, value: i64) -> StdResult function deserialize_size_from_str (line 108) | fn deserialize_size_from_str<'de, D>(deserializer: D) -> StdResult Option { type HTTPUrl (line 133) | pub struct HTTPUrl(reqwest::Url); method deserialize (line 145) | fn deserialize(deserializer: D) -> StdResult method from_url (line 175) | pub fn from_url(u: reqwest::Url) -> Self { method to_url (line 178) | pub fn to_url(&self) -> reqwest::Url { method serialize (line 136) | fn serialize(&self, serializer: S) -> StdResult function parse_http_url (line 156) | fn parse_http_url(url: &str) -> Result { type AzureCacheConfig (line 185) | pub struct AzureCacheConfig { type PreprocessorCacheModeConfig (line 195) | pub struct PreprocessorCacheModeConfig { method activated (line 234) | pub fn activated() -> Self { method default (line 220) | fn default() -> Self { type DiskCacheConfig (line 245) | pub struct DiskCacheConfig { method default (line 254) | fn default() -> Self { type CacheModeConfig (line 266) | pub enum CacheModeConfig { method from (line 274) | fn from(value: CacheModeConfig) -> Self { type GCSCacheConfig (line 284) | pub struct GCSCacheConfig { type GHACacheConfig (line 295) | pub struct GHACacheConfig { constant DEFAULT_MEMCACHED_CACHE_EXPIRATION (line 309) | const DEFAULT_MEMCACHED_CACHE_EXPIRATION: u32 = 86400; function default_memcached_cache_expiration (line 311) | fn default_memcached_cache_expiration() -> u32 { type MemcachedCacheConfig (line 317) | pub struct MemcachedCacheConfig { constant DEFAULT_REDIS_CACHE_TTL (line 343) | const DEFAULT_REDIS_CACHE_TTL: u64 = 0; constant DEFAULT_REDIS_DB (line 344) | pub const DEFAULT_REDIS_DB: u32 = 0; type RedisCacheConfig (line 347) | pub struct RedisCacheConfig { type WebdavCacheConfig (line 384) | pub struct WebdavCacheConfig { type S3CacheConfig (line 395) | pub struct S3CacheConfig { type OSSCacheConfig (line 409) | pub struct OSSCacheConfig { type COSCacheConfig (line 419) | pub struct COSCacheConfig { type CacheType (line 427) | pub enum CacheType { type CacheConfigs (line 441) | pub struct CacheConfigs { method into_fallback (line 457) | fn into_fallback(self) -> (Option, DiskCacheConfig) { method merge (line 488) | fn merge(&mut self, other: Self) { type DistToolchainConfig (line 538) | pub enum DistToolchainConfig { type DistAuth (line 551) | pub enum DistAuth { method deserialize (line 567) | fn deserialize(deserializer: D) -> StdResult method default (line 612) | fn default() -> Self { type DistConfig (line 622) | pub struct DistConfig { method default (line 636) | fn default() -> Self { type FileConfig (line 652) | pub struct FileConfig { function try_read_config_file (line 662) | pub fn try_read_config_file(path: &Path) -> Result<... type EnvConfig (line 693) | pub struct EnvConfig { function key_prefix_from_env_var (line 698) | fn key_prefix_from_env_var(env_var_name: &str) -> String { function number_from_env_var (line 708) | fn number_from_env_var(env_var_name: &str) -> Opti... function bool_from_env_var (line 720) | fn bool_from_env_var(env_var_name: &str) -> Result> { function config_from_env (line 734) | fn config_from_env() -> Result { function config_file (line 1057) | fn config_file(env_var: &str, leaf: &str) -> PathBuf { type Config (line 1078) | pub struct Config { method load (line 1089) | pub fn load() -> Result { method from_env_and_file_configs (line 1100) | fn from_env_and_file_configs(env_conf: EnvConfig, file_conf: FileConfi... type CachedDistConfig (line 1184) | pub struct CachedDistConfig { type CachedFileConfig (line 1191) | pub struct CachedFileConfig { type CachedConfig (line 1196) | pub struct CachedConfig(()); method load (line 1199) | pub fn load() -> Result { method reload (line 1208) | pub fn reload() -> Result { method with (line 1215) | pub fn with T, T>(&self, f: F) -> T { method with_mut (line 1221) | pub fn with_mut(&self, f: F) -> Resu... method file_config_path (line 1232) | fn file_config_path() -> PathBuf { method load_file_config (line 1235) | fn load_file_config() -> Result { method save_file_config (line 1257) | fn save_file_config(c: &CachedFileConfig) -> Result<()> { type ClientAuth (line 1277) | pub enum ClientAuth { type ServerAuth (line 1298) | pub enum ServerAuth { type Config (line 1309) | pub struct Config { method load (line 1089) | pub fn load() -> Result { method from_env_and_file_configs (line 1100) | fn from_env_and_file_configs(env_conf: EnvConfig, file_conf: FileConfi... function from_path (line 1315) | pub fn from_path(conf_path: &Path) -> Result> { constant TEN_GIGS (line 1329) | const TEN_GIGS: u64 = 10 * 1024 * 1024 * 1024; function default_toolchain_cache_size (line 1330) | fn default_toolchain_cache_size() -> u64 { constant DEFAULT_POT_CLONE_FROM (line 1334) | const DEFAULT_POT_CLONE_FROM: &str = "sccache-template"; constant DEFAULT_POT_FS_ROOT (line 1335) | const DEFAULT_POT_FS_ROOT: &str = "/opt/pot"; constant DEFAULT_POT_CMD (line 1336) | const DEFAULT_POT_CMD: &str = "pot"; constant DEFAULT_POT_CLONE_ARGS (line 1337) | const DEFAULT_POT_CLONE_ARGS: &[&str] = &["-i", "lo0|127.0.0.2"]; function default_pot_clone_from (line 1339) | fn default_pot_clone_from() -> String { function default_pot_fs_root (line 1343) | fn default_pot_fs_root() -> PathBuf { function default_pot_cmd (line 1347) | fn default_pot_cmd() -> PathBuf { function default_pot_clone_args (line 1351) | fn default_pot_clone_args() -> Vec { type BuilderType (line 1361) | pub enum BuilderType { type SchedulerAuth (line 1385) | pub enum SchedulerAuth { type Config (line 1396) | pub struct Config { method load (line 1089) | pub fn load() -> Result { method from_env_and_file_configs (line 1100) | fn from_env_and_file_configs(env_conf: EnvConfig, file_conf: FileConfi... function from_path (line 1407) | pub fn from_path(conf_path: &Path) -> Result> { function test_parse_size (line 1413) | fn test_parse_size() { function config_overrides (line 1425) | fn config_overrides() { function config_basedirs_overrides (line 1507) | fn config_basedirs_overrides() { function config_basedirs_overrides (line 1575) | fn config_basedirs_overrides() { function test_deserialize_basedirs (line 1657) | fn test_deserialize_basedirs() { function test_deserialize_basedirs_missing (line 1680) | fn test_deserialize_basedirs_missing() { function test_env_basedirs_single (line 1697) | fn test_env_basedirs_single() { function test_env_basedirs_single (line 1715) | fn test_env_basedirs_single() { function test_env_basedirs_multiple (line 1733) | fn test_env_basedirs_multiple() { function test_env_basedirs_multiple (line 1757) | fn test_env_basedirs_multiple() { function test_env_basedirs_with_spaces (line 1781) | fn test_env_basedirs_with_spaces() { function test_env_basedirs_with_spaces (line 1815) | fn test_env_basedirs_with_spaces() { function test_env_basedirs_empty_entries (line 1849) | fn test_env_basedirs_empty_entries() { function test_env_basedirs_empty_entries (line 1874) | fn test_env_basedirs_empty_entries() { function test_env_basedirs_not_set (line 1898) | fn test_env_basedirs_not_set() { function test_s3_no_credentials_conflict (line 1909) | fn test_s3_no_credentials_conflict() { function test_s3_no_credentials_invalid (line 1935) | fn test_s3_no_credentials_invalid() { function test_s3_no_credentials_valid_true (line 1957) | fn test_s3_no_credentials_valid_true() { function test_s3_no_credentials_valid_false (line 1986) | fn test_s3_no_credentials_valid_false() { function test_gcs_service_account (line 2016) | fn test_gcs_service_account() { function full_toml_parse (line 2048) | fn full_toml_parse() { function server_toml_parse (line 2228) | fn server_toml_parse() { function human_units_parse (line 2289) | fn human_units_parse() { function test_integration_config_normalizes_and_strips (line 2323) | fn test_integration_config_normalizes_and_strips() { function test_integration_normalized_path_with_double_slashes (line 2357) | fn test_integration_normalized_path_with_double_slashes() { function test_integration_windows_path_normalization (line 2386) | fn test_integration_windows_path_normalization() { function test_integration_cow_borrowed_when_no_match (line 2415) | fn test_integration_cow_borrowed_when_no_match() { function test_integration_cow_borrowed_when_empty_basedirs (line 2445) | fn test_integration_cow_borrowed_when_empty_basedirs() { function test_integration_multiple_basedirs_longest_match (line 2475) | fn test_integration_multiple_basedirs_longest_match() { function test_integration_paths_with_dots_normalized (line 2509) | fn test_integration_paths_with_dots_normalized() { function test_integration_windows_mixed_slashes (line 2539) | fn test_integration_windows_mixed_slashes() { function test_integration_env_variable_to_strip (line 2570) | fn test_integration_env_variable_to_strip() { FILE: src/dist/cache.rs type CustomToolchain (line 30) | pub struct CustomToolchain { type ClientToolchains (line 36) | pub struct ClientToolchains { method new (line 58) | pub fn new( method get_toolchain (line 169) | pub fn get_toolchain(&self, tc: &Toolchain) -> Result> { method put_toolchain (line 190) | pub fn put_toolchain( method get_custom_toolchain (line 224) | pub fn get_custom_toolchain( method weak_to_strong (line 273) | fn weak_to_strong(&self, weak_key: &str) -> Option { method record_weak (line 280) | fn record_weak(&self, weak_key: String, key: String) -> Result<()> { type PanicToolchainPackager (line 299) | struct PanicToolchainPackager; method new (line 301) | fn new() -> Box { method write_pkg (line 307) | fn write_pkg(self: Box, _f: super::fs::File) -> crate::errors::R... function test_client_toolchains_custom (line 313) | fn test_client_toolchains_custom() { function test_client_toolchains_custom_multiuse_archive (line 344) | fn test_client_toolchains_custom_multiuse_archive() { function test_client_toolchains_nodist (line 405) | fn test_client_toolchains_nodist() { function test_client_toolchains_custom_nodist_conflict (line 432) | fn test_client_toolchains_custom_nodist_conflict() { type TcCache (line 460) | pub struct TcCache { method new (line 465) | pub fn new(cache_dir: &Path, cache_size: u64) -> Result { method contains_toolchain (line 472) | pub fn contains_toolchain(&self, tc: &Toolchain) -> bool { method insert_with (line 476) | pub fn insert_with io::Result<()>>( method get_file (line 492) | pub fn get_file(&mut self, tc: &Toolchain) -> LruResult { method get (line 496) | pub fn get(&mut self, tc: &Toolchain) -> LruResult> { method len (line 500) | pub fn len(&self) -> usize { method is_empty (line 504) | pub fn is_empty(&self) -> bool { method remove (line 508) | pub fn remove(&mut self, tc: &Toolchain) -> LruResult<()> { method insert_file (line 513) | fn insert_file(&mut self, path: &Path) -> Result { function path_key (line 522) | fn path_key(path: &Path) -> Result { function file_key (line 526) | fn file_key(rdr: R) -> Result { function make_lru_key_path (line 530) | fn make_lru_key_path(key: &str) -> PathBuf { FILE: src/dist/client_auth.rs constant VALID_PORTS (line 21) | pub const VALID_PORTS: &[u16] = &[12731, 32492, 56909]; constant MIN_TOKEN_VALIDITY (line 23) | const MIN_TOKEN_VALIDITY: Duration = Duration::from_secs(2 * 24 * 60 * 60); constant MIN_TOKEN_VALIDITY_WARNING (line 24) | const MIN_TOKEN_VALIDITY_WARNING: &str = "two days"; function query_pairs (line 26) | fn query_pairs(url: &str) -> Result> { function html_response (line 38) | fn html_response(body: &'static str) -> Response> { function json_response (line 46) | fn json_response(data: &T) -> Result>> { constant REDIRECT_WITH_AUTH_JSON (line 56) | const REDIRECT_WITH_AUTH_JSON: &str = r##" constant CLIENT_ID_PARAM (line 107) | const CLIENT_ID_PARAM: &str = "client_id"; constant CODE_CHALLENGE_PARAM (line 108) | const CODE_CHALLENGE_PARAM: &str = "code_challenge"; constant CODE_CHALLENGE_METHOD_PARAM (line 109) | const CODE_CHALLENGE_METHOD_PARAM: &str = "code_challenge_method"; constant CODE_CHALLENGE_METHOD_VALUE (line 110) | const CODE_CHALLENGE_METHOD_VALUE: &str = "S256"; constant REDIRECT_PARAM (line 111) | const REDIRECT_PARAM: &str = "redirect_uri"; constant RESPONSE_TYPE_PARAM (line 112) | const RESPONSE_TYPE_PARAM: &str = "response_type"; constant RESPONSE_TYPE_PARAM_VALUE (line 113) | const RESPONSE_TYPE_PARAM_VALUE: &str = "code"; constant STATE_PARAM (line 114) | const STATE_PARAM: &str = "state"; constant CODE_RESULT_PARAM (line 116) | const CODE_RESULT_PARAM: &str = "code"; constant STATE_RESULT_PARAM (line 117) | const STATE_RESULT_PARAM: &str = "state"; type TokenRequest (line 121) | struct TokenRequest<'a> { constant GRANT_TYPE_PARAM_VALUE (line 128) | const GRANT_TYPE_PARAM_VALUE: &str = "authorization_code"; type TokenResponse (line 131) | struct TokenResponse { constant TOKEN_TYPE_RESULT_PARAM_VALUE (line 136) | const TOKEN_TYPE_RESULT_PARAM_VALUE: &str = "bearer"; constant NUM_CODE_VERIFIER_BYTES (line 138) | const NUM_CODE_VERIFIER_BYTES: usize = 256 / 8; type State (line 140) | pub struct State { function generate_verifier_and_challenge (line 149) | pub fn generate_verifier_and_challenge() -> Result<(String, String)> { function finish_url (line 159) | pub fn finish_url( function handle_code_response (line 175) | fn handle_code_response(params: HashMap) -> Result<(Stri... function handle_token_response (line 185) | fn handle_token_response(res: TokenResponse) -> Result<(String, Instant)> { constant SUCCESS_AFTER_REDIRECT (line 198) | const SUCCESS_AFTER_REDIRECT: &str = r##" function serve (line 205) | pub fn serve(req: Request) -> Result) -> Result<(String, I... constant SAVE_AUTH_AFTER_REDIRECT (line 353) | const SAVE_AUTH_AFTER_REDIRECT: &str = r##" function serve (line 382) | pub fn serve(req: Request) -> Result io::Result { method serve (line 441) | async fn serve(&mut self, sfn: F) -> io::Result<()> method local_addr (line 469) | pub fn local_addr(&self) -> SocketAddr { function error_code_response (line 475) | fn error_code_response(uri: hyper::Uri, e: E) -> hyper::Result Result { function get_token_oauth2_code_grant_pkce (line 535) | pub fn get_token_oauth2_code_grant_pkce( function get_token_oauth2_implicit (line 593) | pub fn get_token_oauth2_implicit(client_id: &str, mut auth_url: Url) -> ... FILE: src/dist/http.rs type ReqwestRequestBuilderExt (line 34) | pub trait ReqwestRequestBuilderExt: Sized { method bincode (line 35) | fn bincode(self, bincode: &T) -> Result<... method bytes (line 36) | fn bytes(self, bytes: Vec) -> Self; method bincode (line 39) | fn bincode(self, bincode: &T) -> Result<... method bytes (line 44) | fn bytes(self, bytes: Vec) -> Self { method bincode (line 54) | fn bincode(self, bincode: &T) -> Result<... method bytes (line 59) | fn bytes(self, bytes: Vec) -> Self { function bincode_req_fut (line 70) | pub async fn bincode_req_fut( type AllocJobHttpResponse (line 97) | pub enum AllocJobHttpResponse { method from_alloc_job_result (line 109) | pub fn from_alloc_job_result( type ServerCertificateHttpResponse (line 140) | pub struct ServerCertificateHttpResponse { type HeartbeatServerHttpRequest (line 148) | pub struct HeartbeatServerHttpRequest { method fmt (line 159) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type RunJobHttpRequest (line 180) | pub struct RunJobHttpRequest { function scheduler_alloc_job (line 189) | pub fn scheduler_alloc_job(scheduler_url: &reqwest::Url) -> reqwest::Url { function scheduler_server_certificate (line 194) | pub fn scheduler_server_certificate( function scheduler_heartbeat_server (line 205) | pub fn scheduler_heartbeat_server(scheduler_url: &reqwest::Url) -> reqwe... function scheduler_job_state (line 210) | pub fn scheduler_job_state(scheduler_url: &reqwest::Url, job_id: JobId) ... function scheduler_status (line 215) | pub fn scheduler_status(scheduler_url: &reqwest::Url) -> reqwest::Url { function server_assign_job (line 221) | pub fn server_assign_job(server_id: ServerId, job_id: JobId) -> reqwest:... function server_submit_toolchain (line 229) | pub fn server_submit_toolchain(server_id: ServerId, job_id: JobId) -> re... function server_run_job (line 237) | pub fn server_run_job(server_id: ServerId, job_id: JobId) -> reqwest::Url { constant HEARTBEAT_INTERVAL (line 277) | const HEARTBEAT_INTERVAL: Duration = Duration::from_secs(30); constant HEARTBEAT_ERROR_INTERVAL (line 278) | const HEARTBEAT_ERROR_INTERVAL: Duration = Duration::from_secs(10); constant HEARTBEAT_TIMEOUT (line 279) | pub const HEARTBEAT_TIMEOUT: Duration = Duration::from_secs(90); function bincode_req (line 281) | pub fn bincode_req( function create_https_cert_and_privkey (line 303) | fn create_https_cert_and_privkey(addr: SocketAddr) -> Result<(Vec, V... type ClientVisibleMsg (line 385) | pub struct ClientVisibleMsg(String); method from_nonsensitive (line 387) | pub fn from_nonsensitive(s: String) -> Self { type ClientAuthCheck (line 392) | pub trait ClientAuthCheck: Send + Sync { method check (line 393) | fn check(&self, token: &str) -> StdResult<(), ClientVisibleMsg>; type ServerAuthCheck (line 395) | pub type ServerAuthCheck = Box Option + Send +... constant JWT_KEY_LENGTH (line 397) | const JWT_KEY_LENGTH: usize = 256 / 8; type RouilleBincodeError (line 410) | pub enum RouilleBincodeError { method from (line 416) | fn from(err: bincode::Error) -> RouilleBincodeError { method source (line 421) | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { method fmt (line 429) | fn fmt( function bincode_input (line 448) | fn bincode_input(request: &rouille::Request) -> std::result::Result(err: &E) -> ErrJson { method into_data (line 483) | fn into_data(self) -> String { function make_401_with_body (line 521) | fn make_401_with_body(short_err: &str, body: ClientVisibleMsg) -> rouill... function make_401 (line 532) | fn make_401(short_err: &str) -> rouille::Response { function bearer_http_auth (line 535) | fn bearer_http_auth(request: &rouille::Request) -> Option<&str> { function bincode_response (line 549) | pub fn bincode_response(content: &T) -> rouille::Response function prepare_response (line 569) | pub fn prepare_response(request: &rouille::Request, content: &T) -> r... type JobJwt (line 599) | struct JobJwt { type JWTJobAuthorizer (line 605) | struct JWTJobAuthorizer { method new (line 609) | fn new(server_key: Vec) -> Box { method generate_token (line 614) | fn generate_token(&self, job_id: JobId) -> Result { method verify_token (line 620) | fn verify_token(&self, job_id: JobId, token: &str) -> Result<()> { function test_job_token_verification (line 638) | fn test_job_token_verification() { type Scheduler (line 661) | pub struct Scheduler { function new (line 671) | pub fn new( function start (line 685) | pub fn start(self) -> Result { type SchedulerRequester (line 864) | struct SchedulerRequester { method do_assign_job (line 869) | fn do_assign_job( type Server (line 883) | pub struct Server { function new (line 899) | pub fn new( function start (line 926) | pub fn start(self) -> Result { type ServerRequester (line 1043) | struct ServerRequester { method do_update_job_state (line 1050) | fn do_update_job_state( constant REQUEST_TIMEOUT_SECS (line 1096) | const REQUEST_TIMEOUT_SECS: u64 = 1200; constant CONNECT_TIMEOUT_SECS (line 1097) | const CONNECT_TIMEOUT_SECS: u64 = 5; type Client (line 1099) | pub struct Client { method new (line 1111) | pub fn new( method update_certs (line 1144) | fn update_certs( method do_alloc_job (line 1178) | async fn do_alloc_job(&self, tc: Toolchain) -> Result { method do_get_status (line 1238) | async fn do_get_status(&self) -> Result { method do_submit_toolchain (line 1245) | async fn do_submit_toolchain( method do_run_job (line 1265) | async fn do_run_job( method put_toolchain (line 1311) | async fn put_toolchain( method rewrite_includes_only (line 1328) | fn rewrite_includes_only(&self) -> bool { method get_custom_toolchain (line 1331) | fn get_custom_toolchain(&self, exe: &Path) -> Option { FILE: src/dist/mod.rs type ToolchainPackager (line 52) | pub trait ToolchainPackager {} type InputsPackager (line 53) | pub trait InputsPackager {} function take_prefix (line 62) | fn take_prefix<'a>(components: &'a mut Components<'_>) -> Option) -> Option { type PathTransformer (line 96) | pub struct PathTransformer { method new (line 101) | pub fn new() -> Self { method as_dist_abs (line 106) | pub fn as_dist_abs(&mut self, p: &Path) -> Option { method as_dist (line 112) | pub fn as_dist(&mut self, p: &Path) -> Option { method disk_mappings (line 157) | pub fn disk_mappings(&self) -> impl Iterator { method to_local (line 185) | pub fn to_local(&self, p: &str) -> Option { method new (line 276) | pub fn new() -> Self { method as_dist_abs (line 279) | pub fn as_dist_abs(&mut self, p: &Path) -> Option { method as_dist (line 285) | pub fn as_dist(&mut self, p: &Path) -> Option { method disk_mappings (line 288) | pub fn disk_mappings(&self) -> impl Iterator { method to_local (line 291) | pub fn to_local(&self, p: &str) -> Option { function test_basic (line 191) | fn test_basic() { function test_relative_paths (line 223) | fn test_relative_paths() { function test_verbatim_disks (line 231) | fn test_verbatim_disks() { function test_slash_directions (line 258) | fn test_slash_directions() { type PathTransformer (line 273) | pub struct PathTransformer; method new (line 101) | pub fn new() -> Self { method as_dist_abs (line 106) | pub fn as_dist_abs(&mut self, p: &Path) -> Option { method as_dist (line 112) | pub fn as_dist(&mut self, p: &Path) -> Option { method disk_mappings (line 157) | pub fn disk_mappings(&self) -> impl Iterator { method to_local (line 185) | pub fn to_local(&self, p: &str) -> Option { method new (line 276) | pub fn new() -> Self { method as_dist_abs (line 279) | pub fn as_dist_abs(&mut self, p: &Path) -> Option { method as_dist (line 285) | pub fn as_dist(&mut self, p: &Path) -> Option { method disk_mappings (line 288) | pub fn disk_mappings(&self) -> impl Iterator { method to_local (line 291) | pub fn to_local(&self, p: &str) -> Option { function osstrings_to_strings (line 297) | pub fn osstrings_to_strings(osstrings: &[OsString]) -> Option Vec { function try_compile_command_to_dist (line 321) | pub fn try_compile_command_to_dist( type Toolchain (line 349) | pub struct Toolchain { type JobId (line 355) | pub struct JobId(pub u64); method fmt (line 357) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Err (line 362) | type Err = ::Err; method from_str (line 363) | fn from_str(s: &str) -> ::std::result::Result { type ServerId (line 369) | pub struct ServerId(SocketAddr); method new (line 371) | pub fn new(addr: SocketAddr) -> Self { method addr (line 374) | pub fn addr(&self) -> SocketAddr { type Err (line 379) | type Err = ::Err; method from_str (line 380) | fn from_str(s: &str) -> ::std::result::Result { type ServerNonce (line 386) | pub struct ServerNonce(u64); method new (line 388) | pub fn new() -> Self { type JobState (line 395) | pub enum JobState { method fmt (line 402) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type CompileCommand (line 416) | pub struct CompileCommand { type ProcessOutput (line 428) | pub struct ProcessOutput { method try_from (line 435) | pub fn try_from(o: process::Output) -> Result { method fake_output (line 448) | pub fn fake_output(code: i32, stdout: Vec, stderr: Vec) -> Self { function exit_status (line 461) | fn exit_status(code: i32) -> process::ExitStatus { function exit_status (line 465) | fn exit_status(code: i32) -> process::ExitStatus { function from (line 471) | fn from(o: ProcessOutput) -> Self { type OutputData (line 483) | pub struct OutputData(Vec, u64); method try_from_reader (line 486) | pub fn try_from_reader(r: R) -> io::Result { method lens (line 494) | pub fn lens(&self) -> OutputDataLens { method into_reader (line 501) | pub fn into_reader(self) -> impl Read { type OutputDataLens (line 506) | pub struct OutputDataLens { method fmt (line 511) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type JobAlloc (line 524) | pub struct JobAlloc { type AllocJobResult (line 531) | pub enum AllocJobResult { type AssignJobResult (line 545) | pub struct AssignJobResult { type UpdateJobStateResult (line 554) | pub enum UpdateJobStateResult { type HeartbeatServerResult (line 563) | pub struct HeartbeatServerResult { type RunJobResult (line 571) | pub enum RunJobResult { type JobComplete (line 577) | pub struct JobComplete { type SchedulerStatusResult (line 586) | pub struct SchedulerStatusResult { type SubmitToolchainResult (line 596) | pub enum SubmitToolchainResult { type BuildResult (line 606) | pub struct BuildResult { type ToolchainReader (line 618) | pub struct ToolchainReader<'a>(Box); method read (line 620) | fn read(&mut self, buf: &mut [u8]) -> io::Result { type InputsReader (line 625) | pub struct InputsReader<'a>(Box); method read (line 627) | fn read(&mut self, buf: &mut [u8]) -> io::Result { type ExtResult (line 633) | type ExtResult = ::std::result::Result; type SchedulerOutgoing (line 636) | pub trait SchedulerOutgoing { method do_assign_job (line 638) | fn do_assign_job( type ServerOutgoing (line 648) | pub trait ServerOutgoing { method do_update_job_state (line 650) | fn do_update_job_state(&self, job_id: JobId, state: JobState) -> Resul... type JobAuthorizer (line 655) | pub trait JobAuthorizer: Send { method generate_token (line 656) | fn generate_token(&self, job_id: JobId) -> Result; method verify_token (line 657) | fn verify_token(&self, job_id: JobId, token: &str) -> Result<()>; type SchedulerIncoming (line 661) | pub trait SchedulerIncoming: Send + Sync { method handle_alloc_job (line 663) | fn handle_alloc_job( method handle_heartbeat_server (line 669) | fn handle_heartbeat_server( method handle_update_job_state (line 677) | fn handle_update_job_state( method handle_status (line 684) | fn handle_status(&self) -> ExtResult; type ServerIncoming (line 688) | pub trait ServerIncoming: Send + Sync { method handle_assign_job (line 690) | fn handle_assign_job(&self, job_id: JobId, tc: Toolchain) -> ExtResult... method handle_submit_toolchain (line 692) | fn handle_submit_toolchain( method handle_run_job (line 699) | fn handle_run_job( type BuilderIncoming (line 710) | pub trait BuilderIncoming: Send + Sync { method run_build (line 712) | fn run_build( type Client (line 724) | pub trait Client: Send + Sync { method do_alloc_job (line 726) | async fn do_alloc_job(&self, tc: Toolchain) -> Result; method do_get_status (line 728) | async fn do_get_status(&self) -> Result; method do_submit_toolchain (line 730) | async fn do_submit_toolchain( method do_run_job (line 736) | async fn do_run_job( method put_toolchain (line 743) | async fn put_toolchain( method rewrite_includes_only (line 749) | fn rewrite_includes_only(&self) -> bool; method get_custom_toolchain (line 750) | fn get_custom_toolchain(&self, exe: &Path) -> Option; FILE: src/dist/pkg.rs type ToolchainPackager (line 26) | pub trait ToolchainPackager: Send { method write_pkg (line 27) | fn write_pkg(self: Box, f: fs::File) -> Result<()>; method write_pkg (line 49) | fn write_pkg(self: Box, _f: fs::File) -> Result<()> { type InputsPackager (line 30) | pub trait InputsPackager: Send { method write_inputs (line 31) | fn write_inputs(self: Box, wtr: &mut dyn io::Write) -> Result, wtr: &mut dyn io::Write) type ToolchainPackageBuilder (line 68) | pub struct ToolchainPackageBuilder { method new (line 79) | pub fn new() -> Self { method add_common (line 87) | pub fn add_common(&mut self) -> Result<()> { method add_executable_and_deps (line 91) | pub fn add_executable_and_deps(&mut self, executable: PathBuf) -> Resu... method add_dir (line 113) | pub fn add_dir(&mut self, dir_path: PathBuf) -> Result<()> { method add_file (line 134) | pub fn add_file(&mut self, file_path: PathBuf) -> Result<()> { method add_dir_contents (line 147) | pub fn add_dir_contents(&mut self, dir_path: &Path) -> Result<()> { method into_compressed_tar (line 172) | pub fn into_compressed_tar(self, writer: W)... method tarify_path (line 210) | fn tarify_path(&mut self, path: &Path) -> Result { function tar_safe_path (line 220) | fn tar_safe_path(path: PathBuf) -> PathBuf { function find_ldd_libraries (line 247) | fn find_ldd_libraries(executable: &Path) -> Result> { function parse_ldd_output (line 293) | fn parse_ldd_output(stdout: &str) -> Vec { function test_ldd_parse (line 345) | fn test_ldd_parse() { function test_ldd_parse_static (line 371) | fn test_ldd_parse_static() { function test_ldd_parse_v2_30 (line 382) | fn test_ldd_parse_v2_30() { function make_tar_header (line 405) | pub fn make_tar_header(src: &Path, dest: &str) -> io::Result { function simplify_path (line 453) | pub fn simplify_path(path: &Path) -> Result { type SimplifyPath (line 460) | struct SimplifyPath<'a> { function simplify (line 465) | pub fn simplify(&mut self, path: &Path) -> Result { FILE: src/errors.rs type BadHttpStatusError (line 27) | pub struct BadHttpStatusError(pub hyper::StatusCode); method fmt (line 44) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type HttpClientError (line 30) | pub struct HttpClientError(pub String); method fmt (line 50) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ProcessError (line 33) | pub struct ProcessError(pub process::Output); method fmt (line 56) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Result (line 61) | pub type Result = anyhow::Result; FILE: src/jobserver.rs function discard_inherited_jobserver (line 37) | pub unsafe fn discard_inherited_jobserver() { type Client (line 74) | pub struct Client { method new (line 85) | pub fn new() -> Client { method new_num (line 89) | pub fn new_num(num: usize) -> Client { method _new (line 94) | fn _new(inner: jobserver::Client, inherited: bool) -> Client { method configure (line 119) | pub fn configure(&self, cmd: &mut Command) { method acquire (line 128) | pub async fn acquire(&self) -> Result { type Acquired (line 80) | pub struct Acquired { FILE: src/lib.rs constant VERSION (line 58) | pub const VERSION: &str = env!("CARGO_PKG_VERSION"); constant LOGGING_ENV (line 62) | pub const LOGGING_ENV: &str = "SCCACHE_LOG"; function main (line 64) | pub fn main() { function init_logging (line 94) | fn init_logging() { FILE: src/lru_disk_cache/lru_cache.rs type Meter (line 55) | pub trait Meter { method measure (line 59) | fn measure(&self, key: &Q, value: &V) -> Self::Measure type Count (line 65) | pub struct Count; type Measure (line 69) | type Measure = (); method measure (line 72) | fn measure(&self, _: &Q, _: &V) method meter_add (line 138) | fn meter_add(&self, _current: (), _amount: ()) {} method meter_sub (line 139) | fn meter_sub(&self, _current: (), _amount: ()) {} method meter_size (line 140) | fn meter_size(&self, _current: ()) -> Option { type CountableMeter (line 81) | pub trait CountableMeter: Meter { method add (line 83) | fn add(&self, current: Self::Measure, amount: Self::Measure) -> Self::... method sub (line 85) | fn sub(&self, current: Self::Measure, amount: Self::Measure) -> Self::... method size (line 90) | fn size(&self, current: Self::Measure) -> Option; method add (line 98) | fn add(&self, current: Self::Measure, amount: Self::Measure) -> Self::Me... method sub (line 101) | fn sub(&self, current: Self::Measure, amount: Self::Measure) -> Self::Me... method size (line 104) | fn size(&self, current: Self::Measure) -> Option { type CountableMeterWithMeasure (line 109) | pub trait CountableMeterWithMeasure { method meter_add (line 111) | fn meter_add(&self, current: M, amount: M) -> M; method meter_sub (line 113) | fn meter_sub(&self, current: M, amount: M) -> M; method meter_size (line 118) | fn meter_size(&self, current: M) -> Option; method meter_add (line 126) | fn meter_add(&self, current: usize, amount: usize) -> usize { method meter_sub (line 129) | fn meter_sub(&self, current: usize, amount: usize) -> usize { method meter_size (line 132) | fn meter_size(&self, current: usize) -> Option { type LruCache (line 147) | pub struct LruCache Self { function with_meter (line 208) | pub fn with_meter(capacity: u64, meter: M) -> LruCache LruCache(&mut self, k: &Q) -> Option<&mut V> function iter_mut (line 288) | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { function with_meter_and_hasher (line 296) | pub fn with_meter_and_hasher(capacity: u64, meter: M, hash_builder: S) -... function capacity (line 315) | pub fn capacity(&self) -> u64 { function contains_key (line 331) | pub fn contains_key(&self, key: &Q) -> bool function get (line 338) | pub fn get(&mut self, k: &Q) -> Option<&V> function insert (line 360) | pub fn insert(&mut self, k: K, v: V) -> Option { function remove (line 391) | pub fn remove(&mut self, k: &Q) -> Option function set_capacity (line 436) | pub fn set_capacity(&mut self, capacity: u64) { function remove_lru (line 459) | pub fn remove_lru(&mut self) -> Option<(K, V)> { function len (line 469) | pub fn len(&self) -> usize { function size (line 475) | pub fn size(&self) -> u64 { function is_empty (line 482) | pub fn is_empty(&self) -> bool { function clear (line 487) | pub fn clear(&mut self) { function iter (line 510) | pub fn iter(&self) -> Iter<'_, K, V> { function internal_iter_mut (line 514) | fn internal_iter_mut(&mut self) -> IterMut<'_, K, V> { function extend (line 522) | fn extend>(&mut self, iter: I) { function fmt (line 532) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Item (line 540) | type Item = (K, V); type IntoIter (line 541) | type IntoIter = IntoIter; method into_iter (line 543) | fn into_iter(self) -> IntoIter { type Item (line 551) | type Item = (&'a K, &'a V); type IntoIter (line 552) | type IntoIter = Iter<'a, K, V>; method into_iter (line 553) | fn into_iter(self) -> Iter<'a, K, V> { type Item (line 561) | type Item = (&'a K, &'a mut V); type IntoIter (line 562) | type IntoIter = IterMut<'a, K, V>; method into_iter (line 563) | fn into_iter(self) -> IterMut<'a, K, V> { type IntoIter (line 592) | pub struct IntoIter(linked_hash_map::IntoIter); type Item (line 595) | type Item = (K, V); method next (line 597) | fn next(&mut self) -> Option<(K, V)> { method size_hint (line 601) | fn size_hint(&self) -> (usize, Option) { method next_back (line 607) | fn next_back(&mut self) -> Option<(K, V)> { method len (line 613) | fn len(&self) -> usize { type Iter (line 621) | pub struct Iter<'a, K, V>(linked_hash_map::Iter<'a, K, V>); method clone (line 624) | fn clone(&self) -> Iter<'a, K, V> { type Item (line 630) | type Item = (&'a K, &'a V); method next (line 631) | fn next(&mut self) -> Option<(&'a K, &'a V)> { method size_hint (line 634) | fn size_hint(&self) -> (usize, Option) { method next_back (line 640) | fn next_back(&mut self) -> Option<(&'a K, &'a V)> { method len (line 646) | fn len(&self) -> usize { type IterMut (line 655) | pub struct IterMut<'a, K, V>(linked_hash_map::IterMut<'a, K, V>); type Item (line 658) | type Item = (&'a K, &'a mut V); method next (line 659) | fn next(&mut self) -> Option<(&'a K, &'a mut V)> { method size_hint (line 662) | fn size_hint(&self) -> (usize, Option) { method next_back (line 668) | fn next_back(&mut self) -> Option<(&'a K, &'a mut V)> { method len (line 674) | fn len(&self) -> usize { function test_put_and_get (line 685) | fn test_put_and_get() { function test_put_update (line 696) | fn test_put_update() { function test_contains_key (line 705) | fn test_contains_key() { function test_expire_lru (line 712) | fn test_expire_lru() { function test_pop (line 724) | fn test_pop() { function test_change_capacity (line 737) | fn test_change_capacity() { function test_debug (line 748) | fn test_debug() { function test_remove (line 765) | fn test_remove() { function test_clear (line 786) | fn test_clear() { function test_iter (line 797) | fn test_iter() { type VecLen (line 822) | struct VecLen; type Measure (line 825) | type Measure = usize; method measure (line 826) | fn measure(&self, _: &Q, v: &Vec) -> usize function test_metered_cache (line 835) | fn test_metered_cache() { function test_metered_cache_reinsert_larger (line 851) | fn test_metered_cache_reinsert_larger() { function test_metered_cache_oversize (line 862) | fn test_metered_cache_oversize() { FILE: src/lru_disk_cache/mod.rs constant TEMPFILE_PREFIX (line 23) | const TEMPFILE_PREFIX: &str = ".sccachetmp"; type FileSize (line 25) | struct FileSize; type Measure (line 29) | type Measure = usize; method measure (line 30) | fn measure(&self, _: &Q, v: &u64) -> usize function get_all_files (line 40) | fn get_all_files>(path: P) -> Box { method new (line 143) | pub fn new(path: T, size: u64) -> Result method size (line 157) | pub fn size(&self) -> u64 { method len (line 162) | pub fn len(&self) -> usize { method is_empty (line 166) | pub fn is_empty(&self) -> bool { method capacity (line 171) | pub fn capacity(&self) -> u64 { method path (line 176) | pub fn path(&self) -> &Path { method rel_to_abs_path (line 181) | fn rel_to_abs_path>(&self, rel_path: K) -> PathBuf { method init (line 186) | fn init(mut self) -> Result { method can_store (line 213) | pub fn can_store(&self, size: u64) -> bool { method make_space (line 217) | fn make_space(&mut self, size: u64) -> Result<()> { method add_file (line 250) | fn add_file(&mut self, addfile_path: AddFile<'_>, size: u64) -> Result... method insert_by (line 260) | fn insert_by, F: FnOnce(&Path) -> io::Result<()>>( method insert_with (line 293) | pub fn insert_with, F: FnOnce(File) -> io::Result<()>>( method insert_bytes (line 302) | pub fn insert_bytes>(&mut self, key: K, bytes: &[u8]) ... method insert_file (line 311) | pub fn insert_file, P: AsRef>(&mut self, key: K... method prepare_add (line 327) | pub fn prepare_add<'a, K: AsRef + 'a>( method commit (line 345) | pub fn commit(&mut self, entry: LruDiskCacheAddEntry) -> Result<()> { method contains_key (line 371) | pub fn contains_key>(&self, key: K) -> bool { method get_file (line 379) | pub fn get_file>(&mut self, key: K) -> Result { method get (line 396) | pub fn get>(&mut self, key: K) -> Result>(&mut self, key: K) -> Result<()> { type Error (line 74) | pub enum Error { method fmt (line 84) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from (line 104) | fn from(e: io::Error) -> Error { method source (line 94) | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { type Result (line 110) | pub type Result = std::result::Result; type ReadSeek (line 113) | pub trait ReadSeek: Read + Seek + Send {} type AddFile (line 117) | enum AddFile<'a> { type LruDiskCacheAddEntry (line 122) | pub struct LruDiskCacheAddEntry { method as_file_mut (line 129) | pub fn as_file_mut(&mut self) -> &mut std::fs::File { type TestFixture (line 425) | struct TestFixture { method new (line 457) | pub fn new() -> TestFixture { method tmp (line 466) | pub fn tmp(&self) -> &Path { method create_file (line 470) | pub fn create_file>(&self, path: T, size: usize) -> Pat... function create_file (line 430) | fn create_file, F: FnOnce(File) -> io::Result<()>>( function set_mtime_back (line 443) | fn set_mtime_back>(path: T, seconds: usize) { function read_all (line 450) | fn read_all(r: &mut R) -> io::Result> { function test_empty_dir (line 479) | fn test_empty_dir() { function test_missing_root (line 485) | fn test_missing_root() { function test_some_existing_files (line 491) | fn test_some_existing_files() { function test_existing_file_too_large (line 501) | fn test_existing_file_too_large() { function test_existing_files_lru_mtime (line 514) | fn test_existing_files_lru_mtime() { function test_insert_bytes (line 529) | fn test_insert_bytes() { function test_insert_bytes_exact (line 545) | fn test_insert_bytes_exact() { function test_add_get_lru (line 558) | fn test_add_get_lru() { function test_insert_bytes_too_large (line 601) | fn test_insert_bytes_too_large() { function test_insert_file (line 611) | fn test_insert_file() { function test_prepare_and_commit (line 638) | fn test_prepare_and_commit() { function test_remove (line 701) | fn test_remove() { FILE: src/main.rs function main (line 17) | fn main() { FILE: src/mock_command.rs type CommandChild (line 63) | pub trait CommandChild { method take_stdin (line 72) | fn take_stdin(&mut self) -> Option; method take_stdout (line 74) | fn take_stdout(&mut self) -> Option; method take_stderr (line 76) | fn take_stderr(&mut self) -> Option; method wait (line 78) | async fn wait(self) -> io::Result; method wait_with_output (line 80) | async fn wait_with_output(self) -> io::Result; type I (line 151) | type I = ChildStdin; type O (line 152) | type O = ChildStdout; type E (line 153) | type E = ChildStderr; method take_stdin (line 155) | fn take_stdin(&mut self) -> Option { method take_stdout (line 158) | fn take_stdout(&mut self) -> Option { method take_stderr (line 161) | fn take_stderr(&mut self) -> Option { method wait (line 165) | async fn wait(self) -> io::Result { method wait_with_output (line 172) | async fn wait_with_output(self) -> io::Result { type I (line 371) | type I = io::Cursor>; type O (line 372) | type O = io::Cursor>; type E (line 373) | type E = io::Cursor>; method take_stdin (line 375) | fn take_stdin(&mut self) -> Option>> { method take_stdout (line 378) | fn take_stdout(&mut self) -> Option>> { method take_stderr (line 381) | fn take_stderr(&mut self) -> Option>> { method wait (line 385) | async fn wait(mut self) -> io::Result { method wait_with_output (line 389) | async fn wait_with_output(self) -> io::Result { type RunCommand (line 85) | pub trait RunCommand: fmt::Debug + Send { method arg (line 90) | fn arg>(&mut self, arg: S) -> &mut Self; method args (line 92) | fn args>(&mut self, args: &[S]) -> &mut Self; method env (line 94) | fn env(&mut self, key: K, val: V) -> &mut Self method envs (line 99) | fn envs(&mut self, vars: I) -> &mut Self method env_clear (line 105) | fn env_clear(&mut self) -> &mut Self; method current_dir (line 107) | fn current_dir>(&mut self, dir: P) -> &mut Self; method stdin (line 109) | fn stdin(&mut self, cfg: Stdio) -> &mut Self; method stdout (line 111) | fn stdout(&mut self, cfg: Stdio) -> &mut Self; method stderr (line 113) | fn stderr(&mut self, cfg: Stdio) -> &mut Self; method spawn (line 115) | async fn spawn(&mut self) -> Result; type C (line 201) | type C = Child; method arg (line 203) | fn arg>(&mut self, arg: S) -> &mut AsyncCommand { method args (line 207) | fn args>(&mut self, args: &[S]) -> &mut AsyncCommand { method env (line 211) | fn env(&mut self, key: K, val: V) -> &mut AsyncCommand method envs (line 219) | fn envs(&mut self, vars: I) -> &mut Self method env_clear (line 228) | fn env_clear(&mut self) -> &mut AsyncCommand { method current_dir (line 232) | fn current_dir>(&mut self, dir: P) -> &mut AsyncCommand { method stdin (line 237) | fn stdin(&mut self, cfg: Stdio) -> &mut AsyncCommand { method stdout (line 241) | fn stdout(&mut self, cfg: Stdio) -> &mut AsyncCommand { method stderr (line 245) | fn stderr(&mut self, cfg: Stdio) -> &mut AsyncCommand { method spawn (line 249) | async fn spawn(&mut self) -> Result { type C (line 429) | type C = MockChild; method arg (line 431) | fn arg>(&mut self, arg: S) -> &mut MockCommand { method args (line 435) | fn args>(&mut self, args: &[S]) -> &mut MockCommand { method env (line 439) | fn env(&mut self, _key: K, _val: V) -> &mut MockCommand method envs (line 446) | fn envs(&mut self, _vars: I) -> &mut Self method env_clear (line 454) | fn env_clear(&mut self) -> &mut MockCommand { method current_dir (line 457) | fn current_dir>(&mut self, _dir: P) -> &mut MockCommand { method stdin (line 461) | fn stdin(&mut self, _cfg: Stdio) -> &mut MockCommand { method stdout (line 464) | fn stdout(&mut self, _cfg: Stdio) -> &mut MockCommand { method stderr (line 467) | fn stderr(&mut self, _cfg: Stdio) -> &mut MockCommand { method spawn (line 470) | async fn spawn(&mut self) -> Result { type CommandCreator (line 123) | pub trait CommandCreator { method new (line 128) | fn new(client: &Client) -> Self; method new_command (line 131) | fn new_command>(&mut self, program: S) -> Self::Cmd; type Cmd (line 283) | type Cmd = AsyncCommand; method new (line 285) | fn new(client: &Client) -> ProcessCommandCreator { method new_command (line 291) | fn new_command>(&mut self, program: S) -> AsyncCommand { type Cmd (line 504) | type Cmd = MockCommand; method new (line 506) | fn new(_client: &Client) -> MockCommandCreator { method new_command (line 512) | fn new_command>(&mut self, _program: S) -> MockCommand { type CommandCreatorSync (line 135) | pub trait CommandCreatorSync: Clone + Send + Sync + 'static { method new (line 138) | fn new(client: &Client) -> Self; method new_command_sync (line 140) | fn new_command_sync>(&mut self, program: S) -> Self::Cmd; type Cmd (line 298) | type Cmd = AsyncCommand; method new (line 300) | fn new(client: &Client) -> ProcessCommandCreator { method new_command_sync (line 304) | fn new_command_sync>(&mut self, program: S) -> AsyncCo... type Cmd (line 527) | type Cmd = T::Cmd; method new (line 529) | fn new(client: &Client) -> Arc> { method new_command_sync (line 533) | fn new_command_sync>(&mut self, program: S) -> T::Cmd { type Child (line 143) | pub struct Child { type AsyncCommand (line 180) | pub struct AsyncCommand { method new (line 186) | pub fn new>(program: S, jobserver: Client) -> AsyncCom... method inner (line 193) | fn inner(&mut self) -> &mut Command { method fmt (line 270) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ProcessCommandCreator (line 277) | pub struct ProcessCommandCreator { type ExitStatusValue (line 316) | pub type ExitStatusValue = i32; type ExitStatusValue (line 318) | pub type ExitStatusValue = u32; function exit_status (line 321) | pub fn exit_status(v: ExitStatusValue) -> ExitStatus { type MockChild (line 328) | pub struct MockChild { method new (line 344) | pub fn new, U: AsRef<[u8]>>( method with_error (line 359) | pub fn with_error(err: io::Error) -> MockChild { type ChildOrCall (line 405) | pub enum ChildOrCall { method fmt (line 411) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type MockCommand (line 422) | pub struct MockCommand { type MockCommandCreator (line 480) | pub struct MockCommandCreator { method next_command_spawns (line 488) | pub fn next_command_spawns(&mut self, child: Result) { method next_command_calls (line 495) | pub fn next_command_calls(&mut self, call: C) function spawn_command (line 549) | fn spawn_command>( function spawn_wait_command (line 556) | fn spawn_wait_command>( function spawn_output_command (line 563) | fn spawn_output_command>( function spawn_on_thread (line 570) | fn spawn_on_thread( function test_mock_command_wait (line 592) | fn test_mock_command_wait() { function test_unexpected_new_command (line 607) | fn test_unexpected_new_command() { function test_mock_command_output (line 616) | fn test_mock_command_output() { function test_mock_command_calls (line 627) | fn test_mock_command_calls() { function test_mock_spawn_error (line 638) | fn test_mock_spawn_error() { function test_mock_wait_error (line 647) | fn test_mock_wait_error() { function test_mock_command_sync (line 656) | fn test_mock_command_sync() { FILE: src/net.rs type SocketAddr (line 26) | pub enum SocketAddr { method fmt (line 36) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method with_port (line 50) | pub fn with_port(port: u16) -> Self { method as_net (line 55) | pub fn as_net(&self) -> Option<&std::net::SocketAddr> { method parse_uds (line 67) | pub fn parse_uds(s: &str) -> std::io::Result { method is_unix_path (line 82) | pub fn is_unix_path(&self) -> bool { method is_unix_path (line 87) | pub fn is_unix_path(&self) -> bool { type Acceptor (line 93) | pub trait Acceptor { method accept (line 96) | fn accept(&self) -> impl Future tokio::io::Result>; type Socket (line 101) | type Socket = tokio::net::TcpStream; method accept (line 104) | fn accept(&self) -> impl Future tokio::io::Result> { type Socket (line 154) | type Socket = tokio::net::UnixStream; method accept (line 157) | fn accept(&self) -> impl Future tokio::io::Result> { type Connection (line 115) | pub trait Connection: std::io::Read + std::io::Write { method try_clone (line 116) | fn try_clone(&self) -> std::io::Result>; method try_clone (line 121) | fn try_clone(&self) -> std::io::Result> { method try_clone (line 179) | fn try_clone(&self) -> std::io::Result> { function connect (line 129) | pub fn connect(addr: &SocketAddr) -> std::io::Result> { FILE: src/protocol.rs type Request (line 8) | pub enum Request { type Response (line 23) | pub enum Response { type CompileResponse (line 40) | pub enum CompileResponse { type CompileFinished (line 51) | pub struct CompileFinished { type Compile (line 66) | pub struct Compile { FILE: src/server.rs constant DEFAULT_IDLE_TIMEOUT (line 75) | const DEFAULT_IDLE_TIMEOUT: u64 = 600; constant DIST_CLIENT_RECREATE_TIMEOUT (line 80) | const DIST_CLIENT_RECREATE_TIMEOUT: Duration = Duration::from_secs(30); type ServerStartup (line 84) | pub enum ServerStartup { function get_idle_timeout (line 96) | fn get_idle_timeout() -> u64 { function notify_server_startup_internal (line 104) | fn notify_server_startup_internal(mut w: W, status: ServerStar... function notify_server_startup (line 109) | fn notify_server_startup(name: Option<&OsString>, status: ServerStartup)... function notify_server_startup (line 121) | fn notify_server_startup(name: Option<&OsString>, status: ServerStartup)... function get_signal (line 133) | fn get_signal(status: ExitStatus) -> i32 { function get_signal (line 138) | fn get_signal(_status: ExitStatus) -> i32 { type DistClientContainer (line 142) | pub struct DistClientContainer { method new (line 176) | fn new(config: &Config, _: &tokio::runtime::Handle) -> Self { method new_disabled (line 185) | pub fn new_disabled() -> Self { method new_with_state (line 190) | pub fn new_with_state(_: DistClientState) -> Self { method reset_state (line 194) | pub async fn reset_state(&self) {} method get_status (line 196) | pub async fn get_status(&self) -> DistInfo { method get_client (line 200) | async fn get_client(&self) -> Result>> { method new (line 207) | fn new(config: &Config, pool: &tokio::runtime::Handle) -> Self { method new_with_state (line 225) | pub fn new_with_state(state: DistClientState) -> Self { method new_disabled (line 231) | pub fn new_disabled() -> Self { method reset_state (line 237) | pub async fn reset_state(&self) { method get_status (line 254) | pub async fn get_status(&self) -> DistInfo { method get_client (line 286) | async fn get_client(&self) -> Result>> { method maybe_recreate_state (line 310) | async fn maybe_recreate_state(state: &mut DistClientState) { method create_state (line 325) | async fn create_state(config: DistClientConfig) -> DistClientState { method get_cached_config_auth_token (line 411) | fn get_cached_config_auth_token(auth_url: &str) -> Result { type DistClientConfig (line 149) | pub struct DistClientConfig { type DistClientState (line 163) | pub enum DistClientState { function start_server (line 430) | pub fn start_server(config: &Config, addr: &crate::net::SocketAddr) -> R... type SccacheServer (line 571) | pub struct SccacheServer) { function pool (line 640) | pub fn pool(&self) -> &tokio::runtime::Handle { function command_creator (line 646) | pub fn command_creator(&self) -> &C { function local_addr (line 652) | pub fn local_addr(&self) -> Option { function run (line 661) | pub fn run(self, shutdown: F) -> io::Result<()> type CompilerProxyMap (line 754) | type CompilerProxyMap = HashMap>, ... type CompilerMap (line 755) | type CompilerMap = HashMap>>; type CompilerCacheEntry (line 758) | struct CompilerCacheEntry { function new (line 768) | fn new( type SccacheService (line 782) | pub struct SccacheService type SccacheRequest (line 828) | type SccacheRequest = Message>; type SccacheResponse (line 829) | type SccacheResponse = Message> + Send... type Output (line 2162) | type Output = (); method poll (line 2164) | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<()> { function call (line 851) | fn call(&mut self, req: SccacheRequest) -> Self::Future { function poll_ready (line 905) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll> { function new (line 917) | pub fn new( function mock_with_storage (line 938) | pub fn mock_with_storage( function mock_with_dist_client (line 960) | pub fn mock_with_dist_client( function bind (line 994) | fn bind(self, socket: T) -> impl Future> + Send +... function get_dist_status (line 1041) | async fn get_dist_status(&self) -> Result { function get_info (line 1046) | async fn get_info(&self) -> Result { function zero_stats (line 1052) | async fn zero_stats(&self) { function handle_compile (line 1061) | async fn handle_compile(&self, compile: Compile) -> Result u64 { method get (line 1569) | pub fn get(&self, key: &str) -> Option<&u64> { method get_adv (line 1573) | pub fn get_adv(&self, key: &str) -> Option<&u64> { method new (line 1577) | pub fn new() -> PerLanguageCount { type ServerStats (line 1584) | pub struct ServerStats { method print (line 1699) | fn print(&self, writer: &mut T, advanced: bool) ... method set_percentage_stats (line 1866) | fn set_percentage_stats(&self, stats_vec: &mut Vec<(String, String, us... type ServerInfo (line 1634) | pub struct ServerInfo { method new (line 1933) | pub async fn new(stats: ServerStats, storage: Option<&dyn Storage>) ->... method print (line 1971) | pub fn print(&self, advanced: bool) { type DistInfo (line 1646) | pub enum DistInfo { method default (line 1655) | fn default() -> ServerStats { type ServerStatsWriter (line 1683) | pub trait ServerStatsWriter { method write (line 1684) | fn write(&mut self, text: &str); method write (line 1690) | fn write(&mut self, text: &str) { method write (line 2275) | fn write(&mut self, text: &str) { type StdoutServerStatsWriter (line 1687) | pub struct StdoutServerStatsWriter; function set_percentage_stat (line 1918) | fn set_percentage_stat( type Frame (line 2031) | enum Frame { type Body (line 2036) | struct Body { type Item (line 2041) | type Item = Result; function poll_next (line 2042) | fn poll_next( type Message (line 2050) | enum Message { function into_inner (line 2056) | fn into_inner(self) -> R { type BincodeCodec (line 2064) | struct BincodeCodec; type Error (line 2069) | type Error = Error; method serialize (line 2071) | fn serialize(self: Pin<&mut Self>, item: &T) -> std::result::Result, buf: &BytesMut) -> std::result::R... type SccacheTransport (line 2105) | struct SccacheTransport { type Item (line 2122) | type Item = Result>>; method poll_next (line 2124) | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll, cx: &mut Context<'_>) -> Poll, item: Frame)... function poll_flush (line 2146) | fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll, cx: &mut Context<'_>) -> Poll (WaitUntilZero, ActiveInfo) { type Output (line 2220) | type Output = (); method poll (line 2222) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> std::task::Poll... type ActiveInfo (line 2194) | pub struct ActiveInfo { type Info (line 2198) | struct Info { method drop (line 2203) | fn drop(&mut self) { function waits_until_zero (line 2235) | fn waits_until_zero() { type StringWriter (line 2258) | struct StringWriter { method new (line 2263) | fn new() -> StringWriter { method get_output (line 2269) | fn get_output(self) -> String { function test_print_cache_hits_rate_default_server_stats (line 2281) | fn test_print_cache_hits_rate_default_server_stats() { function test_print_cache_hits_rate_server_stats (line 2293) | fn test_print_cache_hits_rate_server_stats() { function test_print_cache_hits_rate_advanced_server_stats (line 2326) | fn test_print_cache_hits_rate_advanced_server_stats() { function test_print_deterministic_hits (line 2361) | fn test_print_deterministic_hits() { FILE: src/test/mock_storage.rs type MockStorage (line 26) | pub struct MockStorage { method new (line 35) | pub(crate) fn new(delay: Option, preprocessor_cache_mode: bo... method next_get (line 46) | pub(crate) fn next_get(&self, res: Result) { method get (line 53) | async fn get(&self, _key: &str) -> Result { method put (line 61) | async fn put(&self, _key: &str, _entry: CacheWrite) -> Result { method location (line 69) | fn location(&self) -> String { method current_size (line 72) | async fn current_size(&self) -> Result> { method max_size (line 75) | async fn max_size(&self) -> Result> { method preprocessor_cache_mode_config (line 78) | fn preprocessor_cache_mode_config(&self) -> PreprocessorCacheModeConfig { FILE: src/test/tests.rs type ServerOptions (line 42) | struct ServerOptions { function run_server_thread (line 57) | fn run_server_thread( function test_server_shutdown (line 111) | fn test_server_shutdown() { function test_server_shutdown_no_idle (line 124) | fn test_server_shutdown_no_idle() { function test_server_idle_timeout (line 141) | fn test_server_idle_timeout() { function test_server_stats (line 159) | fn test_server_stats() { function test_server_unsupported_compiler (line 176) | fn test_server_unsupported_compiler() { function test_server_compile (line 226) | fn test_server_compile() { function test_server_port_in_use (line 302) | fn test_server_port_in_use() { FILE: src/test/utils.rs function new_creator (line 85) | pub fn new_creator() -> Arc> { function next_command (line 90) | pub fn next_command(creator: &Arc>, child: Res... function next_command_calls (line 94) | pub fn next_command_calls Result + Send... function find_sccache_binary (line 102) | pub fn find_sccache_binary() -> PathBuf { type TestFixture (line 120) | pub struct TestFixture { method new (line 202) | pub fn new() -> TestFixture { method touch (line 225) | pub fn touch(&self, path: &str) -> io::Result { method mk_bin (line 230) | pub fn mk_bin(&self, path: &str) -> io::Result { constant SUBDIRS (line 129) | pub const SUBDIRS: &[&str] = &["a", "b", "c"]; constant BIN_NAME (line 130) | pub const BIN_NAME: &str = "bin"; function create_file (line 132) | pub fn create_file(dir: &Path, path: &str, fill_contents: F) -> io::R... function touch (line 144) | pub fn touch(dir: &Path, path: &str) -> io::Result { function mk_bin_contents (line 149) | pub fn mk_bin_contents io::Result<()>>( function mk_bin (line 169) | pub fn mk_bin(dir: &Path, path: &str) -> io::Result { function mk_bin_contents (line 175) | pub fn mk_bin_contents io::Result<()>>( function mk_bin (line 191) | pub fn mk_bin(dir: &Path, path: &str) -> io::Result { function single_threaded_runtime (line 235) | pub fn single_threaded_runtime() -> tokio::runtime::Runtime { type Waiter (line 247) | pub(crate) trait Waiter { method wait (line 248) | fn wait(self) -> R; method wait (line 255) | fn wait(self) -> O { function test_map_contains_ok (line 262) | fn test_map_contains_ok() { function test_map_contains_extra_key (line 271) | fn test_map_contains_extra_key() { function test_map_contains_missing_key (line 280) | fn test_map_contains_missing_key() { function test_map_contains_wrong_value (line 288) | fn test_map_contains_wrong_value() { FILE: src/util.rs constant BASE64_URL_SAFE_ENGINE (line 37) | pub const BASE64_URL_SAFE_ENGINE: base64::engine::GeneralPurpose = constant HASH_BUFFER_SIZE (line 40) | pub const HASH_BUFFER_SIZE: usize = 128 * 1024; type Digest (line 43) | pub struct Digest { method new (line 48) | pub fn new() -> Digest { method file (line 56) | pub async fn file(path: T, pool: &tokio::runtime::Handle) -> Result... method reader_sync (line 64) | pub fn reader_sync(reader: R) -> Result { method reader_sync_with (line 70) | pub fn reader_sync_with(mut reader: R, mut e... method reader_sync_time_macros (line 89) | pub fn reader_sync_time_macros(reader: R) -> Result<(String, ... method reader (line 100) | pub async fn reader(path: PathBuf, pool: &tokio::runtime::Handle) -> R... method update (line 109) | pub fn update(&mut self, bytes: &[u8]) { method delimiter (line 113) | pub fn delimiter(&mut self, name: &[u8]) { method finish (line 119) | pub fn finish(self) -> String { method default (line 125) | fn default() -> Self { constant MAX_HAYSTACK_LEN (line 131) | const MAX_HAYSTACK_LEN: usize = b"__TIMESTAMP__".len(); constant MAX_TIME_MACRO_HAYSTACK_LEN (line 134) | pub const MAX_TIME_MACRO_HAYSTACK_LEN: usize = MAX_HAYSTACK_LEN; type TimeMacroFinder (line 142) | pub struct TimeMacroFinder { method find_time_macros (line 196) | pub fn find_time_macros(&mut self, visit: &[u8]) { method find_macros (line 268) | fn find_macros(&self, buffer: &[u8]) { method found_time_macros (line 287) | pub fn found_time_macros(&self) -> bool { method found_time (line 291) | pub fn found_time(&self) -> bool { method found_date (line 295) | pub fn found_date(&self) -> bool { method found_timestamp (line 299) | pub fn found_timestamp(&self) -> bool { method new (line 303) | pub fn new() -> Self { function hex (line 308) | pub fn hex(bytes: &[u8]) -> String { function hash_all (line 326) | pub async fn hash_all(files: &[PathBuf], pool: &tokio::runtime::Handle) ... function hash_all_archives (line 346) | pub async fn hash_all_archives( function hash_regular_archive (line 391) | fn hash_regular_archive(m: &mut Digest, data: &[u8]) -> Result<()> { function fmt_duration_as_secs (line 402) | pub fn fmt_duration_as_secs(duration: &Duration) -> String { function wait_with_input_output (line 410) | async fn wait_with_input_output(mut child: T, input: Option>)... function run_input_output (line 472) | pub async fn run_input_output(mut command: C, input: Option>)... function write_length_prefixed_bincode (line 499) | pub fn write_length_prefixed_bincode(mut writer: W, data: S) -> Re... type OsStrExt (line 513) | pub trait OsStrExt { method starts_with (line 514) | fn starts_with(&self, s: &str) -> bool; method split_prefix (line 515) | fn split_prefix(&self, s: &str) -> Option; method starts_with (line 523) | fn starts_with(&self, s: &str) -> bool { method split_prefix (line 527) | fn split_prefix(&self, s: &str) -> Option { method starts_with (line 542) | fn starts_with(&self, s: &str) -> bool { method split_prefix (line 580) | fn split_prefix(&self, s: &str) -> Option { function encode_path (line 616) | pub fn encode_path(dst: &mut dyn Write, path: &Path) -> std::io::Result<... function encode_path (line 624) | pub fn encode_path(dst: &mut dyn Write, path: &Path) -> std::io::Result<... function decode_path (line 633) | pub fn decode_path(bytes: &[u8]) -> std::io::Result { function decode_path (line 639) | pub fn decode_path(bytes: &[u8]) -> std::io::Result { function wide_char_to_multi_byte (line 649) | pub fn wide_char_to_multi_byte(wide_char_str: &[u16]) -> std::io::Result... function multi_byte_to_wide_char (line 702) | pub fn multi_byte_to_wide_char( type Timestamp (line 744) | pub struct Timestamp { method from (line 753) | fn from(system_time: std::time::SystemTime) -> Self { method eq (line 793) | fn eq(&self, other: &SystemTime) -> bool { method new (line 799) | pub fn new(seconds: i64, nanoseconds: u32) -> Self { constant NSEC_PER_SEC (line 750) | const NSEC_PER_SEC: u32 = 1_000_000_000; type MetadataCtimeExt (line 808) | pub trait MetadataCtimeExt { method ctime_or_creation (line 809) | fn ctime_or_creation(&self) -> std::io::Result; method ctime_or_creation (line 814) | fn ctime_or_creation(&self) -> std::io::Result { method ctime_or_creation (line 822) | fn ctime_or_creation(&self) -> std::io::Result { type HashToDigest (line 829) | pub struct HashToDigest<'a> { method write (line 834) | fn write(&mut self, bytes: &[u8]) { method finish (line 838) | fn finish(&self) -> u64 { function daemonize (line 845) | pub fn daemonize() -> Result<()> { function daemonize (line 932) | pub fn daemonize() -> Result<()> { function new_reqwest_blocking_client (line 947) | pub fn new_reqwest_blocking_client() -> reqwest::blocking::Client { function unhex (line 954) | fn unhex(b: u8) -> std::io::Result { function ascii_unescape_default (line 967) | pub fn ascii_unescape_default(s: &[u8]) -> std::io::Result> { function num_cpus (line 1015) | pub fn num_cpus() -> usize { function strip_basedirs (line 1032) | pub fn strip_basedirs<'a>(preprocessor_output: &'a [u8], basedirs: &[Vec... function normalize_win_path (line 1119) | pub fn normalize_win_path(path: &[u8]) -> Vec { function resolve_compiler_avoiding_ccache (line 1191) | pub fn resolve_compiler_avoiding_ccache( function test_resolve_compiler_avoiding_ccache_filters_path (line 1256) | fn test_resolve_compiler_avoiding_ccache_filters_path() { function test_resolve_compiler_avoiding_ccache_no_path (line 1289) | fn test_resolve_compiler_avoiding_ccache_no_path() { function test_resolve_compiler_avoiding_ccache_skips_symlink_to_ccache (line 1304) | fn test_resolve_compiler_avoiding_ccache_skips_symlink_to_ccache() { function test_resolve_compiler_avoiding_ccache_absolute_path_unchanged (line 1337) | fn test_resolve_compiler_avoiding_ccache_absolute_path_unchanged() { function simple_starts_with (line 1354) | fn simple_starts_with() { function simple_strip_prefix (line 1369) | fn simple_strip_prefix() { function test_time_macro_short_read (line 1381) | fn test_time_macro_short_read() { function test_ascii_unescape_default (line 1460) | fn test_ascii_unescape_default() { function test_strip_basedir_simple (line 1502) | fn test_strip_basedir_simple() { function test_strip_basedir_empty (line 1524) | fn test_strip_basedir_empty() { function test_strip_basedir_not_at_boundary (line 1538) | fn test_strip_basedir_not_at_boundary() { function test_strip_basedir_trailing_slashes (line 1549) | fn test_strip_basedir_trailing_slashes() { function test_strip_basedirs_multiple (line 1566) | fn test_strip_basedirs_multiple() { function test_strip_basedir_windows_backslashes (line 1588) | fn test_strip_basedir_windows_backslashes() { function test_strip_basedir_windows_mixed_slashes (line 1607) | fn test_strip_basedir_windows_mixed_slashes() { function test_normalize_win_path_ascii (line 1629) | fn test_normalize_win_path_ascii() { function test_normalize_win_path_utf8 (line 1642) | fn test_normalize_win_path_utf8() { function test_normalize_win_path_mixed_ascii_utf8 (line 1664) | fn test_normalize_win_path_mixed_ascii_utf8() { function test_normalize_win_path_invalid_utf8 (line 1673) | fn test_normalize_win_path_invalid_utf8() { function test_normalize_win_path_incomplete_utf8 (line 1689) | fn test_normalize_win_path_incomplete_utf8() { function test_normalize_win_path_empty (line 1703) | fn test_normalize_win_path_empty() { FILE: tests/cache_hit_rate.rs function test_cache_hit_rate (line 13) | fn test_cache_hit_rate() -> Result<()> { function test_adv_cache_hit_rate (line 68) | fn test_adv_cache_hit_rate() -> Result<()> { FILE: tests/cmake-modules/main.cpp function main (line 5) | int main() { FILE: tests/dist.rs function basic_compile (line 26) | fn basic_compile(tmpdir: &Path, sccache_cfg_path: &Path, sccache_cached_... function rust_compile (line 56) | fn rust_compile(tmpdir: &Path, sccache_cfg_path: &Path, sccache_cached_c... function dist_test_sccache_client_cfg (line 98) | pub fn dist_test_sccache_client_cfg( function test_dist_basic (line 110) | fn test_dist_basic() { function test_dist_restartedserver (line 143) | fn test_dist_restartedserver() { function test_dist_nobuilder (line 179) | fn test_dist_nobuilder() { type FailingServer (line 209) | struct FailingServer; method handle_assign_job (line 211) | fn handle_assign_job(&self, _job_id: JobId, _tc: Toolchain) -> Result bool { function clear_cache_local_daemon (line 78) | pub fn clear_cache_local_daemon(tmpdir: &Path) -> bool { function get_stats (line 85) | pub fn get_stats(f: F) { function zero_stats (line 100) | pub fn zero_stats() { function write_json_cfg (line 111) | pub fn write_json_cfg(path: &Path, filename: &str, content... function write_source (line 117) | pub fn write_source(path: &Path, filename: &str, contents: &str) { function init_cargo (line 123) | pub fn init_cargo(path: &Path, cargo_name: &str) -> PathBuf { function prune_command (line 131) | pub fn prune_command(mut cmd: Command) -> Command { function sccache_command (line 142) | pub fn sccache_command() -> Command { function cargo_command (line 146) | pub fn cargo_command() -> Command { function sccache_dist_path (line 151) | pub fn sccache_dist_path() -> PathBuf { function sccache_client_cfg (line 155) | pub fn sccache_client_cfg( function sccache_scheduler_cfg (line 199) | fn sccache_scheduler_cfg() -> sccache::config::scheduler::Config { function sccache_server_cfg (line 210) | fn sccache_server_cfg( function create_server_token (line 237) | fn create_server_token(server_id: ServerId, auth_token: &str) -> String { type ServerHandle (line 243) | pub enum ServerHandle { type DistSystem (line 249) | pub struct DistSystem { method new (line 260) | pub fn new(sccache_dist: &Path, tmpdir: &Path) -> Self { method add_scheduler (line 291) | pub fn add_scheduler(&mut self) { method add_server (line 366) | pub fn add_server(&mut self) -> ServerHandle { method add_custom_server (line 431) | pub fn add_custom_server( method restart_server (line 471) | pub fn restart_server(&mut self, handle: &ServerHandle) { method count_toolchains_on_server (line 487) | pub fn count_toolchains_on_server(&mut self, handle: &ServerHandle) ->... method wait_server_ready (line 512) | pub fn wait_server_ready(&mut self, handle: &ServerHandle) { method scheduler_url (line 540) | pub fn scheduler_url(&self) -> HTTPUrl { method scheduler_status (line 545) | fn scheduler_status(&self) -> SchedulerStatusResult { method drop (line 558) | fn drop(&mut self) { function make_container_name (line 692) | fn make_container_name(tag: &str) -> String { function check_output (line 701) | fn check_output(output: &Output) { function wait_for_http (line 714) | fn wait_for_http(url: HTTPUrl, interval: Duration, max_wait: Duration) { function wait_for (line 730) | fn wait_for Result<(), String>>(f: F, interval: Duration, max... FILE: tests/helpers/mod.rs type SccacheTest (line 40) | pub struct SccacheTest<'a> { function new (line 49) | pub fn new(additional_envs: Option<&[(&'static str, std::ffi::OsString)]... function show_stats (line 95) | pub fn show_stats(&self) -> assert_cmd::assert::AssertResult { function show_text_stats (line 104) | pub fn show_text_stats(&self, advanced: bool) -> assert_cmd::assert::Ass... method drop (line 121) | fn drop(&mut self) { function stop_sccache (line 126) | pub fn stop_sccache() -> Result<()> { function cargo_clean (line 138) | pub fn cargo_clean(test_info: &SccacheTest) -> Result<()> { FILE: tests/integration/autotools/main.cpp function print_hello (line 3) | void print_hello() { FILE: tests/integration/basedirs-autotools/include/myheader.h function std (line 7) | inline std::string get_message() { function calculate_sum (line 11) | inline int calculate_sum(int a, int b) { function print_header_info (line 15) | inline void print_header_info() { FILE: tests/integration/basedirs-autotools/main.cpp function main (line 4) | int main() { FILE: tests/integration/cmake-hip/vectoradd_hip.cpp function __global__ (line 42) | __global__ void function __kernel__ (line 60) | __kernel__ void vectoradd_float(float* a, const float* b, const float* c... function main (line 75) | int main() { FILE: tests/integration/cmake/main.cpp function print_hello (line 3) | void print_hello() { FILE: tests/integration/msvc-preprocessing/foo.cpp function main (line 19) | int main() { FILE: tests/integration/msvc/foo.cpp function main (line 3) | int main() { FILE: tests/integration/randomize_readdir/src/lib.rs type Opendir (line 61) | type Opendir = unsafe extern "C" fn(dirname: *const c_char) -> *mut DIR; type Fdopendir (line 62) | type Fdopendir = unsafe extern "C" fn(fd: c_int) -> *mut DIR; type Readdir (line 63) | type Readdir = unsafe extern "C" fn(dirp: *mut DIR) -> *mut dirent; type Readdir64 (line 64) | type Readdir64 = unsafe extern "C" fn(dirp: *mut DIR) -> *mut dirent64; type Closedir (line 65) | type Closedir = unsafe extern "C" fn(dirp: *mut DIR) -> c_int; type DirentIterator (line 67) | struct DirentIterator { type Item (line 73) | type Item = *mut Dirent; method next (line 75) | fn next(&mut self) -> Option { type ReaddirState (line 86) | struct ReaddirState { type State (line 91) | struct State { method new_opendir (line 102) | fn new_opendir(&self, dirp: *mut DIR) { method wrapped_readdir_inner (line 112) | fn wrapped_readdir_inner( method wrapped_readdir (line 158) | fn wrapped_readdir(&self, dirp: *mut DIR) -> *mut dirent { method wrapped_readdir64 (line 166) | fn wrapped_readdir64(&self, dirp: *mut DIR) -> *mut dirent64 { function load_next (line 177) | fn load_next(name: &[u8]) -> Prototype { function init (line 191) | fn init() { function opendir (line 227) | pub unsafe extern "C" fn opendir(dirname: *const c_char) -> *mut DIR { function fdopendir (line 245) | pub extern "C" fn fdopendir(dirfd: c_int) -> *mut DIR { function readdir (line 259) | pub extern "C" fn readdir(dirp: *mut DIR) -> *mut dirent { function readdir64 (line 264) | pub extern "C" fn readdir64(dirp: *mut DIR) -> *mut dirent64 { function closedir (line 276) | pub unsafe extern "C" fn closedir(dirp: *mut DIR) -> c_int { FILE: tests/integration/xcode/main.cpp function main (line 3) | int main(int argc, const char * argv[]) { FILE: tests/logging.rs function sccache_bin (line 26) | fn sccache_bin() -> PathBuf { function test_log_timestamp_format_without_millis (line 32) | fn test_log_timestamp_format_without_millis() { function test_log_timestamp_format_with_millis (line 66) | fn test_log_timestamp_format_with_millis() { function test_log_millis_flag_with_various_values (line 93) | fn test_log_millis_flag_with_various_values() { FILE: tests/msvc-msbuild/test_bar.cpp function bar (line 1) | int bar(int x) { return x; } FILE: tests/msvc-msbuild/test_baz.cpp function baz (line 1) | int baz(int x) { return x; } FILE: tests/msvc-msbuild/test_foo.cpp function foo (line 1) | int foo(int x) { return x; } FILE: tests/oauth.rs constant LOCAL_AUTH_BASE_URL (line 12) | const LOCAL_AUTH_BASE_URL: &str = "http://localhost:12731/"; constant USERNAME_SELECTOR (line 14) | const USERNAME_SELECTOR: &str = ".auth0-lock-input-email .auth0-lock-inp... constant PASSWORD_SELECTOR (line 15) | const PASSWORD_SELECTOR: &str = ".auth0-lock-input-password .auth0-lock-... constant LOGIN_SELECTOR (line 16) | const LOGIN_SELECTOR: &str = ".auth0-lock-submit"; constant BROWSER_RETRY_WAIT (line 18) | const BROWSER_RETRY_WAIT: Duration = Duration::from_secs(1); constant BROWSER_MAX_WAIT (line 19) | const BROWSER_MAX_WAIT: Duration = Duration::from_secs(10); constant TEST_USERNAME (line 26) | const TEST_USERNAME: &str = "test@example.com"; constant TEST_PASSWORD (line 27) | const TEST_PASSWORD: &str = "test1234"; function generate_code_grant_pkce_auth_config (line 29) | fn generate_code_grant_pkce_auth_config() -> sccache::config::DistAuth { function generate_implicit_auth_config (line 38) | fn generate_implicit_auth_config() -> sccache::config::DistAuth { function config_with_dist_auth (line 47) | fn config_with_dist_auth( function sccache_command (line 66) | fn sccache_command() -> Command { function retry (line 70) | fn retry Option, T>(interval: Duration, until: Duration... type DriverExt (line 82) | trait DriverExt { method wait_for_element (line 83) | async fn wait_for_element(&self, selector: &str) -> WebDriverResult<()>; method wait_on_url (line 84) | async fn wait_on_url bool>(&self, condition: F) -> WebD... method wait_for_element (line 87) | async fn wait_for_element(&self, selector: &str) -> WebDriverResult<()> { method wait_on_url (line 94) | async fn wait_on_url bool>(&self, condition: F) -> WebD... function auth0_login (line 107) | async fn auth0_login(driver: &WebDriver, email: &str, password: &str) { type SeleniumContainer (line 133) | struct SeleniumContainer { method new (line 149) | fn new() -> Self { function check_output (line 137) | fn check_output(output: &Output) { method drop (line 175) | fn drop(&mut self) { function test_auth (line 199) | async fn test_auth() { function test_auth_with_config (line 228) | async fn test_auth_with_config(dist_auth: sccache::config::DistAuth) { function login (line 281) | async fn login() { FILE: tests/sccache_args.rs function test_gcp_arg_check (line 20) | fn test_gcp_arg_check() -> Result<()> { function test_s3_invalid_args (line 63) | fn test_s3_invalid_args() -> Result<()> { FILE: tests/sccache_cargo.rs function test_rust_cargo_check (line 24) | fn test_rust_cargo_check() -> Result<()> { function test_rust_cargo_check_readonly (line 30) | fn test_rust_cargo_check_readonly() -> Result<()> { function test_rust_cargo_build (line 36) | fn test_rust_cargo_build() -> Result<()> { function test_rust_cargo_build_readonly (line 42) | fn test_rust_cargo_build_readonly() -> Result<()> { function test_run_log_no_perm (line 49) | fn test_run_log_no_perm() -> Result<()> { function test_run_log (line 65) | fn test_run_log() -> Result<()> { function test_rust_cargo_run_with_env_dep_parsing (line 89) | fn test_rust_cargo_run_with_env_dep_parsing() -> Result<()> { function test_rust_cargo_check_nightly (line 96) | fn test_rust_cargo_check_nightly() -> Result<()> { function test_rust_cargo_check_nightly_readonly (line 111) | fn test_rust_cargo_check_nightly_readonly() -> Result<()> { function test_rust_cargo_build_nightly (line 126) | fn test_rust_cargo_build_nightly() -> Result<()> { function test_rust_cargo_build_nightly_readonly (line 141) | fn test_rust_cargo_build_nightly_readonly() -> Result<()> { function test_rust_cargo_cmd (line 156) | fn test_rust_cargo_cmd(cmd: &str, test_info: SccacheTest) -> Result<()> { function restart_sccache (line 191) | fn restart_sccache( function test_rust_cargo_cmd_readonly (line 222) | fn test_rust_cargo_cmd_readonly(cmd: &str, test_info: SccacheTest) -> Re... function test_rust_cargo_env_dep (line 312) | fn test_rust_cargo_env_dep(test_info: SccacheTest) -> Result<()> { function test_rust_cargo_cmd_readonly_preemtive_block (line 352) | fn test_rust_cargo_cmd_readonly_preemtive_block() -> Result<()> { FILE: tests/sccache_rustc.rs type StopServer (line 18) | struct StopServer; method drop (line 20) | fn drop(&mut self) { function test_symlinks (line 46) | fn test_symlinks() { function create_mock_rustc (line 74) | fn create_mock_rustc(dir: PathBuf) { function run_sccache (line 140) | fn run_sccache(root: &Path, path: &Path) { FILE: tests/system.rs type Compiler (line 50) | struct Compiler { constant COMPILERS (line 58) | const COMPILERS: &[&str] = &["gcc", "clang", "clang++", "nvc", "nvc++"]; constant COMPILERS (line 62) | const COMPILERS: &[&str] = &["clang", "clang++"]; constant CUDA_COMPILERS (line 64) | const CUDA_COMPILERS: &[&str] = &["nvcc", "clang++"]; function adv_key_kind (line 66) | fn adv_key_kind(lang: &str, compiler: &str) -> String { function compile_cmdline (line 96) | fn compile_cmdline>( function compile_cuda_cmdline (line 118) | fn compile_cuda_cmdline>( function compile_hip_cmdline (line 161) | fn compile_hip_cmdline>( constant INPUT (line 184) | const INPUT: &str = "test.c"; constant INPUT_CLANG_MULTICALL (line 185) | const INPUT_CLANG_MULTICALL: &str = "test_clang_multicall.c"; constant INPUT_WITH_WHITESPACE (line 186) | const INPUT_WITH_WHITESPACE: &str = "test_whitespace.c"; constant INPUT_WITH_WHITESPACE_ALT (line 187) | const INPUT_WITH_WHITESPACE_ALT: &str = "test_whitespace_alt.c"; constant INPUT_ERR (line 188) | const INPUT_ERR: &str = "test_err.c"; constant INPUT_MACRO_EXPANSION (line 189) | const INPUT_MACRO_EXPANSION: &str = "test_macro_expansion.c"; constant INPUT_WITH_DEFINE (line 190) | const INPUT_WITH_DEFINE: &str = "test_with_define.c"; constant INPUT_FOR_CUDA_A (line 191) | const INPUT_FOR_CUDA_A: &str = "test_a.cu"; constant INPUT_FOR_CUDA_B (line 192) | const INPUT_FOR_CUDA_B: &str = "test_b.cu"; constant INPUT_FOR_CUDA_C (line 193) | const INPUT_FOR_CUDA_C: &str = "test_c.cu"; constant INPUT_FOR_HIP_A (line 194) | const INPUT_FOR_HIP_A: &str = "test_a.hip"; constant INPUT_FOR_HIP_B (line 195) | const INPUT_FOR_HIP_B: &str = "test_b.hip"; constant INPUT_FOR_HIP_C (line 196) | const INPUT_FOR_HIP_C: &str = "test_c.hip"; constant OUTPUT (line 197) | const OUTPUT: &str = "test.o"; function copy_to_tempdir (line 200) | fn copy_to_tempdir(inputs: &[&str], tempdir: &Path) { function test_basic_compile (line 216) | fn test_basic_compile(compiler: Compiler, tempdir: &Path) { function test_noncacheable_stats (line 268) | fn test_noncacheable_stats(compiler: Compiler, tempdir: &Path) { function test_msvc_deps (line 295) | fn test_msvc_deps(compiler: Compiler, tempdir: &Path) { function test_msvc_responsefile (line 326) | fn test_msvc_responsefile(compiler: Compiler, tempdir: &Path) { function test_gcc_mp_werror (line 353) | fn test_gcc_mp_werror(compiler: Compiler, tempdir: &Path) { function test_gcc_fprofile_generate_source_changes (line 378) | fn test_gcc_fprofile_generate_source_changes(compiler: Compiler, tempdir... function test_split_dwarf_object_generate_output_dir_changes (line 468) | fn test_split_dwarf_object_generate_output_dir_changes(compiler: Compile... function test_gcc_clang_no_warnings_from_macro_expansion (line 527) | fn test_gcc_clang_no_warnings_from_macro_expansion(compiler: Compiler, t... function test_compile_with_define (line 553) | fn test_compile_with_define(compiler: Compiler, tempdir: &Path) { function test_gcc_clang_depfile (line 579) | fn test_gcc_clang_depfile(compiler: Compiler, tempdir: &Path) { function run_sccache_command_tests (line 629) | fn run_sccache_command_tests(compiler: Compiler, tempdir: &Path, preproc... function test_nvcc_cuda_compiles (line 692) | fn test_nvcc_cuda_compiles(compiler: &Compiler, tempdir: &Path) { function test_nvcc_proper_lang_stat_tracking (line 1170) | fn test_nvcc_proper_lang_stat_tracking(compiler: Compiler, tempdir: &Pat... function run_sccache_nvcc_cuda_command_tests (line 1248) | fn run_sccache_nvcc_cuda_command_tests(compiler: Compiler, tempdir: &Pat... function test_clang_cuda_compiles (line 1253) | fn test_clang_cuda_compiles(compiler: &Compiler, tempdir: &Path) { function test_clang_proper_lang_stat_tracking (line 1348) | fn test_clang_proper_lang_stat_tracking(compiler: Compiler, tempdir: &Pa... function run_sccache_clang_cuda_command_tests (line 1421) | fn run_sccache_clang_cuda_command_tests(compiler: Compiler, tempdir: &Pa... function test_hip_compiles (line 1426) | fn test_hip_compiles(compiler: &Compiler, tempdir: &Path) { function test_hip_compiles_multi_targets (line 1523) | fn test_hip_compiles_multi_targets(compiler: &Compiler, tempdir: &Path) { function run_sccache_hip_command_tests (line 1622) | fn run_sccache_hip_command_tests(compiler: Compiler, tempdir: &Path) { function test_clang_multicall (line 1630) | fn test_clang_multicall(compiler: Compiler, tempdir: &Path) { function test_clang_cache_whitespace_normalization (line 1655) | fn test_clang_cache_whitespace_normalization( function find_compilers (line 1732) | fn find_compilers() -> Vec { function find_compilers (line 1749) | fn find_compilers() -> Vec { function find_cuda_compilers (line 1763) | fn find_cuda_compilers() -> Vec { function find_hip_compiler (line 1810) | fn find_hip_compiler() -> Option { function test_sccache_command (line 1846) | fn test_sccache_command(preprocessor_cache_mode: bool) { function test_stats_no_server (line 1878) | fn test_stats_no_server() { function test_cuda_sccache_command (line 1892) | fn test_cuda_sccache_command(preprocessor_cache_mode: bool) { function test_hip_sccache_command (line 1937) | fn test_hip_sccache_command(preprocessor_cache_mode: bool) { function test_symlinked_exe (line 1966) | fn test_symlinked_exe() { FILE: tests/test-crate/src/bin.rs function main (line 3) | fn main() { FILE: tests/test-crate/src/lib.rs function unused (line 1) | fn unused() {} function env_dep_test (line 3) | pub fn env_dep_test() { function it_works (line 10) | fn it_works() { FILE: tests/test.c function foo (line 3) | void foo() { FILE: tests/test_clang_multicall.c function main (line 6) | int main() { FILE: tests/test_macro_expansion.c function bar (line 10) | void bar() { foo(0); } FILE: tests/test_whitespace.c function main (line 3) | int main() {printf("Hello world!");return 0;} FILE: tests/test_whitespace_alt.c function main (line 3) | int main() FILE: tests/test_with_define.c function foo (line 7) | void foo() { printf("hello world\n"); }