Home
last modified time | relevance | path

Searched refs:property_name (Results 1 – 25 of 83) sorted by relevance

1234

/external/tensorflow/tensorflow/python/debug/cli/
Dcli_config.py52 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/
Dexported_property_set.cc41 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 …]
Dexported_property_set.h114 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,
Dexported_property_set_unittest.cc141 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/
Ddbus_std_ifaces.py124 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/
Ddbus_property_exposer.py23 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/
Dafmodule.c108 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/
Dftpsprop.c40 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 …]
Dftinit.c119 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/
Dtest_django_storage.py47 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/
Dstorage.py28 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/
Dtest_utils.py17 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/
Dsqlalchemy.py115 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/
Dwifi154 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/
Djpeg_segment.cc93 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()
Djpeg_xmp_data_extractor.cc43 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()
Djpeg_segment_builder.cc125 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/
Djs_resources.cpp60 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/
Dnetwork_ChromeWifiConfigure.py23 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/
Dttdriver.c63 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/
Dttbdf.c141 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/
Dpcfdrivr.c678 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/
Dftpsprop.h32 const char* property_name,
38 const char* property_name,
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.cc330 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/
Dsvprop.h31 const char* property_name,
37 const char* property_name,

1234