Searched refs:component_name (Results 1 – 2 of 2) sorted by relevance
109 def _add_state_component(self, component_name, allowed_values): argument130 if not re.match('[a-z][_a-z0-9]*$', component_name) or \131 keyword.iskeyword(component_name):133 component_name)134 if component_name in self._values:135 self._setup_error('Component already exists: |%s|' % component_name)136 self._values[component_name] = self.INVALID_VALUE145 keyword.iskeyword(component_name):148 self._allowed_values[component_name] = set(allowed_values)
256 #define TC_DEFINE_REGISTRATION_METHOD(component_name, component_class) \ argument259 component_name, &_internal_component_factory<component_class>); \261 TC_LOG(ERROR) << "Problem registering " << component_name; \