Home
last modified time | relevance | path

Searched refs:module_cname (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/cython/src/Cython/Utility/
DImportExport.c40 global_dict = PyModule_GetDict($module_cname); in __Pyx_Import()
193 if (unlikely(__Pyx_SetAttrString($module_cname, "__file__", file_path) < 0)) in __Pyx_SetPackagePathFromImportLib()
226 result = __Pyx_SetAttrString($module_cname, "__path__", package_path); in __Pyx_SetPackagePathFromImportLib()
386 d = PyObject_GetAttrString($module_cname, (char *)"$api_name"); in __Pyx_ExportFunction()
393 if (PyModule_AddObject($module_cname, (char *)"$api_name", d) < 0) in __Pyx_ExportFunction()
489 if (__Pyx_PyObject_SetAttrStr($module_cname, PYIDENT("$api_name"), d) < 0) in __Pyx_ExportVoidPtr()
DBuiltins.c26 PyObject *globals = PyObject_GetAttr($module_cname, PYIDENT("__dict__")); in __Pyx_Globals()
32 names = PyObject_Dir($module_cname); in __Pyx_Globals()
44 PyObject* value = __Pyx_GetAttr($module_cname, name); in __Pyx_Globals()
110 globals = PyModule_GetDict($module_cname); in __Pyx_PyExec3()
DExceptions.c533 py_globals = PyModule_GetDict($module_cname);
/external/chromium_org/third_party/cython/src/Cython/Compiler/
DModuleNode.py650 code.putln('static PyObject *%s;' % env.module_cname)
1984 code.putln("if (PyObject_SetAttr(%s, py_name, o) < 0) goto bad;" % Naming.module_cname)
2068 env.module_cname,
2122 code.putln('if (%s) {' % env.module_cname)
2125 code.put_decref_clear(env.module_cname, py_object_type, nanny=False)
2136 code.putln("return %s;" % env.module_cname)
2151 env.module_cname,
2168 env.module_cname, temp, code.error_goto(self.pos)))
2199 fq_module_name, env.module_cname), self.pos))
2326 env.module_cname,
[all …]
DNaming.py81 module_cname = pyrex_prefix + "m" variable
DSymtab.py1011 self.module_cname = Naming.module_cname
1028 self.namespace_cname = self.module_cname
DExprNodes.py2090 Naming.module_cname, interned_cname)
7550 "PyModule_GetDict(%s)" % Naming.module_cname,
11091 return Naming.module_cname
DNodes.py3930 self_arg = "((PyObject *)%s)" % Naming.module_cname