/aosp_15_r20/external/rust/android-crates-io/crates/config/tests/ |
D | env.rs | 123 .add_source(environment) in test_parse_int() 153 .add_source(environment) in test_parse_uint() 186 .add_source(environment) in test_parse_float() 221 .add_source(environment) in test_parse_bool() 256 .add_source(environment) in test_parse_off_int() 286 .add_source(environment) in test_parse_off_float() 316 .add_source(environment) in test_parse_off_bool() 346 .add_source(environment) in test_parse_int_fail() 376 .add_source(environment) in test_parse_float_fail() 406 .add_source(environment) in test_parse_bool_fail() [all …]
|
D | file.rs | 8 .add_source(File::new("tests/NoSettings", FileFormat::Yaml).required(false)) in test_file_not_required() 17 .add_source(File::new("tests/NoSettings", FileFormat::Yaml)) in test_file_required_not_found() 30 .add_source(File::with_name("tests/Settings-production")) in test_file_auto() 41 .add_source(File::with_name("tests/NoSettings")) in test_file_auto_not_found() 54 .add_source(File::with_name("tests/Settings.json")) in test_file_ext() 64 .add_source(File::with_name("tests/Settings2.default")) in test_file_second_ext()
|
D | datetime.rs | 14 .add_source(File::from_str( in make() 22 .add_source(File::from_str( in make() 28 .add_source(File::from_str( in make() 34 .add_source(File::from_str( in make() 40 .add_source(File::from_str( in make()
|
D | set.rs | 17 .add_source(File::new("tests/Settings", FileFormat::Toml)) in test_set_scalar_default() 35 .add_source(File::new("tests/Settings", FileFormat::Toml)) in test_set_scalar_path() 60 .add_source(File::new("tests/Settings", FileFormat::Toml)) in test_set_arr_path() 84 .add_source(File::from_str("{\"logLevel\": 5}", FileFormat::Json)) in test_set_capital()
|
D | errors.rs | 11 .add_source(File::new("tests/Settings", FileFormat::Toml)) in make() 19 .add_source(File::new("tests/Settings-invalid", FileFormat::Toml)) in test_error_parse() 124 .add_source(File::from_str(CFG, FileFormat::Yaml)) in error_with_path() 143 .add_source(File::from_str(r#"false"#, FileFormat::Json5)) in test_error_root_not_table()
|
D | integer_range.rs | 6 .add_source(config::File::from_str( in wrapping_u16() 23 .add_source(config::File::from_str( in nonwrapping_u32() 41 .add_source(config::File::from_str( in invalid_signedness()
|
D | merge.rs | 7 .add_source(File::new("tests/Settings", FileFormat::Toml)) in make() 8 .add_source(File::new("tests/Settings-production", FileFormat::Toml)) in make() 53 let config3 = builder1.add_source(config2).build().unwrap(); in test_merge_whole_config()
|
D | file_json.rs | 33 .add_source(File::new("tests/Settings", FileFormat::Json)) in make() 79 .add_source(File::new("tests/Settings-invalid", FileFormat::Json)) in test_error_parse() 97 .add_source(File::from_str( in test_json_vec()
|
D | file_ini.rs | 27 .add_source(File::new("tests/Settings", FileFormat::Ini)) in make() 55 .add_source(File::new("tests/Settings-invalid", FileFormat::Ini)) in test_error_parse()
|
D | file_json5.rs | 32 .add_source(File::new("tests/Settings", FileFormat::Json5)) in make() 78 .add_source(File::new("tests/Settings-invalid", FileFormat::Json5)) in test_error_parse()
|
D | file_yaml.rs | 33 .add_source(File::new("tests/Settings", FileFormat::Yaml)) in make() 79 .add_source(File::new("tests/Settings-invalid", FileFormat::Yaml)) in test_error_parse()
|
D | file_ron.rs | 34 .add_source(File::new("tests/Settings", FileFormat::Ron)) in make() 81 .add_source(File::new("tests/Settings-invalid", FileFormat::Ron)) in test_error_parse()
|
D | file_toml.rs | 42 .add_source(File::new("tests/Settings", FileFormat::Toml)) in make() 90 .add_source(File::new("tests/Settings-invalid", FileFormat::Toml)) in test_error_parse()
|
D | async_builder.rs | 75 .add_source(config::File::new("tests/Settings", FileFormat::Json)) in test_sync_to_async_file_sources() 95 .add_source(config::File::new("tests/Settings", FileFormat::Json)) in test_async_to_sync_file_sources()
|
/aosp_15_r20/external/rust/android-crates-io/crates/config/examples/glob/ |
D | main.rs | 12 .add_source(File::with_name("examples/glob/conf/00-default.toml")) in main() 13 .add_source(File::from(Path::new("examples/glob/conf/05-some.yml"))) in main() 14 .add_source(File::from(Path::new("examples/glob/conf/99-extra.json"))) in main() 30 .add_source(vec![ in main() 50 .add_source( in main()
|
/aosp_15_r20/external/rust/android-crates-io/crates/config/examples/hierarchical-env/ |
D | settings.rs | 51 .add_source(File::with_name("examples/hierarchical-env/config/default")) in new() 55 .add_source( in new() 61 .add_source(File::with_name("examples/hierarchical-env/config/local").required(false)) in new() 64 .add_source(Environment::with_prefix("app")) in new()
|
/aosp_15_r20/external/rust/android-crates-io/crates/config/examples/simple/ |
D | main.rs | 7 .add_source(config::File::with_name("examples/simple/Settings")) in main() 10 .add_source(config::Environment::with_prefix("APP")) in main()
|
/aosp_15_r20/external/rust/android-crates-io/crates/config/examples/custom_format/ |
D | main.rs | 5 .add_source(File::from_str("bad", MyFormat)) in main() 6 .add_source(File::from_str("good", MyFormat)) in main()
|
/aosp_15_r20/external/python/bumble/examples/ |
D | run_a2dp_source.py | 80 protocol.add_source(packet_source.codec_capabilities, packet_pump) 104 source = protocol.add_source(packet_source.codec_capabilities, packet_pump)
|
/aosp_15_r20/external/mesa3d/src/amd/vpelib/src/chip/vpe10/ |
H A D | vpe10_cmd_builder.c | 210 plane_desc_writer->add_source(&vpe_priv->plane_desc_writer, &src, true); in vpe10_build_plane_descriptor() 224 plane_desc_writer->add_source(&vpe_priv->plane_desc_writer, &src, false); in vpe10_build_plane_descriptor() 238 plane_desc_writer->add_source(&vpe_priv->plane_desc_writer, &src, true); in vpe10_build_plane_descriptor()
|
/aosp_15_r20/external/rust/android-crates-io/crates/config/src/ |
D | builder.rs | 205 pub fn add_source<T>(mut self, source: T) -> Self in add_source() method 295 pub fn add_source<T>(mut self, source: T) -> Self in add_source() method
|
/aosp_15_r20/external/python/bumble/tests/ |
D | a2dp_test.py | 227 source = client.add_source(source_codec_capabilities(), pump) 252 source = client.add_source(source_codec_capabilities(), None)
|
/aosp_15_r20/external/wayland/src/ |
H A D | event-loop.c | 120 add_source(struct wl_event_loop *loop, in add_source() function 191 return add_source(loop, &source->base, mask, data); in wl_event_loop_add_fd() 735 return add_source(loop, &source->base, WL_EVENT_READABLE, data); in wl_event_loop_add_signal()
|
/aosp_15_r20/external/rust/android-crates-io/crates/config/examples/env-list/ |
D | main.rs | 11 .add_source( in main()
|
/aosp_15_r20/external/mesa3d/src/amd/vpelib/src/core/inc/ |
H A D | plane_desc_writer.h | 84 void (*add_source)( member
|