Home
last modified time | relevance | path

Searched refs:ScriptError (Results 1 – 25 of 545) sorted by relevance

12345678910>>...22

/dports/games/openttd/openttd-12.1/src/script/api/
H A Dscript_error.cpp18 ScriptError::ScriptErrorMap ScriptError::error_map = ScriptError::ScriptErrorMap();
19 ScriptError::ScriptErrorMapString ScriptError::error_map_string = ScriptError::ScriptErrorMapString…
21 /* static */ ScriptErrorType ScriptError::GetLastError() in GetLastError()
26 /* static */ char *ScriptError::GetLastErrorString() in GetLastErrorString()
28 return stredup((*error_map_string.find(ScriptError::GetLastError())).second); in GetLastErrorString()
31 /* static */ ScriptErrorType ScriptError::StringToError(StringID internal_string_id) in StringToError()
58 /* static */ void ScriptError::RegisterErrorMap(StringID internal_string_id, ScriptErrorType ai_err… in RegisterErrorMap()
63 /* static */ void ScriptError::RegisterErrorMapString(ScriptErrorType ai_error_msg, const char *mes… in RegisterErrorMapString()
68 /* static */ ScriptError::ErrorCategories ScriptError::GetErrorCategory() in GetErrorCategory()
70 return (ScriptError::ErrorCategories)(GetLastError() >> (uint)ERR_CAT_BIT_SIZE); in GetErrorCategory()
/dports/finance/py-pycoin/pycoin-0.91.20210515/pycoin/satoshi/
H A Dmiscops.py10 from pycoin.coins.SolutionChecker import ScriptError
30 raise ScriptError("OP_RESERVED encountered", errno.BAD_OPCODE)
86 raise ScriptError("nSequence equal to 0xffffffff")
88 raise ScriptError("empty stack on CHECKLOCKTIMEVERIFY")
90 raise ScriptError("script number overflow")
98 raise ScriptError("eras differ in CHECKLOCKTIMEVERIFY")
100 raise ScriptError("nLockTime too soon")
114 raise ScriptError("sequence numbers not comparable")
116 raise ScriptError("sequence number too small")
131 raise ScriptError(
[all …]
H A Dchecksigops.py13 from pycoin.coins.SolutionChecker import ScriptError
19 raise ScriptError("bad signature size", errno.SIG_DER)
21 raise ScriptError("bad signature byte 0", errno.SIG_DER)
23 raise ScriptError("signature size wrong", errno.SIG_DER)
38 raise ScriptError("zero-length R value", errno.SIG_DER)
42 raise ScriptError(
51 raise ScriptError(
73 raise ScriptError("signature is length 0")
180 raise ScriptError(
199 raise ScriptError("VERIFY failed", errno.VERIFY)
[all …]
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/lucet-spectest/src/
H A Dscript.rs10 pub enum ScriptError { enum
33 impl ScriptError { implementation
36 ScriptError::ProgramError(ref lucetc_err) in unsupported()
51 fn program_error(e: LucetcError) -> ScriptError { in program_error() argument
54 _ => ScriptError::ProgramError(e), in program_error()
77 .map_err(ScriptError::CompileError)? in instantiate()
79 .map_err(ScriptError::CodegenError)?; in instantiate()
94 return Err(ScriptError::LdError(message)); in instantiate()
111 .map_err(ScriptError::InstantiateError)?; in instantiate()
160 ) -> Result<UntypedRetVal, ScriptError> { in run() argument
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/blood/src/
H A Dbarf.cpp160 void ScriptError(const char *message);
242 void RFS::ScriptError(const char *message) in ScriptError() function in RFS
514 rfs.ScriptError("Symbol name expected"); in ParseScript()
524 rfs.ScriptError("Missing '='"); in ParseScript()
532 rfs.ScriptError("Constant expected"); in ParseScript()
566 rfs.ScriptError("Missing '='"); in ParseScript()
616 rfs.ScriptError("';' expected"); in ParseScript()
680 rfs.ScriptError("Unexpected else"); in ParseScript()
695 rfs.ScriptError("Unexpected Endif"); in ParseScript()
748 rfs.ScriptError("Missing '='"); in ParseScript()
[all …]
/dports/finance/py-pycoin/pycoin-0.91.20210515/pycoin/vm/
H A DVM.py5 from pycoin.coins.SolutionChecker import ScriptError
9 raise ScriptError(msg, errno.UNBALANCED_CONDITIONAL)
43 raise ScriptError("pop from empty stack", errno.INVALID_STACK_OPERATION)
49 raise ScriptError("getitem out of range", errno.INVALID_STACK_OPERATION)
57 raise ScriptError("unexpectedly got negative value", errno.INVALID_STACK_OPERATION)
77 raise ScriptError("script too long", errno.SCRIPT_SIZE)
101 raise ScriptError("malformed data", errno.BAD_OPCODE)
103 raise ScriptError("pushing too much data onto stack", errno.PUSH_SIZE)
123 raise ScriptError("script contains too many operations", errno.OP_COUNT)
127 raise ScriptError("stack has > %d items" % self.MAX_STACK_SIZE, errno.STACK_SIZE)
/dports/games/zdoom/zdoom-2.8.1/src/thingdef/
H A Dthingdef_states.cpp110 sc.ScriptError ("Too few arguments to %s", specname.GetChars()); in DoActionSpecials()
114 sc.ScriptError ("Too many arguments to %s", specname.GetChars()); in DoActionSpecials()
178 sc.ScriptError("GOTO before first state"); in ParseStates()
186 sc.ScriptError("STOP before first state"); in ParseStates()
194 sc.ScriptError("%s before first state", sc.String); in ParseStates()
202 sc.ScriptError("LOOP before first state"); in ParseStates()
232 sc.ScriptError ("Sprite names must be exactly 4 characters\n"); in ParseStates()
389 sc.ScriptError("Negative jump offsets are not allowed"); in ParseStates()
438 sc.ScriptError("You cannot pass parameters to '%s'\n", funcname.GetChars()); in ParseStates()
444 sc.ScriptError("Invalid state parameter %s\n", sc.String); in ParseStates()
[all …]
/dports/audio/picard/picard-release-2.6.2/test/
H A Dtest_script.py50 ScriptError,
176 with self.assertRaisesRegex(ScriptError, areg):
193 with self.assertRaisesRegex(ScriptError, areg):
323 with self.assertRaisesRegex(ScriptError, areg):
328 with self.assertRaisesRegex(ScriptError, areg):
333 with self.assertRaisesRegex(ScriptError, areg):
335 with self.assertRaisesRegex(ScriptError, areg):
340 with self.assertRaisesRegex(ScriptError, areg):
347 with self.assertRaisesRegex(ScriptError, areg):
350 with self.assertRaisesRegex(ScriptError, areg):
[all …]
/dports/finance/py-pycoin/pycoin-0.91.20210515/pycoin/coins/bitcoin/
H A DSegwitChecker.py9 from ..SolutionChecker import SolutionChecker, ScriptError
53 … raise ScriptError("witness program witness empty", errno.WITNESS_PROGRAM_WITNESS_EMPTY)
56 raise ScriptError("witness program mismatch", errno.WITNESS_PROGRAM_MISMATCH)
61 raise ScriptError("witness program mismatch", errno.WITNESS_PROGRAM_MISMATCH)
65 raise ScriptError("witness program wrong length", errno.WITNESS_PROGRAM_WRONG_LENGTH)
144 raise ScriptError("witness unexpected", errno.WITNESS_UNEXPECTED)
149 raise ScriptError("script sig is not blank on segwit input", err)
153 raise ScriptError("pushing too much data onto stack", errno.PUSH_SIZE)
161 raise ScriptError(
/dports/net-p2p/zetacoin-utils/zetacoin-0.13.2.1/src/test/
H A Dscript_tests.cpp167 ScriptError err; in DoTest()
323 TestBuilder& ScriptError(ScriptError_t err) in ScriptError() function in __anon4f6220a10111::TestBuilder
581 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
584 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
593 ).Num(1).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
596 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
602 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
1005 ScriptError err; in BOOST_AUTO_TEST_CASE()
1060 ScriptError err; in BOOST_AUTO_TEST_CASE()
1090 ScriptError err; in BOOST_AUTO_TEST_CASE()
[all …]
/dports/net-p2p/zetacoin/zetacoin-0.13.2.1/src/test/
H A Dscript_tests.cpp167 ScriptError err; in DoTest()
323 TestBuilder& ScriptError(ScriptError_t err) in ScriptError() function in __anon8cbb66630111::TestBuilder
581 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
584 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
593 ).Num(1).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
596 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
602 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
1005 ScriptError err; in BOOST_AUTO_TEST_CASE()
1060 ScriptError err; in BOOST_AUTO_TEST_CASE()
1090 ScriptError err; in BOOST_AUTO_TEST_CASE()
[all …]
/dports/net-p2p/zetacoin-daemon/zetacoin-0.13.2.1/src/test/
H A Dscript_tests.cpp167 ScriptError err; in DoTest()
323 TestBuilder& ScriptError(ScriptError_t err) in ScriptError() function in __anondbb34ac40111::TestBuilder
581 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
584 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
593 ).Num(1).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
596 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
602 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
1005 ScriptError err; in BOOST_AUTO_TEST_CASE()
1060 ScriptError err; in BOOST_AUTO_TEST_CASE()
1090 ScriptError err; in BOOST_AUTO_TEST_CASE()
[all …]
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/test/
H A Dscript_tests.cpp133 ScriptError err; in BOOST_FIXTURE_TEST_SUITE()
303 TestBuilder& ScriptError(ScriptError_t err) in ScriptError() function in __anon7ed9e8580111::TestBuilder
557 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
560 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
572 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
578 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
983 ScriptError err; in BOOST_AUTO_TEST_CASE()
1021 ScriptError err; in BOOST_AUTO_TEST_CASE()
1060 ScriptError err; in BOOST_AUTO_TEST_CASE()
1090 ScriptError err; in BOOST_AUTO_TEST_CASE()
[all …]
/dports/net-p2p/bitcoin/bitcoin-22.0/src/test/
H A Dscript_tests.cpp133 ScriptError err; in BOOST_FIXTURE_TEST_SUITE()
303 TestBuilder& ScriptError(ScriptError_t err) in ScriptError() function in __anon6965c89a0111::TestBuilder
557 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
560 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
572 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
578 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
983 ScriptError err; in BOOST_AUTO_TEST_CASE()
1021 ScriptError err; in BOOST_AUTO_TEST_CASE()
1060 ScriptError err; in BOOST_AUTO_TEST_CASE()
1090 ScriptError err; in BOOST_AUTO_TEST_CASE()
[all …]
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/test/
H A Dscript_tests.cpp133 ScriptError err; in BOOST_FIXTURE_TEST_SUITE()
303 TestBuilder& ScriptError(ScriptError_t err) in ScriptError() function in __anon514ed5fb0111::TestBuilder
557 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
560 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
572 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
578 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
983 ScriptError err; in BOOST_AUTO_TEST_CASE()
1021 ScriptError err; in BOOST_AUTO_TEST_CASE()
1060 ScriptError err; in BOOST_AUTO_TEST_CASE()
1090 ScriptError err; in BOOST_AUTO_TEST_CASE()
[all …]
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/src/test/
H A Dscript_tests.cpp165 ScriptError err; in DoTest()
336 TestBuilder& ScriptError(ScriptError_t err) in ScriptError() function in __anon4e135c1d0111::TestBuilder
589 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
592 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
604 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
610 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
1015 ScriptError err; in BOOST_AUTO_TEST_CASE()
1053 ScriptError err; in BOOST_AUTO_TEST_CASE()
1092 ScriptError err; in BOOST_AUTO_TEST_CASE()
1122 ScriptError err; in BOOST_AUTO_TEST_CASE()
[all …]
/dports/net-p2p/litecoin/litecoin-0.18.1/src/test/
H A Dscript_tests.cpp165 ScriptError err; in DoTest()
336 TestBuilder& ScriptError(ScriptError_t err) in ScriptError() function in __anoneb63e93c0111::TestBuilder
589 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
592 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
604 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
610 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
1015 ScriptError err; in BOOST_AUTO_TEST_CASE()
1053 ScriptError err; in BOOST_AUTO_TEST_CASE()
1092 ScriptError err; in BOOST_AUTO_TEST_CASE()
1122 ScriptError err; in BOOST_AUTO_TEST_CASE()
[all …]
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/src/test/
H A Dscript_tests.cpp165 ScriptError err; in DoTest()
336 TestBuilder& ScriptError(ScriptError_t err) in ScriptError() function in __anonea1f7f7a0111::TestBuilder
589 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
592 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
604 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
610 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
1015 ScriptError err; in BOOST_AUTO_TEST_CASE()
1053 ScriptError err; in BOOST_AUTO_TEST_CASE()
1092 ScriptError err; in BOOST_AUTO_TEST_CASE()
1122 ScriptError err; in BOOST_AUTO_TEST_CASE()
[all …]
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/test/
H A Dscript_tests.cpp132 ScriptError err; in BOOST_FIXTURE_TEST_SUITE()
303 TestBuilder& ScriptError(ScriptError_t err) in ScriptError() function in __anon7eef2f810111::TestBuilder
556 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
559 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
571 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
577 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
982 ScriptError err; in BOOST_AUTO_TEST_CASE()
1020 ScriptError err; in BOOST_AUTO_TEST_CASE()
1059 ScriptError err; in BOOST_AUTO_TEST_CASE()
1089 ScriptError err; in BOOST_AUTO_TEST_CASE()
[all …]
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/test/
H A Dscript_tests.cpp134 ScriptError err; in BOOST_FIXTURE_TEST_SUITE()
304 TestBuilder& ScriptError(ScriptError_t err) in ScriptError() function in __anon652395e20111::TestBuilder
558 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
561 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
573 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
579 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
984 ScriptError err; in BOOST_AUTO_TEST_CASE()
1022 ScriptError err; in BOOST_AUTO_TEST_CASE()
1061 ScriptError err; in BOOST_AUTO_TEST_CASE()
1091 ScriptError err; in BOOST_AUTO_TEST_CASE()
[all …]
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/test/
H A Dscript_tests.cpp134 ScriptError err; in BOOST_FIXTURE_TEST_SUITE()
304 TestBuilder& ScriptError(ScriptError_t err) in ScriptError() function in __anon267735410111::TestBuilder
558 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
561 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
573 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
579 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
984 ScriptError err; in BOOST_AUTO_TEST_CASE()
1022 ScriptError err; in BOOST_AUTO_TEST_CASE()
1061 ScriptError err; in BOOST_AUTO_TEST_CASE()
1091 ScriptError err; in BOOST_AUTO_TEST_CASE()
[all …]
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/test/
H A Dscript_tests.cpp134 ScriptError err; in BOOST_FIXTURE_TEST_SUITE()
304 TestBuilder& ScriptError(ScriptError_t err) in ScriptError() function in __anon38a8fb7f0111::TestBuilder
558 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
561 ).Num(0).ScriptError(SCRIPT_ERR_EVAL_FALSE)); in BOOST_AUTO_TEST_CASE()
573 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
579 ).Num(1).ScriptError(SCRIPT_ERR_SIG_DER)); in BOOST_AUTO_TEST_CASE()
984 ScriptError err; in BOOST_AUTO_TEST_CASE()
1022 ScriptError err; in BOOST_AUTO_TEST_CASE()
1061 ScriptError err; in BOOST_AUTO_TEST_CASE()
1091 ScriptError err; in BOOST_AUTO_TEST_CASE()
[all …]
/dports/science/dftbplus/dftbplus-19.1/tools/dptools/src/dptools/scripts/
H A Drepeatgen.py16 from dptools.scripts.common import ScriptError
53 raise ScriptError('Incorrect number of arguments')
61 raise ScriptError(msg)
63 raise ScriptError('Repetition numbers must be greater than zero')
87 raise ScriptError(msg)
92 raise ScriptError(msg)
H A Dstraingen.py15 from dptools.scripts.common import ScriptError
64 raise ScriptError(msg)
67 raise ScriptError("You must specify exactly two arguments "
73 raise ScriptError("Invalid strain value '" + args[1] + "'")
76 raise ScriptError("Compressive strain cannot exceed 100%")
/dports/databases/py-psycopg2/psycopg2-2.9.2/scripts/build/
H A Ddownload_packages_github.py22 class ScriptError(Exception): class
30 raise ScriptError("please set a GITHUB_TOKEN to download artifacts")
43 raise ScriptError(f"couldn't find {WORKFLOW_NAME!r} in recent runs")
46 raise ScriptError(f"run #{run['run_number']} is in status {run['status']}")
93 except ScriptError as e:

12345678910>>...22