Searched refs:PyUnicode_InternFromString (Results 1 – 25 of 29) sorted by relevance
12
18 (true_str = PyUnicode_InternFromString("True")); in bool_repr()21 (false_str = PyUnicode_InternFromString("False")); in bool_repr()
120 docstr= PyUnicode_InternFromString("__doc__"); in method_get_doc()438 docstr = PyUnicode_InternFromString("__doc__"); in instancemethod_get_doc()
18 __name__ = PyUnicode_InternFromString("__name__"); in PyFunction_NewWithQualName()
2924 print_prefix = PyUnicode_InternFromString("print "); in _check_for_legacy_statements()2937 exec_prefix = PyUnicode_InternFromString("exec "); in _check_for_legacy_statements()
728 descr->d_name = PyUnicode_InternFromString(name); in descr_new()
842 s = PyUnicode_InternFromString(name); in PyObject_SetAttrString()
923 cstr = PyUnicode_InternFromString(constant); in _parse_constant()1375 s_null = PyUnicode_InternFromString("null"); in _encoded_const()1383 s_true = PyUnicode_InternFromString("true"); in _encoded_const()1391 s_false = PyUnicode_InternFromString("false"); in _encoded_const()1569 open_dict = PyUnicode_InternFromString("{"); in encoder_listencode_dict()1570 close_dict = PyUnicode_InternFromString("}"); in encoder_listencode_dict()1571 empty_dict = PyUnicode_InternFromString("{}"); in encoder_listencode_dict()1723 open_array = PyUnicode_InternFromString("["); in encoder_listencode_list()1724 close_array = PyUnicode_InternFromString("]"); in encoder_listencode_list()1725 empty_array = PyUnicode_InternFromString("[]"); in encoder_listencode_list()
1402 str_dict = PyUnicode_InternFromString("__dict__"); in PyInit__thread()
5328 x509_asn = PyUnicode_InternFromString("x509_asn"); in certEncodingType()5333 pkcs_7_asn = PyUnicode_InternFromString("pkcs_7_asn"); in certEncodingType()
886 !(_str_open_br = PyUnicode_InternFromString("{"))) { in maybe_init_static_strings()890 !(_str_dbl_open_br = PyUnicode_InternFromString("{{"))) { in maybe_init_static_strings()894 !(_str_close_br = PyUnicode_InternFromString("}"))) { in maybe_init_static_strings()898 !(_str_dbl_close_br = PyUnicode_InternFromString("}}"))) { in maybe_init_static_strings()
689 nameobj = PyUnicode_InternFromString(name); in _PyImport_FixupBuiltin()759 nameobj = PyUnicode_InternFromString(name); in _PyImport_FindBuiltin()1369 nameobj = PyUnicode_InternFromString(name); in PyImport_ImportFrozenModule()1892 import_str = PyUnicode_InternFromString("__import__"); in PyImport_Import()1895 builtins_str = PyUnicode_InternFromString("__builtins__"); in PyImport_Import()
310 __doc__ = PyUnicode_InternFromString("__doc__"); in PyAST_CompileObject()315 __annotations__ = PyUnicode_InternFromString("__annotations__"); in PyAST_CompileObject()1518 module = PyUnicode_InternFromString("<module>"); in compiler_mod()1809 return_str = PyUnicode_InternFromString("return"); in compiler_visit_annotations()1997 str = PyUnicode_InternFromString("__name__"); in compiler_class()2005 str = PyUnicode_InternFromString("__module__"); in compiler_class()2014 str = PyUnicode_InternFromString("__qualname__"); in compiler_class()2029 str = PyUnicode_InternFromString("__class__"); in compiler_class()2044 str = PyUnicode_InternFromString("__classcell__"); in compiler_class()2251 name = PyUnicode_InternFromString("<lambda>"); in compiler_lambda()[all …]
1242 modname_obj = PyUnicode_InternFromString(modname); in create_filter()
475 name = PyUnicode_InternFromString(whatnames[i]); in trace_init()
207 ((VAR) ? (VAR) : ((VAR) = PyUnicode_InternFromString(# VAR)))
3255 str = PyUnicode_InternFromString("*"); in alias_for_import_name()
732 !(_PyIO_str_ ## name = PyUnicode_InternFromString(# name))) \ in PyInit__io()761 !(_PyIO_str_nl = PyUnicode_InternFromString("\n"))) in PyInit__io()
434 context = PyUnicode_InternFromString("_ctypes.DllGetClassObject"); in Call_GetClassObject()507 context = PyUnicode_InternFromString("_ctypes.DllCanUnloadNow"); in Call_CanUnloadNow()
145 error_object_name = PyUnicode_InternFromString("ctypes.error_object"); in _ctypes_get_errobj()
1858 suffix = PyUnicode_InternFromString("_le"); in CreateSwappedType()1860 suffix = PyUnicode_InternFromString("_be"); in CreateSwappedType()
695 PyUnicode_InternFromString=python37.PyUnicode_InternFromString
331 PyObject* created_method_name = PyUnicode_InternFromString("created"); in MaybeInvokeCreatedOnEagerTensorProfiler()
1013 PyAPI_FUNC(PyObject *) PyUnicode_InternFromString(
49 #define PyString_InternFromString PyUnicode_InternFromString
2716 PyUnicode_InternFromString:PyObject*::+1:2717 PyUnicode_InternFromString:const char*:v::