/development/vndk/tools/header-checker/src/utils/ |
D | config_file_test.cpp | 66 ConfigFile cfg; in TEST() local 67 cfg.Load(stream); in TEST() 68 EXPECT_TRUE(cfg.HasSection("global", "")); in TEST() 69 EXPECT_TRUE(cfg.HasSection("library1", "current")); in TEST() 70 EXPECT_FALSE(cfg.HasSection("library1", "35")); in TEST() 71 EXPECT_FALSE(cfg.HasSection("library2", "current")); in TEST() 73 auto &§ion1 = cfg.GetSection("global", ""); in TEST() 83 auto &§ion2 = cfg.GetSection("library1", "current"); in TEST() 90 EXPECT_TRUE(cfg.GetProperty("global", "", "key1")); in TEST() 91 EXPECT_TRUE(cfg.GetProperty("library1", "34", "key2")); in TEST()
|
/development/tools/cargo_embargo/src/ |
D | main.rs | 197 let cfg = Config::from_file(config_filename)?; in dump_crates() localVariable 198 let crates = make_all_crates(args, &cfg, intermediates_dir)?; in dump_crates() 253 let platform_rustfmt = if cfg!(all(target_arch = "x86_64", target_os = "linux")) { in find_android_rust_toolchain() 255 } else if cfg!(all(target_arch = "x86_64", target_os = "macos")) { in find_android_rust_toolchain() 257 } else if cfg!(all(target_arch = "x86_64", target_os = "windows")) { in find_android_rust_toolchain() 284 fn make_all_crates(args: &Args, cfg: &Config, intermediates_dir: &Path) -> Result<Vec<Vec<Crate>>> { in make_all_crates() 285 cfg.variants.iter().map(|variant| make_crates(args, variant, intermediates_dir)).collect() in make_all_crates() 288 fn make_crates(args: &Args, cfg: &VariantConfig, intermediates_dir: &Path) -> Result<Vec<Crate>> { in make_crates() 314 generate_cargo_out(cfg, intermediates_dir).context("generate_cargo_out failed")?; in make_crates() 315 if cfg.run_cargo { in make_crates() [all …]
|
D | config.rs | 457 #[cfg(test)]
|
/development/tools/repo_diff/service/repodiff/persistence/sql/ |
D | sql.go | 21 cfg := mysql.Cfg( 26 cfg.DBName = constants.GetConfigVar("GCP_DB_NAME") 27 return mysql.DialCfg(cfg)
|
/development/vndk/tools/header-checker/src/diff/ |
D | header_abi_diff.cpp | 195 ConfigFile cfg; in ReadConfigFile() local 196 if (!cfg.Load(config_file_path)) { in ReadConfigFile() 199 if (cfg.HasGlobalSection()) { in ReadConfigFile() 200 UpdateFlags(cfg.GetGlobalSection()); in ReadConfigFile() 202 if (cfg.HasSection(lib_name, target_version)) { in ReadConfigFile() 203 UpdateFlags(cfg.GetSection(lib_name, target_version)); in ReadConfigFile()
|
/development/tools/external_crates/crate_health/src/ |
D | name_and_version.rs | 21 #[cfg(test)] 57 #[cfg(test)] 137 #[cfg(test)]
|
D | repo_path.rs | 55 #[cfg(test)]
|
D | lib.rs | 54 #[cfg(test)]
|
D | name_and_version_map.rs | 170 #[cfg(test)] 181 #[cfg(test)]
|
D | crate_type.rs | 289 #[cfg(test)]
|
D | version_match.rs | 219 #[cfg(test)]
|
/development/tools/cargo_embargo/src/cargo/ |
D | metadata.rs | 107 pub fn parse_cargo_metadata_str(cargo_metadata: &str, cfg: &VariantConfig) -> Result<Vec<Crate>> { in parse_cargo_metadata_str() 110 parse_cargo_metadata(&metadata, &cfg.features, &cfg.extra_cfg, cfg.tests) in parse_cargo_metadata_str() 363 #[cfg(test)] 684 let cfg = Config::from_json_str( in parse_metadata() localVariable 704 let crates = cfg in parse_metadata()
|
/development/python-packages/adb/ |
D | .gitignore | 24 .installed.cfg
|
/development/tools/cargo_embargo/testdata/plotters/ |
D | cargo.metadata | 86 "--cfg=docsrs" 233 "--cfg", 642 "target": "cfg(target_os = \"hermit\")", 654 "target": "cfg(unix)", 672 "target": "cfg(windows)", 739 "description": "Automatic cfg for Rust compiler features", 2024 "target": "cfg(unix)", 2109 …"description": "A macro to ergonomically define an item depending on a large number of #[cfg]\npar… 2110 "documentation": "https://docs.rs/cfg-if", 2124 "homepage": "https://github.com/alexcrichton/cfg-if", [all …]
|
/development/python-packages/ |
D | .gitignore | 25 .installed.cfg
|
/development/tools/ndk/ |
D | .gitignore | 25 .installed.cfg
|
/development/tools/cargo_embargo/ |
D | README.md | 83 … | `[]` | `cfg` flags in this list… 84 … | `[]` | Extra `cfg` flags to enable in…
|
/development/tools/cargo_embargo/testdata/rustc-demangle-capi/ |
D | cargo.metadata | 66 "--cfg",
|
/development/tools/external_crates/ |
D | Cargo.lock | 17 "cfg-if", 302 name = "cfg-if" 442 "cfg-if", 692 "cfg-if", 745 "cfg-if", 1945 "cfg-if", 2305 "cfg-if", 2322 "cfg-if", 2452 "cfg-if", 2761 "cfg-if",
|
/development/tools/cargo_embargo/testdata/async-trait/ |
D | cargo.metadata | 216 "description": "Automatic cfg for Rust compiler features", 675 "cfg-target-has-atomic": [], 737 "--cfg", 1612 "cfg-target-has-atomic": [], 1640 "--cfg", 1779 "cfg-target-has-atomic": [], 1803 "--cfg", 1919 "--cfg", 2004 "--cfg", 2179 "cfg-target-has-atomic": [], [all …]
|
/development/tools/cargo_embargo/testdata/either/ |
D | cargo.metadata | 313 "--cfg", 317 "--cfg", 319 "--cfg", 888 "target": "cfg(any())", 930 "--cfg", 1327 "--cfg", 1716 "--cfg", 2439 "target": "cfg(any())"
|
/development/scripts/ |
D | cargo2rulesmk.py | 628 for cfg in self.cfgs:
|