Home
last modified time | relevance | path

Searched refs:WindowsError (Results 1 – 25 of 48) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_winreg.py68 except WindowsError:
74 except WindowsError:
188 except WindowsError: # Use this error name this time
222 self.assertRaises(WindowsError, connect)
234 raise WindowsError
235 except WindowsError:
417 self.assertRaises(WindowsError, open_fail)
457 self.assertRaises(WindowsError, open_fail)
468 with self.assertRaises(WindowsError) as ctx:
Dtest_exceptions.py196 WindowsError
200 self.assertEqual(str(WindowsError(1001)),
202 self.assertEqual(str(WindowsError(1001, "message")),
204 self.assertEqual(WindowsError(1001, "message").errno, 22)
205 self.assertEqual(WindowsError(1001, "message").winerror, 1001)
277 (WindowsError, (1, 'strErrorStr', 'filenameStr'),
Dtest_os.py341 except WindowsError, e:
611 self.assertRaises(WindowsError, os.rename, test_support.TESTFN, test_support.TESTFN+".bak")
614 self.assertRaises(WindowsError, os.remove, test_support.TESTFN)
617 self.assertRaises(WindowsError, os.chdir, test_support.TESTFN)
622 self.assertRaises(WindowsError, os.mkdir, test_support.TESTFN)
628 self.assertRaises(WindowsError, os.utime, test_support.TESTFN, None)
631 self.assertRaises(WindowsError, os.chmod, test_support.TESTFN, 0)
Dexception_hierarchy.txt18 | | +-- WindowsError (Windows)
Dsymlink_support.py86 raise WindowsError(value, strerror)
Dtest_mimetypes.py153 raise WindowsError(5, "Access is denied")
/external/fmtlib/fmt/
Dformat.cc312 FMT_THROW(WindowsError(ERROR_INVALID_PARAMETER, ERROR_MSG)); in UTF8ToUTF16()
317 FMT_THROW(WindowsError(GetLastError(), ERROR_MSG)); in UTF8ToUTF16()
322 FMT_THROW(WindowsError(GetLastError(), ERROR_MSG)); in UTF8ToUTF16()
328 FMT_THROW(WindowsError(error_code, in UTF16ToUTF8()
350 FMT_FUNC void WindowsError::init( in init()
Dposix.cc138 FMT_THROW(WindowsError(GetLastError(), "cannot get file size")); in size()
/external/python/cpython2/Lib/
Dshutil.py42 WindowsError
44 WindowsError = None variable
202 if WindowsError is not None and isinstance(why, WindowsError):
Dntpath.py489 except WindowsError:
Dwebbrowser.py544 except WindowsError:
/external/python/cpython2/Lib/ctypes/test/
Dtest_checkretval.py31 self.assertRaises(WindowsError,
Dtest_win32.py49 self.assertRaises(WindowsError, windll.kernel32.GetModuleHandleA, 32)
/external/python/cpython2/Lib/multiprocessing/
Dconnection.py234 except WindowsError, e:
366 except WindowsError, e:
392 except WindowsError, e:
Dforking.py313 except WindowsError:
/external/python/cpython2/Tools/scripts/
Dwin_add2path.py33 except WindowsError:
/external/python/cpython2/Doc/library/
D_winreg.rst46 :exc:`WindowsError` exception is raised.
65 :exc:`WindowsError` exception is raised.
91 :exc:`WindowsError` exception is raised.
109 If the method fails, a :exc:`WindowsError` exception is raised.
139 removed. If the method fails, a :exc:`WindowsError` exception is raised.
166 typically called repeatedly until a :exc:`WindowsError` exception is
180 typically called repeatedly, until a :exc:`WindowsError` exception is
272 If the function fails, :exc:`WindowsError` is raised.
/external/clang/tools/scan-view/share/
Dstartfile.py90 except WindowsError:
/external/python/cpython2/Lib/bsddb/test/
Dtest_thread.py13 WindowsError
15 class WindowsError(Exception): class
/external/python/cpython2/Objects/
Dexceptions.c992 ComplexExtendsException(PyExc_OSError, WindowsError, WindowsError,
2071 PRE_INIT(WindowsError) in _PyExc_Init()
2140 POST_INIT(WindowsError) in _PyExc_Init()
/external/v8/gypfiles/
Dvs_toolchain.py99 except WindowsError:
/external/llvm/lib/Support/Windows/
DMemory.inc18 #include "llvm/Support/WindowsError.h"
/external/python/cpython2/Lib/ctypes/
D__init__.py468 return WindowsError(code, descr)
/external/fmtlib/test/
Dutil-test.cc902 TEST(UtilTest, WindowsError) { in TEST() argument
903 check_throw_error<fmt::WindowsError>( in TEST()
/external/python/cpython2/Doc/c-api/
Dexceptions.rst212 This is a convenience function to raise :exc:`WindowsError`. If called with
234 :exc:`WindowsError` as a third parameter. Availability: Windows.
585 | :c:data:`PyExc_WindowsError` | :exc:`WindowsError` | \(3) |

12