Searched defs:state (Results 1 - 25 of 50) sorted by relevance

12

/bind-9.11.3/bin/tests/system/dyndb/driver/
H A Dlock.c26 * The pair (inst, state) used for run_exclusive_enter() has to be
30 * @param[in,out] statep Lock state: ISC_R_SUCCESS or ISC_R_LOCKBUSY
45 * @param[in] state Lock state as returned by run_exclusive_enter().
48 run_exclusive_exit(sample_instance_t *inst, isc_result_t state) { argument
49 if (state == ISC_R_SUCCESS)
53 INSIST(state == ISC_R_LOCKBUSY || state == ISC_R_IGNORE);
/bind-9.11.3/lib/isc/include/isc/
H A Dlfsr.h23 * modify any state in the LFSR in any way it sees fit OTHER THAN "bits".
34 * needs to be taken to not change state once the lfsr is in operation.
37 isc_uint32_t state; /*%< previous state */ member in struct:isc_lfsr
49 isc_lfsr_init(isc_lfsr_t *lfsr, isc_uint32_t state, unsigned int bits,
96 * Given two LFSRs, use the current state from each to skip entries in the
108 *\li Since the current state from each of the LFSRs is used to skip
109 * state in the other, it is important that no state be leaked
H A Dsha1.h48 isc_uint32_t state[5]; member in struct:__anon245
H A Dsha2.h103 isc_uint32_t state[8]; member in struct:__anon247
112 isc_uint64_t state[8]; member in struct:__anon248
/bind-9.11.3/bin/tests/
H A Dlfsr_test.c20 isc_uint32_t state[1024 * 64]; variable
36 isc_lfsr_generate(&lfsr1, &state[i], 4);
37 printf("lfsr1: state[%2d] = %08x\n", i, state[i]);
42 if (state[i] != temp)
43 printf("lfsr1: state[%2d] = %08x, "
44 "but new state is %08x\n",
45 i, state[i], temp);
53 isc_lfsr_generate(&lfsr1, &state[i], 4);
55 printf("lfsr1: state[
[all...]
/bind-9.11.3/unit/atf-src/tools/
H A Dreader.hpp49 const state_enum state; member in struct:tools::atf_report::test_case_result
53 state(p_state),
H A Dtest-program.hpp64 state(void) const function in struct:tools::test_program::test_case_result
H A Dreader.cpp197 const std::string& state ATF_DEFS_ATTRIBUTE_UNUSED,
371 std::string state; local
372 if (t.type() == expected_death_type) state = "expected_death";
373 else if (t.type() == expected_exit_type) state = "expected_exit";
374 else if (t.type() == expected_failure_type) state = "expected_failure";
375 else if (t.type() == expected_signal_type) state = "expected_signal";
376 else if (t.type() == expected_timeout_type) state = "expected_timeout";
377 else if (t.type() == failed_type) state = "failed";
378 else if (t.type() == skipped_type) state = "skipped";
384 throw parse_error(t.lineno(), "Empty reason for " + state
[all...]
H A Dreader_test.cpp79 got_tc_end(const std::string& state, argument
83 const std::string r = state + (reason.empty() ? "" : ", " + reason);
H A Datf-report.cpp166 write_tc_end(const std::string& state, struct timeval* tv, argument
169 std::string str = m_tpname + ", " + m_tcname + ", " + state;
174 if (state == "failed")
266 write_tc_end(const std::string& state, struct timeval* tv, argument
273 if (state == "expected_death" || state == "expected_exit" ||
274 state == "expected_failure" || state == "expected_signal" ||
275 state == "expected_timeout") {
279 } else if (state
456 write_tc_end(const std::string& state, struct timeval* tv, const std::string& reason) argument
568 got_tc_end(const std::string& state, struct timeval* tv, const std::string& reason) argument
[all...]
/bind-9.11.3/bin/named/win32/
H A Dntservice.c94 * Tell the Service Control Manager the state of the service.
96 void UpdateSCM(DWORD state) { argument
101 if (state)
102 dwState = state;
/bind-9.11.3/lib/isc/
H A Dlfsr.c25 isc_lfsr_init(isc_lfsr_t *lfsr, isc_uint32_t state, unsigned int bits, argument
33 lfsr->state = state;
42 if (lfsr->state == 0)
43 lfsr->state = 0xffffffffU >> (32 - lfsr->bits);
47 * Return the next state of the lfsr.
54 * If the previous state is zero, we must fill it with something
57 * First, give the reseed function a crack at it. If the state is
60 if (lfsr->state == 0) {
63 if (lfsr->state
[all...]
H A Dregex.c30 } state = none; local
61 switch (state) {
87 state = parse_bracket;
101 state = parse_bound;
192 state = none;
218 state = parse_ce;
225 state = parse_ec;
233 state = parse_cc;
246 state = none;
269 state
[all...]
H A Dratelimiter.c36 isc_ratelimiter_state_t state; member in struct:isc_ratelimiter
67 rl->state = isc_ratelimiter_idle;
113 if (rl->state == isc_ratelimiter_ratelimited) {
153 if (rl->state == isc_ratelimiter_ratelimited ||
154 rl->state == isc_ratelimiter_stalled) {
161 } else if (rl->state == isc_ratelimiter_idle) {
166 rl->state = isc_ratelimiter_ratelimited;
169 INSIST(rl->state == isc_ratelimiter_shuttingdown);
225 rl->state = isc_ratelimiter_idle;
245 rl->state
[all...]
H A Dsha1.c259 transform(isc_uint32_t state[5], const unsigned char buffer[64]) { argument
265 INSIST(state != NULL);
270 /* Copy context->state[] to working vars */
271 a = state[0];
272 b = state[1];
273 c = state[2];
274 d = state[3];
275 e = state[4];
306 /* Add the working vars back into context.state[] */
307 state[
[all...]
H A Dlex.c357 lexstate state = lexstate_start; local
468 if (state == lexstate_start)
484 saved_state = state;
485 state = lexstate_eatline;
492 saved_state = state;
493 state = lexstate_maybecomment;
499 saved_state = state;
500 state = lexstate_eatline;
508 switch (state) {
547 state
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dclient.h141 * 'state' specifies the status of the update procedure when this event is
143 * the update attempt was ever made. In particular, if the state is
150 dns_clientupdatestate_t state; member in struct:dns_clientupdateevent
378 * Destroy name resolution transaction state identified by '*transp'.
517 * Destroy DNS request transaction state identified by '*transp'.
/bind-9.11.3/bin/tests/atomic/
H A Dt_atomic.c65 counter_t *state = (counter_t *)ev->ev_arg; local
72 state->iteration++;
73 if (state->iteration < ITERATIONS) {
123 counter_t *state = (counter_t *)ev->ev_arg; local
130 state->iteration++;
131 if (state->iteration < ITERATIONS) {
182 counter_t *state = (counter_t *)ev->ev_arg; local
194 state->iteration++;
195 if (state->iteration < ITERATIONS) {
252 counter_t *state local
[all...]
/bind-9.11.3/contrib/dlz/modules/perl/
H A Ddlz_perl_driver.c129 static void b9_add_helper(config_data_t *state, argument
133 state->log = ptr;
135 state->putrr = ptr;
137 state->putnamedrr = ptr;
139 state->writeable_zone = ptr;
/bind-9.11.3/lib/dns/
H A Dgeoip.c39 * This structure preserves state from the previous GeoIP lookup,
90 geoip_state_t *state = arg; local
91 if (state != NULL && state->record != NULL)
92 GeoIPRecord_delete(state->record);
93 if (state != NULL)
94 isc_mem_putanddetach(&state->mctx,
95 state, sizeof(geoip_state_t));
136 clean_state(geoip_state_t *state) { argument
137 if (state
162 geoip_state_t *state = NULL; local
213 geoip_state_t *state; local
[all...]
H A Drdataset.c312 unsigned int *countp, void **state)
327 UNUSED(state);
585 void **state)
587 REQUIRE(state == NULL); /* XXX remove when implemented */
590 countp, state));
308 towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name, dns_compress_t *cctx, isc_buffer_t *target, dns_rdatasetorderfunc_t order, const void *order_arg, isc_boolean_t partial, unsigned int options, unsigned int *countp, void **state) argument
577 dns_rdataset_towirepartial(dns_rdataset_t *rdataset, const dns_name_t *owner_name, dns_compress_t *cctx, isc_buffer_t *target, dns_rdatasetorderfunc_t order, const void *order_arg, unsigned int options, unsigned int *countp, void **state) argument
/bind-9.11.3/bin/named/include/named/
H A Dlwdclient.h40 unsigned int state; member in struct:ns_lwdclient
41 void *arg; /*%< packet processing state */
51 * Send data state. If sendbuf != buffer (that is, the send buffer
59 * gabn (get address by name) state info.
71 * gnba (get name by address) state info.
79 * grbn (get rrset by name) state info.
115 * Badly formatted state table:
143 ((c)->state == NS_LWDCLIENT_STATEIDLE)
145 ((c)->state == NS_LWDCLIENT_STATERECV)
147 ((c)->state
[all...]
H A Dclient.h82 int state; member in struct:ns_client
94 * inactive to free state
/bind-9.11.3/contrib/dlz/example/
H A Ddlz_example.c89 add_name(struct dlz_example_data *state, struct record *list, argument
112 if (state->log != NULL)
113 state->log(ISC_LOG_ERROR,
141 del_name(struct dlz_example_data *state, struct record *list, argument
147 UNUSED(state);
205 b9_add_helper(struct dlz_example_data *state, argument
209 state->log = (log_t *)ptr;
211 state->putrr = (dns_sdlz_putrr_t *)ptr;
213 state->putnamedrr = (dns_sdlz_putnamedrr_t *)ptr;
215 state
225 struct dlz_example_data *state; local
303 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
321 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
386 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
494 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
524 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
547 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
599 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
634 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
656 modrdataset(struct dlz_example_data *state, const char *name, const char *rdatastr, struct record *list) argument
718 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
734 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
750 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
[all...]
/bind-9.11.3/bin/tests/system/dlzexternal/
H A Ddriver.c92 add_name(struct dlz_example_data *state, struct record *list, argument
115 if (state->log != NULL)
116 state->log(ISC_LOG_ERROR,
144 del_name(struct dlz_example_data *state, struct record *list, argument
150 UNUSED(state);
208 b9_add_helper(struct dlz_example_data *state, argument
212 state->log = (log_t *)ptr;
214 state->putrr = (dns_sdlz_putrr_t *)ptr;
216 state->putnamedrr = (dns_sdlz_putnamedrr_t *)ptr;
218 state
228 struct dlz_example_data *state; local
306 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
324 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
399 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
542 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
572 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
595 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
647 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
682 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
704 modrdataset(struct dlz_example_data *state, const char *name, const char *rdatastr, struct record *list) argument
766 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
782 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
798 struct dlz_example_data *state = (struct dlz_example_data *)dbdata; local
[all...]

Completed in 42 milliseconds

12