Home
last modified time | relevance | path

Searched refs:references (Results 1 – 25 of 1545) sorted by relevance

12345678910>>...62

/netbsd-src/external/bsd/openldap/dist/servers/lloadd/
H A Depoch.c56 static struct pending_ref *references[EPOCH_MASK]; variable
66 assert( !references[epoch] ); in epoch_init()
87 next = references[epoch]; in epoch_shutdown()
88 references[epoch] = NULL; in epoch_shutdown()
97 next = references[epoch]; in epoch_shutdown()
98 references[epoch] = NULL; in epoch_shutdown()
108 assert( !references[epoch] ); in epoch_shutdown()
133 &references[EPOCH_PREV(epoch)], &ref, &ref, __ATOMIC_ACQ_REL ); in epoch_join()
208 __atomic_exchange( &references[EPOCH_PREV(epoch)], &old_refs, in epoch_leave()
210 __atomic_exchange( &references[epoch], &current_refs, &current_refs, in epoch_leave()
[all …]
/netbsd-src/lib/libform/
H A Dtype_regex.c48 unsigned references; member
64 new->references = 1; in create_regex_args()
82 ((regex_args *) (void *) args)->references++; in copy_regex_args()
94 ((regex_args *) (void *) args)->references--; in free_regex_args()
95 if (((regex_args *) (void *) args)->references == 0) in free_regex_args()
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dlib.c49 static isc_refcount_t references; variable
57 isc_refcount_init(&references, 0); in initialize()
102 isc_refcount_increment0(&references); in dns_lib_init()
109 if (isc_refcount_decrement(&references) == 1) { in dns_lib_shutdown()
112 isc_refcount_destroy(&references); in dns_lib_shutdown()
H A Dorder.c43 isc_refcount_t references; member
62 isc_refcount_init(&order->references, 1); in dns_order_create()
131 isc_refcount_increment(&source->references); in dns_order_attach()
142 if (isc_refcount_decrement(&order->references) == 1) { in dns_order_detach()
143 isc_refcount_destroy(&order->references); in dns_order_detach()
H A Decdb.c51 isc_refcount_t references; member
69 isc_refcount_t references; member
172 isc_refcount_increment(&ecdb->references); in attach()
179 if (isc_refcount_decrement(&ecdb->references) == 1) { in destroy_ecdb()
180 isc_refcount_destroy(&ecdb->references); in destroy_ecdb()
219 isc_refcount_increment(&node->references); in attachnode()
220 isc_refcount_increment(&node->references); in attachnode()
249 isc_refcount_destroy(&node->references); in destroynode()
268 if (isc_refcount_decrement(&node->references) == 1) { in detachnode()
341 isc_refcount_init(&node->references, 1); in findnode()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dipa-ref.h80 if (!references.length ()) in first_reference()
82 return &references[0]; in first_reference()
123 references.create (0); in clear()
129 return references.length (); in nreferences()
133 vec<ipa_ref_t, va_heap, vl_ptr> references; member
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dipa-ref.h81 if (!vec_safe_length (references)) in first_reference()
83 return &(*references)[0]; in first_reference()
124 references = NULL; in clear()
130 return vec_safe_length (references); in nreferences()
134 vec<ipa_ref_t, va_gc> *references; member
H A Dipa-ref.c35 vec<ipa_ref_t, va_gc> *old_references = list2->references; in remove_reference()
69 last = &list2->references->last (); in remove_reference()
78 list2->references->pop (); in remove_reference()
79 gcc_assert (list2->references == old_references); in remove_reference()
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/
H A Dcounter.c34 isc_refcount_t references; member
50 isc_refcount_init(&counter->references, 1); in isc_counter_create()
90 isc_refcount_increment(&source->references); in isc_counter_attach()
97 isc_refcount_destroy(&counter->references); in destroy()
111 if (isc_refcount_decrement(&counter->references) == 1) { in isc_counter_detach()
H A Dratelimiter.c39 isc_refcount_t references; member
73 isc_refcount_init(&rl->references, 1); in isc_ratelimiter_create()
89 isc_refcount_increment(&rl->references); in isc_ratelimiter_create()
99 isc_refcount_decrementz(&rl->references); in isc_ratelimiter_create()
100 isc_refcount_destroy(&rl->references); in isc_ratelimiter_create()
291 isc_refcount_destroy(&rl->references); in ratelimiter_free()
301 isc_refcount_increment(&source->references); in isc_ratelimiter_attach()
315 if (isc_refcount_decrement(&rl->references) == 1) { in isc_ratelimiter_detach()
H A Dhttpd.c66 isc_refcount_t references; member
129 isc_refcount_t references; member
240 if (isc_refcount_decrement(&httpd->references) == 1) { in maybe_destroy_httpd()
276 isc_refcount_destroy(&httpd->references); in destroy_httpd()
298 isc_refcount_increment(&httpdmgr->references); in httpdmgr_socket_accept()
302 INSIST(isc_refcount_decrement(&httpdmgr->references) > 1); in httpdmgr_socket_accept()
312 (void)isc_refcount_increment(&httpd->references); in httpd_socket_recv()
316 INSIST(isc_refcount_decrement(&httpd->references) > 1); in httpd_socket_recv()
325 (void)isc_refcount_increment(&httpd->references); in httpd_socket_send()
329 INSIST(isc_refcount_decrement(&httpd->references) > 1); in httpd_socket_send()
[all …]
H A Dtask.c110 isc_refcount_t references; member
137 isc_refcount_t references; member
183 isc_refcount_destroy(&task->references); in task_finished()
240 isc_refcount_init(&task->references, 1); in isc_task_create_bound()
265 isc_refcount_decrement(&task->references); in isc_task_create_bound()
266 isc_refcount_destroy(&task->references); in isc_task_create_bound()
289 isc_refcount_increment(&source->references); in isc_task_attach()
366 if (isc_refcount_decrement(&task->references) == 1 && in task_detach()
868 if (isc_refcount_current(&task->references) == 0 && in task_run()
897 if (isc_refcount_current(&task->references) == 0 && in task_run()
[all …]
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Dcounter.c34 isc_refcount_t references; member
50 isc_refcount_init(&counter->references, 1); in isc_counter_create()
90 isc_refcount_increment(&source->references); in isc_counter_attach()
97 isc_refcount_destroy(&counter->references); in destroy()
111 if (isc_refcount_decrement(&counter->references) == 1) { in isc_counter_detach()
H A Dratelimiter.c44 isc_refcount_t references;
82 isc_refcount_init(&rl->references, 1); in isc_ratelimiter_create()
39 isc_refcount_t references; global() member
H A Dtask.c
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-ldap/
H A Dsearch.c169 char **references = NULL; in ldap_back_search() local
429 &references, &rs->sr_ctrls, 1 ); in ldap_back_search()
436 if ( references && references[ 0 ] && references[ 0 ][ 0 ] ) { in ldap_back_search()
439 for ( cnt = 0; references[ cnt ]; cnt++ ) in ldap_back_search()
446 for ( cnt = 0; references[ cnt ]; cnt++ ) { in ldap_back_search()
447 ber_str2bv( references[ cnt ], 0, 0, &rs->sr_ref[ cnt ] ); in ldap_back_search()
465 if ( references ) { in ldap_back_search()
466 ber_memvfree( (void **)references ); in ldap_back_search()
469 references = NULL; in ldap_back_search()
512 &references, &rs->sr_ctrls, 1 ); in ldap_back_search()
[all …]
/netbsd-src/external/mpl/bind/dist/lib/ns/
H A Dstats.c34 isc_refcount_t references; member
42 isc_refcount_increment(&stats->references); in ns_stats_attach()
56 if (isc_refcount_decrement(&stats->references) == 1) { in ns_stats_detach()
58 isc_refcount_destroy(&stats->references); in ns_stats_detach()
70 isc_refcount_init(&stats->references, 1); in ns_stats_create()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Dengine.c49 int references; member
64 engine->references = 1; in ENGINE_new()
78 if (engine->references-- <= 0) in ENGINE_finish()
80 if (engine->references > 0) in ENGINE_finish()
91 engine->references = -1; in ENGINE_finish()
101 if (engine->references < 0) in ENGINE_up_ref()
103 engine->references++; in ENGINE_up_ref()
H A Ddsa.c50 dsa->references = 1; in DSA_new()
57 if (dsa->references <= 0) in DSA_free()
60 if (--dsa->references > 0) in DSA_free()
83 return ++dsa->references; in DSA_up_ref()
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Dtransport.c40 isc_refcount_t references;
50 isc_refcount_t references;
154 isc_refcount_init(&transport->references, 1); in dns_transport_new()
623 isc_refcount_destroy(&transport->references);
660 isc_refcount_increment(&source->references);
675 if (isc_refcount_decrement(&transport->references) == 1) {
696 isc_refcount_increment(&transport->references);
712 isc_refcount_init(&list->references, 1);
729 isc_refcount_increment(&source->references);
736 isc_refcount_destroy(&list->references);
37 isc_refcount_t references; global() member
47 isc_refcount_t references; global() member
[all...]
H A Dorder.c43 isc_refcount_t references; member
62 isc_refcount_init(&order->references, 1); in dns_order_create()
131 isc_refcount_increment(&source->references); in dns_order_attach()
142 if (isc_refcount_decrement(&order->references) == 1) { in dns_order_detach()
143 isc_refcount_destroy(&order->references); in dns_order_detach()
/netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/
H A Drefcount.h44 * \param[in] n an initial number of references.
52 * \brief Returns current number of references.
60 * \brief a destructor that makes sure that all references were cleared.
146 isc_refcount_increment(&ptr->references) + 1; \
148 "%s:%s:%s:%u:t%u:%p->references = %" PRIuFAST32 "\n", \
157 isc_refcount_decrement(&ptr->references) - 1; \
159 isc_refcount_destroy(&ptr->references); \
163 "%s:%s:%s:%u:t%u:%p->references = %" PRIuFAST32 "\n", \
171 isc_refcount_increment(&ptr->references) + 1; \
173 "%s:%s:%s:%u:t%u:%p->references
[all...]
/netbsd-src/external/apache2/llvm/dist/clang/utils/
H A DFindSpecRefs773 def buildRefTree(references): argument
785 for ref in references:
816 references = []
824 references.extend(list(scanFile(fullpath, filename)))
826 references.extend(list(scanFile(root, root)))
828 refTree = buildRefTree(references)
831 for ref in references:
836 print 'Found %d references.'%(len(references),)
/netbsd-src/external/mpl/bind/dist/lib/isc/netmgr/
H A Dtimer.c23 isc_refcount_t references;
47 isc_refcount_init(&timer->references, 1); in isc_nm_timer_create()
62 isc_refcount_increment(&timer->references); in isc_nm_timer_attach()
92 if (isc_refcount_decrement(&timer->references) == 1) { in isc_nm_timer_detach()
24 isc_refcount_t references; global() member
/netbsd-src/external/gpl2/texinfo/dist/info/
H A Dinfo-utils.c336 info_get_labeled_reference (char *label, REFERENCE **references) in info_get_labeled_reference() argument
341 for (i = 0; references && (entry = references[i]); i++) in info_get_labeled_reference()
409 info_free_references (REFERENCE **references) in info_free_references() argument
414 if (references) in info_free_references()
416 for (i = 0; references && (entry = references[i]); i++) in info_free_references()
425 free (references); in info_free_references()

12345678910>>...62