Home
last modified time | relevance | path

Searched refs:_PyUnicode_FromId (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Objects/
Dstructseq.c426 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()
Dobject.c871 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()
Ddictobject.c1394 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()
Dtypeobject.c505 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()
Dunicodeobject.c2138 _PyUnicode_FromId(_Py_Identifier *id) in _PyUnicode_FromId() function
11116 right_uni = _PyUnicode_FromId(right); /* borrowed */ in _PyUnicode_EqualToASCIIId()
/external/python/cpython3/Python/
Dpythonrun.c187 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()
D_warnings.c60 warnings_str = _PyUnicode_FromId(&PyId_warnings); in get_warnings_attr()
1235 PyObject *action_str = _PyUnicode_FromId(id); in create_filter()
Dcompile.c576 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()
Dceval.c1908 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()
Dimport.c330 PyObject *name = _PyUnicode_FromId(nameid); /* borrowed */ in _PyImport_GetModuleId()
DPython-ast.c673 _PyUnicode_FromId(&PyId__fields), fnames, in make_type()
674 _PyUnicode_FromId(&PyId___module__), in make_type()
675 _PyUnicode_FromId(&PyId__ast)); in make_type()
Dast.c646 PyObject *form = _PyUnicode_FromId(&PyId_NFKC); in new_identifier()
/external/python/cpython3/Modules/
D_asynciomodule.c1264 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()
D_pickle.c1656 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()
/external/python/cpython3/Modules/_io/
Dtextio.c255 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()
/external/python/cpython3/Include/
Dunicodeobject.h2322 PyAPI_FUNC(PyObject*) _PyUnicode_FromId(_Py_Identifier*);