/external/mesa3d/src/mesa/main/ |
D | formats.c | 891 GLenum *datatype, GLuint *comps) in _mesa_uncompressed_format_to_type_and_comps() argument 906 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 911 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 918 *datatype = GL_UNSIGNED_SHORT_5_6_5; in _mesa_uncompressed_format_to_type_and_comps() 927 *datatype = GL_UNSIGNED_SHORT_4_4_4_4; in _mesa_uncompressed_format_to_type_and_comps() 936 *datatype = GL_UNSIGNED_SHORT_1_5_5_5_REV; in _mesa_uncompressed_format_to_type_and_comps() 941 *datatype = GL_UNSIGNED_INT_2_10_10_10_REV; in _mesa_uncompressed_format_to_type_and_comps() 948 *datatype = GL_UNSIGNED_SHORT_5_5_5_1; in _mesa_uncompressed_format_to_type_and_comps() 953 *datatype = MESA_UNSIGNED_BYTE_4_4; in _mesa_uncompressed_format_to_type_and_comps() 959 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps() [all …]
|
D | mipmap.c | 72 bytes_per_pixel(GLenum datatype, GLuint comps) in bytes_per_pixel() argument 76 if (datatype == GL_UNSIGNED_INT_8_24_REV_MESA || in bytes_per_pixel() 77 datatype == GL_UNSIGNED_INT_24_8_MESA) in bytes_per_pixel() 80 b = _mesa_sizeof_packed_type(datatype); in bytes_per_pixel() 83 if (_mesa_type_is_packed(datatype)) in bytes_per_pixel() 175 do_row(GLenum datatype, GLuint comps, GLint srcWidth, in do_row() argument 189 if (datatype == GL_UNSIGNED_BYTE && comps == 4) { in do_row() 202 else if (datatype == GL_UNSIGNED_BYTE && comps == 3) { in do_row() 214 else if (datatype == GL_UNSIGNED_BYTE && comps == 2) { in do_row() 225 else if (datatype == GL_UNSIGNED_BYTE && comps == 1) { in do_row() [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | bitcast_op_test.py | 31 def _testBitcast(self, x, datatype, shape): argument 33 tf_ans = array_ops.bitcast(x, datatype) 39 self.assertEqual(tf_ans.dtype, datatype) 43 datatype = dtypes.int8 45 self._testBitcast(x, datatype, shape) 49 datatype = dtypes.int32 51 self._testBitcast(x, datatype, shape) 66 datatype = dtypes.int32 68 array_ops.bitcast(x, datatype, None) 72 datatype = dtypes.int8 [all …]
|
/external/google-breakpad/src/third_party/libdisasm/ |
D | ia32_operand.c | 249 op->datatype = (size == 4) ? op_word : op_byte; in decode_operand_size() 254 op->datatype = (size == 4) ? op_bounds32 : op_bounds16; in decode_operand_size() 258 op->datatype = (size == 4) ? op_dword : op_word; in decode_operand_size() 265 op->datatype = (size == 4) ? op_descr32 : op_descr16; in decode_operand_size() 269 op->datatype = op_byte; in decode_operand_size() 273 op->datatype = op_word; in decode_operand_size() 277 op->datatype = op_dword; in decode_operand_size() 284 op->datatype = (insn->addr_size == 4) ? in decode_operand_size() 289 op->datatype = op_qword; in decode_operand_size() 293 op->datatype = op_dqword; in decode_operand_size() [all …]
|
/external/libchrome/base/android/jni_generator/ |
D | jni_generator_tests.py | 170 params=[Param(datatype='int', 176 params=[Param(datatype='int', 178 Param(datatype='String', 180 Param(datatype='String', 182 Param(datatype='boolean', 184 Param(datatype='long', 191 params=[Param(datatype='String', 197 params=[Param(datatype='byte[]', 199 Param(datatype='int', 205 params=[Param(datatype='View', name='view')], [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | transpose_benchmark.py | 34 def build_graph(device, input_shape, perm, datatype, num_iters): argument 49 inp = np.arange(1, total_size + 1, dtype=datatype).reshape(input_shape) 65 def _run_graph(self, device, input_shape, perm, num_iters, datatype): argument 80 outputs = build_graph(device, input_shape, perm, datatype, num_iters) 90 np.array(input_shape)) * datatype().itemsize * 2 / duration / 1e9 93 (device, str(datatype), str(input_shape).replace(" ", ""), 102 dtype=str(datatype).replace(" ", ""), 130 for datatype in datatypes: 132 self._run_graph("gpu", ishape, perm, num_iters, datatype) 134 if datatype is not np.complex128: [all …]
|
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/apollo3/ |
D | compare_1k.py | 29 def new_data_to_array(fn, datatype='int16'): argument 38 if datatype == 'int8': 41 elif datatype == 'int16': 44 elif datatype == 'int32': 47 if datatype == 'uint8': 50 elif datatype == 'uint16': 53 elif datatype == 'uint32': 68 'micro_windowed_input.txt', datatype='int32') 70 'cmsis_windowed_input.txt', datatype='int16') 72 micro_dft = new_data_to_array('micro_dft.txt', datatype='int32') [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | LocaleValidityChecker.java | 36 public boolean set(Datatype datatype, String code) { in set() argument 37 fieldFailure = datatype; in set() 101 Datatype datatype = Datatype.valueOf(c+""); in isValid() local 102 switch (datatype) { in isValid() 107 if (!isValidU(locale, datatype, locale.getExtension(c), where)) return false; in isValid() 146 … private boolean isValidU(ULocale locale, Datatype datatype, String extensionString, Where where) { in isValidU() argument 154 StringBuilder tBuffer = datatype == Datatype.t ? new StringBuilder() : null; in isValidU() 171 return where.set(datatype, subtag); in isValidU() 174 return where.set(datatype, key); in isValidU() 189 return where.set(datatype, key+"-"+subtag); in isValidU() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | LocaleValidityChecker.java | 41 public boolean set(Datatype datatype, String code) { in set() argument 42 fieldFailure = datatype; in set() 106 Datatype datatype = Datatype.valueOf(c+""); in isValid() local 107 switch (datatype) { in isValid() 112 if (!isValidU(locale, datatype, locale.getExtension(c), where)) return false; in isValid() 151 … private boolean isValidU(ULocale locale, Datatype datatype, String extensionString, Where where) { in isValidU() argument 159 StringBuilder tBuffer = datatype == Datatype.t ? new StringBuilder() : null; in isValidU() 176 return where.set(datatype, subtag); in isValidU() 179 return where.set(datatype, key); in isValidU() 194 return where.set(datatype, key+"-"+subtag); in isValidU() [all …]
|
/external/mesa3d/src/mesa/main/tests/ |
D | mesa_formats.cpp | 55 GLenum datatype = 0; in TEST() local 59 _mesa_uncompressed_format_to_type_and_comps(f, &datatype, &comps); in TEST() 60 EXPECT_NE(datatype, (GLenum)0); in TEST() 77 GLenum datatype = _mesa_get_format_datatype(f); in TEST() local 86 EXPECT_TRUE(datatype == GL_NONE || in TEST() 87 datatype == GL_UNSIGNED_NORMALIZED || in TEST() 88 datatype == GL_SIGNED_NORMALIZED || in TEST() 89 datatype == GL_UNSIGNED_INT || in TEST() 90 datatype == GL_INT || in TEST() 91 datatype == GL_FLOAT); in TEST()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
D | BasicDurationFormat.java | 44 } else if (object instanceof javax.xml.datatype.Duration) { in format() 95 javax.xml.datatype.DatatypeConstants.Field inFields[] = { in formatDuration() 96 javax.xml.datatype.DatatypeConstants.YEARS, in formatDuration() 97 javax.xml.datatype.DatatypeConstants.MONTHS, in formatDuration() 98 javax.xml.datatype.DatatypeConstants.DAYS, in formatDuration() 99 javax.xml.datatype.DatatypeConstants.HOURS, in formatDuration() 100 javax.xml.datatype.DatatypeConstants.MINUTES, in formatDuration() 101 javax.xml.datatype.DatatypeConstants.SECONDS, in formatDuration() 112 javax.xml.datatype.Duration inDuration = (javax.xml.datatype.Duration)obj; in formatDuration() 114 javax.xml.datatype.Duration duration = inDuration; in formatDuration()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | BasicDurationFormat.java | 42 } else if (object instanceof javax.xml.datatype.Duration) { in format() 93 javax.xml.datatype.DatatypeConstants.Field inFields[] = { in formatDuration() 94 javax.xml.datatype.DatatypeConstants.YEARS, in formatDuration() 95 javax.xml.datatype.DatatypeConstants.MONTHS, in formatDuration() 96 javax.xml.datatype.DatatypeConstants.DAYS, in formatDuration() 97 javax.xml.datatype.DatatypeConstants.HOURS, in formatDuration() 98 javax.xml.datatype.DatatypeConstants.MINUTES, in formatDuration() 99 javax.xml.datatype.DatatypeConstants.SECONDS, in formatDuration() 110 javax.xml.datatype.Duration inDuration = (javax.xml.datatype.Duration)obj; in formatDuration() 112 javax.xml.datatype.Duration duration = inDuration; in formatDuration()
|
/external/XNNPACK/src/ |
D | tensor.c | 20 enum xnn_datatype datatype, in xnn_define_tensor_value() argument 47 switch (datatype) { in xnn_define_tensor_value() 52 xnn_log_error("failed to create Dense Tensor value: invalid data type (%d)", datatype); in xnn_define_tensor_value() 64 value->datatype = datatype; in xnn_define_tensor_value() 82 assert(value->datatype != xnn_datatype_invalid); in xnn_tensor_get_size() 85 switch (value->datatype) { in xnn_tensor_get_size()
|
/external/clang/test/Sema/ |
D | warn-type-safety.c | 9 int wrong1(void *buf, MPI_Datatype datatype) 12 int wrong2(void *buf, MPI_Datatype datatype) 15 int wrong3(void *buf, MPI_Datatype datatype) 18 int wrong4(void *buf, MPI_Datatype datatype) 21 int wrong5(void *buf, MPI_Datatype datatype) 24 int wrong6(void *buf, MPI_Datatype datatype) 29 int wrong7(void *buf, MPI_Datatype datatype) 32 int wrong8(void *buf, MPI_Datatype datatype)
|
D | warn-type-safety.cpp | 24 void f1(void *buf, int count, MPI_Datatype datatype) 27 void f2(void *buf, int count, MPI_Datatype datatype) 30 void f3(void *buf, int count, MPI_Datatype datatype) 33 void f4(void *buf, int count, MPI_Datatype datatype) 36 void MPI_Send(void *buf, int count, MPI_Datatype datatype) 42 void value_dep(void *buf, int count, MPI_Datatype datatype)
|
/external/OpenCL-CTS/test_conformance/gles/ |
D | test_images_2D_info.cpp | 89 GLenum datatype; in test_images_2D_getinfo() member 122 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_images_2D_getinfo() 130 formats[ fmtIdx ].datatype, in test_images_2D_getinfo() 137 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_images_2D_getinfo() 150 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_images_2D_getinfo() 172 GLenum datatype; in test_images_cube_getinfo() member 218 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_images_cube_getinfo() 226 formats[ fmtIdx ].datatype, in test_images_cube_getinfo() 233 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_images_cube_getinfo() 246 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_images_cube_getinfo()
|
D | test_images_2D.cpp | 204 GLenum datatype; in test_images_read() member 235 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_images_read() 246 formats[ fmtIdx ].datatype, in test_images_read() 253 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_images_read() 265 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_images_read() 286 GLenum datatype; in test_images_read_cube() member 333 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_images_read_cube() 341 formats[ fmtIdx ].datatype, in test_images_read_cube() 348 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_images_read_cube() 360 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_images_read_cube() [all …]
|
/external/python/cpython2/Tools/bgen/bgen/ |
D | bgenBuffer.py | 33 def __init__(self, size, datatype = 'char', sizetype = 'int', sizeformat = None): argument 36 self.datatype = datatype 56 return ["%s%s *%s__in__" % (const, self.datatype, name)] 65 return ["%s%s %s__out__[%s]" % (self.datatype, out, name, self.size)] 118 (self.datatype, name, name, self.size) 172 def __init__(self, datatype = 'char', sizetype = 'int', sizeformat = None): argument 173 FixedInputBufferType.__init__(self, "0", datatype, sizetype, sizeformat)
|
D | bgenHeapBuffer.py | 16 def __init__(self, datatype = 'char', sizetype = 'int', sizeformat = None): argument 17 FixedInputOutputBufferType.__init__(self, "0", datatype, sizetype, sizeformat) 26 return ["%s%s *%s__out__" % (self.datatype, out, name)] 63 (self.datatype, name, name, name) 72 (self.datatype, name, name, name)
|
/external/tensorflow/tensorflow/lite/micro/kernels/arc/ |
D | mli_tf_utils.h | 29 template <typename datatype> 31 mliT->data = (void*)GetTensorData<datatype>(tfT); in ConvertToMliTensorData() 94 template <typename datatype> 96 ConvertToMliTensorData<datatype>(tfT, mliT); in ConvertToMliTensor() 100 template <typename datatype> 103 ConvertToMliTensorData<datatype>(tfT, mliT); in ConvertToMliTensorPerChannel()
|
/external/tensorflow/tensorflow/python/kernel_tests/linalg/sparse/ |
D | csr_sparse_matrix_sparse_mat_mul_grad_test.py | 61 def _testLargeBatchSparseMatrixSparseMatMulGrad(self, datatype, transpose_a, argument 70 1.j * np.random.randn(3, 5, 11)).astype(datatype) 77 1.j * np.random.randn(3, 11, 13)).astype(datatype) 83 a_mats = ops.convert_to_tensor(a_mats_val, dtype=datatype) 84 b_mats = ops.convert_to_tensor(b_mats_val, dtype=datatype) 94 type=datatype) 96 c_sm, type=datatype)
|
/external/scapy/scapy/contrib/ |
D | vqp.py | 51 lambda p:p.datatype==3073), 53 lambda p:p.datatype==3078), 55 lambda p:p.datatype==3080), 58 lambda p:p.datatype not in [3073, 3078, 3080]),
|
/external/OpenCL-CTS/test_conformance/gl/ |
D | test_renderbuffer_info.cpp | 60 GLenum datatype; in test_renderbuffer_getinfo() member 96 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_renderbuffer_getinfo() 108 formats[ fmtIdx ].datatype, in test_renderbuffer_getinfo() 113 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_renderbuffer_getinfo() 123 GetGLTypeName( formats[ fmtIdx ].datatype ) ); in test_renderbuffer_getinfo()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ValidIdentifiers.java | 140 UResourceBundle datatype = datatypeIterator.next(); 141 String rawKey = datatype.getKey(); 144 for(UResourceBundleIterator datasubtypeIterator = datatype.getIterator(); 182 … public static Datasubtype isValid(Datatype datatype, Set<Datasubtype> datasubtypes, String code) { 183 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype); 197 …public static Datasubtype isValid(Datatype datatype, Set<Datasubtype> datasubtypes, String code, S… 198 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ValidIdentifiers.java | 129 UResourceBundle datatype = datatypeIterator.next(); 130 String rawKey = datatype.getKey(); 133 for(UResourceBundleIterator datasubtypeIterator = datatype.getIterator(); 171 … public static Datasubtype isValid(Datatype datatype, Set<Datasubtype> datasubtypes, String code) { 172 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype); 186 …public static Datasubtype isValid(Datatype datatype, Set<Datasubtype> datasubtypes, String code, S… 187 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype);
|