Home
last modified time | relevance | path

Searched refs:SystemError (Results 1 – 25 of 111) sorted by relevance

12345

/external/lzma/CPP/7zip/UI/Common/
DUpdate.h153 DWORD SystemError; member
157 …bool ThereIsError() const { return SystemError != 0 || !Message.IsEmpty() || !FileNames.IsEmpty();… in ThereIsError()
158 …HRESULT Get_HRESULT_Error() const { return SystemError == 0 ? E_FAIL : HRESULT_FROM_WIN32(SystemEr… in Get_HRESULT_Error()
162 CUpdateErrorInfo(): SystemError(0) {}; in CUpdateErrorInfo()
DUpdate.cpp49 SystemError = ::GetLastError(); in SetFromLastError()
1166 errorInfo.SystemError = ERROR_ACCESS_DENIED; in UpdateArchive()
1175 errorInfo.SystemError = (DWORD)E_NOTIMPL; in UpdateArchive()
1214 errorInfo.SystemError = (DWORD)E_NOTIMPL; in UpdateArchive()
1225 errorInfo.SystemError = (DWORD)E_NOTIMPL; in UpdateArchive()
1420 errorInfo.SystemError = ERROR_FILE_EXISTS; in UpdateArchive()
/external/python/cpython3/Lib/test/
Dtest_getargs2.py1014 except SystemError as e:
1026 except SystemError as e:
1052 with self.assertRaisesRegex(SystemError,
1063 with self.assertRaisesRegex(SystemError,
1084 self.assertRaises(SystemError, _testcapi.parse_tuple_and_keywords,
1086 self.assertRaises(SystemError, _testcapi.parse_tuple_and_keywords,
1088 self.assertRaises(SystemError, _testcapi.parse_tuple_and_keywords,
1090 self.assertRaises(SystemError, _testcapi.parse_tuple_and_keywords,
1092 self.assertRaises(SystemError, _testcapi.parse_tuple_and_keywords,
1094 self.assertRaises(SystemError, _testcapi.parse_tuple_and_keywords,
[all …]
Dtest_code.py301 self.assertRaises(SystemError, SetExtra, 42, FREE_INDEX,
303 self.assertRaises(SystemError, GetExtra, 42, FREE_INDEX,
308 self.assertRaises(SystemError, SetExtra, f.__code__,
Dexception_hierarchy.txt47 +-- SystemError
/external/python/cpython2/Doc/c-api/
Dmodule.rst64 single: SystemError (built-in exception)
67 or if it is not a string, :exc:`SystemError` is raised and *NULL* is returned.
74 single: SystemError (built-in exception)
78 raise :exc:`SystemError` and return *NULL*.
Dfunction.rst69 Raises :exc:`SystemError` and returns ``-1`` on failure.
83 Raises :exc:`SystemError` and returns ``-1`` on failure.
/external/python/cpython2/Lib/ctypes/test/
Dtest_memfunctions.py13 self.assertRaises((OverflowError, MemoryError, SystemError),
15 self.assertRaises((OverflowError, MemoryError, SystemError),
/external/python/cpython3/Doc/c-api/
Dfunction.rst80 Raises :exc:`SystemError` and returns ``-1`` on failure.
94 Raises :exc:`SystemError` and returns ``-1`` on failure.
108 Raises :exc:`SystemError` and returns ``-1`` on failure.
/external/python/cpython3/Lib/ctypes/test/
Dtest_memfunctions.py14 self.assertRaises((OverflowError, MemoryError, SystemError),
16 self.assertRaises((OverflowError, MemoryError, SystemError),
/external/python/cpython2/Lib/
Drexec.py100 def init_frozen(self, name): raise SystemError, "don't use this"
101 def load_source(self, *args): raise SystemError, "don't use this"
102 def load_compiled(self, *args): raise SystemError, "don't use this"
103 def load_package(self, *args): raise SystemError, "don't use this"
/external/python/cpython3/PC/bdist_wininst/
Dinstall.c933 static BOOL SystemError(int error, char *msg) in SystemError() function
1003 SystemError(GetLastError(), Buffer); in notify()
1101 return SystemError(0, in ExtractInstallData()
1121 SystemError(GetLastError(), in ExtractInstallData()
1398 return SystemError(0, "Could not bind image"); in CheckPythonExe()
1400 return SystemError(0, "Does not seem to be a python executable"); in CheckPythonExe()
1407 return SystemError(0, "Wrong Python version"); in CheckPythonExe()
2542 return SystemError(0, "Out of memory"); in DoUninstall()
2557 return SystemError(0, "Out of memory"); in DoUninstall()
2636 SystemError(GetLastError(), argv[2]); in DoUninstall()
[all …]
/external/python/cpython2/PC/bdist_wininst/
Dinstall.c889 static BOOL SystemError(int error, char *msg) in SystemError() function
959 SystemError(GetLastError(), Buffer); in notify()
1057 return SystemError(0, in ExtractInstallData()
1077 SystemError(GetLastError(), in ExtractInstallData()
1354 return SystemError(0, "Could not bind image"); in CheckPythonExe()
1356 return SystemError(0, "Does not seem to be a python executable"); in CheckPythonExe()
1363 return SystemError(0, "Wrong Python version"); in CheckPythonExe()
2513 return SystemError(0, "Out of memory"); in DoUninstall()
2528 return SystemError(0, "Out of memory"); in DoUninstall()
2607 SystemError(GetLastError(), argv[2]); in DoUninstall()
[all …]
/external/python/cpython3/Lib/test/test_importlib/extension/
Dtest_loader.py154 with self.assertRaises(SystemError):
157 with self.assertRaises(SystemError):
252 with self.assertRaises(SystemError):
/external/autotest/client/cros/cellular/
Dprologix_scpi_driver.py124 raise SystemError('Sending SCPI command failed. '
146 raise SystemError(s)
/external/python/cpython2/Misc/NEWS.d/next/C API/
D2018-07-09-11-39-54.bpo-23927.pDFkxb.rst1 Fixed :exc:`SystemError` in :c:func:`PyArg_ParseTupleAndKeywords` when the
/external/python/cpython2/Misc/NEWS.d/next/Library/
D2018-06-03-22-41-59.bpo-33767.2e82g3.rst2 raise :exc:`TypeError` instead of :exc:`SystemError` when performed on
/external/python/cpython3/Lib/sqlite3/test/
Dbackup.py129 raise SystemError('nearly out of space')
131 with self.assertRaises(SystemError) as err:
/external/python/cpython2/Lib/test/
Dexception_hierarchy.txt34 | +-- SystemError
Dtest_module.py14 self.assertRaises(SystemError, dir, foo)
Dtest_mmap.py92 except SystemError:
164 except SystemError: # resize is not universally supported
506 except SystemError:
662 except SystemError:
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a2.rst7 PyObject_Call() and PyCFunction_Call() now raise a SystemError if a function
8 returns a result and raises an exception. The SystemError is chained to the
177 much memory and raised SystemError or MemoryError. Original patch by Aleksi
/external/python/cpython2/Lib/encodings/
D__init__.py46 class CodecRegistryError(LookupError, SystemError):
/external/protobuf/python/google/protobuf/internal/
Dencoder.py589 except SystemError:
599 except SystemError:
608 except SystemError:
/external/python/cpython3/Lib/encodings/
D__init__.py40 class CodecRegistryError(LookupError, SystemError):

12345