/bind-9.6-ESV-R11/bin/tests/ |
H A D | lfsr_test.c | 28 isc_uint32_t state[1024 * 64]; variable 44 isc_lfsr_generate(&lfsr1, &state[i], 4); 45 printf("lfsr1: state[%2d] = %08x\n", i, state[i]); 50 if (state[i] != temp) 51 printf("lfsr1: state[%2d] = %08x, " 52 "but new state is %08x\n", 53 i, state[i], temp); 61 isc_lfsr_generate(&lfsr1, &state[i], 4); 63 printf("lfsr1: state[ [all...] |
/bind-9.6-ESV-R11/lib/isc/ |
H A D | lfsr.c | 34 isc_lfsr_init(isc_lfsr_t *lfsr, isc_uint32_t state, unsigned int bits, argument 42 lfsr->state = state; 51 if (lfsr->state == 0) 52 lfsr->state = 0xffffffffU >> (32 - lfsr->bits); 56 * Return the next state of the lfsr. 63 * If the previous state is zero, we must fill it with something 66 * First, give the reseed function a crack at it. If the state is 69 if (lfsr->state == 0) { 72 if (lfsr->state [all...] |
H A D | sha2.c | 411 memmove(context->state, sha224_initial_hash_value, 476 memmove(context->state, sha256_initial_hash_value, 527 a = context->state[0]; 528 b = context->state[1]; 529 c = context->state[2]; 530 d = context->state[3]; 531 e = context->state[4]; 532 f = context->state[5]; 533 g = context->state[6]; 534 h = context->state[ [all...] |
H A D | ratelimiter.c | 46 isc_ratelimiter_state_t state; member in struct:isc_ratelimiter 76 rl->state = isc_ratelimiter_idle; 117 if (rl->state == isc_ratelimiter_ratelimited) { 145 if (rl->state == isc_ratelimiter_ratelimited || 146 rl->state == isc_ratelimiter_stalled) { 151 } else if (rl->state == isc_ratelimiter_idle) { 156 rl->state = isc_ratelimiter_ratelimited; 159 INSIST(rl->state == isc_ratelimiter_shuttingdown); 198 rl->state = isc_ratelimiter_idle; 215 rl->state [all...] |
H A D | lex.c | 359 lexstate state = lexstate_start; local 463 if (state == lexstate_start) 479 saved_state = state; 480 state = lexstate_eatline; 487 saved_state = state; 488 state = lexstate_maybecomment; 494 saved_state = state; 495 state = lexstate_eatline; 503 switch (state) { 536 state [all...] |
H A D | task.c | 81 task_state_t state; member in struct:isc_task 147 REQUIRE(task->state == task_state_done); 192 task->state = task_state_idle; 260 if (task->state == task_state_idle) { 262 task->state = task_state_ready; 265 INSIST(task->state == task_state_ready || 266 task->state == task_state_running); 287 REQUIRE(task->state == task_state_ready); 313 if (task->references == 0 && task->state == task_state_idle) { 319 * depending on its state, bu [all...] |
H A D | sha1.c | 167 transform(isc_uint32_t state[5], const unsigned char buffer[64]) { argument 173 INSIST(state != NULL); 178 /* Copy context->state[] to working vars */ 179 a = state[0]; 180 b = state[1]; 181 c = state[2]; 182 d = state[3]; 183 e = state[4]; 214 /* Add the working vars back into context.state[] */ 215 state[ [all...] |
H A D | httpd.c | 82 unsigned int state; member in struct:isc_httpd 86 * Received data state. 101 * Transmit data state. 167 * _IDLE The client is not doing anything at all. This state should 180 * Badly formatted state table: 199 #define ISC_HTTPD_ISRECV(c) ((c)->state == ISC_HTTPD_STATERECV) 200 #define ISC_HTTPD_ISRECVDONE(c) ((c)->state == ISC_HTTPD_STATERECVDONE) 201 #define ISC_HTTPD_ISSEND(c) ((c)->state == ISC_HTTPD_STATESEND) 202 #define ISC_HTTPD_ISSENDDONE(c) ((c)->state == ISC_HTTPD_STATESENDDONE) 207 #define ISC_HTTPD_SETRECV(c) ((c)->state [all...] |
/bind-9.6-ESV-R11/bin/named/include/named/ |
H A D | lwdclient.h | 49 unsigned int state; member in struct:ns_lwdclient 50 void *arg; /*%< packet processing state */ 60 * Send data state. If sendbuf != buffer (that is, the send buffer 68 * gabn (get address by name) state info. 80 * gnba (get name by address) state info. 88 * grbn (get rrset by name) state info. 124 * Badly formatted state table: 152 ((c)->state == NS_LWDCLIENT_STATEIDLE) 154 ((c)->state == NS_LWDCLIENT_STATERECV) 156 ((c)->state [all...] |
/bind-9.6-ESV-R11/lib/isc/include/isc/ |
H A D | lfsr.h | 32 * modify any state in the LFSR in any way it sees fit OTHER THAN "bits". 43 * needs to be taken to not change state once the lfsr is in operation. 46 isc_uint32_t state; /*%< previous state */ member in struct:isc_lfsr 58 isc_lfsr_init(isc_lfsr_t *lfsr, isc_uint32_t state, unsigned int bits, 105 * Given two LFSRs, use the current state from each to skip entries in the 117 *\li Since the current state from each of the LFSRs is used to skip 118 * state in the other, it is important that no state be leaked
|
H A D | sha1.h | 38 isc_uint32_t state[5]; member in struct:__anon173
|
H A D | sha2.h | 87 isc_uint32_t state[8]; member in struct:__anon174 96 isc_uint64_t state[8]; member in struct:__anon175
|
/bind-9.6-ESV-R11/unit/atf-src/atf-report/ |
H A D | reader.hpp | 51 const state_enum state; member in struct:atf::atf_report::test_case_result 55 state(p_state),
|
H A D | atf-report.cpp | 169 write_tc_end(const std::string& state, struct timeval* tv, argument 172 std::string str = m_tpname + ", " + m_tcname + ", " + state; 177 if (state == "failed") 269 write_tc_end(const std::string& state, struct timeval* tv, argument 276 if (state == "expected_death" || state == "expected_exit" || 277 state == "expected_failure" || state == "expected_signal" || 278 state == "expected_timeout") { 282 } else if (state 459 write_tc_end(const std::string& state, struct timeval* tv, const std::string& reason) argument 571 got_tc_end(const std::string& state, struct timeval* tv, const std::string& reason) argument [all...] |
H A D | reader.cpp | 198 const std::string& state ATF_DEFS_ATTRIBUTE_UNUSED, 372 std::string state; local 373 if (t.type() == expected_death_type) state = "expected_death"; 374 else if (t.type() == expected_exit_type) state = "expected_exit"; 375 else if (t.type() == expected_failure_type) state = "expected_failure"; 376 else if (t.type() == expected_signal_type) state = "expected_signal"; 377 else if (t.type() == expected_timeout_type) state = "expected_timeout"; 378 else if (t.type() == failed_type) state = "failed"; 379 else if (t.type() == skipped_type) state = "skipped"; 385 throw parse_error(t.lineno(), "Empty reason for " + state [all...] |
/bind-9.6-ESV-R11/bin/dig/ |
H A D | dig.c | 714 isc_boolean_t state = ISC_TRUE; local 730 state = ISC_FALSE; 752 lookup->aaonly = state; 758 lookup->section_additional = state; 762 lookup->adflag = state; 770 lookup->section_question = state; 771 lookup->section_authority = state; 772 lookup->section_answer = state; 773 lookup->section_additional = state; 774 lookup->comments = state; [all...] |
/bind-9.6-ESV-R11/unit/atf-src/atf-run/ |
H A D | test-program.cpp | 355 handle_result(const std::string& state, const std::string& arg, argument 358 PRE(state == "passed"); 361 throw std::runtime_error("The test case result '" + state + "' cannot " 364 return impl::test_case_result(state, -1, reason); 368 handle_result_with_reason(const std::string& state, const std::string& arg, argument 371 PRE(state == "expected_death" || state == "expected_failure" || 372 state == "expected_timeout" || state == "failed" || state 382 handle_result_with_reason_and_arg(const std::string& state, const std::string& arg, const std::string& reason) argument 542 std::string state, arg, reason; local 639 end_tc(const std::string& state, const std::string& reason) argument [all...] |
H A D | atf-run.cpp | 281 if (tcr.state() == "expected_timeout") { 302 if (tcr.state() == "expected_death") { 304 } else if (tcr.state() == "expected_exit") { 311 } else if (tcr.state() == "expected_failure") { 317 } else if (tcr.state() == "expected_signal") { 320 } else if (tcr.state() == "failed") { 326 } else if (tcr.state() == "passed") { 332 } else if (tcr.state() == "skipped") { 350 if (tcr.state() == "expected_death") { 352 } else if (tcr.state() [all...] |
H A D | test-program.hpp | 62 state(void) const function in struct:atf::atf_run::test_case_result
|
/bind-9.6-ESV-R11/bin/named/win32/ |
H A D | ntservice.c | 165 * Tell the Service Control Manager the state of the service. 167 void UpdateSCM(DWORD state) { argument 172 if (state) 173 dwState = state;
|
/bind-9.6-ESV-R11/lib/dns/ |
H A D | rdata.c | 1629 struct state { struct 1637 #define Ceor state->Ceor 1638 #define Csum state->Csum 1639 #define Crot state->Crot 1640 #define word state->word 1641 #define bcount state->bcount 1646 struct state *state); 1647 static isc_result_t putbyte(int c, isc_buffer_t *, struct state *state); 1655 byte_atob(int c, isc_buffer_t *target, struct state *state) argument 1693 putbyte(int c, isc_buffer_t *target, struct state *state) argument 1730 struct state statebuf, *state= &statebuf; local 1792 byte_btoa(int c, isc_buffer_t *target, struct state *state) argument 1860 struct state statebuf, *state = &statebuf; local [all...] |
H A D | cache.c | 66 * A cache_cleaner_t encapsulates the state of the periodic 81 #define CLEANER_IDLE(c) ((c)->state == cleaner_s_idle && \ 83 #define CLEANER_BUSY(c) ((c)->state == cleaner_s_busy && \ 112 cleaner_state_t state; /*% Idle/Busy. */ member in struct:cache_cleaner 113 isc_boolean_t overmem; /*% The cache is in an overmem state. */ 561 cleaner->state = cleaner_s_idle; 699 cleaner->state = cleaner_s_busy; 724 cleaner->state = cleaner_s_idle; 742 "cleaner state = %d", cleaner->state); [all...] |
H A D | xfrin.c | 72 * The states of the *XFR state machine. We handle both IXFR and AXFR 73 * with a single integrated state machine because they cannot be distinguished 141 xfrin_state_t state; member in struct:dns_xfrin_ctx 419 /* XXX enter ready-to-commit state here */ 437 * state. 452 switch (xfr->state) { 468 xfr->state = XFRST_GOTSOA; 505 xfr->state = XFRST_FIRSTDATA; 519 xfr->state = XFRST_IXFR_DELSOA; 524 xfr->state [all...] |
H A D | name.c | 1044 ft_state state; local 1086 * Set up the state machine. 1098 state = ft_init; 1105 switch (state) { 1121 state = ft_at; 1133 state = ft_initialescape; 1136 state = ft_ordinary; 1155 state = ft_start; 1157 state = ft_escape; 1178 state 1757 fw_state state = fw_start; local [all...] |
/bind-9.6-ESV-R11/bin/named/ |
H A D | xfrout.c | 702 int state; member in struct:compound_rrstream 746 s->state = -1; 758 s->state = 0; 760 rrstream_t *curstream = s->components[s->state]; 762 } while (s->result == ISC_R_NOMORE && s->state < 2); 769 rrstream_t *curstream = s->components[s->state]; 777 if (s->state == 2) 779 s->state++; 780 curstream = s->components[s->state]; 792 INSIST(0 <= s->state [all...] |