/external/python/cpython2/Modules/_io/ |
D | _iomodule.c | 717 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/ |
D | classobject.c | 35 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 …]
|
D | boolobject.c | 28 (true_str = PyString_InternFromString("True")); in bool_repr() 31 (false_str = PyString_InternFromString("False")); in bool_repr()
|
D | abstract.c | 1571 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__");
|
D | typeobject.c | 1220 *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);
|
D | object.c | 500 unicodestr = PyString_InternFromString("__unicode__"); in PyObject_Unicode() 1140 w = PyString_InternFromString(name); in PyObject_GetAttrString() 1168 s = PyString_InternFromString(name); in PyObject_SetAttrString()
|
D | funcobject.c | 45 __name__ = PyString_InternFromString("__name__"); in PyFunction_New()
|
D | frameobject.c | 651 builtin_object = PyString_InternFromString("__builtins__"); in _PyFrame_Init()
|
D | descrobject.c | 618 descr->d_name = PyString_InternFromString(name); in descr_new()
|
D | complexobject.c | 293 complexstr = PyString_InternFromString("__complex__"); in try_complex_special_method()
|
/external/python/cpython2/Python/ |
D | _warnings.c | 47 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()
|
D | import.c | 2141 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()
|
D | compile.c | 263 __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()
|
D | symtable.c | 191 ((VAR) ? (VAR) : ((VAR) = PyString_InternFromString(# VAR))) 1492 tmp = PyString_InternFromString(tmpname); in symtable_new_tmpname()
|
/external/python/cpython2/Modules/ |
D | _json.c | 1283 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 …]
|
D | threadmodule.c | 934 str_dict = PyString_InternFromString("__dict__"); in initthread()
|
D | gcmodule.c | 882 delstr = PyString_InternFromString("__del__"); in collect()
|
/external/python/cpython2/Include/ |
D | stringobject.h | 84 PyAPI_FUNC(PyObject *) PyString_InternFromString(const char *);
|
/external/python/cpython2/Modules/_ctypes/ |
D | callbacks.c | 521 context = PyString_InternFromString("_ctypes.DllGetClassObject"); in Call_GetClassObject() 600 context = PyString_InternFromString("_ctypes.DllCanUnloadNow"); in Call_CanUnloadNow()
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 368 PyString_InternFromString
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor.cc | 49 #define PyString_InternFromString PyUnicode_InternFromString macro 581 return PyString_InternFromString( in GetSyntax() 1309 return PyString_InternFromString( in GetSyntax()
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 548 "PyString_InternFromString"
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tensor.cc | 329 PyObject* created_method_name = PyString_InternFromString("created"); in MaybeInvokeCreatedOnEagerTensorProfiler()
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 1291 PyString_InternFromString:PyObject*::+1: 1292 PyString_InternFromString:const char*:v::
|
/external/python/cpython2/Doc/c-api/ |
D | string.rst | 264 .. c:function:: PyObject* PyString_InternFromString(const char *v)
|