Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/python/cpython3/Python/
DPython-ast.c275 if ((state->__dict__ = PyUnicode_InternFromString("__dict__")) == NULL) return 0; in init_identifiers()
276 if ((state->__doc__ = PyUnicode_InternFromString("__doc__")) == NULL) return 0; in init_identifiers()
277 if ((state->__match_args__ = PyUnicode_InternFromString("__match_args__")) == NULL) return 0; in init_identifiers()
278 if ((state->__module__ = PyUnicode_InternFromString("__module__")) == NULL) return 0; in init_identifiers()
279 if ((state->_attributes = PyUnicode_InternFromString("_attributes")) == NULL) return 0; in init_identifiers()
280 if ((state->_fields = PyUnicode_InternFromString("_fields")) == NULL) return 0; in init_identifiers()
281 if ((state->annotation = PyUnicode_InternFromString("annotation")) == NULL) return 0; in init_identifiers()
282 if ((state->arg = PyUnicode_InternFromString("arg")) == NULL) return 0; in init_identifiers()
283 if ((state->args = PyUnicode_InternFromString("args")) == NULL) return 0; in init_identifiers()
284 if ((state->argtypes = PyUnicode_InternFromString("argtypes")) == NULL) return 0; in init_identifiers()
[all …]
Dimport.c481 nameobj = PyUnicode_InternFromString(name); in _PyImport_FixupBuiltin()
1432 nameobj = PyUnicode_InternFromString(name); in PyImport_ImportFrozenModule()
/aosp_15_r20/external/pytorch/torch/csrc/dynamo/
H A Dpython_compiled_autograd.cpp414 static PyObject* method_name = PyUnicode_InternFromString("begin_capture"); in call_begin_capture()
446 static PyObject* method_name = PyUnicode_InternFromString("end_capture"); in call_end_capture()
458 static PyObject* method_name = PyUnicode_InternFromString("close"); in ~ClosingTHPObjectPtr()
/aosp_15_r20/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c484 context = PyUnicode_InternFromString("_ctypes.DllGetClassObject"); in Call_GetClassObject()
557 context = PyUnicode_InternFromString("_ctypes.DllCanUnloadNow"); in Call_CanUnloadNow()
/aosp_15_r20/external/python/cpython3/Modules/_sqlite/
Dutil.c99 name = PyUnicode_InternFromString("unknown"); in raise_exception()
Dmodule.c664 PyObject *tmp = PyUnicode_InternFromString(#string); \
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/
H A Dpython_tensor_converter.cc29 #define PY_STRING_INTERN_FROM_STRING(x) (PyUnicode_InternFromString(x))
H A Dpython_tensor_converter_wrapper.cc32 #define PY_STRING_INTERN_FROM_STRING(x) (PyUnicode_InternFromString(x))
H A Dpython_api_parameter_converter.cc32 #define PY_STRING_INTERN_FROM_STRING(x) (PyUnicode_InternFromString(x))
H A Dpython_api_info.cc42 #define PY_STRING_INTERN_FROM_STRING(x) (PyUnicode_InternFromString(x))
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dpython_strings.h70 return PyUnicode_InternFromString(str.c_str()); in THPUtils_internString()
/aosp_15_r20/external/tensorflow/tensorflow/python/util/
H A Dfunction_parameter_canonicalizer.cc37 return PyUnicode_InternFromString(str); in PyUnicodeInternFromStringCompat()
/aosp_15_r20/external/python/cpython3/Modules/
D_bisectmodule.c315 state->str_insert = PyUnicode_InternFromString("insert"); in bisect_modexec()
D_xxsubinterpretersmodule.c1743 return PyUnicode_InternFromString("send"); in channelid_end()
1746 return PyUnicode_InternFromString("recv"); in channelid_end()
1748 return PyUnicode_InternFromString("both"); in channelid_end()
D_ssl.c5355 x509_asn = PyUnicode_InternFromString("x509_asn"); in certEncodingType()
5360 pkcs_7_asn = PyUnicode_InternFromString("pkcs_7_asn"); in certEncodingType()
6196 state->str_library = PyUnicode_InternFromString("library"); in sslmodule_init_strings()
6200 state->str_reason = PyUnicode_InternFromString("reason"); in sslmodule_init_strings()
6204 state->str_verify_message = PyUnicode_InternFromString("verify_message"); in sslmodule_init_strings()
6208 state->str_verify_code = PyUnicode_InternFromString("verify_code"); in sslmodule_init_strings()
/aosp_15_r20/external/python/markupsafe/src/markupsafe/
D_speedups.c193 id_html = PyUnicode_InternFromString("__html__"); in escape()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dunicodeobject.h264 PyAPI_FUNC(PyObject *) PyUnicode_InternFromString(
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dunicodeobject.h264 PyAPI_FUNC(PyObject *) PyUnicode_InternFromString(
/aosp_15_r20/external/python/cpython3/Include/
Dunicodeobject.h264 PyAPI_FUNC(PyObject *) PyUnicode_InternFromString(
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dunicodeobject.h264 PyAPI_FUNC(PyObject *) PyUnicode_InternFromString(
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dunicodeobject.h264 PyAPI_FUNC(PyObject *) PyUnicode_InternFromString(
/aosp_15_r20/external/cronet/third_party/protobuf/python/google/protobuf/pyext/
H A Ddescriptor.cc638 return PyUnicode_InternFromString( in GetSyntax()
1452 return PyUnicode_InternFromString( in GetSyntax()
/aosp_15_r20/external/protobuf/python/google/protobuf/pyext/
H A Ddescriptor.cc638 return PyUnicode_InternFromString( in GetSyntax()
1452 return PyUnicode_InternFromString( in GetSyntax()
/aosp_15_r20/external/webp/swig/
H A Dlibwebp_python_wrap.c759 #define PyString_InternFromString(key) PyUnicode_InternFromString(key)
5204 return PyUnicode_InternFromString("<Swig global variables>"); in swig_varlink_repr()
5213 PyObject *str = PyUnicode_InternFromString("("); in swig_varlink_str()
5224 tail = PyUnicode_InternFromString(", "); in swig_varlink_str()
5231 tail = PyUnicode_InternFromString(")"); in swig_varlink_str()
/aosp_15_r20/external/pytorch/torch/csrc/autograd/
H A Dpython_function.cpp292 PyUnicode_InternFromString("_compiled_autograd_should_lift"); in compiled_autograd_should_lift()
299 PyUnicode_InternFromString("_compiled_autograd_key"); in compiled_args()

123