/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() 557 initstr = PyString_InternFromString("__init__"); in PyInstance_New() 650 delstr = PyString_InternFromString("__del__"); in instance_dealloc() 905 reprstr = PyString_InternFromString("__repr__"); in instance_repr() 944 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 | 1572 int_name = PyString_InternFromString("__int__"); 1620 trunc_name = PyString_InternFromString("__trunc__"); 1714 trunc_name = PyString_InternFromString("__trunc__"); 2816 __bases__ = PyString_InternFromString("__bases__"); 2893 __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() 3010 comma = PyString_InternFromString(", "); in object_new() 3224 copyreg_str = PyString_InternFromString("copy_reg"); in import_copyreg() 5084 getitem_str = PyString_InternFromString("__getitem__"); 5598 getattr_str = PyString_InternFromString("__getattr__"); 5604 PyString_InternFromString("__getattribute__"); 5760 get_str = PyString_InternFromString("__get__"); 5830 new_str = PyString_InternFromString("__new__"); 6357 p->name_strobj = PyString_InternFromString(p->name);
|
D | object.c | 495 unicodestr = PyString_InternFromString("__unicode__"); in PyObject_Unicode() 1135 w = PyString_InternFromString(name); in PyObject_GetAttrString() 1163 s = PyString_InternFromString(name); in PyObject_SetAttrString()
|
D | funcobject.c | 45 __name__ = PyString_InternFromString("__name__"); in PyFunction_New()
|
D | frameobject.c | 615 builtin_object = PyString_InternFromString("__builtins__"); in _PyFrame_Init()
|
D | complexobject.c | 293 complexstr = PyString_InternFromString("__complex__"); in try_complex_special_method()
|
D | descrobject.c | 618 descr->d_name = PyString_InternFromString(name); in descr_new()
|
/external/python/cpython2/Python/ |
D | _warnings.c | 47 warnings_str = PyString_InternFromString("warnings"); in get_warnings_attr() 650 get_source_name = PyString_InternFromString("get_source"); in warnings_warn_explicit() 655 splitlines_name = PyString_InternFromString("splitlines"); in warnings_warn_explicit() 804 ignore_str = PyString_InternFromString("ignore"); in create_filter() 812 error_str = PyString_InternFromString("error"); in create_filter() 820 default_str = PyString_InternFromString("default"); in create_filter()
|
D | import.c | 2119 s = PyString_InternFromString(name); in PyImport_ImportFrozenModule() 2346 namestr = PyString_InternFromString("__name__"); in get_parent() 2351 pathstr = PyString_InternFromString("__path__"); in get_parent() 2356 pkgstr = PyString_InternFromString("__package__"); in get_parent() 2868 import_str = PyString_InternFromString("__import__"); in PyImport_Import() 2871 builtins_str = PyString_InternFromString("__builtins__"); in PyImport_Import()
|
D | compile.c | 263 __doc__ = PyString_InternFromString("__doc__"); in PyAST_Compile() 1179 module = PyString_InternFromString("<module>"); in compiler_mod() 1419 str = PyString_InternFromString("__name__"); in compiler_class() 1427 str = PyString_InternFromString("__module__"); in compiler_class() 1492 name = PyString_InternFromString("<lambda>"); in compiler_lambda() 2045 assertion_error = PyString_InternFromString("AssertionError"); in compiler_assert()
|
D | symtable.c | 189 ((VAR) ? (VAR) : ((VAR) = PyString_InternFromString(# VAR))) 1487 tmp = PyString_InternFromString(tmpname); in symtable_new_tmpname()
|
D | sysmodule.c | 293 name = PyString_InternFromString(whatnames[i]); in trace_init()
|
/external/python/cpython2/Modules/ |
D | _json.c | 1286 cstr = PyString_InternFromString(constant); in _parse_constant() 1743 s->encoding = PyString_InternFromString(DEFAULT_ENCODING); in scanner_init() 1939 s_null = PyString_InternFromString("null"); in _encoded_const() 1947 s_true = PyString_InternFromString("true"); in _encoded_const() 1955 s_false = PyString_InternFromString("false"); in _encoded_const() 2117 open_dict = PyString_InternFromString("{"); in encoder_listencode_dict() 2118 close_dict = PyString_InternFromString("}"); in encoder_listencode_dict() 2119 empty_dict = PyString_InternFromString("{}"); in encoder_listencode_dict() 2265 open_array = PyString_InternFromString("["); in encoder_listencode_list() 2266 close_array = PyString_InternFromString("]"); in encoder_listencode_list() [all …]
|
D | threadmodule.c | 934 str_dict = PyString_InternFromString("__dict__"); in initthread()
|
D | gcmodule.c | 885 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/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)
|