/development/vndk/tools/header-checker/src/repr/json/ |
D | ir_reader.h | 35 JsonObjectRef(const Json::Value &json_value, bool &ok); 50 const Json::Value &GetIntegralValue(const std::string &key) const; 67 typedef bool (Json::Value::*IsExpectedJsonType)() const; 69 const Json::Value &Get(const std::string &key, 70 const Json::Value &default_value, 73 const Json::Value &object_; 82 Iterator(const Json::Value &json_value, bool &ok, int index) in Iterator() 97 const Json::Value &array_; 103 JsonArrayRef(const Json::Value &json_value, bool &ok) in JsonArrayRef() 111 const Json::Value &array_;
|
D | converter.h | 33 class JsonArray : public Json::Value { 35 JsonArray() : Json::Value(Json::ValueType::arrayValue) {} in JsonArray() 39 class JsonObject : public Json::Value { 41 JsonObject() : Json::Value(Json::ValueType::objectValue) {} in JsonObject() 74 extern const Json::Value json_0; 75 extern const Json::Value json_false; 76 extern const Json::Value json_empty_string;
|
D | ir_reader.cpp | 53 JsonObjectRef::JsonObjectRef(const Json::Value &json_value, bool &ok) in JsonObjectRef() 60 const Json::Value & 61 JsonObjectRef::Get(const std::string &key, const Json::Value &default_value, in Get() 66 const Json::Value &value = object_[key]; in Get() 75 return Get(key, json_false, &Json::Value::isBool).asBool(); in GetBool() 79 return Get(key, json_0, &Json::Value::isInt64).asInt64(); in GetInt() 83 return Get(key, json_0, &Json::Value::isUInt64).asUInt64(); in GetUint() 86 const Json::Value &JsonObjectRef::GetIntegralValue( in GetIntegralValue() 88 return Get(key, json_0, &Json::Value::isIntegral); in GetIntegralValue() 92 return Get(key, json_empty_string, &Json::Value::isString).asString(); in GetString() [all …]
|
D | converter.cpp | 24 const Json::Value json_0(0); 25 const Json::Value json_false(false); 26 const Json::Value json_empty_string("");
|
D | ir_dumper.cpp | 218 Json::Value &enum_field_value = enum_field["enum_field_value"]; in ConvertEnumFieldIR()
|
/development/tools/external_crates/crate_health/src/ |
D | name_and_version_map.rs | 24 type Value; typedef 26 fn map_field(&self) -> &BTreeMap<NameAndVersion, Self::Value>; in map_field() argument 27 fn map_field_mut(&mut self) -> &mut BTreeMap<NameAndVersion, Self::Value>; in map_field_mut() argument 29 fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), CrateError>; in insert_or_error() 37 ) -> Box<dyn Iterator<Item = (&'a NameAndVersion, &'a Self::Value)> + 'a>; in get_versions() 41 ) -> Box<dyn Iterator<Item = (&'a NameAndVersion, &'a mut Self::Value)> + 'a>; in get_versions_mut() 57 F: Fn(&mut dyn Iterator<Item = (&'b NameAndVersion, &'b Self::Value)>) -> HashSet<Version> in filter_versions() 62 ) -> Box<dyn Iterator<Item = (&'a NameAndVersion, &'a Self::Value)> + 'a>; in filter_versions() 66 type Value = ValueType; typedef 68 fn map_field(&self) -> &BTreeMap<NameAndVersion, Self::Value> { in map_field() argument [all …]
|
D | version_match.rs | 85 ) -> Option<&CollectionType::Value> { in get_compatible_item() argument 91 ) -> Option<&mut CollectionType::Value> { in get_compatible_item_mut() argument 96 pub fn superfluous(&self) -> impl Iterator<Item = (&NameAndVersion, &CollectionType::Value)> { in superfluous() argument 101 pub fn pairs<'a>(&'a self) -> impl Iterator<Item = VersionPair<'a, CollectionType::Value>> { in pairs() argument 109 ) -> impl Iterator<Item = CompatibleVersionPair<'a, CollectionType::Value>> { in compatible_pairs() argument 111 |pair: VersionPair<'_, <CollectionType as NameAndVersionMap>::Value>| { in compatible_pairs() 139 CollectionType::Value: Migratable, 141 pub fn ineligible(&self) -> impl Iterator<Item = &CollectionType::Value> { in ineligible() 146 ) -> impl Iterator<Item = VersionPair<'a, CollectionType::Value>> { in eligible_but_not_migratable() argument 154 ) -> impl Iterator<Item = CompatibleVersionPair<'a, CollectionType::Value>> { in compatible_and_eligible() argument [all …]
|
D | reports.rs | 38 fn len_formatter(value: &serde_json::Value, out: &mut String) -> tinytemplate::error::Result<()> { in len_formatter() argument 40 serde_json::Value::Array(a) => { in len_formatter()
|
/development/tools/external_crates/crate_health_proc_macros/src/ |
D | lib.rs | 44 type Value = #value_type; in expand() 46 fn map_field(&self) -> &BTreeMap<NameAndVersion, Self::Value> { in expand() 50 fn map_field_mut(&mut self) -> &mut BTreeMap<NameAndVersion, Self::Value> { in expand() 54 … fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), CrateError> { in expand() 62 …(&'a self, name: &'b str) -> Box<dyn Iterator<Item = (&'a NameAndVersion, &'a Self::Value)> + 'a> { in expand() 66 … self, name: &'b str) -> Box<dyn Iterator<Item = (&'a NameAndVersion, &'a mut Self::Value)> + 'a> { in expand() 70 … filter_versions<'a: 'b, 'b, F: Fn(&mut dyn Iterator<Item = (&'b NameAndVersion, &'b Self::Value)>, in expand() 74 ) -> Box<dyn Iterator<Item =(&'a NameAndVersion, &'a Self::Value)> + 'a> { in expand()
|
/development/tools/cargo_embargo/src/ |
D | config.rs | 31 use serde_json::{Map, Value}; 68 variant: &mut Map<String, Value>, in add_defaults_to_variant() argument 69 defaults: &Map<String, Value>, in add_defaults_to_variant() 96 let mut config: Map<String, Value> = in from_json_str() 101 Some(Value::Array(v)) => v, in from_json_str() 105 vec![Value::Object(Map::new())] in from_json_str() 157 config.insert("variants".to_string(), Value::Array(variants)); in from_json_str() 160 serde_json::from_value(Value::Object(config)).context("failed to parse config") in from_json_str() 166 let Value::Object(mut config) = serde_json::to_value(self)? else { in to_json_string() localVariable 171 let Value::Array(mut variants) = config.remove("variants").unwrap() else { in to_json_string() localVariable [all …]
|
/development/vndk/tools/header-checker/src/utils/ |
D | api_level.cpp | 29 Json::Value json; in Load() 36 const Json::Value null_value; in Load() 38 Json::Value value = json.get(key, null_value); in Load()
|
D | config_file.cpp | 32 static std::map<std::string, bool> LoadFlags(const Json::Value §ion) { in LoadFlags() 43 LoadIgnoreLinkerSetKeys(const Json::Value §ion) { in LoadIgnoreLinkerSetKeys() 60 Json::Value root; in Load()
|
/development/vndk/tools/elfcheck/bpflatten/ |
D | main.go | 36 return s.Value, true 38 return s.Value, true 40 return s.Value, true 51 value := prop.Value.Eval() 73 if value, ok := prop.Value.Eval().(*parser.String); ok { 74 flattened.Name = value.Value
|
/development/tools/cargo_embargo/ |
D | README.md | 73 … | - | Value to use for every g… 74 … | `["//apex_available:platform", "//apex_available:anyapex"]` | Value to use for every g… 75 … | `false` | Value to use for every g… 76 … | `true` | Value to use for every g… 77 … | `false` | Value to use for every g… 78 … | `false` | Value to use for every g… 79 … | `true` | Value to use for every g… 80 … | `false` | Value to use for every g…
|
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/ |
D | ProvisioningValuesLoader.java | 187 private static <Key, Value> void putIfMissing(HashMap<Key, Value> map, Key key, Value value) { in putIfMissing()
|
/development/vndk/tools/header-checker/ |
D | README.md | 67 ### Return Value
|
/development/tools/cargo_embargo/testdata/async-trait/ |
D | cargo.metadata | 5654 "description": "Serde-compatible spanned Value",
|