Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 9 of 9) sorted by relevance

/development/vndk/tools/header-checker/src/utils/
Dconfig_file_test.cpp66 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 &&section1 = cfg.GetSection("global", ""); in TEST()
83 auto &&section2 = 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/
Dmain.rs62 cfg: PathBuf, field
149 let json_str = std::fs::read_to_string(&args.cfg) in main()
150 .with_context(|| format!("failed to read file: {:?}", args.cfg))?; in main()
153 let cfg: Config = serde_json::from_str(&json_str).context("failed to parse config")?; in main() localVariable
174 generate_cargo_out(&cfg, cargo_out_path, cargo_metadata_path) in main()
184 if cfg.package.iter().any(|(_, v)| v.copy_out) { in main()
211 &cfg, in main()
234 fn generate_cargo_out(cfg: &Config, cargo_out_path: &str, cargo_metadata_path: &str) -> Result<()> { in generate_cargo_out()
245 let feature_args = if cfg.features.is_empty() { in generate_cargo_out()
248 vec!["--no-default-features".to_string(), "--features".to_string(), cfg.features.join(",")] in generate_cargo_out()
[all …]
/development/tools/repo_diff/service/repodiff/persistence/sql/
Dsql.go21 cfg := mysql.Cfg(
26 cfg.DBName = constants.GetConfigVar("GCP_DB_NAME")
27 return mysql.DialCfg(cfg)
/development/vndk/tools/header-checker/src/diff/
Dheader_abi_diff.cpp195 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/samples/training/NsdChat/
DAndroid.bp11 proguard_flags_files: ["proguard.cfg"],
/development/python-packages/adb/
D.gitignore24 .installed.cfg
/development/python-packages/
D.gitignore25 .installed.cfg
/development/tools/ndk/
D.gitignore25 .installed.cfg
/development/scripts/
Dcargo2android.py773 cfgs = [cfg for cfg in self.cfgs if not cfg in self.runner.variant_args.cfg_blocklist]