Home
last modified time | relevance | path

Searched refs:PyErr_Format (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc184 PyErr_Format(PyExc_KeyError, "Couldn't find message %.200s", name); in FindMessageByName()
213 PyErr_Format(PyExc_TypeError, "No message class registered for '%s'", in GetMessageClass()
231 PyErr_Format(PyExc_KeyError, "Couldn't find file %.200s", in FindFileByName()
249 PyErr_Format(PyExc_KeyError, "Couldn't find field %.200s", in FindFieldByName()
267 PyErr_Format(PyExc_KeyError, "Couldn't find extension field %.200s", name); in FindExtensionByName()
284 PyErr_Format(PyExc_KeyError, "Couldn't find enum %.200s", name); in FindEnumTypeByName()
301 PyErr_Format(PyExc_KeyError, "Couldn't find oneof %.200s", name); in FindOneofByName()
318 PyErr_Format(PyExc_KeyError, "Couldn't find symbol %.200s", name); in FindFileContainingSymbol()
342 PyErr_Format(PyExc_ValueError, in AddFileDescriptor()
358 PyErr_Format(PyExc_ValueError, in AddDescriptor()
[all …]
Dmap_container.cc170 PyErr_Format( in PythonToMapKey()
194 PyErr_Format( in MapKeyToPython()
225 PyErr_Format( in MapValueRefToPython()
295 PyErr_Format(PyExc_ValueError, "Unknown enum value: %d", value); in PythonToMapValueRef()
302 PyErr_Format( in PythonToMapValueRef()
410 return PyErr_Format(PyExc_RuntimeError, in NewScalarMapContainer()
429 return PyErr_Format(PyExc_KeyError, in NewScalarMapContainer()
487 PyErr_Format(PyExc_KeyError, "Key not present in map"); in ScalarMapSetItem()
653 return PyErr_Format(PyExc_RuntimeError, in NewMessageMapContainer()
672 return PyErr_Format(PyExc_RuntimeError, in NewMessageMapContainer()
[all …]
Drepeated_scalar_container.cc99 PyErr_Format(PyExc_IndexError, in AssignItem()
174 PyErr_Format(PyExc_ValueError, "Unknown enum value: %s", in AssignItem()
183 PyErr_Format( in AssignItem()
201 PyErr_Format(PyExc_IndexError, in Item()
281 PyErr_Format( in Item()
416 PyErr_Format(PyExc_ValueError, "Unknown enum value: %s", in Append()
425 PyErr_Format( in Append()
594 PyErr_Format( in Reduce()
648 PyErr_Format(PyExc_IndexError, in Pop()
Dmessage.cc242 PyErr_Format(PyExc_TypeError, "Expected a message Descriptor, got %s", in New()
395 PyErr_Format(PyExc_TypeError, "Class %s is not a Message", cls->tp_name); in CheckMessageClass()
539 PyErr_Format(PyExc_TypeError, in FormatTypeError()
569 PyErr_Format(PyExc_ValueError, in CheckAndGetInteger()
665 PyErr_Format(PyExc_ValueError, in CheckAndGetInteger()
747 PyErr_Format(PyExc_KeyError, "Field '%s' does not belong to message '%s'", in CheckAndGetInteger()
974 PyErr_Format(PyExc_IndexError, "list assignment index out of range"); in CheckAndGetInteger()
1059 PyErr_Format(PyExc_ValueError, "Protocol message %s has no \"%s\" field.", in CheckAndGetInteger()
1377 PyErr_Format(PyExc_ValueError, in CheckAndGetInteger()
1386 PyErr_Format(PyExc_ValueError, in CheckAndGetInteger()
[all …]
/external/python/cpython3/Objects/
Dmoduleobject.c194 PyErr_Format( in _PyModule_CreateInitialized()
271 PyErr_Format( in PyModule_FromDefAndSpec2()
281 PyErr_Format( in PyModule_FromDefAndSpec2()
289 PyErr_Format( in PyModule_FromDefAndSpec2()
303 PyErr_Format( in PyModule_FromDefAndSpec2()
311 PyErr_Format(PyExc_SystemError, in PyModule_FromDefAndSpec2()
329 PyErr_Format( in PyModule_FromDefAndSpec2()
336 PyErr_Format( in PyModule_FromDefAndSpec2()
417 PyErr_Format( in PyModule_ExecDef()
425 PyErr_Format( in PyModule_ExecDef()
[all …]
Ddescrobject.c78 PyErr_Format(PyExc_TypeError, in descr_check()
99 PyErr_Format(PyExc_TypeError, in classmethod_get()
108 PyErr_Format(PyExc_TypeError, in classmethod_get()
117 PyErr_Format(PyExc_TypeError, in classmethod_get()
157 PyErr_Format(PyExc_AttributeError, in getset_get()
180 PyErr_Format(PyExc_TypeError, in descr_setcheck()
212 PyErr_Format(PyExc_AttributeError, in getset_set()
229 PyErr_Format(PyExc_TypeError, in methoddescr_call()
239 PyErr_Format(PyExc_TypeError, in methoddescr_call()
268 PyErr_Format(PyExc_TypeError, in _PyMethodDescr_FastCallKeywords()
[all …]
Dobject.c389 PyErr_Format(PyExc_TypeError, in PyObject_Print()
515 PyErr_Format(PyExc_TypeError, in PyObject_Repr()
569 PyErr_Format(PyExc_TypeError, in PyObject_Str()
630 PyErr_Format(PyExc_TypeError, in PyObject_Bytes()
718 PyErr_Format(PyExc_TypeError, in do_richcompare()
781 PyErr_Format(PyExc_TypeError, "unhashable type: '%.200s'", in PyObject_HashNotImplemented()
906 PyErr_Format(PyExc_TypeError, in PyObject_GetAttr()
919 PyErr_Format(PyExc_AttributeError, in PyObject_GetAttr()
931 PyErr_Format(PyExc_TypeError, in _PyObject_LookupAttr()
1007 PyErr_Format(PyExc_TypeError, in PyObject_SetAttr()
[all …]
Dcall.c42 PyErr_Format(PyExc_SystemError, in _Py_CheckFunctionResult()
46 PyErr_Format(PyExc_SystemError, in _Py_CheckFunctionResult()
110 PyErr_Format(PyExc_TypeError, "'%.200s' object is not callable", in _PyObject_FastCallDict()
172 PyErr_Format(PyExc_TypeError, "'%.200s' object is not callable", in _PyObject_FastCallKeywords()
237 PyErr_Format(PyExc_TypeError, "'%.200s' object is not callable", in PyObject_Call()
476 PyErr_Format(PyExc_TypeError, in _PyMethodDef_RawFastCallDict()
491 PyErr_Format(PyExc_TypeError, in _PyMethodDef_RawFastCallDict()
562 PyErr_Format(PyExc_TypeError, in _PyMethodDef_RawFastCallDict()
623 PyErr_Format(PyExc_TypeError, in _PyMethodDef_RawFastCallKeywords()
638 PyErr_Format(PyExc_TypeError, in _PyMethodDef_RawFastCallKeywords()
[all …]
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dinterpreter_wrapper.cc36 PyErr_Format(PyExc_ValueError, \
161 PyErr_Format(PyExc_ValueError, "Shape should be 1D instead of %d.", in ResizeInputTensor()
167 PyErr_Format(PyExc_ValueError, "Shape must be type int32 (was %d).", in ResizeInputTensor()
201 PyErr_Format(PyExc_ValueError, "Tensor with no type found."); in TensorType()
207 PyErr_Format(PyExc_ValueError, "Invalid tflite type code %d", code); in TensorType()
219 PyErr_Format(PyExc_ValueError, "Tensor with no shape found."); in TensorSize()
251 PyErr_Format(PyExc_ValueError, in SetTensor()
260 PyErr_Format(PyExc_ValueError, in SetTensor()
270 PyErr_Format(PyExc_ValueError, in SetTensor()
282 PyErr_Format(PyExc_ValueError, in SetTensor()
[all …]
/external/python/cpython2/Modules/_io/
Dstringio.c235 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in stringio_read()
305 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in stringio_readline()
329 PyErr_Format(PyExc_IOError, in stringio_iternext()
377 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in stringio_truncate()
383 PyErr_Format(PyExc_ValueError, in stringio_truncate()
424 PyErr_Format(PyExc_ValueError, in stringio_seek()
429 PyErr_Format(PyExc_ValueError, in stringio_seek()
467 PyErr_Format(PyExc_TypeError, "unicode argument expected, got '%s'", in stringio_write()
568 PyErr_Format(PyExc_ValueError, in stringio_init()
573 PyErr_Format(PyExc_TypeError, in stringio_init()
[all …]
Dbytesio.c249 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in bytesio_read()
318 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in bytesio_readline()
364 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in bytesio_readlines()
456 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in bytesio_truncate()
462 PyErr_Format(PyExc_ValueError, in bytesio_truncate()
518 PyErr_Format(PyExc_ValueError, in bytesio_seek()
543 PyErr_Format(PyExc_ValueError, in bytesio_seek()
684 PyErr_Format(PyExc_TypeError, in bytesio_setstate()
706 PyErr_Format(PyExc_TypeError, in bytesio_setstate()
725 PyErr_Format(PyExc_TypeError, in bytesio_setstate()
/external/python/cpython3/Python/
Dimportdl.c164 PyErr_Format( in _PyImport_LoadDynamicModuleWithSpec()
172 PyErr_Format( in _PyImport_LoadDynamicModuleWithSpec()
183 PyErr_Format(PyExc_SystemError, in _PyImport_LoadDynamicModuleWithSpec()
200 PyErr_Format( in _PyImport_LoadDynamicModuleWithSpec()
210 PyErr_Format(PyExc_SystemError, in _PyImport_LoadDynamicModuleWithSpec()
Dgetargs.c343 PyErr_Format(PyExc_TypeError, in vgetargs1_impl()
351 PyErr_Format(PyExc_TypeError, in vgetargs1_impl()
373 PyErr_Format(PyExc_TypeError, in vgetargs1_impl()
402 PyErr_Format(PyExc_SystemError, in vgetargs1_impl()
1204 PyErr_Format(PyExc_ValueError, in convertsimple()
1661 PyErr_Format(PyExc_TypeError, in vgetargskeywords()
1713 PyErr_Format(PyExc_TypeError, in vgetargskeywords()
1719 PyErr_Format(PyExc_TypeError, in vgetargskeywords()
1731 PyErr_Format(PyExc_SystemError, in vgetargskeywords()
1770 PyErr_Format(PyExc_TypeError, "%.200s%s missing required " in vgetargskeywords()
[all …]
/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibration_wrapper.cc84 PyErr_Format(PyExc_ValueError, in FeedTensor()
92 PyErr_Format(PyExc_ValueError, in FeedTensor()
128 PyErr_Format(PyExc_ValueError, in SetTensor()
152 PyErr_Format(PyExc_ValueError, in SetTensor()
192 PyErr_Format(PyExc_ValueError, "Invalid model"); in CreateWrapperCPPFromBuffer()
/external/python/cpython3/Modules/_io/
Dstringio.c413 PyErr_Format(PyExc_OSError, in stringio_iternext()
453 PyErr_Format(PyExc_ValueError, in _io_StringIO_truncate_impl()
491 PyErr_Format(PyExc_ValueError, in _io_StringIO_seek_impl()
496 PyErr_Format(PyExc_ValueError, in _io_StringIO_seek_impl()
540 PyErr_Format(PyExc_TypeError, "string argument expected, got '%s'", in _io_StringIO_write()
662 PyErr_Format(PyExc_TypeError, in _io_StringIO___init___impl()
676 PyErr_Format(PyExc_ValueError, in _io_StringIO___init___impl()
681 PyErr_Format(PyExc_TypeError, in _io_StringIO___init___impl()
857 PyErr_Format(PyExc_TypeError, in stringio_setstate()
904 PyErr_Format(PyExc_TypeError, in stringio_setstate()
[all …]
/external/python/cpython2/Modules/
Dpwdmodule.c110 PyErr_Format(PyExc_KeyError, in pwd_getpwuid()
116 PyErr_Format(PyExc_KeyError, in pwd_getpwuid()
119 PyErr_Format(PyExc_KeyError, in pwd_getpwuid()
140 PyErr_Format(PyExc_KeyError, in pwd_getpwnam()
D_csv.c157 PyErr_Format(error_obj, "unknown dialect"); in get_dialect_from_registry()
228 PyErr_Format(PyExc_TypeError, in _set_int()
250 PyErr_Format(PyExc_TypeError, in _set_char()
257 PyErr_Format(PyExc_TypeError, in _set_char()
278 PyErr_Format(PyExc_TypeError, in _set_str()
299 PyErr_Format(PyExc_TypeError, "bad \"quoting\" value"); in dialect_check_quoting()
592 PyErr_Format(error_obj, "field larger than field limit (%ld)", in parse_add_char()
750 PyErr_Format(error_obj, "'%c' expected after '%c'", in parse_process_char()
763PyErr_Format(error_obj, "new-line character seen in unquoted field - do you need to open the file … in parse_process_char()
820 PyErr_Format(error_obj, in Reader_iternext()
[all …]
Dlinuxaudiodev.c249 PyErr_Format(PyExc_ValueError, "expected rate >= 0, not %d", in lad_setparameters()
254 PyErr_Format(PyExc_ValueError, "expected sample size >= 0, not %d", in lad_setparameters()
259 PyErr_Format(PyExc_ValueError, "nchannels must be 1 or 2, not %d", in lad_setparameters()
268 PyErr_Format(PyExc_ValueError, "unknown audio encoding: %d", fmt); in lad_setparameters()
272 PyErr_Format(PyExc_ValueError, in lad_setparameters()
280 PyErr_Format(PyExc_ValueError, in lad_setparameters()
Dgrpmodule.c103 PyErr_Format(PyExc_KeyError, in grp_getgrgid()
106 PyErr_Format(PyExc_KeyError, in grp_getgrgid()
126 PyErr_Format(PyExc_KeyError, "getgrnam(): name not found: %s", name); in grp_getgrnam()
/external/python/cpython2/Objects/
Ddescrobject.c68 PyErr_Format(PyExc_TypeError, in descr_check()
89 PyErr_Format(PyExc_TypeError, in classmethod_get()
98 PyErr_Format(PyExc_TypeError, in classmethod_get()
107 PyErr_Format(PyExc_TypeError, in classmethod_get()
147 PyErr_Format(PyExc_AttributeError, in getset_get()
170 PyErr_Format(PyExc_TypeError, in descr_setcheck()
202 PyErr_Format(PyExc_AttributeError, in getset_set()
219 PyErr_Format(PyExc_TypeError, in methoddescr_call()
229 PyErr_Format(PyExc_TypeError, in methoddescr_call()
264 PyErr_Format(PyExc_TypeError, in classmethoddescr_call()
[all …]
/external/python/cpython3/Modules/
D_csv.c137 PyErr_Format(_csvstate_global->error_obj, "unknown dialect"); in get_dialect_from_registry()
213 PyErr_Format(PyExc_TypeError, in _set_int()
236 PyErr_Format(PyExc_TypeError, in _set_char()
243 PyErr_Format(PyExc_TypeError, in _set_char()
265 PyErr_Format(PyExc_TypeError, in _set_str()
288 PyErr_Format(PyExc_TypeError, "bad \"quoting\" value"); in dialect_check_quoting()
575 PyErr_Format(_csvstate_global->error_obj, "field larger than field limit (%ld)", in parse_add_char()
744 PyErr_Format(_csvstate_global->error_obj, "'%c' expected after '%c'", in parse_process_char()
757PyErr_Format(_csvstate_global->error_obj, "new-line character seen in unquoted field - do you need… in parse_process_char()
805 PyErr_Format(_csvstate_global->error_obj, in Reader_iternext()
[all …]
/external/python/cpython3/Modules/_blake2/
Dblake2b_impl.c112 PyErr_Format(PyExc_ValueError, in py_blake2b_new_impl()
122 PyErr_Format(PyExc_ValueError, in py_blake2b_new_impl()
133 PyErr_Format(PyExc_ValueError, in py_blake2b_new_impl()
195 PyErr_Format(PyExc_ValueError, in py_blake2b_new_impl()
205 PyErr_Format(PyExc_ValueError, in py_blake2b_new_impl()
Dblake2s_impl.c112 PyErr_Format(PyExc_ValueError, in py_blake2s_new_impl()
122 PyErr_Format(PyExc_ValueError, in py_blake2s_new_impl()
133 PyErr_Format(PyExc_ValueError, in py_blake2s_new_impl()
195 PyErr_Format(PyExc_ValueError, in py_blake2s_new_impl()
205 PyErr_Format(PyExc_ValueError, in py_blake2s_new_impl()
/external/python/cpython3/Modules/_sqlite/
Dstatement.c230 PyErr_Format(pysqlite_ProgrammingError, in pysqlite_statement_bind_parameters()
267PyErr_Format(pysqlite_InterfaceError, "Error binding parameter %d - probably unsupported type.", i… in pysqlite_statement_bind_parameters()
279PyErr_Format(pysqlite_ProgrammingError, "Binding %d has no name, but you supplied a dictionary (wh… in pysqlite_statement_bind_parameters()
291PyErr_Format(pysqlite_ProgrammingError, "You did not supply a value for binding %d.", i); in pysqlite_statement_bind_parameters()
312PyErr_Format(pysqlite_InterfaceError, "Error binding parameter :%s - probably unsupported type.", … in pysqlite_statement_bind_parameters()
/external/python/cpython2/Python/
Dimport.c612 PyErr_Format(PyExc_SystemError, in _PyImport_FixupExtension()
759 PyErr_Format(PyExc_ImportError, in PyImport_ExecCodeModuleEx()
849 PyErr_Format(PyExc_ImportError, in read_compiled_module()
870 PyErr_Format(PyExc_ImportError, in load_compiled_module()
1056 PyErr_Format(PyExc_RuntimeError, in win32_mtime()
1087 PyErr_Format(PyExc_RuntimeError, in load_source_module()
1422 PyErr_Format(PyExc_ImportError, in find_module()
1629 PyErr_Format(PyExc_ImportError, in find_module()
1722 PyErr_Format(PyExc_NameError, in case_ok()
1740 PyErr_Format(PyExc_NameError, in case_ok()
[all …]

12345678910>>...12