Searched refs:_PyUnicode_FromId (Results 1 – 16 of 16) sorted by relevance
426 if (_PyUnicode_FromId(&PyId_n_sequence_fields) == NULL in _PyStructSequence_Init()427 || _PyUnicode_FromId(&PyId_n_fields) == NULL in _PyStructSequence_Init()428 || _PyUnicode_FromId(&PyId_n_unnamed_fields) == NULL) in _PyStructSequence_Init()
871 PyObject *oname = _PyUnicode_FromId(name); /* borrowed */ in _PyObject_GetAttrId()882 PyObject *oname = _PyUnicode_FromId(name); /* borrowed */ in _PyObject_HasAttrId()893 PyObject *oname = _PyUnicode_FromId(name); /* borrowed */ in _PyObject_SetAttrId()977 PyObject *oname = _PyUnicode_FromId(name); /* borrowed */ in _PyObject_LookupAttrId()1087 mod_name = _PyUnicode_FromId(&PyId_builtins); /* borrowed */ in _PyObject_GetBuiltin()
1394 kv = _PyUnicode_FromId(key); /* borrowed */ in _PyDict_GetItemIdWithError()3248 kv = _PyUnicode_FromId(key); /* borrowed */ in _PyDict_GetItemId()3276 kv = _PyUnicode_FromId(key); /* borrowed */ in _PyDict_SetItemId()3299 PyObject *kv = _PyUnicode_FromId(key); /* borrowed */ in _PyDict_DelItemId()
505 mod = _PyUnicode_FromId(&PyId_builtins); in type_module()532 PyObject *message = _PyUnicode_FromId(&PyId___abstractmethods__); in type_abstractmethods()559 PyObject *message = _PyUnicode_FromId(&PyId___abstractmethods__); in type_set_abstractmethods()3134 oname = _PyUnicode_FromId(name); /* borrowed */ in _PyType_LookupId()3713 comma = _PyUnicode_FromId(&comma_id); in object_new()4035 copyreg_str = _PyUnicode_FromId(&PyId_copyreg); in import_copyreg()
2138 _PyUnicode_FromId(_Py_Identifier *id) in _PyUnicode_FromId() function11116 right_uni = _PyUnicode_FromId(right); /* borrowed */ in _PyUnicode_EqualToASCIIId()
187 mod_name = _PyUnicode_FromId(&PyId___main__); /* borrowed */ in PyRun_InteractiveOneObjectEx()489 *filename = _PyUnicode_FromId(&PyId_string); in parse_syntax_error()949 filename = _PyUnicode_FromId(&PyId_string); /* borrowed */ in PyRun_StringFlags()
60 warnings_str = _PyUnicode_FromId(&PyId_warnings); in get_warnings_attr()1235 PyObject *action_str = _PyUnicode_FromId(id); in create_filter()
576 name = _PyUnicode_FromId(&PyId___class__); in compiler_enter_scope()712 dot_locals_str = _PyUnicode_FromId(&dot_locals); in compiler_set_qualname()727 dot_str = _PyUnicode_FromId(&dot); in compiler_set_qualname()2374 PyObject *stop_aiter_error = _PyUnicode_FromId(&PyId_StopAsyncIteration); in compiler_async_for()3917 PyObject *stop_aiter_error = _PyUnicode_FromId(&PyId_StopAsyncIteration); in compiler_async_comprehension_generator()
1908 PyObject *build_class_str = _PyUnicode_FromId(&PyId___build_class__); in _PyEval_EvalFrameDefault()2418 PyObject *ann_str = _PyUnicode_FromId(&PyId___annotations__); in _PyEval_EvalFrameDefault()4431 PyErr_SetObject(PyExc_AttributeError, _PyUnicode_FromId(name)); in _PyEval_GetBuiltinId()
330 PyObject *name = _PyUnicode_FromId(nameid); /* borrowed */ in _PyImport_GetModuleId()
673 _PyUnicode_FromId(&PyId__fields), fnames, in make_type()674 _PyUnicode_FromId(&PyId___module__), in make_type()675 _PyUnicode_FromId(&PyId__ast)); in make_type()
646 PyObject *form = _PyUnicode_FromId(&PyId_NFKC); in new_identifier()
1264 ret = _PyUnicode_FromId(&PyId_PENDING); in FutureObj_get_state()1267 ret = _PyUnicode_FromId(&PyId_CANCELLED); in FutureObj_get_state()1270 ret = _PyUnicode_FromId(&PyId_FINISHED); in FutureObj_get_state()
1656 dotted_path = PyUnicode_Split(name, _PyUnicode_FromId(&PyId_dot), -1); in get_dotted_path()1820 module_name = _PyUnicode_FromId(&PyId___main__); in whichmodule()2233 _PyUnicode_FromId(&PyId_latin1)); in save_bytes()
255 self->errors = _PyUnicode_FromId(&PyId_strict); in _io_IncrementalNewlineDecoder___init___impl()1037 errors = _PyUnicode_FromId(&PyId_strict); /* borrowed */ in _io_TextIOWrapper___init___impl()1255 errors = _PyUnicode_FromId(&PyId_strict); in textiowrapper_change_encoding()
2322 PyAPI_FUNC(PyObject*) _PyUnicode_FromId(_Py_Identifier*);