/external/tensorflow/tensorflow/python/debug/cli/ |
D | cli_config.py | 52 def get(self, property_name): argument 53 if property_name not in self._config: 54 raise KeyError("%s is not a valid property name." % property_name) 55 return self._config[property_name] 57 def set(self, property_name, property_val): argument 71 if property_name not in self._config: 72 raise KeyError("%s is not a valid property name." % property_name) 74 orig_val = self._config[property_name] 92 self._config[property_name] = property_val 96 if property_name in self._set_callbacks: [all …]
|
/external/libbrillo/brillo/dbus/ |
D | exported_property_set.cc | 41 const std::string& property_name, in RegisterProperty() argument 45 auto res = prop_map.insert(std::make_pair(property_name, exported_property)); in RegisterProperty() 46 CHECK(res.second) << "Property '" << property_name << "' already exists"; in RegisterProperty() 53 property_name); in RegisterProperty() 58 const std::string& property_name) { in UnregisterProperty() argument 61 auto prop_iter = prop_map.find(property_name); in UnregisterProperty() 63 << "Property '" << property_name << "' doesn't exist"; in UnregisterProperty() 93 const std::string& property_name, in HandleGet() argument 103 LOG(INFO) << "Looking for " << property_name << " on " << interface_name; in HandleGet() 104 auto property_itr = property_map_itr->second.find(property_name); in HandleGet() [all …]
|
D | exported_property_set.h | 114 const std::string& property_name, 119 const std::string& property_name); 125 const std::string& property_name, 133 const std::string& property_name, 148 const std::string& property_name,
|
D | exported_property_set_unittest.cc | 141 const std::string& property_name) { in GetPropertyOnInterface() argument 147 writer.AppendString(property_name); in GetPropertyOnInterface() 153 const std::string& property_name, in SetPropertyOnInterface() argument 160 writer.AppendString(property_name); in SetPropertyOnInterface() 263 std::string property_name; in TEST_F() local 264 ASSERT_TRUE(entry_reader.PopString(&property_name)); in TEST_F() 267 if (property_name.compare(kUint16PropName) == 0) { in TEST_F() 271 ASSERT_TRUE(entry_reader.PopString(&property_name)); in TEST_F() 272 ASSERT_EQ(property_name.compare(kInt32PropName), 0); in TEST_F() 275 ASSERT_EQ(property_name.compare(kInt32PropName), 0); in TEST_F() [all …]
|
/external/autotest/client/cros/cellular/pseudomodem/ |
D | dbus_std_ifaces.py | 124 def SetUInt32(self, interface_name, property_name, value): argument 138 self.Set(interface_name, property_name, dbus.types.UInt32(value)) 141 def SetInt32(self, interface_name, property_name, value): argument 155 self.Set(interface_name, property_name, dbus.types.Int32(value)) 161 def Get(self, interface_name, property_name): argument 176 property_name) 177 val = self.GetAll(interface_name).get(property_name, None) 180 (property_name, interface_name)) 189 def Set(self, interface_name, property_name, value): argument 206 property_name) [all …]
|
/external/autotest/client/cros/tendo/n_faced_peerd/ |
D | dbus_property_exposer.py | 23 def register_property(self, property_name, property_getter): argument 31 self._properties[property_name] = property_getter 34 def on_property_changed(self, property_name): argument 52 for property_name, property_getter in self._properties.iteritems(): 53 results[dbus.String(property_name)] = property_getter() 69 for property_name, property_getter in self._properties.iteritems(): 70 if property_name == requested_property_name: 88 for property_name, property_getter in self._properties.iteritems(): 89 results[dbus.String(property_name)] = property_getter()
|
/external/freetype/src/autofit/ |
D | afmodule.c | 108 const char* property_name, in af_property_set() argument 120 if ( !ft_strcmp( property_name, "fallback-script" ) ) in af_property_set() 152 fallback_script, property_name )); in af_property_set() 158 else if ( !ft_strcmp( property_name, "default-script" ) ) in af_property_set() 174 else if ( !ft_strcmp( property_name, "increase-x-height" ) ) in af_property_set() 194 else if ( !ft_strcmp( property_name, "warping" ) ) in af_property_set() 222 else if ( !ft_strcmp( property_name, "darkening-parameters" ) ) in af_property_set() 284 else if ( !ft_strcmp( property_name, "no-stem-darkening" ) ) in af_property_set() 311 property_name )); in af_property_set() 318 const char* property_name, in af_property_get() argument [all …]
|
/external/freetype/src/base/ |
D | ftpsprop.c | 40 const char* property_name, in ps_property_set() argument 52 if ( !ft_strcmp( property_name, "darkening-parameters" ) ) in ps_property_set() 115 else if ( !ft_strcmp( property_name, "hinting-engine" ) ) in ps_property_set() 173 else if ( !ft_strcmp( property_name, "no-stem-darkening" ) ) in ps_property_set() 199 else if ( !ft_strcmp( property_name, "random-seed" ) ) in ps_property_set() 225 property_name )); in ps_property_set() 232 const char* property_name, in ps_property_get() argument 239 if ( !ft_strcmp( property_name, "darkening-parameters" ) ) in ps_property_get() 257 else if ( !ft_strcmp( property_name, "hinting-engine" ) ) in ps_property_get() 268 else if ( !ft_strcmp( property_name, "no-stem-darkening" ) ) in ps_property_get() [all …]
|
D | ftinit.c | 119 char property_name[MAX_LENGTH + 1]; in FT_Set_Default_Properties() local 154 property_name[i] = *p++; in FT_Set_Default_Properties() 156 property_name[i] = '\0'; in FT_Set_Default_Properties() 177 property_name, in FT_Set_Default_Properties()
|
/external/python/oauth2client/tests/contrib/django_util/ |
D | test_django_storage.py | 47 self.property_name = 'credentials' 51 self.key_value, self.property_name) 56 self.assertEqual(storage.property_name, self.property_name) 70 self.key_value, self.property_name) 84 self.key_value, self.property_name) 100 self.key_value, self.property_name) 112 self.key_value, self.property_name) 132 self.key_value, self.property_name)
|
/external/python/oauth2client/oauth2client/contrib/django_util/ |
D | storage.py | 28 def __init__(self, model_class, key_name, key_value, property_name): argument 43 self.property_name = property_name 59 credential = getattr(entities[0], self.property_name) 75 setattr(entity, self.property_name, credentials)
|
/external/autotest/client/cros/networking/chrome_testing/ |
D | test_utils.py | 17 def get_ui_property(network, property_name, expansion_level=1): argument 41 path = property_name.split('.', expansion_level) 53 property_name, argument 77 value = get_ui_property(network, property_name, expansion_level) 81 error.TestFail('Property "' + property_name + '" on network "' +
|
/external/python/oauth2client/oauth2client/contrib/ |
D | sqlalchemy.py | 115 key_value, property_name): argument 134 self.property_name = property_name 147 credential = getattr(entity, self.property_name) 167 setattr(entity, self.property_name, credentials)
|
/external/autotest/client/cros/scripts/ |
D | wifi | 154 property_name, raw_value = property_string.split('=', 1) 156 if not property_name in SERVICE_PROP_PARSERS: 157 print '%s is not a recognized service property' % property_name 162 return property_name, SERVICE_PROP_PARSERS[property_name](raw_value)
|
/external/image_io/src/jpeg/ |
D | jpeg_segment.cc | 93 size_t start_location, const char* property_name) const { in ExtractXmpPropertyValue() 95 FindXmpPropertyValueBegin(start_location, property_name); in ExtractXmpPropertyValue() 107 const char* property_name) const { in FindXmpPropertyValueBegin() 108 size_t property_location = Find(start_location, property_name); in FindXmpPropertyValueBegin() 111 *this, property_location + strlen(property_name), '='); in FindXmpPropertyValueBegin()
|
D | jpeg_xmp_data_extractor.cc | 43 string property_name = JpegXmpInfo::GetDataPropertyName(xmp_info_type_); in Transfer() local 45 encoded_data_begin, property_name.c_str(), property_name.length()); in Transfer() 55 property_name + "=\""); in Transfer()
|
D | jpeg_segment_builder.cc | 125 const std::string& property_name) { in AddXmpPropertyPrefix() argument 126 string property_name_equals_quote = property_name + "=\""; in AddXmpPropertyPrefix() 135 const std::string& property_name, const std::string& property_value) { in AddXmpPropertyNameAndValue() argument 136 AddXmpPropertyPrefix(property_name); in AddXmpPropertyNameAndValue()
|
/external/pdfium/fxjs/ |
D | js_resources.cpp | 60 const char* property_name, in JSFormatErrorString() argument 63 if (property_name) { in JSFormatErrorString() 65 result += WideString::FromLocal(property_name); in JSFormatErrorString()
|
/external/autotest/client/site_tests/network_ChromeWifiConfigure/ |
D | network_ChromeWifiConfigure.py | 23 def _test_property(self, network, property_name, expected_value): argument 24 value = test_utils.get_ui_property(network, property_name) 26 raise error.TestFail('Expected value for "' + property_name +
|
/external/freetype/src/truetype/ |
D | ttdriver.c | 63 const char* property_name, in tt_property_set() argument 75 if ( !ft_strcmp( property_name, "interpreter-version" ) ) in tt_property_set() 113 property_name )); in tt_property_set() 120 const char* property_name, in tt_property_get() argument 129 if ( !ft_strcmp( property_name, "interpreter-version" ) ) in tt_property_get() 140 property_name )); in tt_property_get()
|
/external/freetype/src/sfnt/ |
D | ttbdf.c | 141 const char* property_name, in tt_face_find_bdf_prop() argument 168 if ( !size || !property_name ) in tt_face_find_bdf_prop() 171 property_len = ft_strlen( property_name ); in tt_face_find_bdf_prop() 206 ft_strncmp( property_name, in tt_face_find_bdf_prop()
|
/external/freetype/src/pcf/ |
D | pcfdrivr.c | 678 const char* property_name, in pcf_property_set() argument 692 if ( !ft_strcmp( property_name, "no-long-family-names" ) ) in pcf_property_set() 726 FT_UNUSED( property_name ); in pcf_property_set() 732 property_name )); in pcf_property_set() 739 const char* property_name, in pcf_property_get() argument 748 if ( !ft_strcmp( property_name, "no-long-family-names" ) ) in pcf_property_get() 764 FT_UNUSED( property_name ); in pcf_property_get() 770 property_name )); in pcf_property_get()
|
/external/freetype/include/freetype/internal/ |
D | ftpsprop.h | 32 const char* property_name, 38 const char* property_name,
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_helpers.cc | 330 std::string property_name = UnderscoresToPascalCase(GetFieldName(descriptor)); in GetPropertyName() local 335 if (property_name == descriptor->containing_type()->name() in GetPropertyName() 336 || property_name == "Types" in GetPropertyName() 337 || property_name == "Descriptor") { in GetPropertyName() 338 property_name += "_"; in GetPropertyName() 340 return property_name; in GetPropertyName()
|
/external/freetype/include/freetype/internal/services/ |
D | svprop.h | 31 const char* property_name, 37 const char* property_name,
|