/external/pigweed/pw_env_setup/py/pw_env_setup/ |
D | environment.py | 95 valid_types = (str, unicode) 97 valid_types = (str, ) 99 if not isinstance(self.name, valid_types): 102 if not isinstance(self.value, valid_types):
|
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/ |
D | image_tensor_specs.cc | 166 static constexpr TfLiteType valid_types[] = {kTfLiteUInt8, kTfLiteFloat32}; in BuildInputImageTensorSpecs() local 168 if (!absl::c_linear_search(valid_types, input_type)) { in BuildInputImageTensorSpecs()
|
/external/selinux/python/semanage/ |
D | seobject.py | 1051 valid_types = [] variable in portRecords 1056 … self.valid_types = list(list(sepolicy.info(sepolicy.ATTRIBUTE, "port_type"))[0]["types"]) 1104 if type not in self.valid_types: 1169 if setype and setype not in self.valid_types: 1337 valid_types = [] variable in ibpkeyRecords 1343 self.valid_types = sorted(str(t) for t in q.results()) 1378 if type not in self.valid_types: 1442 if setype and setype not in self.valid_types: 1597 valid_types = [] variable in ibendportRecords 1603 self.valid_types = set(str(t) for t in q.results()) [all …]
|
/external/tflite-support/tensorflow_lite_support/cc/task/text/nlclassifier/ |
D | nl_classifier.cc | 350 static constexpr TfLiteType valid_types[] = {kTfLiteUInt8, kTfLiteInt8, in Initialize() local 353 if (!absl::c_linear_search(valid_types, scores->type)) { in Initialize()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cDirectStateAccessBuffersTests.cpp | 2774 static const glw::GLenum valid_types[] = { GL_RED, GL_RG, in TestErrorsOfClearNamedBufferData() local 2782 static const glw::GLenum valid_types_last = sizeof(valid_types) / sizeof(valid_types[0]) - 1; in TestErrorsOfClearNamedBufferData() 2786 while (&valid_types[valid_types_last] != in TestErrorsOfClearNamedBufferData() 2787 std::find(&valid_types[0], &valid_types[valid_types_last], (++invalid_type))) in TestErrorsOfClearNamedBufferData() 3058 static const glw::GLenum valid_types[] = { GL_RED, GL_RG, in TestErrorsOfClearNamedBufferSubData() local 3066 static const glw::GLenum valid_types_last = sizeof(valid_types) / sizeof(valid_types[0]) - 1; in TestErrorsOfClearNamedBufferSubData() 3070 while (&valid_types[valid_types_last] != in TestErrorsOfClearNamedBufferSubData() 3071 std::find(&valid_types[0], &valid_types[valid_types_last], (++invalid_type))) in TestErrorsOfClearNamedBufferSubData()
|
/external/selinux/python/sepolicy/sepolicy/ |
D | __init__.py | 342 valid_types = set([ALLOW, AUDITALLOW, NEVERALLOW, DONTAUDIT, TRANSITION, ROLE_ALLOW]) 344 if setype not in valid_types: 345 raise ValueError("Type has to be in %s" % " ".join(valid_types))
|
/external/python/cpython2/Lib/test/support/ |
D | __init__.py | 1613 valid_types = (unittest.TestSuite, unittest.TestCase) 1621 elif isinstance(cls, valid_types):
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training.py | 393 valid_types = (tuple, list, tensor_shape.TensorShape, dict) 394 if not isinstance(input_shape, valid_types):
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 1905 valid_types = (unittest.TestSuite, unittest.TestCase) 1913 elif isinstance(cls, valid_types):
|
/external/python/cpython3/Tools/clinic/ |
D | clinic.py | 1712 valid_types = ('buffer', 'file', 'suppress') 1713 if type not in valid_types: 1714 …"Invalid destination type " + repr(type) + " for " + name + " , must be " + ', '.join(valid_types))
|