Lines Matching refs:dtype

476     subtypes = ['dtype']
514 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)
714 if self.dtype.is_pyobject:
717 to_py = self.dtype.create_to_py_utility_code(env)
718 from_py = self.dtype.create_from_py_utility_code(env)
722 if not self.dtype.to_py_function:
725 if not self.dtype.from_py_function:
729 error_condition = (self.dtype.error_condition('value') or
732 to_py_function = self.dtype.to_py_function,
733 from_py_function = self.dtype.from_py_function,
734 dtype = self.dtype.declaration_code(""),
775 if self.dtype.is_pyobject:
776 dtype_name = self.dtype.name
778 dtype_name = self.dtype
784 dtype = self.dtype.specialize(values)
785 if dtype is not self.dtype:
786 return MemoryViewSliceType(dtype, self.axes)
799 # dtype PyrexType
810 subtypes = ['dtype']
812 def __init__(self, base, dtype, ndim, mode, negative_indices, cast):
814 self.dtype = dtype
816 self.buffer_ptr_type = CPtrType(dtype)
825 dtype = self.dtype.specialize(values)
826 if dtype is not self.dtype:
827 return BufferType(self.base, dtype, self.ndim, self.mode,
843 return "%s[%s,ndim=%d%s]" % (self.base, self.dtype, self.ndim,
857 return (self.dtype.same_as(other_type.dtype) and