Searched defs:onc_value (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/chromeos/network/onc/
H A Donc_translation_tables.h23 const char* onc_value; member in struct:chromeos::onc::StringTranslationEntry
56 const std::string& onc_value,
62 std::string* onc_value);
H A Donc_mapper.cc21 const base::Value& onc_value,
24 switch (onc_value.GetType()) {
27 onc_value.GetAsDictionary(&dict);
33 onc_value.GetAsList(&list);
38 result_value = MapPrimitive(signature, onc_value, error);
91 const base::Value& onc_value,
101 return MapValue(*field_signature->value_signature, onc_value, error);
137 const base::Value& onc_value,
139 return MapValue(signature, onc_value, error);
20 MapValue(const OncValueSignature& signature, const base::Value& onc_value, bool* error) argument
88 MapField( const std::string& field_name, const OncValueSignature& object_signature, const base::Value& onc_value, bool* found_unknown_field, bool* error) argument
135 MapEntry(int index, const OncValueSignature& signature, const base::Value& onc_value, bool* error) argument
H A Donc_translation_tables.cc400 const std::string& onc_value,
402 for (int i = 0; table[i].onc_value != NULL; ++i) {
403 if (onc_value != table[i].onc_value)
408 LOG(ERROR) << "Value '" << onc_value << "' cannot be translated to Shill";
414 std::string* onc_value) {
418 *onc_value = table[i].onc_value;
399 TranslateStringToShill(const StringTranslationEntry table[], const std::string& onc_value, std::string* shill_value) argument
412 TranslateStringToONC(const StringTranslationEntry table[], const std::string& shill_value, std::string* onc_value) argument
H A Donc_translator_onc_to_shill.cc296 const std::string& onc_value,
300 if (TranslateStringToShill(table, onc_value, &shill_value)) {
308 LOG(ERROR) << "Value '" << onc_value
295 TranslateWithTableAndSet( const std::string& onc_value, const StringTranslationEntry table[], const std::string& shill_property_name) argument
H A Donc_translator_shill_to_onc.cc655 std::string onc_value; local
656 if (TranslateStringToONC(table, shill_value, &onc_value)) {
657 onc_object_->SetStringWithoutPathExpansion(onc_field_name, onc_value);
H A Donc_validator.cc80 const base::Value& onc_value,
82 if (onc_value.GetType() != signature.onc_type) {
83 LOG(ERROR) << MessageHeader() << "Found value '" << onc_value
84 << "' of type '" << ValueTypeToString(onc_value.GetType())
92 Mapper::MapValue(signature, onc_value, error);
151 const base::Value& onc_value,
157 field_name, object_signature, onc_value, &current_field_unknown, error);
195 const base::Value& onc_value,
200 Mapper::MapEntry(index, signature, onc_value, error);
79 MapValue(const OncValueSignature& signature, const base::Value& onc_value, bool* error) argument
148 MapField( const std::string& field_name, const OncValueSignature& object_signature, const base::Value& onc_value, bool* found_unknown_field, bool* error) argument
193 MapEntry(int index, const OncValueSignature& signature, const base::Value& onc_value, bool* error) argument

Completed in 1859 milliseconds