Home
last modified time | relevance | path

Searched refs:PyUnicode_InternFromString (Results 1 – 25 of 29) sorted by relevance

12

/external/python/cpython3/Objects/
Dboolobject.c18 (true_str = PyUnicode_InternFromString("True")); in bool_repr()
21 (false_str = PyUnicode_InternFromString("False")); in bool_repr()
Dclassobject.c120 docstr= PyUnicode_InternFromString("__doc__"); in method_get_doc()
438 docstr = PyUnicode_InternFromString("__doc__"); in instancemethod_get_doc()
Dfuncobject.c18 __name__ = PyUnicode_InternFromString("__name__"); in PyFunction_NewWithQualName()
Dexceptions.c2924 print_prefix = PyUnicode_InternFromString("print "); in _check_for_legacy_statements()
2937 exec_prefix = PyUnicode_InternFromString("exec "); in _check_for_legacy_statements()
Ddescrobject.c728 descr->d_name = PyUnicode_InternFromString(name); in descr_new()
Dobject.c842 s = PyUnicode_InternFromString(name); in PyObject_SetAttrString()
/external/python/cpython3/Modules/
D_json.c923 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()
D_threadmodule.c1402 str_dict = PyUnicode_InternFromString("__dict__"); in PyInit__thread()
D_ssl.c5328 x509_asn = PyUnicode_InternFromString("x509_asn"); in certEncodingType()
5333 pkcs_7_asn = PyUnicode_InternFromString("pkcs_7_asn"); in certEncodingType()
/external/python/cpython3/Python/
Dast_unparse.c886 !(_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()
Dimport.c689 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()
Dcompile.c310 __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 …]
D_warnings.c1242 modname_obj = PyUnicode_InternFromString(modname); in create_filter()
Dsysmodule.c475 name = PyUnicode_InternFromString(whatnames[i]); in trace_init()
Dsymtable.c207 ((VAR) ? (VAR) : ((VAR) = PyUnicode_InternFromString(# VAR)))
Dast.c3255 str = PyUnicode_InternFromString("*"); in alias_for_import_name()
/external/python/cpython3/Modules/_io/
D_iomodule.c732 !(_PyIO_str_ ## name = PyUnicode_InternFromString(# name))) \ in PyInit__io()
761 !(_PyIO_str_nl = PyUnicode_InternFromString("\n"))) in PyInit__io()
/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c434 context = PyUnicode_InternFromString("_ctypes.DllGetClassObject"); in Call_GetClassObject()
507 context = PyUnicode_InternFromString("_ctypes.DllCanUnloadNow"); in Call_CanUnloadNow()
Dcallproc.c145 error_object_name = PyUnicode_InternFromString("ctypes.error_object"); in _ctypes_get_errobj()
D_ctypes.c1858 suffix = PyUnicode_InternFromString("_le"); in CreateSwappedType()
1860 suffix = PyUnicode_InternFromString("_be"); in CreateSwappedType()
/external/python/cpython3/PC/
Dpython3.def695 PyUnicode_InternFromString=python37.PyUnicode_InternFromString
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc331 PyObject* created_method_name = PyUnicode_InternFromString("created"); in MaybeInvokeCreatedOnEagerTensorProfiler()
/external/python/cpython3/Include/
Dunicodeobject.h1013 PyAPI_FUNC(PyObject *) PyUnicode_InternFromString(
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc49 #define PyString_InternFromString PyUnicode_InternFromString
/external/python/cpython3/Doc/data/
Drefcounts.dat2716 PyUnicode_InternFromString:PyObject*::+1:
2717 PyUnicode_InternFromString:const char*:v::

12