/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
H A D | _error_translation.py | 56 raise lzc_exc.PropertyInvalid(name) 58 raise lzc_exc.FilesystemExists(name) 60 raise lzc_exc.ParentNotFound(name) 62 raise lzc_exc.WrongParent(_fs_name(name)) 64 raise lzc_exc.PropertyInvalid(name) 65 raise _generic_exception(ret, name, "Failed to create filesystem") 74 raise lzc_exc.PropertyInvalid(name) 76 raise lzc_exc.PoolsDiffer(name) 78 raise lzc_exc.FilesystemExists(name) 81 raise lzc_exc.SnapshotNameInvalid(origin) [all …]
|
H A D | _nvlist.py | 74 raise MemoryError('nvlist_alloc failed') 123 raise MemoryError('nvlist_unpack failed') 185 raise TypeError('Array has elements of different types: ' + 192 raise TypeError('Array has elements of different C types: ' + 205 raise MemoryError('nvlist_alloc failed') 227 raise TypeError('Unsupported value type ' + type(specimen).__name__) 229 raise MemoryError('nvlist_add failed, err = %d' % ret) 247 raise RuntimeError('nvpair_value failed') 259 raise RuntimeError('nvpair_value failed') 269 raise TypeError('Unsupported key type ' + type(k).__name__) [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_raise.c | 84 atf_tc_set_md_var(tc, "descr", "Test raise(3) for invalid parameters"); in ATF_TC_HEAD() 93 ATF_REQUIRE(raise(10240 + i) == -1); in ATF_TC_BODY() 102 atf_tc_set_md_var(tc, "descr", "Test return order of raise(3)"); in ATF_TC_HEAD() 115 * Verify that raise(3) does not return in ATF_TC_BODY() 120 ATF_REQUIRE(raise(SIGUSR1) == 0); in ATF_TC_BODY() 123 atf_tc_fail("raise(3) returned before signal handler"); in ATF_TC_BODY() 129 atf_tc_set_md_var(tc, "descr", "A basic test of raise(3)"); in ATF_TC_HEAD() 153 ATF_REQUIRE(raise(sig[i]) == 0); in ATF_TC_BODY() 157 atf_tc_fail("raise(3) did not raise a signal"); in ATF_TC_BODY() 164 atf_tc_set_md_var(tc, "descr", "A basic stress test with raise(3)"); in ATF_TC_HEAD() [all …]
|
/freebsd/tests/atf_python/sys/netpfil/ipfw/ |
H A D | ioctl.py | 101 raise ValueError("TLV too short") 104 raise ValueError("wrong TLV size") 118 raise NotImplementedError() 137 raise ValueError("TLV size is too short") 140 raise ValueError("wrong TLV size") 161 raise ValueError("TLV size do not match") 165 # raise ValueError("unknown child TLV {}".format(hdr.n_type)) 201 raise ValueError("TLV size is not correct") 204 raise ValueError("wrong TLV size") 251 raise ValueError("TLV too short") [all …]
|
/freebsd/contrib/lib9p/pytest/ |
H A D | pfod.py | 49 raise TypeError('unexpected kwargs %s' % kwargs.keys()) 51 raise TypeError('unconsumed args %r' % tuple(args)) 62 raise AttributeError('%r object has no attribute %r' % 147 raise TypeError('Type names and field names must be strings') 149 raise ValueError('Type names and field names can only contain ' 152 raise ValueError('Type names and field names cannot be a ' 155 raise ValueError('Type names and field names cannot start with ' 160 raise ValueError('Field names cannot start with _OrderedDict_: ' 163 raise ValueError('Field names cannot start with an underscore: ' 166 raise ValueError('Encountered duplicate field name: %r' % name) [all …]
|
H A D | p9conn.py | 139 raise LocalError('already connected') 165 raise LocalError('maxio={0} < minimum {1}'.format(maxio, minio)) 178 raise LocalError('new maxio={0} < minimum {1}'.format(maxio, minio)) 180 raise LocalError('new maxio={0} > current {1}'.format(maxio, 234 # should we raise an error here? 243 # indicate EOF - should we raise an error instead, here? 287 raise LocalError('data length {0} exceeds ' 393 raise LocalError('all tags in use') 677 raise TEError('{0}: {1}: timeout or EOF'.format(self, req)) 679 raise RemoteError(self, req, None, 'Rlerror', resp.ecode) [all …]
|
H A D | protocol.py | 601 raise KeyError(other_name) 629 raise TypeError('pack() with no fcall requires 1 argument') 632 raise TypeError('pack() got an unexpected keyword argument ' 643 raise TypeError('pack() got unexpected arguments ' 647 raise TypeError('pack() got an unexpected keyword argument ' 650 raise TypeError('pack() with fcall and data ' 655 raise TypeError('pack(): {0} is not a valid ' 685 raise TypeError('{0}({1!r}): invalid ' 750 raise SequenceError('invalid fcall {0!r} for ' 790 this function for symmetry. (Should we raise an error [all …]
|
/freebsd/lib/libc/gen/ |
H A D | raise.3 | 36 .Nm raise 43 .Fn raise "int sig" 46 .Fn raise 51 .Rv -std raise 54 .Fn raise 67 .Fn raise
|
/freebsd/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | dataset.py | 85 raise 94 Unless otherwise noted, any method can raise a ZFSError to 126 raise e 131 raise e 133 raise e 142 Does not raise ZFSError. 216 raise zfs.util.ZFSError(errno.EINVAL, 224 raise 234 raise
|
/freebsd/lib/msun/tests/ |
H A D | fenv_test.c | 79 * Raise a floating-point exception without relying on the standard 82 * XXX We can't raise an {over,under}flow without also raising an 129 * routines. This function may raise an inexact exception. 393 int except, pass, raise, status; in ATF_TC_BODY() local 430 /* over/underflow may also raise inexact */ in ATF_TC_BODY() 432 raise = FE_DIVBYZERO | FE_INVALID; in ATF_TC_BODY() 434 raise = ALL_STD_EXCEPT ^ except; in ATF_TC_BODY() 446 raiseexcept(raise); in ATF_TC_BODY() 447 ATF_CHECK_EQ(0, feraiseexcept(raise)); in ATF_TC_BODY() 448 ATF_CHECK_EQ(raise, fetestexcept(ALL_STD_EXCEPT)); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | exc.html | 146 Block of code that may raise an exception. 148 Cleanup code that may raise an exception. 169 (We do not raise an exception when a bug is detected in the 186 and raise an exception. 201 Instead, you raise an exception. 243 ... some code that can raise an exception ... 257 /* code that can raise an exception */ 280 /* code that might raise end-of-file, or some other exception */ 343 recourse is to raise an exception, execute cleanup code 367 Note that it is extremely dangerous to raise an exception [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ObjCNoReturn.cpp | 30 : RaiseSel(GetNullarySelector("raise", C)), in ObjCNoReturn() 36 // raise:format: in ObjCNoReturn() 37 II.push_back(&C.Idents.get("raise")); in ObjCNoReturn() 42 // raise:format:arguments: in ObjCNoReturn() 53 // Check for the "raise" message. in isImplicitNoReturn()
|
/freebsd/tests/atf_python/sys/netlink/ |
H A D | netlink.py | 158 raise ValueError("length less than nlmsgdone header") 195 raise ValueError("length less than nlmsgerr header") 284 raise Exception("Short read from nl: {} bytes".format(len(data))) 295 raise Exception("Short read from genl: {} bytes".format(len(data))) 321 raise ValueError("unable to get family {}".format(family_name)) 326 raise ValueError("unable to get family {}".format(family_name)) 368 raise ValueError("bad sequence number") 370 raise ValueError( 375 raise StopIteration 376 raise ValueError( [all …]
|
H A D | message.py | 73 raise ValueError("length less than netlink message header") 133 raise 166 raise 177 raise 184 raise ValueError( 194 raise 207 raise ValueError( 224 raise ValueError(
|
/freebsd/tests/sys/opencrypto/ |
H A D | cryptotest.py | 49 raise unittest.SkipTest("Missing %s test vectors" % (base)) 100 raise RuntimeError('unknown mode: %r' % repr(mode)) 129 raise 138 raise 158 raise 180 raise RuntimeError('unknown mode: %r' % repr(mode)) 212 raise RuntimeError('unknown mode: %r' % repr(mode)) 234 raise 269 raise 308 raise [all …]
|
H A D | cryptodev.py | 198 raise ValueError('one of cipher or mac MUST be specified.') 272 raise ValueError('must have a tag length') 390 raise ValueError("Unknown line: %r" % (i)) 422 raise 426 raise ValueError('already present: %r' % repr(f)) 436 raise ValueError('not all fields found: %r' % repr(remain)) 475 raise 480 raise ValueError('already present: %r' % repr(f)) 488 raise ValueError('already present: %r' % repr(f)) 505 raise [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_diff/ |
H A D | zfs_diff_cliargs.ksh | 26 # 3. Verify supported options raise an error with unsupported arguments 27 # 4. Verify other unsupported options raise an error 61 # 3. Verify supported options raise an error with unsupported arguments 71 # 4. Verify other unsupported options raise an error
|
/freebsd/tests/atf_python/sys/net/ |
H A D | rtsock.py | 256 raise RtSockException("IPv4 sa size too small: {}".format(len(sa))) 263 raise RtSockException("IPv6 sa size too small: {}".format(len(sa))) 271 raise RtSockException("LINK sa size too small: {}".format(len(sa))) 280 raise RtSockException( 297 raise Exception("sa size {} != buffer size {}".format(sa[0], len(sa))) 300 raise Exception( 408 raise Exception("IPv4 sa size too small: {}".format(sa_data)) 410 raise Exception( 422 raise Exception( 438 raise Exception("SA type {} not present".format(sa_type_name)) [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_events/ |
H A D | zpool_events_cliargs.ksh | 25 # 2. Verify supported options raise an error with unsupported arguments 26 # 3. Verify other unsupported options raise an error 64 # 2.1 Verify supported options raise an error with unsupported arguments 82 # 3. Verify other unsupported options raise an error
|
/freebsd/lib/msun/src/ |
H A D | s_ccosh.c | 89 * of the signs of the argument. Raise the invalid floating-point in ccosh() 111 * Raise the invalid floating-point exception for finite nonzero x. in ccosh() 115 * nonzero x. Choice = don't raise (except for signaling NaNs). in ccosh() 125 * Raise the invalid floating-point exception. in ccosh() 140 * Choice = raise. in ccosh() 144 * nonzero y. Choice = don't raise (except for signaling NaNs). in ccosh()
|
H A D | s_csinh.c | 89 * as the argument. Raise the invalid floating-point exception. in csinh() 108 * Raise the invalid floating-point exception for finite nonzero x. in csinh() 112 * nonzero x. Choice = don't raise (except for signaling NaNs). in csinh() 124 * as the argument. Raise the invalid floating-point exception. in csinh() 139 * Choice = raise. in csinh() 143 * nonzero y. Choice = don't raise (except for signaling NaNs). in csinh()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | eapol_test.py | 27 raise Exception("Failed to connect to eapol_test (%s)" % ifname) 34 raise Exception("ADD_NETWORK failed") 40 raise Exception("REMOVE_NETWORK failed") 46 raise Exception("SET_NETWORK failed") 52 raise Exception("SET_NETWORK failed")
|
/freebsd/tools/regression/priv/ |
H A D | priv_proc_setrlimit.c | 35 * - Raise the current above the maximum (privileged). 36 * - Raise the current to the maximum (unprivileged). 37 * - Raise the maximum (privileged). 65 * raise them during tests. Set current lower than max so we can in priv_proc_setrlimit_setup() 66 * raise it later also. in priv_proc_setrlimit_setup()
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | err.D_PROTO_ARG.raisebadarg.d | 31 * raise() should generate an error if any arguments are sent. 33 * SECTION: Actions and Subroutines/raise() 40 raise("badarg");
|
/freebsd/share/man/man9/ |
H A D | kmsan.9 | 99 perform validation of the input's shadow state and will raise an error if 194 does not raise reports for certain operations on uninitialized memory, such 196 Thus, operations on uninitialized state which raise a report may be far removed 272 * This will raise a report since "sz" is uninitialized 282 * This will raise a report since "buf" has not been 292 * This will raise a report since the pad bytes in "foo" have 299 * This line itself will not raise a report, but may trigger
|