HomeSort by relevance Sort by last modified time
    Searched refs:PyrexTypes (Results 1 - 20 of 20) sorted by null

  /external/chromium_org/third_party/cython/src/Cython/Compiler/
Builtin.py 8 import PyrexTypes
66 field_type = self.field_type or PyrexTypes.py_object_type
85 self_arg = PyrexTypes.CFuncTypeArg("", self_type, None)
101 func_type = PyrexTypes.CFuncType(
102 PyrexTypes.c_uint_type, [
103 PyrexTypes.CFuncTypeArg("arg", PyrexTypes.c_int_type, None)
108 func_type = PyrexTypes.CFuncType(
109 PyrexTypes.c_ulong_type, [
110 PyrexTypes.CFuncTypeArg("arg", PyrexTypes.c_long_type, None
    [all...]
Optimize.py 5 Nodes=object, ExprNodes=object, PyrexTypes=object, Builtin=object,
10 import PyrexTypes
223 PyBytes_AS_STRING_func_type = PyrexTypes.CFuncType(
224 PyrexTypes.c_char_ptr_type, [
225 PyrexTypes.CFuncTypeArg("s", Builtin.bytes_type, None)
228 PyBytes_GET_SIZE_func_type = PyrexTypes.CFuncType(
229 PyrexTypes.c_py_ssize_t_type, [
230 PyrexTypes.CFuncTypeArg("s", Builtin.bytes_type, None)
271 PyUnicode_READ_func_type = PyrexTypes.CFuncType(
272 PyrexTypes.c_py_ucs4_type,
    [all...]
TypeSlots.py 7 import PyrexTypes
49 'O': PyrexTypes.py_object_type,
50 'v': PyrexTypes.c_void_type,
51 'p': PyrexTypes.c_void_ptr_type,
52 'P': PyrexTypes.c_void_ptr_ptr_type,
53 'i': PyrexTypes.c_int_type,
54 'b': PyrexTypes.c_bint_type,
55 'I': PyrexTypes.c_int_ptr_type,
56 'l': PyrexTypes.c_long_type,
57 'f': PyrexTypes.c_float_type
    [all...]
TypeInference.py 5 import PyrexTypes
7 from PyrexTypes import py_object_type, unspecified_type
111 type=PyrexTypes.c_py_ssize_t_type))
141 type=PyrexTypes.c_py_ssize_t_type)))
482 elif type1 is PyrexTypes.c_bint_type or type2 is PyrexTypes.c_bint_type:
487 result_type = PyrexTypes.spanning_type(type1, type2)
488 if result_type in (PyrexTypes.c_double_type, PyrexTypes.c_float_type,
492 return PyrexTypes.c_double_typ
    [all...]
ExprNodes.py 9 Naming=object, Nodes=object, PyrexTypes=object, py_object_type=object,
27 import PyrexTypes
28 from PyrexTypes import py_object_type, c_long_type, typecast, error_type, \
73 (Builtin.unicode_type, PyrexTypes.c_char_ptr_type) : "Unicode objects only support coercion to Py_UNICODE*.",
74 (Builtin.unicode_type, PyrexTypes.c_uchar_ptr_type) : "Unicode objects only support coercion to Py_UNICODE*.",
78 (Builtin.bytes_type, PyrexTypes.c_py_unicode_ptr_type) : "Cannot convert 'bytes' object to Py_UNICODE*, use 'unicode'.",
82 (Builtin.str_type, PyrexTypes.c_char_ptr_type) : "'str' objects do not support coercion to C types (use 'bytes'?).",
83 (Builtin.str_type, PyrexTypes.c_uchar_ptr_type) : "'str' objects do not support coercion to C types (use 'bytes'?).",
84 (Builtin.str_type, PyrexTypes.c_py_unicode_ptr_type) : "'str' objects do not support coercion to C types (use 'unicode'?).",
85 (PyrexTypes.c_char_ptr_type, Builtin.unicode_type) : "Cannot convert 'char*' to unicode implicitly, decoding r (…)
    [all...]
AutoDocTransforms.py 4 from Cython.Compiler import PyrexTypes, ExprNodes
73 if arg.type is PyrexTypes.py_object_type or arg.is_self_arg:
101 if ret is PyrexTypes.py_object_type:
Buffer.py 9 from Cython.Compiler import PyrexTypes
95 auxvars = ((PyrexTypes.c_pyx_buffer_nd_type, Naming.pybuffernd_prefix),
96 (PyrexTypes.c_pyx_buffer_type, Naming.pybufferstruct_prefix))
375 retcode_cname = code.funcstate.allocate_temp(PyrexTypes.c_int_type, manage_ref=False)
382 type, value, tb = [code.funcstate.allocate_temp(PyrexTypes.py_object_type, manage_ref=False)
406 PyrexTypes.typecast(buffer_type, PyrexTypes.py_object_type, "Py_None"),
438 tmp_cname = code.funcstate.allocate_temp(PyrexTypes.c_int_type, manage_ref=False)
689 if dtype is PyrexTypes.c_char_type:
Symtab.py 10 import PyrexTypes
11 from PyrexTypes import py_object_type, unspecified_type
483 type = PyrexTypes.create_typedef_type(name, base_type, cname,
487 type = PyrexTypes.error_type
505 type = PyrexTypes.CStructOrUnionType(
537 type = PyrexTypes.CppClassType(
563 if base_class is PyrexTypes.error_type:
572 entry.type.scope.declare_var(name="this", cname="this", type=PyrexTypes.CPtrType(entry.type), pos=entry.pos)
595 type = PyrexTypes.CEnumType(name, cname, typedef_flag)
597 type = PyrexTypes.c_anon_enum_typ
    [all...]
FusedNode.py 3 from Cython.Compiler import (ExprNodes, PyrexTypes, MemoryView,
82 fused_compound_types = PyrexTypes.unique(
84 permutations = PyrexTypes.get_all_specialized_permutations(fused_compound_types)
105 PyrexTypes.specialize_entry(copied_node.entry, cname)
213 PyrexTypes.specialization_signature_string(fused_type, f2s)
219 node.entry.pymethdef_cname = PyrexTypes.get_fused_cname(
353 memslice_type = PyrexTypes.MemoryViewSliceType(dtype, axes)
483 specialized_types = PyrexTypes.get_specialized_types(arg.type)
Nodes.py 7 Builtin=object, error=object, warning=object, Naming=object, PyrexTypes=object,
19 import PyrexTypes
21 from PyrexTypes import py_object_type, error_type
508 ptr_type = PyrexTypes.c_ptr_type(base_type)
520 ref_type = PyrexTypes.c_ref_type(base_type)
566 array_type = PyrexTypes.c_array_type(base_type, size)
602 self.templates.append(PyrexTypes.TemplatePlaceholderType(template.name))
623 elif (type is not PyrexTypes.py_object_type
637 type = PyrexTypes.c_ptr_type(type.base_type)
642 PyrexTypes.CFuncTypeArg(name, type, arg_node.pos)
    [all...]
AnalysedTreeTransforms.py 4 from PyrexTypes import py_object_type
CythonScope.py 2 from PyrexTypes import *
TreeFragment.py 9 import PyrexTypes
136 handle = UtilNodes.TempHandle(PyrexTypes.py_object_type)
MemoryView.py 8 import PyrexTypes
132 return PyrexTypes.MemoryViewSliceType(memoryviewtype.dtype, axes)
183 if dtype is PyrexTypes.c_bint_type:
218 dtype = PyrexTypes.CPtrType(dtype)
306 PyrexTypes.c_int_type, False)
    [all...]
ModuleNode.py 6 cython.declare(Naming=object, Options=object, PyrexTypes=object, TypeSlots=object,
12 from PyrexTypes import CPtrType
22 import PyrexTypes
25 from PyrexTypes import py_object_type
105 env.return_type = PyrexTypes.c_void_type
278 PyrexTypes.public_decl("PyTypeObject", "DL_IMPORT"),
644 PyrexTypes.c_long_type.create_to_py_utility_code(env)
645 PyrexTypes.c_long_type.create_from_py_utility_code(env)
646 PyrexTypes.c_int_type.create_from_py_utility_code(env)
    [all...]
FlowControl.py 2 cython.declare(PyrexTypes=object, ExprNodes=object, Nodes=object,
13 from PyrexTypes import py_object_type, unspecified_type
14 import PyrexTypes
959 type=PyrexTypes.c_py_ssize_t_type))
    [all...]
UtilNodes.py 11 from PyrexTypes import c_ptr_type
ParseTreeTransforms.py 2 cython.declare(PyrexTypes=object, Naming=object, ExprNodes=object, Nodes=object,
7 import PyrexTypes
714 PyrexTypes.parse_basic_type(name))
    [all...]
Code.py     [all...]
  /external/chromium_org/third_party/cython/src/Cython/Compiler/Tests/
TestSignatureMatching.py 3 from Cython.Compiler import PyrexTypes as pt
5 from Cython.Compiler.PyrexTypes import CFuncTypeArg

Completed in 451 milliseconds