/external/python/cpython3/Objects/ |
D | boolobject.c | 18 (true_str = PyUnicode_InternFromString("True")); in bool_repr() 21 (false_str = PyUnicode_InternFromString("False")); in bool_repr()
|
D | classobject.c | 164 docstr= PyUnicode_InternFromString("__doc__"); in method_get_doc() 412 docstr = PyUnicode_InternFromString("__doc__"); in instancemethod_get_doc()
|
D | funcobject.c | 18 __name__ = PyUnicode_InternFromString("__name__"); in PyFunction_NewWithQualName()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 475 if ((state->__dict__ = PyUnicode_InternFromString("__dict__")) == NULL) return 0; in init_identifiers() 476 if ((state->__doc__ = PyUnicode_InternFromString("__doc__")) == NULL) return 0; in init_identifiers() 477 if ((state->__module__ = PyUnicode_InternFromString("__module__")) == NULL) return 0; in init_identifiers() 478 if ((state->_attributes = PyUnicode_InternFromString("_attributes")) == NULL) return 0; in init_identifiers() 479 if ((state->_fields = PyUnicode_InternFromString("_fields")) == NULL) return 0; in init_identifiers() 480 if ((state->annotation = PyUnicode_InternFromString("annotation")) == NULL) return 0; in init_identifiers() 481 if ((state->arg = PyUnicode_InternFromString("arg")) == NULL) return 0; in init_identifiers() 482 if ((state->args = PyUnicode_InternFromString("args")) == NULL) return 0; in init_identifiers() 483 if ((state->argtypes = PyUnicode_InternFromString("argtypes")) == NULL) return 0; in init_identifiers() 484 if ((state->asname = PyUnicode_InternFromString("asname")) == NULL) return 0; in init_identifiers() [all …]
|
D | ast_unparse.c | 926 !(_str_open_br = PyUnicode_InternFromString("{"))) { in maybe_init_static_strings() 930 !(_str_dbl_open_br = PyUnicode_InternFromString("{{"))) { in maybe_init_static_strings() 934 !(_str_close_br = PyUnicode_InternFromString("}"))) { in maybe_init_static_strings() 938 !(_str_dbl_close_br = PyUnicode_InternFromString("}}"))) { in maybe_init_static_strings()
|
D | import.c | 754 nameobj = PyUnicode_InternFromString(name); in _PyImport_FixupBuiltin() 833 nameobj = PyUnicode_InternFromString(name); in _PyImport_FindBuiltin() 1467 nameobj = PyUnicode_InternFromString(name); in PyImport_ImportFrozenModule() 2028 import_str = PyUnicode_InternFromString("__import__"); in PyImport_Import() 2031 builtins_str = PyUnicode_InternFromString("__builtins__"); in PyImport_Import()
|
D | compile.c | 327 __doc__ = PyUnicode_InternFromString("__doc__"); in PyAST_CompileObject() 332 __annotations__ = PyUnicode_InternFromString("__annotations__"); in PyAST_CompileObject() 1825 module = PyUnicode_InternFromString("<module>"); in compiler_mod() 2098 return_str = PyUnicode_InternFromString("return"); in compiler_visit_annotations() 2341 str = PyUnicode_InternFromString("__name__"); in compiler_class() 2349 str = PyUnicode_InternFromString("__module__"); in compiler_class() 2358 str = PyUnicode_InternFromString("__qualname__"); in compiler_class() 2373 str = PyUnicode_InternFromString("__class__"); in compiler_class() 2388 str = PyUnicode_InternFromString("__classcell__"); in compiler_class() 2654 name = PyUnicode_InternFromString("<lambda>"); in compiler_lambda() [all …]
|
D | _warnings.c | 66 modname_obj = PyUnicode_InternFromString(modname); in create_filter()
|
/external/python/cpython3/Modules/ |
D | _json.c | 892 cstr = PyUnicode_InternFromString(constant); in _parse_constant() 1313 s_null = PyUnicode_InternFromString("null"); in _encoded_const() 1321 s_true = PyUnicode_InternFromString("true"); in _encoded_const() 1329 s_false = PyUnicode_InternFromString("false"); in _encoded_const() 1507 open_dict = PyUnicode_InternFromString("{"); in encoder_listencode_dict() 1508 close_dict = PyUnicode_InternFromString("}"); in encoder_listencode_dict() 1509 empty_dict = PyUnicode_InternFromString("{}"); in encoder_listencode_dict() 1661 open_array = PyUnicode_InternFromString("["); in encoder_listencode_list() 1662 close_array = PyUnicode_InternFromString("]"); in encoder_listencode_list() 1663 empty_array = PyUnicode_InternFromString("[]"); in encoder_listencode_list()
|
D | _posixsubprocess.c | 1014 get_posixsubprocess_state(m)->disable = PyUnicode_InternFromString("disable"); in PyInit__posixsubprocess() 1015 get_posixsubprocess_state(m)->enable = PyUnicode_InternFromString("enable"); in PyInit__posixsubprocess() 1016 get_posixsubprocess_state(m)->isenabled = PyUnicode_InternFromString("isenabled"); in PyInit__posixsubprocess()
|
D | _xxsubinterpretersmodule.c | 1739 return PyUnicode_InternFromString("send"); in channelid_end() 1742 return PyUnicode_InternFromString("recv"); in channelid_end() 1744 return PyUnicode_InternFromString("both"); in channelid_end()
|
D | _threadmodule.c | 1624 str_dict = PyUnicode_InternFromString("__dict__"); in PyInit__thread()
|
/external/tensorflow/tensorflow/python/framework/ |
D | python_tensor_converter.cc | 29 #define PY_STRING_INTERN_FROM_STRING(x) (PyUnicode_InternFromString(x))
|
D | python_tensor_converter_wrapper.cc | 32 #define PY_STRING_INTERN_FROM_STRING(x) (PyUnicode_InternFromString(x))
|
D | python_api_dispatcher.cc | 43 static PyObject* attr = PyUnicode_InternFromString("__tf_dispatch__"); in GetAttr_TFDispatch()
|
D | python_api_parameter_converter.cc | 32 #define PY_STRING_INTERN_FROM_STRING(x) (PyUnicode_InternFromString(x))
|
D | python_api_info.cc | 42 #define PY_STRING_INTERN_FROM_STRING(x) (PyUnicode_InternFromString(x))
|
/external/tensorflow/tensorflow/python/util/ |
D | function_parameter_canonicalizer.cc | 36 return PyUnicode_InternFromString(str); in PyUnicodeInternFromStringCompat()
|
/external/python/cpython3/Modules/_ctypes/ |
D | callbacks.c | 483 context = PyUnicode_InternFromString("_ctypes.DllGetClassObject"); in Call_GetClassObject() 556 context = PyUnicode_InternFromString("_ctypes.DllCanUnloadNow"); in Call_CanUnloadNow()
|
/external/python/cpython3/Modules/_io/ |
D | _iomodule.c | 766 !(_PyIO_str_ ## name = PyUnicode_InternFromString(# name))) \ in PyInit__io() 795 !(_PyIO_str_nl = PyUnicode_InternFromString("\n"))) in PyInit__io()
|
/external/python/markupsafe/src/markupsafe/ |
D | _speedups.c | 193 id_html = PyUnicode_InternFromString("__html__"); in escape()
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 265 PyAPI_FUNC(PyObject *) PyUnicode_InternFromString(
|
/external/python/cpython3/PC/ |
D | python3.def | 695 PyUnicode_InternFromString=python39.PyUnicode_InternFromString
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tensor.cc | 413 PyObject* created_method_name = PyUnicode_InternFromString("created"); in MaybeInvokeCreatedOnEagerTensorProfiler()
|
/external/python/cpython3/Parser/pegen/ |
D | pegen.c | 99 PyObject *form = PyUnicode_InternFromString("NFKC"); in _PyPegen_new_identifier() 1438 PyObject *str = PyUnicode_InternFromString("*"); in _PyPegen_alias_for_star()
|