Home
last modified time | relevance | path

Searched refs:dtype (Results 1 – 25 of 50) sorted by relevance

12

/external/chromium_org/third_party/cython/src/Cython/Compiler/
DFusedNode.py190 MemoryView.validate_memslice_dtype(arg.pos, arg.type.dtype)
266 def _dtype_name(self, dtype): argument
267 if dtype.is_typedef:
268 return '___pyx_%s' % dtype
269 return str(dtype).replace(' ', '_')
271 def _dtype_type(self, dtype): argument
272 if dtype.is_typedef:
273 return self._dtype_name(dtype)
274 return str(dtype)
276 def _sizeof_dtype(self, dtype): argument
[all …]
DMemoryView.py76 def mangle_dtype_name(dtype): argument
79 return Buffer.mangle_dtype_name(dtype)
132 return PyrexTypes.MemoryViewSliceType(memoryviewtype.dtype, axes)
154 if src.dtype != dst.dtype:
173 def valid_memslice_dtype(dtype, i=0): argument
180 if dtype.is_complex and dtype.real_type.is_int:
183 if dtype is PyrexTypes.c_bint_type:
186 if dtype.is_struct and dtype.kind == 'struct':
187 for member in dtype.scope.var_entries:
194 dtype.is_error or
[all …]
DBuffer.py74 if entry.type.dtype.is_ptr:
171 dtype = options.get("dtype")
172 if dtype and dtype.is_extension_type:
322 code.putln("__Pyx_BufFmt_StackElem __pyx_stack[%d];" % entry.type.dtype.struct_nesting_depth())
339 dtype_typeinfo = get_type_information_cname(code, buffer_type.dtype)
367 code.putln("__Pyx_BufFmt_StackElem __pyx_stack[%d];" % buffer_type.dtype.struct_nesting_depth())
616 def mangle_dtype_name(dtype): argument
619 if dtype.is_pyobject:
621 elif dtype.is_ptr:
624 if dtype.is_typedef or dtype.is_struct_or_union:
[all …]
DPyrexTypes.py514 self.dtype = base_dtype
525 if not self.dtype.is_fused:
526 self.dtype_name = MemoryView.mangle_dtype_name(self.dtype)
530 self.dtype.same_as(other_type.dtype) and
606 to_memview_c = MemoryViewSliceType(self.dtype, to_axes_c)
607 to_memview_f = MemoryViewSliceType(self.dtype, to_axes_f)
661 code, self.dtype)
684 dtype_typedecl = self.dtype.declaration_code(""),
685 struct_nesting_depth = self.dtype.struct_nesting_depth(),
702 self.dtype.is_pyobject)
[all …]
/external/chromium_org/third_party/cython/src/Cython/Includes/numpy/
D__init__.pxd155 ctypedef class numpy.dtype [object PyArray_Descr]:
188 dtype descr
240 cdef dtype descr = self.descr
276 raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
393 # dtype PyArray_DESCR(ndarray) wrong refcount semantics
415 bint PyDataType_ISBOOL(dtype)
416 bint PyDataType_ISUNSIGNED(dtype)
417 bint PyDataType_ISSIGNED(dtype)
418 bint PyDataType_ISINTEGER(dtype)
419 bint PyDataType_ISFLOAT(dtype)
[all …]
/external/kernel-headers/original/uapi/linux/hsi/
Dhsi_char.h28 #define HSC_IOW(num, dtype) _IOW(HSI_CHAR_MAGIC, num, dtype) argument
29 #define HSC_IOR(num, dtype) _IOR(HSI_CHAR_MAGIC, num, dtype) argument
30 #define HSC_IOWR(num, dtype) _IOWR(HSI_CHAR_MAGIC, num, dtype) argument
/external/openssl/crypto/rsa/
Drsa_sign.c173 int int_rsa_verify(int dtype, const unsigned char *m, in int_rsa_verify() argument
198 if((dtype == NID_md5_sha1) && rm) in int_rsa_verify()
214 if((dtype == NID_md5_sha1) && (m_len != SSL_SIG_LENGTH) ) { in int_rsa_verify()
224 if (dtype == NID_mdc2 && i == 18 && s[0] == 0x04 && s[1] == 0x10) in int_rsa_verify()
239 if(dtype == NID_md5_sha1) { in int_rsa_verify()
271 OBJ_nid2ln(dtype)); in int_rsa_verify()
273 if (sigtype != dtype) in int_rsa_verify()
275 if (((dtype == NID_md5) && in int_rsa_verify()
277 ((dtype == NID_md2) && in int_rsa_verify()
295 md = EVP_get_digestbynid(dtype); in int_rsa_verify()
[all …]
Drsa_locl.h1 extern int int_rsa_verify(int dtype, const unsigned char *m, unsigned int m_len,
Drsa_saos.c104 int RSA_verify_ASN1_OCTET_STRING(int dtype, in RSA_verify_ASN1_OCTET_STRING() argument
/external/kernel-headers/original/uapi/linux/
Domapfb.h33 #define OMAP_IOW(num, dtype) _IOW('O', num, dtype) argument
34 #define OMAP_IOR(num, dtype) _IOR('O', num, dtype) argument
35 #define OMAP_IOWR(num, dtype) _IOWR('O', num, dtype) argument
/external/skia/tests/
DPremulAlphaRoundTripTest.cpp71 for (int dtype = 0; dtype < 2; ++dtype) { in DEF_GPUTEST() local
75 if (0 != dtype) { in DEF_GPUTEST()
80 if (0 == dtype) { in DEF_GPUTEST()
DReadPixelsTest.cpp293 for (int dtype = 0; dtype < 3; ++dtype) { in DEF_GPUTEST() local
296 if (0 != dtype) { in DEF_GPUTEST()
302 if (0 == dtype) { in DEF_GPUTEST()
321 desc.fOrigin = 1 == dtype ? kBottomLeft_GrSurfaceOrigin in DEF_GPUTEST()
/external/chromium_org/third_party/skia/tests/
DPremulAlphaRoundTripTest.cpp69 for (int dtype = 0; dtype < 2; ++dtype) { in DEF_GPUTEST() local
73 if (0 != dtype) { in DEF_GPUTEST()
79 if (0 == dtype) { in DEF_GPUTEST()
DReadPixelsTest.cpp292 for (int dtype = 0; dtype < 3; ++dtype) { in DEF_GPUTEST() local
295 if (0 != dtype) { in DEF_GPUTEST()
302 if (0 == dtype) { in DEF_GPUTEST()
320 desc.fOrigin = 1 == dtype ? kBottomLeft_GrSurfaceOrigin : kTopLeft_GrSurfaceOrigin; in DEF_GPUTEST()
/external/chromium_org/third_party/cython/src/Cython/Utility/
DMemoryView_C.c159 __Pyx_TypeInfo *dtype,
292 __Pyx_TypeInfo *dtype,
306 if (from_memoryview && __pyx_typeinfo_cmp(dtype, ((struct __pyx_memoryview_obj *)
313 original_obj, buf_flags, 0, dtype);
328 __Pyx_BufFmt_Init(&ctx, stack, dtype);
332 if ((unsigned) buf->itemsize != dtype->size) {
338 dtype->name,
339 dtype->size,
340 (dtype->size > 1) ? "s" : "");
772 return (PyObject *) {{to_py_function}}(*({{dtype}} *) itemp);
[all …]
DBuffer.c211 __Pyx_TypeInfo* dtype, int flags, int nd, int cast, __Pyx_BufFmt_StackElem* stack);
787 Py_buffer* buf, PyObject* obj, __Pyx_TypeInfo* dtype, int flags,
804 __Pyx_BufFmt_Init(&ctx, stack, dtype);
807 if ((unsigned)buf->itemsize != dtype->size) {
811 dtype->name, (Py_ssize_t)dtype->size, (dtype->size > 1) ? "s" : "");
/external/ceres-solver/internal/ceres/
Dsuitesparse.cc68 triplet.dtype = CHOLMOD_DOUBLE; in CreateSparseMatrix()
90 triplet.dtype = CHOLMOD_DOUBLE; in CreateSparseMatrixTranspose()
109 m.dtype = CHOLMOD_DOUBLE; in CreateSparseMatrixTransposeView()
235 block_matrix.dtype = CHOLMOD_DOUBLE; in BlockAMDOrdering()
/external/kernel-headers/original/uapi/mtd/
Dubi-user.h393 __s8 dtype; /* obsolete, do not use! */ member
405 __s8 dtype; /* obsolete, do not use! */ member
/external/strace/linux/
Dubi-user.h390 __s8 dtype; /* obsolete, do not use! */ member
402 __s8 dtype; /* obsolete, do not use! */ member
/external/eigen/Eigen/src/CholmodSupport/
DCholmodSupport.h23 mat.dtype = CHOLMOD_SINGLE; in cholmod_configure_matrix()
28 mat.dtype = CHOLMOD_DOUBLE; in cholmod_configure_matrix()
33 mat.dtype = CHOLMOD_SINGLE; in cholmod_configure_matrix()
38 mat.dtype = CHOLMOD_DOUBLE; in cholmod_configure_matrix()
74 res.dtype = 0; in viewAsCholmod()
/external/chromium_org/third_party/cython/src/Cython/
DShadow.py12 def __init__(self, dtype, ndim, is_c_contig=False, is_f_contig=False, argument
14 self.dtype = dtype
28 return "%s[%s]" % (self.dtype, ", ".join(axes))
/external/chromium_org/base/win/
Dregistry.h105 DWORD* dtype) const;
119 DWORD dtype);
Dregistry.cc312 DWORD* dtype) const { in ReadValue()
313 LONG result = RegQueryValueEx(key_, name, 0, dtype, in ReadValue()
362 DWORD dtype) { in WriteValue() argument
365 LONG result = RegSetValueEx(key_, name, 0, dtype, in WriteValue()
/external/chromium_org/v8/tools/
Dgen-postmortem-metadata.py394 dtype = args[2];
398 'name': 'class_%s__%s__%s' % (klass, field, dtype),
/external/opencv/cv/src/
Dcvundistort.cpp386 int stype, dtype; in cvUndistortPoints() local
429 dtype = CV_MAT_TYPE(_dst->type); in cvUndistortPoints()
431 dstep = _dst->rows == 1 ? 1 : _dst->step/CV_ELEM_SIZE(dtype); in cvUndistortPoints()
476 if( dtype == CV_32FC2 ) in cvUndistortPoints()

12