Home
last modified time | relevance | path

Searched refs:PyString_InternFromString (Results 1 – 25 of 33) sorted by relevance

12

/external/python/cpython2/Modules/_io/
D_iomodule.c717 if (!(_PyIO_str_close = PyString_InternFromString("close"))) in init_io()
719 if (!(_PyIO_str_closed = PyString_InternFromString("closed"))) in init_io()
721 if (!(_PyIO_str_decode = PyString_InternFromString("decode"))) in init_io()
723 if (!(_PyIO_str_encode = PyString_InternFromString("encode"))) in init_io()
725 if (!(_PyIO_str_fileno = PyString_InternFromString("fileno"))) in init_io()
727 if (!(_PyIO_str_flush = PyString_InternFromString("flush"))) in init_io()
729 if (!(_PyIO_str_getstate = PyString_InternFromString("getstate"))) in init_io()
731 if (!(_PyIO_str_isatty = PyString_InternFromString("isatty"))) in init_io()
733 if (!(_PyIO_str_newlines = PyString_InternFromString("newlines"))) in init_io()
735 if (!(_PyIO_str_nl = PyString_InternFromString("\n"))) in init_io()
[all …]
/external/python/cpython2/Objects/
Dclassobject.c35 docstr= PyString_InternFromString("__doc__"); in PyClass_New()
40 modstr= PyString_InternFromString("__module__"); in PyClass_New()
45 namestr= PyString_InternFromString("__name__"); in PyClass_New()
104 getattrstr = PyString_InternFromString("__getattr__"); in PyClass_New()
107 setattrstr = PyString_InternFromString("__setattr__"); in PyClass_New()
110 delattrstr = PyString_InternFromString("__delattr__"); in PyClass_New()
556 initstr = PyString_InternFromString("__init__"); in PyInstance_New()
649 delstr = PyString_InternFromString("__del__"); in instance_dealloc()
904 reprstr = PyString_InternFromString("__repr__"); in instance_repr()
943 strstr = PyString_InternFromString("__str__"); in instance_str()
[all …]
Dboolobject.c28 (true_str = PyString_InternFromString("True")); in bool_repr()
31 (false_str = PyString_InternFromString("False")); in bool_repr()
Dabstract.c1571 int_name = PyString_InternFromString("__int__");
1617 trunc_name = PyString_InternFromString("__trunc__");
1711 trunc_name = PyString_InternFromString("__trunc__");
2813 __bases__ = PyString_InternFromString("__bases__");
2890 __class__ = PyString_InternFromString("__class__");
Dtypeobject.c1220 *attrobj = PyString_InternFromString(attrstr); in lookup_maybe()
1850 dict_str = PyString_InternFromString("__dict__"); in get_dict_descriptor()
3050 comma = PyString_InternFromString(", "); in object_new()
3264 copyreg_str = PyString_InternFromString("copy_reg"); in import_copyreg()
5147 getitem_str = PyString_InternFromString("__getitem__");
5661 getattr_str = PyString_InternFromString("__getattr__");
5667 PyString_InternFromString("__getattribute__");
5823 get_str = PyString_InternFromString("__get__");
5893 new_str = PyString_InternFromString("__new__");
6420 p->name_strobj = PyString_InternFromString(p->name);
Dobject.c500 unicodestr = PyString_InternFromString("__unicode__"); in PyObject_Unicode()
1140 w = PyString_InternFromString(name); in PyObject_GetAttrString()
1168 s = PyString_InternFromString(name); in PyObject_SetAttrString()
Dfuncobject.c45 __name__ = PyString_InternFromString("__name__"); in PyFunction_New()
Dframeobject.c651 builtin_object = PyString_InternFromString("__builtins__"); in _PyFrame_Init()
Ddescrobject.c618 descr->d_name = PyString_InternFromString(name); in descr_new()
Dcomplexobject.c293 complexstr = PyString_InternFromString("__complex__"); in try_complex_special_method()
/external/python/cpython2/Python/
D_warnings.c47 warnings_str = PyString_InternFromString("warnings"); in get_warnings_attr()
656 get_source_name = PyString_InternFromString("get_source"); in warnings_warn_explicit()
661 splitlines_name = PyString_InternFromString("splitlines"); in warnings_warn_explicit()
811 ignore_str = PyString_InternFromString("ignore"); in create_filter()
819 error_str = PyString_InternFromString("error"); in create_filter()
827 default_str = PyString_InternFromString("default"); in create_filter()
Dimport.c2141 s = PyString_InternFromString(name); in PyImport_ImportFrozenModule()
2368 namestr = PyString_InternFromString("__name__"); in get_parent()
2373 pathstr = PyString_InternFromString("__path__"); in get_parent()
2378 pkgstr = PyString_InternFromString("__package__"); in get_parent()
2890 import_str = PyString_InternFromString("__import__"); in PyImport_Import()
2893 builtins_str = PyString_InternFromString("__builtins__"); in PyImport_Import()
Dcompile.c263 __doc__ = PyString_InternFromString("__doc__"); in PyAST_Compile()
1188 module = PyString_InternFromString("<module>"); in compiler_mod()
1428 str = PyString_InternFromString("__name__"); in compiler_class()
1436 str = PyString_InternFromString("__module__"); in compiler_class()
1501 name = PyString_InternFromString("<lambda>"); in compiler_lambda()
2047 assertion_error = PyString_InternFromString("AssertionError"); in compiler_assert()
Dsymtable.c191 ((VAR) ? (VAR) : ((VAR) = PyString_InternFromString(# VAR)))
1492 tmp = PyString_InternFromString(tmpname); in symtable_new_tmpname()
/external/python/cpython2/Modules/
D_json.c1283 cstr = PyString_InternFromString(constant); in _parse_constant()
1723 s->encoding = PyString_InternFromString(DEFAULT_ENCODING); in scanner_new()
1894 s_null = PyString_InternFromString("null"); in _encoded_const()
1902 s_true = PyString_InternFromString("true"); in _encoded_const()
1910 s_false = PyString_InternFromString("false"); in _encoded_const()
2075 open_dict = PyString_InternFromString("{"); in encoder_listencode_dict()
2076 close_dict = PyString_InternFromString("}"); in encoder_listencode_dict()
2077 empty_dict = PyString_InternFromString("{}"); in encoder_listencode_dict()
2223 open_array = PyString_InternFromString("["); in encoder_listencode_list()
2224 close_array = PyString_InternFromString("]"); in encoder_listencode_list()
[all …]
Dthreadmodule.c934 str_dict = PyString_InternFromString("__dict__"); in initthread()
Dgcmodule.c882 delstr = PyString_InternFromString("__del__"); in collect()
/external/python/cpython2/Include/
Dstringobject.h84 PyAPI_FUNC(PyObject *) PyString_InternFromString(const char *);
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c521 context = PyString_InternFromString("_ctypes.DllGetClassObject"); in Call_GetClassObject()
600 context = PyString_InternFromString("_ctypes.DllCanUnloadNow"); in Call_CanUnloadNow()
/external/python/cpython2/PC/os2vacpp/
Dpython.def368 PyString_InternFromString
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc49 #define PyString_InternFromString PyUnicode_InternFromString macro
581 return PyString_InternFromString( in GetSyntax()
1309 return PyString_InternFromString( in GetSyntax()
/external/python/cpython2/PC/os2emx/
Dpython27.def548 "PyString_InternFromString"
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc329 PyObject* created_method_name = PyString_InternFromString("created"); in MaybeInvokeCreatedOnEagerTensorProfiler()
/external/python/cpython2/Doc/data/
Drefcounts.dat1291 PyString_InternFromString:PyObject*::+1:
1292 PyString_InternFromString:const char*:v::
/external/python/cpython2/Doc/c-api/
Dstring.rst264 .. c:function:: PyObject* PyString_InternFromString(const char *v)

12