Home
last modified time | relevance | path

Searched refs:variants (Results 1 – 11 of 11) sorted by relevance

/development/tools/cargo_embargo/src/
Dconfig.rs59 pub variants: Vec<VariantConfig>, field
100 let mut variants = match config.remove("variants") { in from_json_str() localVariable
109 for variant in &mut variants { in from_json_str()
157 config.insert("variants".to_string(), Value::Array(variants)); in from_json_str()
171 let Value::Array(mut variants) = config.remove("variants").unwrap() else { in to_json_string()
179 for (key, value) in variants[0].as_object().unwrap() { in to_json_string()
184 if variants[1..variants.len()].iter().all(|variant| { in to_json_string()
208 if variants[1..variants.len()] in to_json_string()
219 for variant in &mut variants { in to_json_string()
226 for variant in &mut variants { in to_json_string()
[all …]
Dmain.rs212 variants: vec![VariantConfig { tests: true, ..Default::default() }], in autoconfig()
222 Config { variants: vec![Default::default()], package: Default::default() }; in autoconfig()
228 variants: vec![VariantConfig { run_cargo: false, tests: has_tests, ..Default::default() }], in autoconfig()
285 cfg.variants.iter().map(|variant| make_crates(args, variant, intermediates_dir)).collect() in make_all_crates()
343 let num_variants = cfg.variants.len(); in run_embargo()
345 for (variant_index, variant_cfg) in cfg.variants.iter().enumerate() { in run_embargo()
367 if cfg.variants.iter().any(|variant| variant.run_cargo) && package_out_files.is_empty() { in run_embargo()
369 for variant in &mut cfg_no_cargo.variants { in run_embargo()
407 let num_variants = cfg.variants.len(); in write_all_build_files()
606 for (variant_index, variant_config) in cfg.variants.iter().enumerate() { in write_build_files()
[all …]
/development/tools/cargo_embargo/
DREADME.md12 packages, and have one or more variants. All packages under `external/rust/crates` use a separate
15 multiple variants are used in some cases to provide both `std` and `no_std` variants of a package.
21 // Top-level options, for all packages and variants.
24 // Options for all variants of a package.
30 "variants": [
47 `package` map is omitted then all packages will use default options. If `variants` is omitted then
/development/ide/clion/
DCMakeLists.txt2 # it will look for either arm64-android or x86_64-android variants of the path. If it finds either,…
/development/samples/devbytes/telephony/SmsSampleProject/
Dgradlew.bat49 @rem Get command-line arguments, handling Windowz variants
/development/samples/training/testingfun/
Dgradlew.bat49 @rem Get command-line arguments, handling Windowz variants
/development/tools/checkcolor/
Dgradlew.bat49 @rem Get command-line arguments, handling Windowz variants
/development/vndk/tools/header-checker/
DREADME.md162 `cc_library` modules and their `platform`, `product`, and `vendor` variants
/development/tools/cargo_embargo/src/cargo/
Dmetadata.rs705 .variants in parse_metadata()
/development/tools/cargo_embargo/testdata/either/
Dcargo.metadata41 …"description": "The enum `Either` with variants `Left` and `Right` is a general purpose sum type w…
/development/tools/cargo_embargo/testdata/plotters/
Dcargo.metadata6818 …"description": "The enum `Either` with variants `Left` and `Right` is a general purpose sum type w…
20218 "name": "variants",
20219 …geisler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/simd-adler32-0.3.7/bench/variants.rs",