Home
last modified time | relevance | path

Searched refs:next_state (Results 1 – 25 of 65) sorted by relevance

123

/external/open-dice/src/
Dtemplate_cert_op_test.cc37 DiceStateForTest next_state = {}; in TEST() local
41 sizeof(next_state.certificate), next_state.certificate, in TEST()
42 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST()
44 EXPECT_EQ(0, memcmp(next_state.cdi_attest, in TEST()
46 EXPECT_EQ(0, memcmp(next_state.cdi_seal, in TEST()
49 next_state.certificate_size); in TEST()
51 next_state.certificate, next_state.certificate_size)); in TEST()
58 DiceStateForTest next_state = {}; in TEST() local
69 sizeof(next_state.certificate), next_state.certificate, in TEST()
70 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST()
[all …]
Dcbor_p384_cert_op_test.cc38 DiceStateForTest next_state = {}; in TEST() local
42 sizeof(next_state.certificate), next_state.certificate, in TEST()
43 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST()
45 DumpState(CertificateType_Cbor, KeyType_P384, "zero_input", next_state); in TEST()
47 ASSERT_EQ(sizeof(next_state.cdi_attest), in TEST()
49 EXPECT_EQ(0, memcmp(next_state.cdi_attest, in TEST()
51 ASSERT_EQ(sizeof(next_state.cdi_seal), in TEST()
53 EXPECT_EQ(0, memcmp(next_state.cdi_seal, in TEST()
56 next_state.certificate_size); in TEST()
60 next_state.certificate, in TEST()
[all …]
Dtemplate_cbor_cert_op_test.cc37 DiceStateForTest next_state = {}; in TEST() local
41 sizeof(next_state.certificate), next_state.certificate, in TEST()
42 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST()
45 EXPECT_EQ(0, memcmp(next_state.cdi_attest, in TEST()
47 EXPECT_EQ(0, memcmp(next_state.cdi_seal, in TEST()
50 next_state.certificate_size); in TEST()
52 next_state.certificate, next_state.certificate_size)); in TEST()
59 DiceStateForTest next_state = {}; in TEST() local
70 sizeof(next_state.certificate), next_state.certificate, in TEST()
71 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST()
[all …]
Ddice_test.cc118 DiceStateForTest next_state = {}; in TEST() local
122 sizeof(next_state.certificate), next_state.certificate, in TEST()
123 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST()
125 EXPECT_EQ(0, memcmp(next_state.cdi_attest, in TEST()
127 EXPECT_EQ(0, memcmp(next_state.cdi_seal, in TEST()
129 EXPECT_EQ(kFakeCertSize, next_state.certificate_size); in TEST()
136 DiceStateForTest next_state = {}; in TEST() local
140 sizeof(next_state.certificate), next_state.certificate, in TEST()
141 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST()
149 DiceStateForTest next_state = {}; in TEST() local
[all …]
Dmbedtls_ops_test.cc38 DiceStateForTest next_state = {}; in TEST() local
42 sizeof(next_state.certificate), next_state.certificate, in TEST()
43 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST()
45 DumpState(CertificateType_X509, KeyType_P256, "zero_input", next_state); in TEST()
47 EXPECT_EQ(0, memcmp(next_state.cdi_attest, in TEST()
49 EXPECT_EQ(0, memcmp(next_state.cdi_seal, in TEST()
52 next_state.certificate_size); in TEST()
54 next_state.certificate, next_state.certificate_size)); in TEST()
61 DiceStateForTest next_state = {}; in TEST() local
72 sizeof(next_state.certificate), next_state.certificate, in TEST()
[all …]
Dcbor_cert_op_test.cc37 DiceStateForTest next_state = {}; in TEST() local
41 sizeof(next_state.certificate), next_state.certificate, in TEST()
42 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST()
44 DumpState(CertificateType_Cbor, KeyType_Ed25519, "zero_input", next_state); in TEST()
46 EXPECT_EQ(0, memcmp(next_state.cdi_attest, in TEST()
48 EXPECT_EQ(0, memcmp(next_state.cdi_seal, in TEST()
51 next_state.certificate_size); in TEST()
53 next_state.certificate, next_state.certificate_size)); in TEST()
60 DiceStateForTest next_state = {}; in TEST() local
71 sizeof(next_state.certificate), next_state.certificate, in TEST()
[all …]
Dboringssl_ed25519_ops_test.cc38 DiceStateForTest next_state = {}; in TEST() local
42 sizeof(next_state.certificate), next_state.certificate, in TEST()
43 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST()
45 DumpState(CertificateType_X509, KeyType_Ed25519, "zero_input", next_state); in TEST()
47 EXPECT_EQ(0, memcmp(next_state.cdi_attest, in TEST()
49 EXPECT_EQ(0, memcmp(next_state.cdi_seal, in TEST()
52 next_state.certificate_size); in TEST()
54 next_state.certificate, next_state.certificate_size)); in TEST()
61 DiceStateForTest next_state = {}; in TEST() local
72 sizeof(next_state.certificate), next_state.certificate, in TEST()
[all …]
/external/antlr/runtime/Ruby/lib/antlr3/
Ddfa.rb197 next_state = @transition[ state ][ c - @min[ state ] ]
198 if next_state < 0
208 state = next_state
263 next_state = @transition[ state ][ c - @min[ state ] ]
264 if next_state < 0
274 state = next_state
/external/perfetto/src/protozero/filtering/
Dmessage_filter.cc154 StackState next_state{}; in FilterOneByte() local
229 next_state.field_id = token.field_id; in FilterOneByte()
230 next_state.msg_index = filter.nested_msg_index; in FilterOneByte()
231 next_state.in_bytes_limit = submessage_len; in FilterOneByte()
232 next_state.size_field = size_field.first; in FilterOneByte()
233 next_state.size_field_len = size_field.second; in FilterOneByte()
234 next_state.out_bytes_written_at_start = out_written(); in FilterOneByte()
287 stack_.emplace_back(std::move(next_state)); in FilterOneByte()
/external/cronet/net/server/
Dhttp_server.cc437 int next_state = parser_state[state][input]; in ParseHeaders() local
439 bool transition = (next_state != state); in ParseHeaders()
455 next_state = ST_ERR; in ParseHeaders()
479 state = next_state; in ParseHeaders()
/external/rust/crates/tokio-util/src/sync/
Dmpsc.rs96 let (result, next_state) = match self.take_state() { in poll_reserve()
119 self.state = next_state; in poll_reserve()
141 let (result, next_state) = match self.take_state() { in send_item()
153 next_state in send_item()
214 let (result, next_state) = match self.take_state() { in abort_send()
240 self.state = next_state; in abort_send()
/external/curl/lib/
Dsmb.c758 enum smb_req_state next_state = SMB_DONE; in smb_request_state() local
802 next_state = SMB_OPEN; in smb_request_state()
810 next_state = SMB_TREE_DISCONNECT; in smb_request_state()
819 next_state = SMB_UPLOAD; in smb_request_state()
826 next_state = SMB_CLOSE; in smb_request_state()
832 next_state = SMB_DOWNLOAD; in smb_request_state()
840 next_state = SMB_CLOSE; in smb_request_state()
858 next_state = SMB_CLOSE; in smb_request_state()
865 next_state = (len < MAX_PAYLOAD_SIZE) ? SMB_CLOSE : SMB_DOWNLOAD; in smb_request_state()
871 next_state = SMB_CLOSE; in smb_request_state()
[all …]
/external/rust/crates/aho-corasick/src/
Dnfa.rs154 pub fn next_state(&self, current: S, input: u8) -> S { in next_state() method
155 self.states[current.to_usize()].next_state(input) in next_state()
265 fn next_state(&self, mut current: S, input: u8) -> S { in next_state() method
273 let next = state.next_state(input); in next_state()
316 fn next_state(&self, input: u8) -> S { in next_state() method
317 self.trans.next_state(input) in next_state()
394 fn next_state(&self, input: u8) -> S { in next_state() method
702 let next = self.nfa.state(prev).next_state(b); in build_trie()
919 while it.nfa().state(fail).next_state(b) == fail_id() { in fill_failure_transitions()
922 fail = it.nfa().state(fail).next_state(b); in fill_failure_transitions()
[all …]
/external/libusb/examples/
Ddpfp.c157 static int next_state(void);
314 if (next_state() < 0) in cb_mode_changed()
397 static int next_state(void) in next_state() function
449 if (next_state() < 0) in cb_irq()
457 if (next_state() < 0) in cb_irq()
484 if (next_state() < 0) in cb_img()
517 return next_state(); in init_capture()
/external/cronet/net/quic/
Ddedicated_web_transport_http3_client.cc97 WebTransportState next_state, in RecordNetLogQuicSessionClientStateChanged() argument
103 dict.Set("next_state", WebTransportStateString(next_state)); in RecordNetLogQuicSessionClientStateChanged()
660 WebTransportState next_state) { in TransitionToState() argument
664 DCHECK(IsTerminalState(next_state)) in TransitionToState()
665 << "from: " << state_ << ", to: " << next_state; in TransitionToState()
669 DCHECK_NE(state_, next_state); in TransitionToState()
671 state_ = next_state; in TransitionToState()
672 RecordNetLogQuicSessionClientStateChanged(net_log_, last_state, next_state, in TransitionToState()
674 switch (next_state) { in TransitionToState()
708 NOTREACHED() << "Invalid state reached: " << next_state; in TransitionToState()
/external/autotest/server/cros/chaos_lib/
Dchaos_capture_analyzer.py415 return self._get_state(state.next_state)
582 next_state = self._current_state
583 while next_state != self.STATE_INFO_END:
584 if self._does_packet_match_state(next_state, packet):
585 self._step(next_state, packet)
586 self._check_for_ack(next_state, packet)
588 next_state = self._get_next_state(next_state)
/external/rust/crates/regex-automata/src/
Ddfa.rs56 fn next_state(&self, current: Self::ID, input: u8) -> Self::ID; in next_state() method
351 fn next_state(&self, current: Self::ID, input: u8) -> Self::ID { in next_state() method
352 (**self).next_state(current, input) in next_state()
/external/harfbuzz_ng/src/
Dhb-ot-shaper-thai.cc184 thai_above_state_t next_state; member
211 thai_below_state_t next_state; member
249 above_state = above_edge.next_state; in do_thai_pua_shaping()
250 below_state = below_edge.next_state; in do_thai_pua_shaping()
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ftrace/wakeup/
Dformat15 field:unsigned char next_state; offset:23; size:1; signed:0;
17 …pid, REC->prev_prio, REC->prev_state, REC->next_pid, REC->next_prio, REC->next_state, REC->next_cpu
/external/perfetto/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/ftrace/wakeup/
Dformat15 field:unsigned char next_state; offset:23; size:1; signed:0;
17 …pid, REC->prev_prio, REC->prev_state, REC->next_pid, REC->next_prio, REC->next_state, REC->next_cpu
/external/perfetto/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/ftrace/context_switch/
Dformat15 field:unsigned char next_state; offset:23; size:1; signed:0;
17 …pid, REC->prev_prio, REC->prev_state, REC->next_pid, REC->next_prio, REC->next_state, REC->next_cpu
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/ftrace/context_switch/
Dformat15 field:unsigned char next_state; offset:23; size:1; signed:0;
17 …pid, REC->prev_prio, REC->prev_state, REC->next_pid, REC->next_prio, REC->next_state, REC->next_cpu
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ftrace/context_switch/
Dformat15 field:unsigned char next_state; offset:23; size:1; signed:0;
17 …pid, REC->prev_prio, REC->prev_state, REC->next_pid, REC->next_prio, REC->next_state, REC->next_cpu
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/ftrace/wakeup/
Dformat15 field:unsigned char next_state; offset:23; size:1; signed:0;
17 …pid, REC->prev_prio, REC->prev_state, REC->next_pid, REC->next_prio, REC->next_state, REC->next_cpu
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/ftrace/wakeup/
Dformat15 field:unsigned char next_state; offset:23; size:1; signed:0;
17 …pid, REC->prev_prio, REC->prev_state, REC->next_pid, REC->next_prio, REC->next_state, REC->next_cpu

123