Home
last modified time | relevance | path

Searched refs:component_name (Results 1 – 2 of 2) sorted by relevance

/external/autotest/client/cros/cellular/wardmodem/
Dglobal_state.py109 def _add_state_component(self, component_name, allowed_values): argument
130 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_VALUE
145 keyword.iskeyword(component_name):
148 self._allowed_values[component_name] = set(allowed_values)
/external/libtextclassifier/common/
Dregistry.h256 #define TC_DEFINE_REGISTRATION_METHOD(component_name, component_class) \ argument
259 component_name, &_internal_component_factory<component_class>); \
261 TC_LOG(ERROR) << "Problem registering " << component_name; \