Home
last modified time | relevance | path

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

12

/third_party/python/Objects/
Dboolobject.c18 (true_str = PyUnicode_InternFromString("True")); in bool_repr()
21 (false_str = PyUnicode_InternFromString("False")); in bool_repr()
Dclassobject.c164 docstr= PyUnicode_InternFromString("__doc__"); in method_get_doc()
412 docstr = PyUnicode_InternFromString("__doc__"); in instancemethod_get_doc()
Ddescrobject.c888 descr->d_name = PyUnicode_InternFromString(name); in descr_new()
Dobject.c840 s = PyUnicode_InternFromString(name); in PyObject_SetAttrString()
/third_party/python/Python/
DPython-ast.c273 if ((state->__dict__ = PyUnicode_InternFromString("__dict__")) == NULL) return 0; in init_identifiers()
274 if ((state->__doc__ = PyUnicode_InternFromString("__doc__")) == NULL) return 0; in init_identifiers()
275 if ((state->__match_args__ = PyUnicode_InternFromString("__match_args__")) == NULL) return 0; in init_identifiers()
276 if ((state->__module__ = PyUnicode_InternFromString("__module__")) == NULL) return 0; in init_identifiers()
277 if ((state->_attributes = PyUnicode_InternFromString("_attributes")) == NULL) return 0; in init_identifiers()
278 if ((state->_fields = PyUnicode_InternFromString("_fields")) == NULL) return 0; in init_identifiers()
279 if ((state->annotation = PyUnicode_InternFromString("annotation")) == NULL) return 0; in init_identifiers()
280 if ((state->arg = PyUnicode_InternFromString("arg")) == NULL) return 0; in init_identifiers()
281 if ((state->args = PyUnicode_InternFromString("args")) == NULL) return 0; in init_identifiers()
282 if ((state->argtypes = PyUnicode_InternFromString("argtypes")) == NULL) return 0; in init_identifiers()
[all …]
Dast_unparse.c931 !(_str_open_br = PyUnicode_InternFromString("{"))) { in maybe_init_static_strings()
935 !(_str_dbl_open_br = PyUnicode_InternFromString("{{"))) { in maybe_init_static_strings()
939 !(_str_close_br = PyUnicode_InternFromString("}"))) { in maybe_init_static_strings()
943 !(_str_dbl_close_br = PyUnicode_InternFromString("}}"))) { in maybe_init_static_strings()
Dcompile.c412 __doc__ = PyUnicode_InternFromString("__doc__"); in _PyAST_Compile()
417 __annotations__ = PyUnicode_InternFromString("__annotations__"); in _PyAST_Compile()
1943 module = PyUnicode_InternFromString("<module>"); in compiler_mod()
2217 return_str = PyUnicode_InternFromString("return"); in compiler_visit_annotations()
2460 str = PyUnicode_InternFromString("__name__"); in compiler_class()
2468 str = PyUnicode_InternFromString("__module__"); in compiler_class()
2477 str = PyUnicode_InternFromString("__qualname__"); in compiler_class()
2494 str = PyUnicode_InternFromString("__class__"); in compiler_class()
2509 str = PyUnicode_InternFromString("__classcell__"); in compiler_class()
2778 name = PyUnicode_InternFromString("<lambda>"); in compiler_lambda()
[all …]
Dimport.c490 nameobj = PyUnicode_InternFromString(name); in _PyImport_FixupBuiltin()
1213 nameobj = PyUnicode_InternFromString(name); in PyImport_ImportFrozenModule()
Dsysmodule.c149 PyObject *key = v ? PyUnicode_InternFromString(name) in sys_set_object_str()
938 name = PyUnicode_InternFromString(whatnames[i]); in trace_init()
D_warnings.c64 modname_obj = PyUnicode_InternFromString(modname); in create_filter()
/third_party/python/Modules/_ctypes/
Dcallbacks.c484 context = PyUnicode_InternFromString("_ctypes.DllGetClassObject"); in Call_GetClassObject()
557 context = PyUnicode_InternFromString("_ctypes.DllCanUnloadNow"); in Call_CanUnloadNow()
Dcallproc.c151 error_object_name = PyUnicode_InternFromString("ctypes.error_object"); in _ctypes_get_errobj()
/third_party/python/Modules/_io/
D_iomodule.c781 !(_PyIO_str_ ## name = PyUnicode_InternFromString(# name))) \ in PyInit__io()
811 !(_PyIO_str_nl = PyUnicode_InternFromString("\n"))) in PyInit__io()
/third_party/markupsafe/
D_speedups.c193 id_html = PyUnicode_InternFromString("__html__"); in escape()
/third_party/python/Include/
Dunicodeobject.h264 PyAPI_FUNC(PyObject *) PyUnicode_InternFromString(
/third_party/boost/libs/python/src/object/
Dfunction.cpp654 return PyUnicode_InternFromString("<unnamed Boost.Python function>"); in function_get_name()
/third_party/python/Modules/
D_xxsubinterpretersmodule.c1739 return PyUnicode_InternFromString("send"); in channelid_end()
1742 return PyUnicode_InternFromString("recv"); in channelid_end()
1744 return PyUnicode_InternFromString("both"); in channelid_end()
D_json.c895 cstr = PyUnicode_InternFromString(constant); in _parse_constant()
/third_party/skia/third_party/externals/libwebp/swig/
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()
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c755 #define PyString_InternFromString(key) PyUnicode_InternFromString(key)
5167 return PyUnicode_InternFromString("<Swig global variables>"); in swig_varlink_repr()
5176 PyObject *str = PyUnicode_InternFromString("("); in swig_varlink_str()
5187 tail = PyUnicode_InternFromString(", "); in swig_varlink_str()
5194 tail = PyUnicode_InternFromString(")"); in swig_varlink_str()
/third_party/python/PC/
Dpython3dll.c670 EXPORT_FUNC(PyUnicode_InternFromString)
/third_party/python/Doc/data/
Dstable_abi.dat745 function,PyUnicode_InternFromString,3.2,
/third_party/python/Parser/
Dpegen.c113 PyObject *form = PyUnicode_InternFromString("NFKC"); in _PyPegen_new_identifier()
1667 PyObject *str = PyUnicode_InternFromString("*"); in _PyPegen_alias_for_star()
/third_party/alsa-lib/modules/mixer/simple/
Dpython.c88 return PyUnicode_InternFromString(name); in InternFromString()
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc52 #define PyString_InternFromString PyUnicode_InternFromString

12