Home
last modified time | relevance | path

Searched refs:bad_mode (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/test/
Dtest_file.py177 bad_mode = "qwerty"
179 f = self.open(TESTFN, bad_mode)
183 if TESTFN in s or bad_mode not in s:
189 self.fail("no error for invalid mode: %s" % bad_mode)
Dtest_fileio.py475 bad_mode = "qwerty"
477 f = self.FileIO(TESTFN, bad_mode)
481 if TESTFN in s or bad_mode not in s:
487 self.fail("no error for invalid mode: %s" % bad_mode)
/third_party/python/Modules/_io/
Dfileio.c296 bad_mode:
309 goto bad_mode;
315 goto bad_mode;
322 goto bad_mode;
332 goto bad_mode;
344 goto bad_mode;
Dwinconsoleio.c311 goto bad_mode; in _io__WindowsConsoleIO___init___impl()
319 goto bad_mode; in _io__WindowsConsoleIO___init___impl()
333 goto bad_mode; in _io__WindowsConsoleIO___init___impl()
401 bad_mode: in _io__WindowsConsoleIO___init___impl()
/third_party/openssl/test/
Devp_kdf_test.c344 int ret = 0, bad_mode = 100; in test_kdf_hkdf_set_invalid_mode() local
356 params[0] = OSSL_PARAM_construct_int(OSSL_KDF_PARAM_MODE, &bad_mode); in test_kdf_hkdf_set_invalid_mode()