Home
last modified time | relevance | path

Searched refs:PyErr_SetString (Results 1 – 25 of 249) sorted by relevance

12345678910

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dutil.c66 PyErr_SetString(pysqlite_InternalError, sqlite3_errmsg(db)); in _pysqlite_seterror()
84 PyErr_SetString(pysqlite_OperationalError, sqlite3_errmsg(db)); in _pysqlite_seterror()
87 PyErr_SetString(pysqlite_DatabaseError, sqlite3_errmsg(db)); in _pysqlite_seterror()
90 PyErr_SetString(pysqlite_DataError, sqlite3_errmsg(db)); in _pysqlite_seterror()
94 PyErr_SetString(pysqlite_IntegrityError, sqlite3_errmsg(db)); in _pysqlite_seterror()
97 PyErr_SetString(pysqlite_ProgrammingError, sqlite3_errmsg(db)); in _pysqlite_seterror()
100 PyErr_SetString(pysqlite_DatabaseError, sqlite3_errmsg(db)); in _pysqlite_seterror()
Drow.c49 PyErr_SetString(PyExc_TypeError, "instance of cursor required for first argument"); in pysqlite_row_init()
54 PyErr_SetString(PyExc_TypeError, "tuple required for second argument"); in pysqlite_row_init()
125 PyErr_SetString(PyExc_IndexError, "No item with that key"); in pysqlite_row_subscript()
128 PyErr_SetString(PyExc_ValueError, "slices not implemented, yet"); in pysqlite_row_subscript()
131 PyErr_SetString(PyExc_IndexError, "Index must be int or string"); in pysqlite_row_subscript()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dbufferobject.c39 PyErr_SetString(PyExc_TypeError, in get_buf()
52 PyErr_SetString(PyExc_TypeError, in get_buf()
105 PyErr_SetString(PyExc_ValueError, in buffer_from_memory()
110 PyErr_SetString(PyExc_ValueError, in buffer_from_memory()
134 PyErr_SetString(PyExc_ValueError, in buffer_from_object()
164 PyErr_SetString(PyExc_TypeError, "buffer object expected"); in PyBuffer_FromObject()
180 PyErr_SetString(PyExc_TypeError, "buffer object expected"); in PyBuffer_FromReadWriteObject()
206 PyErr_SetString(PyExc_ValueError, in PyBuffer_New()
328 PyErr_SetString(PyExc_TypeError, in buffer_hash()
398 PyErr_SetString(PyExc_TypeError, in buffer_concat()
[all …]
Dcobject.c49 PyErr_SetString(PyExc_TypeError, in PyCObject_FromVoidPtrAndDesc()
74 PyErr_SetString(PyExc_TypeError, in PyCObject_AsVoidPtr()
78 PyErr_SetString(PyExc_TypeError, in PyCObject_AsVoidPtr()
89 PyErr_SetString(PyExc_TypeError, in PyCObject_GetDesc()
93 PyErr_SetString(PyExc_TypeError, in PyCObject_GetDesc()
120 PyErr_SetString(PyExc_TypeError, in PyCObject_SetVoidPtr()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dbufferobject.c39 PyErr_SetString(PyExc_TypeError, in get_buf()
52 PyErr_SetString(PyExc_TypeError, in get_buf()
105 PyErr_SetString(PyExc_ValueError, in buffer_from_memory()
110 PyErr_SetString(PyExc_ValueError, in buffer_from_memory()
134 PyErr_SetString(PyExc_ValueError, in buffer_from_object()
164 PyErr_SetString(PyExc_TypeError, "buffer object expected"); in PyBuffer_FromObject()
180 PyErr_SetString(PyExc_TypeError, "buffer object expected"); in PyBuffer_FromReadWriteObject()
206 PyErr_SetString(PyExc_ValueError, in PyBuffer_New()
328 PyErr_SetString(PyExc_TypeError, in buffer_hash()
388 PyErr_SetString(PyExc_TypeError, in buffer_concat()
[all …]
Dcobject.c49 PyErr_SetString(PyExc_TypeError, in PyCObject_FromVoidPtrAndDesc()
74 PyErr_SetString(PyExc_TypeError, in PyCObject_AsVoidPtr()
78 PyErr_SetString(PyExc_TypeError, in PyCObject_AsVoidPtr()
89 PyErr_SetString(PyExc_TypeError, in PyCObject_GetDesc()
93 PyErr_SetString(PyExc_TypeError, in PyCObject_GetDesc()
120 PyErr_SetString(PyExc_TypeError, in PyCObject_SetVoidPtr()
/device/linaro/bootloader/edk2/BaseTools/Source/C/PyEfiCompressor/
DEfiCompressor.c51 PyErr_SetString(PyExc_Exception, "First argument is not a buffer\n"); in UefiDecompress()
59 PyErr_SetString(PyExc_Exception, "Not enough memory\n"); in UefiDecompress()
71 PyErr_SetString(PyExc_Exception, "Buffer segment is not available\n"); in UefiDecompress()
80 PyErr_SetString(PyExc_Exception, "Failed to decompress\n"); in UefiDecompress()
128 PyErr_SetString(PyExc_Exception, "First argument is not a buffer\n"); in FrameworkDecompress()
136 PyErr_SetString(PyExc_Exception, "Not enough memory\n"); in FrameworkDecompress()
148 PyErr_SetString(PyExc_Exception, "Buffer segment is not available\n"); in FrameworkDecompress()
157 PyErr_SetString(PyExc_Exception, "Failed to decompress\n"); in FrameworkDecompress()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dstructmember.c49 PyErr_SetString(PyExc_AttributeError, name); in PyMember_Get()
59 PyErr_SetString(PyExc_RuntimeError, "restricted attribute"); in PyMember_GetOne()
123 PyErr_SetString(PyExc_AttributeError, l->name); in PyMember_GetOne()
135 PyErr_SetString(PyExc_SystemError, "bad memberdescr type"); in PyMember_GetOne()
158 PyErr_SetString(PyExc_AttributeError, name); in PyMember_Set()
177 PyErr_SetString(PyExc_TypeError, "readonly attribute"); in PyMember_SetOne()
181 PyErr_SetString(PyExc_RuntimeError, "restricted attribute"); in PyMember_SetOne()
188 PyErr_SetString(PyExc_AttributeError, l->name); in PyMember_SetOne()
193 PyErr_SetString(PyExc_TypeError, in PyMember_SetOne()
201 PyErr_SetString(PyExc_TypeError, in PyMember_SetOne()
[all …]
DPython-ast.c610 PyErr_SetString(PyExc_TypeError, in obj2ast_string()
1016 PyErr_SetString(PyExc_ValueError, in Expression()
1046 PyErr_SetString(PyExc_ValueError, in FunctionDef()
1051 PyErr_SetString(PyExc_ValueError, in FunctionDef()
1074 PyErr_SetString(PyExc_ValueError, in ClassDef()
1125 PyErr_SetString(PyExc_ValueError, in Assign()
1146 PyErr_SetString(PyExc_ValueError, in AugAssign()
1151 PyErr_SetString(PyExc_ValueError, in AugAssign()
1156 PyErr_SetString(PyExc_ValueError, in AugAssign()
1195 PyErr_SetString(PyExc_ValueError, in For()
[all …]
Dmodsupport.c75 PyErr_SetString(PyExc_ValueError, in Py_InitModule4()
118 PyErr_SetString(PyExc_SystemError, in countformat()
197 PyErr_SetString(PyExc_SystemError, in do_mkdict()
235 PyErr_SetString(PyExc_SystemError, in do_mklist()
283 PyErr_SetString(PyExc_SystemError, in do_mktuple()
421 PyErr_SetString(PyExc_OverflowError, in do_mkvalue()
458 PyErr_SetString(PyExc_SystemError, in do_mkvalue()
470 PyErr_SetString(PyExc_SystemError, in do_mkvalue()
598 PyErr_SetString(PyExc_TypeError, in PyModule_AddObject()
604 PyErr_SetString(PyExc_TypeError, in PyModule_AddObject()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dstructmember.c49 PyErr_SetString(PyExc_AttributeError, name); in PyMember_Get()
59 PyErr_SetString(PyExc_RuntimeError, "restricted attribute"); in PyMember_GetOne()
123 PyErr_SetString(PyExc_AttributeError, l->name); in PyMember_GetOne()
135 PyErr_SetString(PyExc_SystemError, "bad memberdescr type"); in PyMember_GetOne()
158 PyErr_SetString(PyExc_AttributeError, name); in PyMember_Set()
177 PyErr_SetString(PyExc_TypeError, "readonly attribute"); in PyMember_SetOne()
181 PyErr_SetString(PyExc_RuntimeError, "restricted attribute"); in PyMember_SetOne()
188 PyErr_SetString(PyExc_AttributeError, l->name); in PyMember_SetOne()
193 PyErr_SetString(PyExc_TypeError, in PyMember_SetOne()
201 PyErr_SetString(PyExc_TypeError, in PyMember_SetOne()
[all …]
Dmarshal.c586 PyErr_SetString(PyExc_ValueError, in r_PyLong()
616 PyErr_SetString(PyExc_ValueError, in r_PyLong()
628 PyErr_SetString(PyExc_ValueError, in r_PyLong()
648 PyErr_SetString(PyExc_ValueError, "recursion limit exceeded"); in r_object()
655 PyErr_SetString(PyExc_EOFError, in r_object()
707 PyErr_SetString(PyExc_EOFError, in r_object()
727 PyErr_SetString(PyExc_EOFError, in r_object()
748 PyErr_SetString(PyExc_EOFError, in r_object()
761 PyErr_SetString(PyExc_EOFError, in r_object()
781 PyErr_SetString(PyExc_EOFError, in r_object()
[all …]
Ddynload_aix.c49 PyErr_SetString(PyExc_ImportError, strerror(errno)); in aix_getoldmodules()
57 PyErr_SetString(PyExc_ImportError, strerror(errno)); in aix_getoldmodules()
62 PyErr_SetString(PyExc_ImportError, strerror(errno)); in aix_getoldmodules()
84 PyErr_SetString(PyExc_ImportError, strerror(errno)); in aix_getoldmodules()
152 PyErr_SetString(PyExc_ImportError, errbuf); in aix_loaderror()
DPython-ast.c999 PyErr_SetString(PyExc_ValueError, in Expression()
1029 PyErr_SetString(PyExc_ValueError, in FunctionDef()
1034 PyErr_SetString(PyExc_ValueError, in FunctionDef()
1057 PyErr_SetString(PyExc_ValueError, in ClassDef()
1108 PyErr_SetString(PyExc_ValueError, in Assign()
1129 PyErr_SetString(PyExc_ValueError, in AugAssign()
1134 PyErr_SetString(PyExc_ValueError, in AugAssign()
1139 PyErr_SetString(PyExc_ValueError, in AugAssign()
1178 PyErr_SetString(PyExc_ValueError, in For()
1183 PyErr_SetString(PyExc_ValueError, in For()
[all …]
Dmodsupport.c75 PyErr_SetString(PyExc_ValueError, in Py_InitModule4()
118 PyErr_SetString(PyExc_SystemError, in countformat()
197 PyErr_SetString(PyExc_SystemError, in do_mkdict()
235 PyErr_SetString(PyExc_SystemError, in do_mklist()
283 PyErr_SetString(PyExc_SystemError, in do_mktuple()
421 PyErr_SetString(PyExc_OverflowError, in do_mkvalue()
458 PyErr_SetString(PyExc_SystemError, in do_mkvalue()
470 PyErr_SetString(PyExc_SystemError, in do_mkvalue()
598 PyErr_SetString(PyExc_TypeError, in PyModule_AddObject()
604 PyErr_SetString(PyExc_TypeError, in PyModule_AddObject()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dtimemodule.c120 PyErr_SetString(PyExc_ValueError, in _PyTime_DoubleToTimet()
370 PyErr_SetString(PyExc_ValueError, in gettmarg()
379 PyErr_SetString(PyExc_ValueError, in gettmarg()
440 PyErr_SetString(PyExc_ValueError, "month out of range"); in time_strftime()
446 PyErr_SetString(PyExc_ValueError, "day of month out of range"); in time_strftime()
450 PyErr_SetString(PyExc_ValueError, "hour out of range"); in time_strftime()
454 PyErr_SetString(PyExc_ValueError, "minute out of range"); in time_strftime()
458 PyErr_SetString(PyExc_ValueError, "seconds out of range"); in time_strftime()
464 PyErr_SetString(PyExc_ValueError, "day of week out of range"); in time_strftime()
470 PyErr_SetString(PyExc_ValueError, "day of year out of range"); in time_strftime()
[all …]
Dbz2module.c156 PyErr_SetString(PyExc_ValueError, in check_iterbuffered()
174 PyErr_SetString(PyExc_SystemError, in Util_CatchBZ2Error()
182 PyErr_SetString(PyExc_ValueError, in Util_CatchBZ2Error()
195 PyErr_SetString(PyExc_IOError, "invalid data stream"); in Util_CatchBZ2Error()
200 PyErr_SetString(PyExc_IOError, "unknown IO error"); in Util_CatchBZ2Error()
205 PyErr_SetString(PyExc_EOFError, in Util_CatchBZ2Error()
212 PyErr_SetString(PyExc_RuntimeError, in Util_CatchBZ2Error()
326 PyErr_SetString(PyExc_OverflowError, in Util_GetLine()
537 PyErr_SetString(PyExc_ValueError, in BZ2File_read()
541 PyErr_SetString(PyExc_IOError, in BZ2File_read()
[all …]
D_heapqmodule.c44 PyErr_SetString(PyExc_IndexError, "index out of range"); in _siftdown()
83 PyErr_SetString(PyExc_IndexError, "index out of range"); in _siftup()
130 PyErr_SetString(PyExc_TypeError, "heap argument must be a list"); in heappush()
153 PyErr_SetString(PyExc_TypeError, "heap argument must be a list"); in heappop()
160 PyErr_SetString(PyExc_IndexError, "index out of range"); in heappop()
192 PyErr_SetString(PyExc_TypeError, "heap argument must be a list"); in heapreplace()
197 PyErr_SetString(PyExc_IndexError, "index out of range"); in heapreplace()
231 PyErr_SetString(PyExc_TypeError, "heap argument must be a list"); in heappushpop()
269 PyErr_SetString(PyExc_TypeError, "heap argument must be a list"); in heapify()
383 PyErr_SetString(PyExc_IndexError, "index out of range"); in _siftdownmax()
[all …]
Dsocketmodule.c476 PyErr_SetString(socket_error, "unable to select on socket"); in select_error()
817 PyErr_SetString(socket_error, in setipaddr()
823 PyErr_SetString(socket_error, in setipaddr()
836 PyErr_SetString(socket_error, in setipaddr()
894 PyErr_SetString(socket_error, "unknown address family"); in setipaddr()
943 PyErr_SetString(socket_error, "bad bluetooth address"); in setbdaddr()
1099 PyErr_SetString(PyExc_ValueError, in makesockaddr()
1153 PyErr_SetString(PyExc_ValueError, in makesockaddr()
1199 PyErr_SetString(socket_error, in getsockaddrarg()
1209 PyErr_SetString(socket_error, in getsockaddrarg()
[all …]
Dstropmodule.c114 PyErr_SetString(PyExc_ValueError, "empty separator"); in strop_splitfields()
193 PyErr_SetString(PyExc_TypeError, in strop_joinfields()
213 PyErr_SetString(PyExc_TypeError, in strop_joinfields()
221 PyErr_SetString(PyExc_OverflowError, in strop_joinfields()
248 PyErr_SetString(PyExc_TypeError, in strop_joinfields()
256 PyErr_SetString(PyExc_TypeError, in strop_joinfields()
265 PyErr_SetString(PyExc_OverflowError, in strop_joinfields()
607 PyErr_SetString(PyExc_ValueError, in strop_expandtabs()
619 PyErr_SetString(PyExc_OverflowError, in strop_expandtabs()
634 PyErr_SetString(PyExc_OverflowError, "new string is too long"); in strop_expandtabs()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dtimemodule.c120 PyErr_SetString(PyExc_ValueError, in _PyTime_DoubleToTimet()
370 PyErr_SetString(PyExc_ValueError, in gettmarg()
379 PyErr_SetString(PyExc_ValueError, in gettmarg()
440 PyErr_SetString(PyExc_ValueError, "month out of range"); in time_strftime()
446 PyErr_SetString(PyExc_ValueError, "day of month out of range"); in time_strftime()
450 PyErr_SetString(PyExc_ValueError, "hour out of range"); in time_strftime()
454 PyErr_SetString(PyExc_ValueError, "minute out of range"); in time_strftime()
458 PyErr_SetString(PyExc_ValueError, "seconds out of range"); in time_strftime()
464 PyErr_SetString(PyExc_ValueError, "day of week out of range"); in time_strftime()
470 PyErr_SetString(PyExc_ValueError, "day of year out of range"); in time_strftime()
[all …]
D_heapqmodule.c45 PyErr_SetString(PyExc_IndexError, "index out of range"); in _siftdown()
59 PyErr_SetString(PyExc_RuntimeError, in _siftdown()
85 PyErr_SetString(PyExc_IndexError, "index out of range"); in _siftup()
104 PyErr_SetString(PyExc_RuntimeError, in _siftup()
129 PyErr_SetString(PyExc_TypeError, "heap argument must be a list"); in heappush()
152 PyErr_SetString(PyExc_TypeError, "heap argument must be a list"); in heappop()
159 PyErr_SetString(PyExc_IndexError, "index out of range"); in heappop()
191 PyErr_SetString(PyExc_TypeError, "heap argument must be a list"); in heapreplace()
196 PyErr_SetString(PyExc_IndexError, "index out of range"); in heapreplace()
230 PyErr_SetString(PyExc_TypeError, "heap argument must be a list"); in heappushpop()
[all …]
Dsocketmodule.c477 PyErr_SetString(socket_error, "unable to select on socket"); in select_error()
875 PyErr_SetString(socket_error, in setipaddr()
881 PyErr_SetString(socket_error, in setipaddr()
894 PyErr_SetString(socket_error, in setipaddr()
952 PyErr_SetString(socket_error, "unknown address family"); in setipaddr()
1001 PyErr_SetString(socket_error, "bad bluetooth address"); in setbdaddr()
1157 PyErr_SetString(PyExc_ValueError, in makesockaddr()
1211 PyErr_SetString(PyExc_ValueError, in makesockaddr()
1257 PyErr_SetString(socket_error, in getsockaddrarg()
1267 PyErr_SetString(socket_error, in getsockaddrarg()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/
Dmarshal.c591 PyErr_SetString(PyExc_ValueError, in r_PyLong()
621 PyErr_SetString(PyExc_ValueError, in r_PyLong()
633 PyErr_SetString(PyExc_ValueError, in r_PyLong()
653 PyErr_SetString(PyExc_ValueError, "recursion limit exceeded"); in r_object()
660 PyErr_SetString(PyExc_EOFError, in r_object()
712 PyErr_SetString(PyExc_EOFError, in r_object()
732 PyErr_SetString(PyExc_EOFError, in r_object()
753 PyErr_SetString(PyExc_EOFError, in r_object()
766 PyErr_SetString(PyExc_EOFError, in r_object()
786 PyErr_SetString(PyExc_EOFError, in r_object()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
Dmarshal.c586 PyErr_SetString(PyExc_ValueError, in r_PyLong()
616 PyErr_SetString(PyExc_ValueError, in r_PyLong()
628 PyErr_SetString(PyExc_ValueError, in r_PyLong()
648 PyErr_SetString(PyExc_ValueError, "recursion limit exceeded"); in r_object()
655 PyErr_SetString(PyExc_EOFError, in r_object()
707 PyErr_SetString(PyExc_EOFError, in r_object()
727 PyErr_SetString(PyExc_EOFError, in r_object()
748 PyErr_SetString(PyExc_EOFError, in r_object()
761 PyErr_SetString(PyExc_EOFError, in r_object()
781 PyErr_SetString(PyExc_EOFError, in r_object()
[all …]

12345678910