| /bind-9.11.3/bin/tests/atomic/ |
| H A D | t_atomic.c | 65 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 185 isc_uint32_t val; local 188 val = (r << 24) | (r << 16) | (r << 8) | r; 191 isc_atomic_store(&store_32, val); 209 isc_uint32_t val; local 252 counter_t *state = (counter_t *)ev->ev_arg; local 255 isc_uint64_t val; local 283 isc_uint64_t val; local [all...] |
| /bind-9.11.3/unit/atf-src/tools/ |
| H A D | reader_test.cpp | 47 got_info(const std::string& what, const std::string& val) argument 49 m_calls.push_back("got_info(" + what + ", " + val + ")"); 79 got_tc_end(const std::string& state, argument 83 const std::string r = state + (reason.empty() ? "" : ", " + reason);
|
| H A D | atf-report.cpp | 166 write_tc_end(const std::string& state, struct timeval* tv, argument 169 std::string str = m_tpname + ", " + m_tcname + ", " + state; 174 if (state == "failed") 202 write_info(const std::string& what, const std::string& val) argument 205 (*m_os) << "Tests root: " << val << "\n\n"; 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 416 write_info(const std::string& what, const std::string& val) argument 456 write_tc_end(const std::string& state, struct timeval* tv, const std::string& reason) argument 512 got_info(const std::string& what, const std::string& val) argument 568 got_tc_end(const std::string& state, struct timeval* tv, const std::string& reason) argument [all...] |
| H A D | test-program.cpp | 355 handle_result(const std::string& state, const std::string& arg, argument 358 assert(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 assert(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 578 info(const std::string& what, const std::string& val) argument 580 m_os << "info: " << what << ", " << val << "\\n"; local 639 end_tc(const std::string& state, const std::string& reason) argument [all...] |
| /bind-9.11.3/lib/dns/ |
| H A D | rdataset.c | 312 unsigned int *countp, void **state) 327 UNUSED(state); 414 isc_uint32_t val; local 416 isc_random_get(&val); 417 choice = i + (val % (count - i)); 432 isc_uint32_t val; local 435 val = rdataset->count; 436 if (val == ISC_UINT32_MAX) 437 isc_random_get(&val); 438 j = val 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 [all...] |
| H A D | cache.c | 62 * A cache_cleaner_t encapsulates the state of the periodic 77 #define CLEANER_IDLE(c) ((c)->state == cleaner_s_idle && \ 79 #define CLEANER_BUSY(c) ((c)->state == cleaner_s_busy && \ 108 cleaner_state_t state; /*% Idle/Busy. */ member in struct:cache_cleaner 109 isc_boolean_t overmem; /*% The cache is in an overmem state. */ 611 cleaner->state = cleaner_s_idle; 749 cleaner->state = cleaner_s_busy; 774 cleaner->state = cleaner_s_idle; 792 "cleaner state = %d", cleaner->state); 1357 getcounter(isc_statscounter_t counter, isc_uint64_t val, void *arg) argument [all...] |
| H A D | journal.c | 119 encode_uint32(isc_uint32_t val, unsigned char *p) { argument 120 p[0] = (isc_uint8_t)(val >> 24); 121 p[1] = (isc_uint8_t)(val >> 16); 122 p[2] = (isc_uint8_t)(val >> 8); 123 p[3] = (isc_uint8_t)(val >> 0); 305 journal_state_t state; member in struct:dns_journal 313 /*% Current transaction state (when writing). */ 319 /*% Iteration state (when reading). */ 324 /* The rest is iterator state. */ 570 j->state [all...] |
| H A D | rdata.c | 333 unsigned int val; local 338 val = 0; 346 val <<= 4; 347 val |= (pch - xdigits); 357 *tp++ = (unsigned char) (val >> 8) & 0xff; 358 *tp++ = (unsigned char) val & 0xff; 360 val = 0; 368 *tp++ = (unsigned char) (val >> 8) & 0xff; 369 *tp++ = (unsigned char) val & 0xff; 1330 unsigned int val; local 1899 struct state { struct 1925 byte_atob(int c, isc_buffer_t *target, struct state *state) argument 1963 putbyte(int c, isc_buffer_t *target, struct state *state) argument 2000 struct state statebuf, *state= &statebuf; local 2066 byte_btoa(int c, isc_buffer_t *target, struct state *state) argument 2134 struct state statebuf, *state = &statebuf; local [all...] |
| H A D | acache.c | 134 #define CLEANER_IDLE(c) ((c)->state == cleaner_s_idle && \ 136 #define CLEANER_BUSY(c) ((c)->state == cleaner_s_busy && \ 166 cleaner_state_t state; /* Idle/Busy/Done. */ member in struct:acache_cleaner 168 state. */ 564 cleaner->state = cleaner_s_idle; 668 cleaner->state = cleaner_s_busy; 738 "acache is still in overmem state " 743 cleaner->state = cleaner_s_idle; 761 "cleaner state = %d", cleaner->state); 794 isc_uint32_t val; local [all...] |
| H A D | zone.c | 312 * or "zone transfer in progress" are kept on per-state linked lists 419 * Inline zone signing state. 566 * Hold notify state. 587 * dns_stub holds state while performing a 'stub' transfer. 601 * Hold load state. 613 * Hold forward state. 630 * Hold IO request state. 642 * Hold state for when we are signing a zone with a new 686 * 'save_delete_nsec' is used to store the initial state of 'delete_nsec' 701 * Hold state fo 10554 dns_zone_setminrefreshtime(dns_zone_t *zone, isc_uint32_t val) argument 10562 dns_zone_setmaxrefreshtime(dns_zone_t *zone, isc_uint32_t val) argument 10570 dns_zone_setminretrytime(dns_zone_t *zone, isc_uint32_t val) argument 10578 dns_zone_setmaxretrytime(dns_zone_t *zone, isc_uint32_t val) argument 10593 dns_zone_setmaxrecords(dns_zone_t *zone, isc_uint32_t val) argument 13472 dns_zone_setupdatedisabled(dns_zone_t *zone, isc_boolean_t state) argument 13485 dns_zone_setzeronosoattl(dns_zone_t *zone, isc_boolean_t state) argument 17077 dns_zonemgr_getcount(dns_zonemgr_t *zmgr, int state) argument [all...] |
| /bind-9.11.3/lib/isc/ |
| H A D | httpd.c | 68 unsigned int state; member in struct:isc_httpd 72 * Received data state. 88 * Transmit data state. 156 * _IDLE The client is not doing anything at all. This state should 169 * Badly formatted state table: 188 #define ISC_HTTPD_ISRECV(c) ((c)->state == ISC_HTTPD_STATERECV) 189 #define ISC_HTTPD_ISRECVDONE(c) ((c)->state == ISC_HTTPD_STATERECVDONE) 190 #define ISC_HTTPD_ISSEND(c) ((c)->state == ISC_HTTPD_STATESEND) 191 #define ISC_HTTPD_ISSENDDONE(c) ((c)->state == ISC_HTTPD_STATESENDDONE) 196 #define ISC_HTTPD_SETRECV(c) ((c)->state 1059 isc_httpd_addheader(isc_httpd_t *httpd, const char *name, const char *val) argument 1108 isc_httpd_addheaderuint(isc_httpd_t *httpd, const char *name, int val) argument [all...] |
| /bind-9.11.3/lib/isc/win32/ |
| H A D | socket.c | 274 unsigned int state; /* Socket state. Debugging and consistency checking. */ member in struct:isc_socket 275 int state_lineno; /* line which last touched state */ 278 #define _set_state(sock, _state) do { (sock)->state = (_state); (sock)->state_lineno = __LINE__; } while (0) 1520 * Verify that the socket state is consistent. 3739 * o Reset any state needed. 3857 isc_boolean_t val; local 3872 val = ((sock->bound) ? ISC_TRUE : ISC_FALSE); 3875 return (val); 4072 ISC_XMLCHAR "state", [all...] |