Home
last modified time | relevance | path

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

1234567

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/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()
D_iomodule.c320 PyErr_Format(PyExc_TypeError, "invalid file: %s", in io_open()
361 PyErr_Format(PyExc_ValueError, "invalid mode: '%s'", mode); in io_open()
492 PyErr_Format(PyExc_ValueError, in io_open()
584 PyErr_Format(err, in PyNumber_AsOff_t()
608 PyErr_Format(PyExc_TypeError, in _PyIO_ConvertSsize_t()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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, "string 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.c239 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in bytesio_read()
308 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in bytesio_readline()
354 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in bytesio_readlines()
446 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in bytesio_truncate()
452 PyErr_Format(PyExc_ValueError, in bytesio_truncate()
508 PyErr_Format(PyExc_ValueError, in bytesio_seek()
533 PyErr_Format(PyExc_ValueError, in bytesio_seek()
674 PyErr_Format(PyExc_TypeError, in bytesio_setstate()
696 PyErr_Format(PyExc_TypeError, in bytesio_setstate()
715 PyErr_Format(PyExc_TypeError, in bytesio_setstate()
D_iomodule.c319 PyErr_Format(PyExc_TypeError, "invalid file: %s", in io_open()
360 PyErr_Format(PyExc_ValueError, "invalid mode: '%s'", mode); in io_open()
490 PyErr_Format(PyExc_ValueError, in io_open()
575 PyErr_Format(err, in PyNumber_AsOff_t()
599 PyErr_Format(PyExc_TypeError, in _PyIO_ConvertSsize_t()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dzipimport.c411 PyErr_Format(ZipImportError, "can't find module '%.200s'", in zipimporter_is_package()
487 PyErr_Format(ZipImportError, "can't find module '%.200s'", in zipimporter_get_source()
708 PyErr_Format(ZipImportError, "can't open Zip file: " in read_directory()
715 PyErr_Format(ZipImportError, "can't read Zip file: %s", archive); in read_directory()
721 PyErr_Format(ZipImportError, "can't read Zip file: " in read_directory()
728 PyErr_Format(ZipImportError, "not a Zip file: " in read_directory()
804 PyErr_Format(ZipImportError, "can't read Zip file: %s", archive); in read_directory()
867 PyErr_Format(PyExc_IOError, in get_data()
875 PyErr_Format(ZipImportError, "can't read Zip file: %s", archive); in get_data()
882 PyErr_Format(ZipImportError, in get_data()
[all …]
D_csv.c157 PyErr_Format(error_obj, "unknown dialect"); in get_dialect_from_registry()
227 PyErr_Format(PyExc_TypeError, in _set_int()
246 PyErr_Format(PyExc_TypeError, in _set_char()
253 PyErr_Format(PyExc_TypeError, in _set_char()
274 PyErr_Format(PyExc_TypeError, in _set_str()
296 PyErr_Format(PyExc_TypeError, "bad \"quoting\" value"); in dialect_check_quoting()
590 PyErr_Format(error_obj, "field larger than field limit (%ld)", in parse_add_char()
748 PyErr_Format(error_obj, "'%c' expected after '%c'", in parse_process_char()
761PyErr_Format(error_obj, "new-line character seen in unquoted field - do you need to open the file … in parse_process_char()
819 PyErr_Format(error_obj, in Reader_iternext()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_csv.c157 PyErr_Format(error_obj, "unknown dialect"); in get_dialect_from_registry()
223 PyErr_Format(PyExc_TypeError, in _set_int()
241 PyErr_Format(PyExc_TypeError, in _set_char()
265 PyErr_Format(PyExc_TypeError, in _set_str()
287 PyErr_Format(PyExc_TypeError, "bad \"quoting\" value"); in dialect_check_quoting()
580 PyErr_Format(error_obj, "field larger than field limit (%ld)", in parse_add_char()
738 PyErr_Format(error_obj, "'%c' expected after '%c'", in parse_process_char()
751PyErr_Format(error_obj, "new-line character seen in unquoted field - do you need to open the file … in parse_process_char()
788 PyErr_Format(error_obj, in Reader_iternext()
805 PyErr_Format(error_obj, in Reader_iternext()
[all …]
Dpwdmodule.c111 PyErr_Format(PyExc_KeyError, in pwd_getpwuid()
132 PyErr_Format(PyExc_KeyError, in pwd_getpwnam()
Dzipimport.c411 PyErr_Format(ZipImportError, "can't find module '%.200s'", in zipimporter_is_package()
487 PyErr_Format(ZipImportError, "can't find module '%.200s'", in zipimporter_get_source()
708 PyErr_Format(ZipImportError, "can't open Zip file: " in read_directory()
716 PyErr_Format(ZipImportError, "can't read Zip file: " in read_directory()
723 PyErr_Format(ZipImportError, "not a Zip file: " in read_directory()
854 PyErr_Format(PyExc_IOError, in get_data()
864 PyErr_Format(ZipImportError, in get_data()
971 PyErr_Format(PyExc_TypeError, in unmarshal_code()
1158 PyErr_Format(ZipImportError, "can't find module '%.200s'", fullname); in get_module_code()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/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 …]
Dobject.c396 PyErr_Format(PyExc_TypeError, in PyObject_Repr()
439 PyErr_Format(PyExc_TypeError, in _PyObject_Str()
1097 PyErr_Format(PyExc_TypeError, "unhashable type: '%.200s'", in PyObject_HashNotImplemented()
1189 PyErr_Format(PyExc_TypeError, in PyObject_GetAttr()
1199 PyErr_Format(PyExc_AttributeError, in PyObject_GetAttr()
1236 PyErr_Format(PyExc_TypeError, in PyObject_SetAttr()
1258 PyErr_Format(PyExc_TypeError, in PyObject_SetAttr()
1265 PyErr_Format(PyExc_TypeError, in PyObject_SetAttr()
1318 PyErr_Format(PyExc_TypeError, in _PyObject_NextNotImplemented()
1349 PyErr_Format(PyExc_TypeError, in _PyObject_GenericGetAttrWithDict()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Ddynload_next.c96 PyErr_Format(PyExc_ImportError, in _PyImport_GetDynLoadFunc()
106 PyErr_Format(PyExc_ImportError, in _PyImport_GetDynLoadFunc()
Dimport.c558 PyErr_Format(PyExc_SystemError, in _PyImport_FixupExtension()
687 PyErr_Format(PyExc_ImportError, in PyImport_ExecCodeModuleEx()
777 PyErr_Format(PyExc_ImportError, in read_compiled_module()
798 PyErr_Format(PyExc_ImportError, in load_compiled_module()
977 PyErr_Format(PyExc_RuntimeError, in load_source_module()
1283 PyErr_Format(PyExc_ImportError, in find_module()
1509 PyErr_Format(PyExc_ImportError, in find_module()
1597 PyErr_Format(PyExc_NameError, in find_module()
1615 PyErr_Format(PyExc_NameError, in find_module()
1815 PyErr_Format(PyExc_ValueError, in find_module()
[all …]
Dgetargs.c357 PyErr_Format(PyExc_SystemError, in vgetargs1()
1574 PyErr_Format(PyExc_TypeError, "%s%s takes at most %d " in vgetargskeywords()
1592 PyErr_Format(PyExc_RuntimeError, in vgetargskeywords()
1605 PyErr_Format(PyExc_TypeError, in vgetargskeywords()
1628 PyErr_Format(PyExc_TypeError, "Required argument " in vgetargskeywords()
1644 PyErr_Format(PyExc_RuntimeError, "%s: '%s'", msg, in vgetargskeywords()
1651 PyErr_Format(PyExc_RuntimeError, in vgetargskeywords()
1677 PyErr_Format(PyExc_TypeError, in vgetargskeywords()
1847 PyErr_Format( in PyArg_UnpackTuple()
1852 PyErr_Format( in PyArg_UnpackTuple()
[all …]
DPython-ast.c404 PyErr_Format(PyExc_TypeError, "%.400s constructor takes %s" in ast_type_init()
606 PyErr_Format(PyExc_ValueError, "invalid integer value: %.400s", in obj2ast_int()
624 PyErr_Format(PyExc_ValueError, "invalid boolean value: %.400s", in obj2ast_bool()
2938 PyErr_Format(PyExc_SystemError, "unknown expr_context found"); in ast2obj_expr_context()
3013 PyErr_Format(PyExc_SystemError, "unknown boolop found"); in ast2obj_boolop()
3058 PyErr_Format(PyExc_SystemError, "unknown operator found"); in ast2obj_operator()
3079 PyErr_Format(PyExc_SystemError, "unknown unaryop found"); in ast2obj_unaryop()
3118 PyErr_Format(PyExc_SystemError, "unknown cmpop found"); in ast2obj_cmpop()
3327PyErr_Format(PyExc_TypeError, "Module field \"body\" must be a list, not a %.200s", tmp->ob_type->… in obj2ast_mod()
3363PyErr_Format(PyExc_TypeError, "Interactive field \"body\" must be a list, not a %.200s", tmp->ob_t… in obj2ast_mod()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dstatement.c234PyErr_Format(pysqlite_ProgrammingError, "Incorrect number of bindings supplied. The current statem… in pysqlite_statement_bind_parameters()
269PyErr_Format(pysqlite_InterfaceError, "Error binding parameter %d - probably unsupported type.", i… in pysqlite_statement_bind_parameters()
281PyErr_Format(pysqlite_ProgrammingError, "Binding %d has no name, but you supplied a dictionary (wh… in pysqlite_statement_bind_parameters()
293PyErr_Format(pysqlite_ProgrammingError, "You did not supply a value for binding %d.", i); in pysqlite_statement_bind_parameters()
314PyErr_Format(pysqlite_InterfaceError, "Error binding parameter :%s - probably unsupported type.", … in pysqlite_statement_bind_parameters()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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()
278 PyErr_Format(PyExc_TypeError, in wrapperdescr_call()
[all …]
Dobject.c396 PyErr_Format(PyExc_TypeError, in PyObject_Repr()
439 PyErr_Format(PyExc_TypeError, in _PyObject_Str()
1092 PyErr_Format(PyExc_TypeError, "unhashable type: '%.200s'", in PyObject_HashNotImplemented()
1182 PyErr_Format(PyExc_TypeError, in PyObject_GetAttr()
1192 PyErr_Format(PyExc_AttributeError, in PyObject_GetAttr()
1229 PyErr_Format(PyExc_TypeError, in PyObject_SetAttr()
1251 PyErr_Format(PyExc_TypeError, in PyObject_SetAttr()
1258 PyErr_Format(PyExc_TypeError, in PyObject_SetAttr()
1311 PyErr_Format(PyExc_TypeError, in _PyObject_NextNotImplemented()
1342 PyErr_Format(PyExc_TypeError, in _PyObject_GenericGetAttrWithDict()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dimport.c590 PyErr_Format(PyExc_SystemError, in _PyImport_FixupExtension()
719 PyErr_Format(PyExc_ImportError, in PyImport_ExecCodeModuleEx()
809 PyErr_Format(PyExc_ImportError, in read_compiled_module()
830 PyErr_Format(PyExc_ImportError, in load_compiled_module()
1016 PyErr_Format(PyExc_RuntimeError, in win32_mtime()
1047 PyErr_Format(PyExc_RuntimeError, in load_source_module()
1382 PyErr_Format(PyExc_ImportError, in find_module()
1589 PyErr_Format(PyExc_ImportError, in find_module()
1682 PyErr_Format(PyExc_NameError, in case_ok()
1700 PyErr_Format(PyExc_NameError, in case_ok()
[all …]
Dgetargs.c357 PyErr_Format(PyExc_SystemError, in vgetargs1()
1574 PyErr_Format(PyExc_TypeError, "%s%s takes at most %d " in vgetargskeywords()
1592 PyErr_Format(PyExc_RuntimeError, in vgetargskeywords()
1605 PyErr_Format(PyExc_TypeError, in vgetargskeywords()
1628 PyErr_Format(PyExc_TypeError, "Required argument " in vgetargskeywords()
1644 PyErr_Format(PyExc_RuntimeError, "%s: '%s'", msg, in vgetargskeywords()
1651 PyErr_Format(PyExc_RuntimeError, in vgetargskeywords()
1677 PyErr_Format(PyExc_TypeError, in vgetargskeywords()
1848 PyErr_Format( in PyArg_UnpackTuple()
1853 PyErr_Format( in PyArg_UnpackTuple()
[all …]
DPython-ast.c404 PyErr_Format(PyExc_TypeError, "%.400s constructor takes %s" in ast_type_init()
600 PyErr_Format(PyExc_TypeError, in obj2ast_identifier()
623 PyErr_Format(PyExc_ValueError, "invalid integer value: %.400s", in obj2ast_int()
641 PyErr_Format(PyExc_ValueError, "invalid boolean value: %.400s", in obj2ast_bool()
2955 PyErr_Format(PyExc_SystemError, "unknown expr_context found"); in ast2obj_expr_context()
3030 PyErr_Format(PyExc_SystemError, "unknown boolop found"); in ast2obj_boolop()
3075 PyErr_Format(PyExc_SystemError, "unknown operator found"); in ast2obj_operator()
3096 PyErr_Format(PyExc_SystemError, "unknown unaryop found"); in ast2obj_unaryop()
3135 PyErr_Format(PyExc_SystemError, "unknown cmpop found"); in ast2obj_cmpop()
3344PyErr_Format(PyExc_TypeError, "Module field \"body\" must be a list, not a %.200s", tmp->ob_type->… in obj2ast_mod()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
Dimport.c558 PyErr_Format(PyExc_SystemError, in _PyImport_FixupExtension()
687 PyErr_Format(PyExc_ImportError, in PyImport_ExecCodeModuleEx()
777 PyErr_Format(PyExc_ImportError, in read_compiled_module()
798 PyErr_Format(PyExc_ImportError, in load_compiled_module()
977 PyErr_Format(PyExc_RuntimeError, in load_source_module()
1283 PyErr_Format(PyExc_ImportError, in find_module()
1509 PyErr_Format(PyExc_ImportError, in find_module()
1597 PyErr_Format(PyExc_NameError, in find_module()
1615 PyErr_Format(PyExc_NameError, in find_module()
1815 PyErr_Format(PyExc_ValueError, in find_module()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/
Drandom.c151 PyErr_Format(PyExc_ValueError, in vms_urandom()
303 PyErr_Format(PyExc_RuntimeError, in dev_urandom_python()
353 PyErr_Format(PyExc_ValueError, in _PyOS_URandom()

1234567