Home
last modified time | relevance | path

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

12

/dports/multimedia/libv4l/linux-5.13-rc2/drivers/staging/vt6656/
H A Drxtx.c66 if (!priv->tx_context[ii]) in vnt_get_free_context()
69 context = priv->tx_context[ii]; in vnt_get_free_context()
189 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_g()
211 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_ab()
455 vnt_rxtx_rts(tx_context); in vnt_generate_tx_parameter()
460 vnt_rxtx_cts(tx_context); in vnt_generate_tx_parameter()
465 vnt_rxtx_ab(tx_context); in vnt_generate_tx_parameter()
537 if (!tx_context) { in vnt_tx_packet()
543 tx_context->pkt_type = pkt_type; in vnt_tx_packet()
550 if (!tx_context->skb) { in vnt_tx_packet()
[all …]
H A Dmain_usb.c445 struct vnt_usb_send_context *tx_context; in vnt_free_tx_bufs() local
451 tx_context = priv->tx_context[ii]; in vnt_free_tx_bufs()
452 if (!tx_context) in vnt_free_tx_bufs()
455 kfree(tx_context); in vnt_free_tx_bufs()
491 struct vnt_usb_send_context *tx_context; in vnt_alloc_bufs() local
498 tx_context = kmalloc(sizeof(*tx_context), GFP_KERNEL); in vnt_alloc_bufs()
499 if (!tx_context) { in vnt_alloc_bufs()
504 priv->tx_context[ii] = tx_context; in vnt_alloc_bufs()
505 tx_context->priv = priv; in vnt_alloc_bufs()
506 tx_context->pkt_no = ii; in vnt_alloc_bufs()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/staging/vt6656/
H A Drxtx.c66 if (!priv->tx_context[ii]) in vnt_get_free_context()
69 context = priv->tx_context[ii]; in vnt_get_free_context()
189 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_g()
211 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_ab()
455 vnt_rxtx_rts(tx_context); in vnt_generate_tx_parameter()
460 vnt_rxtx_cts(tx_context); in vnt_generate_tx_parameter()
465 vnt_rxtx_ab(tx_context); in vnt_generate_tx_parameter()
537 if (!tx_context) { in vnt_tx_packet()
543 tx_context->pkt_type = pkt_type; in vnt_tx_packet()
550 if (!tx_context->skb) { in vnt_tx_packet()
[all …]
H A Dmain_usb.c445 struct vnt_usb_send_context *tx_context; in vnt_free_tx_bufs() local
451 tx_context = priv->tx_context[ii]; in vnt_free_tx_bufs()
452 if (!tx_context) in vnt_free_tx_bufs()
455 kfree(tx_context); in vnt_free_tx_bufs()
491 struct vnt_usb_send_context *tx_context; in vnt_alloc_bufs() local
498 tx_context = kmalloc(sizeof(*tx_context), GFP_KERNEL); in vnt_alloc_bufs()
499 if (!tx_context) { in vnt_alloc_bufs()
504 priv->tx_context[ii] = tx_context; in vnt_alloc_bufs()
505 tx_context->priv = priv; in vnt_alloc_bufs()
506 tx_context->pkt_no = ii; in vnt_alloc_bufs()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/staging/vt6656/
H A Drxtx.c66 if (!priv->tx_context[ii]) in vnt_get_free_context()
69 context = priv->tx_context[ii]; in vnt_get_free_context()
189 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_g()
211 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_ab()
455 vnt_rxtx_rts(tx_context); in vnt_generate_tx_parameter()
460 vnt_rxtx_cts(tx_context); in vnt_generate_tx_parameter()
465 vnt_rxtx_ab(tx_context); in vnt_generate_tx_parameter()
537 if (!tx_context) { in vnt_tx_packet()
543 tx_context->pkt_type = pkt_type; in vnt_tx_packet()
550 if (!tx_context->skb) { in vnt_tx_packet()
[all …]
H A Dmain_usb.c445 struct vnt_usb_send_context *tx_context; in vnt_free_tx_bufs() local
451 tx_context = priv->tx_context[ii]; in vnt_free_tx_bufs()
452 if (!tx_context) in vnt_free_tx_bufs()
455 kfree(tx_context); in vnt_free_tx_bufs()
491 struct vnt_usb_send_context *tx_context; in vnt_alloc_bufs() local
498 tx_context = kmalloc(sizeof(*tx_context), GFP_KERNEL); in vnt_alloc_bufs()
499 if (!tx_context) { in vnt_alloc_bufs()
504 priv->tx_context[ii] = tx_context; in vnt_alloc_bufs()
505 tx_context->priv = priv; in vnt_alloc_bufs()
506 tx_context->pkt_no = ii; in vnt_alloc_bufs()
[all …]
/dports/finance/py-pycoin/pycoin-0.91.20210515/pycoin/coins/bitcoin/
H A DSolutionChecker.py63 …vm = self.VM(tx_context.solution_script, tx_context, self._make_sighash_f(tx_context.tx_in_idx), f…
166 tx_context = TxContext()
167 tx_context.lock_time = self.tx.lock_time
168 tx_context.version = self.tx.version
170 tx_context.solution_script = tx_in.script
171 tx_context.witness_solution_stack = tx_in.witness
172 tx_context.sequence = tx_in.sequence
173 tx_context.tx_in_idx = tx_in_idx
174 return tx_context
202 puzzle_script = tx_context.puzzle_script
[all …]
H A DSolver.py50 tx_context = self.solution_checker.tx_context_for_idx(tx_in_idx)
51tx_context.witness_solution_stack = DynamicStack([Atom("w_%d" % (1-_)) for _ in range(2)], fill_te…
52 script_hash = self.solution_checker.script_hash_from_script(tx_context.puzzle_script)
53 witness_version = self.solution_checker._witness_program_version(tx_context.puzzle_script)
54 tx_context.solution_script = b''
61tx_context.solution_script = self.ScriptTools.compile_push_data_list([underlying_script])
65 witness_program = (underlying_script if script_hash else tx_context.puzzle_script)[2:]
72 tx_context.witness_solution_stack = [underlying_script_wit]
80 self.solution_checker.check_solution(tx_context, traceback_f=traceback_f)
163 tx_context = checker.tx_context_for_idx(tx_in_idx)
[all …]
H A DSegwitChecker.py137 def witness_program_tuple(self, tx_context, puzzle_script, solution_stack, flags, is_p2sh): argument
143 if len(tx_context.witness_solution_stack) > 0:
151 for s in tx_context.witness_solution_stack:
157 tx_context.witness_solution_stack, witness_program)
158 sighash_f = self._make_witness_sighash_f(tx_context.tx_in_idx)
H A DP2SChecker.py27 def p2s_program_tuple(self, tx_context, puzzle_script, solution_stack, flags, sighash_f): argument
29 self._check_script_push_only(tx_context.solution_script)
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cpp-ethereum/evmc/examples/
H A Dexample.c46 struct evmc_tx_context tx_context; in main() local
47 memset(&tx_context, 0, sizeof(tx_context)); in main()
48 tx_context.block_number = 42; in main()
49 tx_context.block_timestamp = 66; in main()
50 tx_context.block_gas_limit = gas * 2; in main()
52 struct evmc_host_context* ctx = example_host_create_context(tx_context); in main()
H A Dexample_host.cpp47 evmc_tx_context tx_context{}; member in ExampleHost
51 explicit ExampleHost(evmc_tx_context& _tx_context) noexcept : tx_context{_tx_context} {}; in ExampleHost()
53 : accounts{_accounts}, tx_context{_tx_context} {}; in ExampleHost()
140 evmc_tx_context get_tx_context() const noexcept final { return tx_context; } in get_tx_context()
173 evmc_host_context* example_host_create_context(evmc_tx_context tx_context) in example_host_create_context() argument
175 auto host = new ExampleHost{tx_context}; in example_host_create_context()
/dports/finance/py-pycoin/pycoin-0.91.20210515/pycoin/contrib/
H A Dwho_signed.py19 tx_context = sc.tx_context_for_idx(tx_in_idx)
22 …for puzzle_script, solution_stack, flags, sighash_f in sc.puzzle_and_solution_iterator(tx_context):
30 tx_context = sc.tx_context_for_idx(tx_in_idx)
33 …for puzzle_script, solution_stack, flags, sighash_f in sc.puzzle_and_solution_iterator(tx_context):
37 … vm = sc.VM(puzzle_script, tx_context, sighash_f, flags=flags, initial_stack=solution_stack[:])
51 tx_context = sc.tx_context_for_idx(tx_in_idx)
54 …for puzzle_script, solution_stack, flags, sighash_f in sc.puzzle_and_solution_iterator(tx_context):
/dports/finance/py-pycoin/pycoin-0.91.20210515/tests/
H A Dtools_test.py19 tx_context = TxContext()
20 tx_context.signature_for_hash_type_f = None
21 tx_context.flags = 0
22 tx_context.traceback_f = None
23 vm = BitcoinVM(script, tx_context, tx_context.signature_for_hash_type_f, flags=0)
/dports/finance/py-pycoin/pycoin-0.91.20210515/pycoin/satoshi/
H A Dmiscops.py85 if vm.tx_context.sequence == 0xffffffff:
96 era_lock_time = (vm.tx_context.lock_time >= 500000000)
99 if max_lock_time > vm.tx_context.lock_time:
136 if vm.tx_context.version < 2:
138 if vm.tx_context.sequence & SEQUENCE_LOCKTIME_DISABLE_FLAG:
141 _check_sequence_verify(sequence, vm.tx_context.sequence)
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cpp-ethereum/evmc/examples/example-rust-vm/src/
H A Dlib.rs37 let tx_context = _context.get_tx_context().clone(); in execute() localVariable
47 assert!(tx_context.block_number <= 255); in execute()
48 let block_number = tx_context.block_number as u8; in execute()
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cpp-ethereum/evmc/bindings/go/evmc/
H A Dhost.c45 struct evmc_tx_context tx_context; in go_exported_functions_type_checks() local
46 (void)tx_context; in go_exported_functions_type_checks()
91 tx_context = get_tx_context_fn(context); in go_exported_functions_type_checks()
92 tx_context = getTxContext(context); in go_exported_functions_type_checks()
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cpp-ethereum/evmc/examples/example_vm/
H A Dexample_vm.c155 const struct evmc_tx_context tx_context = host->get_tx_context(context); in execute() local
159 snprintf((char*)output_data, output_size, "%u", (unsigned)tx_context.block_number); in execute()
170 const struct evmc_tx_context tx_context = host->get_tx_context(context); in execute() local
177 value.bytes[31] = (uint8_t)tx_context.block_number; in execute()
182 snprintf((char*)output_data, output_size, "%u", (unsigned)tx_context.block_number); in execute()
/dports/lang/solidity/solidity_0.8.11/test/contracts/
H A DAuctionRegistrar.cpp420 m_evmcHost->tx_context.block_timestamp += m_biddingTime + 10; in BOOST_AUTO_TEST_CASE()
432 m_evmcHost->tx_context.block_timestamp = startTime; in BOOST_AUTO_TEST_CASE()
440 m_evmcHost->tx_context.block_timestamp = startTime + m_biddingTime - 10; in BOOST_AUTO_TEST_CASE()
446 m_evmcHost->tx_context.block_timestamp = startTime + 2 * m_biddingTime - 50; in BOOST_AUTO_TEST_CASE()
452 m_evmcHost->tx_context.block_timestamp = startTime + 4 * m_biddingTime; in BOOST_AUTO_TEST_CASE()
/dports/finance/py-pycoin/pycoin-0.91.20210515/pycoin/vm/
H A DVM.py23 …def __init__(self, script, tx_context, signature_for_hash_type_f, flags, initial_stack=None, trace… argument
26 self.tx_context = tx_context
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/can/usb/
H A Dgs_usb.c184 struct gs_tx_context tx_context[GS_MAX_TX_URBS]; member
209 if (dev->tx_context[i].echo_id == GS_MAX_TX_URBS) { in gs_alloc_tx_context()
210 dev->tx_context[i].echo_id = i; in gs_alloc_tx_context()
212 return &dev->tx_context[i]; in gs_alloc_tx_context()
236 if (dev->tx_context[id].echo_id == id) { in gs_get_tx_context()
238 return &dev->tx_context[id]; in gs_get_tx_context()
720 dev->tx_context[rc].dev = dev; in gs_can_close()
721 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_can_close()
861 dev->tx_context[rc].dev = dev; in gs_make_candev()
862 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_make_candev()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/can/usb/
H A Dgs_usb.c184 struct gs_tx_context tx_context[GS_MAX_TX_URBS]; member
209 if (dev->tx_context[i].echo_id == GS_MAX_TX_URBS) { in gs_alloc_tx_context()
210 dev->tx_context[i].echo_id = i; in gs_alloc_tx_context()
212 return &dev->tx_context[i]; in gs_alloc_tx_context()
236 if (dev->tx_context[id].echo_id == id) { in gs_get_tx_context()
238 return &dev->tx_context[id]; in gs_get_tx_context()
720 dev->tx_context[rc].dev = dev; in gs_can_close()
721 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_can_close()
861 dev->tx_context[rc].dev = dev; in gs_make_candev()
862 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_make_candev()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/can/usb/
H A Dgs_usb.c184 struct gs_tx_context tx_context[GS_MAX_TX_URBS]; member
209 if (dev->tx_context[i].echo_id == GS_MAX_TX_URBS) { in gs_alloc_tx_context()
210 dev->tx_context[i].echo_id = i; in gs_alloc_tx_context()
212 return &dev->tx_context[i]; in gs_alloc_tx_context()
236 if (dev->tx_context[id].echo_id == id) { in gs_get_tx_context()
238 return &dev->tx_context[id]; in gs_get_tx_context()
720 dev->tx_context[rc].dev = dev; in gs_can_close()
721 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_can_close()
861 dev->tx_context[rc].dev = dev; in gs_make_candev()
862 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_make_candev()
/dports/lang/solidity/solidity_0.8.11/test/
H A DEVMHost.cpp130 tx_context.block_difficulty = evmc::uint256be{200000000}; in EVMHost()
131 tx_context.block_gas_limit = 20000000; in EVMHost()
132 tx_context.block_coinbase = 0x7878787878787878787878787878787878787878_address; in EVMHost()
133 tx_context.tx_gas_price = evmc::uint256be{3000000000}; in EVMHost()
134 tx_context.tx_origin = 0x9292929292929292929292929292929292929292_address; in EVMHost()
136 tx_context.chain_id = evmc::uint256be{1}; in EVMHost()
138 tx_context.block_base_fee = evmc::bytes32{7}; in EVMHost()
H A DExecutionFramework.cpp132 return {m_evmcHost->tx_context.block_gas_limit}; in gasLimit()
140 return u256{EVMHost::convertFromEVMC(m_evmcHost->tx_context.tx_gas_price)}; in gasPrice()
152 return m_evmcHost->tx_context.block_number; in blockNumber()
226 return static_cast<size_t>(m_evmcHost->tx_context.block_timestamp); in currentTimestamp()

12