/netbsd/external/bsd/openldap/dist/servers/lloadd/ |
H A D | epoch.c | 56 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() 223 __atomic_exchange( &references[EPOCH_NEXT(epoch)], ¤t_refs, in epoch_leave() [all …]
|
/netbsd/external/mpl/bind/dist/lib/ns/ |
H A D | lib.c | 44 static isc_refcount_t references; variable 52 isc_refcount_init(&references, 0); in initialize() 75 isc_refcount_increment0(&references); in ns_lib_init() 82 if (isc_refcount_decrement(&references) == 1) { in ns_lib_shutdown() 83 isc_refcount_destroy(&references); in ns_lib_shutdown()
|
H A D | stats.c | 34 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() 73 isc_refcount_init(&stats->references, 1); in ns_stats_create()
|
/netbsd/lib/libform/ |
H A D | type_regex.c | 48 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/external/mpl/bind/dist/lib/dns/ |
H A D | lib.c | 49 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 D | order.c | 43 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 D | ecdb.c | 51 isc_refcount_t references; member 69 isc_refcount_t references; member 172 isc_refcount_increment(&ecdb->references); in attach() 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() 341 isc_refcount_init(&node->references, 1); in findnode() 346 isc_refcount_increment(&ecdb->references); in findnode() 396 isc_refcount_increment(&node->references); in bind_rdataset() [all …]
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | ipa-ref.h | 80 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
|
H A D | ipa-ref.c | 35 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/external/gpl3/gcc.old/dist/gcc/ |
H A D | ipa-ref.h | 81 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 D | ipa-ref.c | 35 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/external/mpl/bind/dist/lib/isc/ |
H A D | counter.c | 34 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 D | ratelimiter.c | 39 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 D | httpd.c | 66 isc_refcount_t references; member 129 isc_refcount_t references; member 276 isc_refcount_destroy(&httpd->references); in destroy_httpd() 298 isc_refcount_increment(&httpdmgr->references); in httpdmgr_socket_accept() 312 (void)isc_refcount_increment(&httpd->references); in httpd_socket_recv() 365 isc_refcount_init(&httpdmgr->references, 1); in isc_httpdmgr_create() 390 isc_refcount_decrementz(&httpdmgr->references); in isc_httpdmgr_create() 391 isc_refcount_destroy(&httpdmgr->references); in isc_httpdmgr_create() 405 isc_refcount_increment(&source->references); in isc_httpdmgr_attach() 430 isc_refcount_destroy(&httpdmgr->references); in destroy_httpdmgr() [all …]
|
H A D | task.c | 110 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() 960 isc_refcount_destroy(&manager->references); in manager_free() 973 isc_refcount_increment(&source->references); in isc_taskmgr_attach() 1024 isc_refcount_init(&manager->references, 1); in isc__taskmgr_create() [all …]
|
H A D | stats.c | 43 isc_refcount_t references; member 58 isc_refcount_init(&stats->references, 1); in create_stats() 76 isc_refcount_increment(&stats->references); in isc_stats_attach() 89 if (isc_refcount_decrement(&stats->references) == 1) { in isc_stats_detach() 90 isc_refcount_destroy(&stats->references); in isc_stats_detach()
|
/netbsd/external/bsd/openldap/dist/servers/slapd/back-ldap/ |
H A D | search.c | 169 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() 465 if ( references ) { in ldap_back_search() 469 references = NULL; in ldap_back_search() 512 &references, &rs->sr_ctrls, 1 ); in ldap_back_search() 525 if ( references in ldap_back_search() 526 && references[ 0 ] in ldap_back_search() 527 && references[ 0 ][ 0 ] ) in ldap_back_search() 659 if ( references ) { in ldap_back_search() [all …]
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | engine.c | 49 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 D | dsa.c | 50 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/external/apache2/llvm/dist/clang/utils/ |
H A D | FindSpecRefs | 773 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/external/gpl2/texinfo/dist/info/ |
H A D | info-utils.c | 336 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()
|
/netbsd/external/apache2/llvm/dist/llvm/docs/HistoricalNotes/ |
H A D | 2001-02-13-Reference-MemoryResponse.txt | 9 > references: constrained pointers that cannot be manipulated: added and 14 > C++ pointers could be promoted to references in the LLVM 18 You're right, having references would be useful. Even for C++ the *static* 19 compiler could generate references instead of pointers with fairly 26 > 2. Our "implicit" memory references in assembly language:
|
H A D | 2001-02-13-Reference-Memory.txt | 18 references: constrained pointers that cannot be manipulated: added and 23 C++ pointers could be promoted to references in the LLVM 26 2. Our "implicit" memory references in assembly language: 35 I'm tempted to make memory references explicit in both the assembly and
|
/netbsd/external/bsd/libbind/dist/isc/ |
H A D | logging.c | 506 chan->references++; in log_add_channel() 594 chan->references = 0; in log_new_syslog_channel() 639 chan->references = 0; in log_new_file_channel() 666 chan->references = 0; in log_new_null_channel() 676 chan->references++; in log_inc_references() 682 if (chan == NULL || chan->references <= 0) { in log_dec_references() 686 chan->references--; in log_dec_references() 699 if (chan == NULL || chan->references <= 0) { in log_free_channel() 703 chan->references--; in log_free_channel() 704 if (chan->references == 0) { in log_free_channel()
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/ |
H A D | mem_dbg.c | 55 int references; member 113 if (--(inf->references) <= 0) { in app_info_free() 253 next->references++; in pop_info() 258 if (--(current->references) <= 0) { in pop_info() 261 next->references--; in pop_info() 285 ami->references = 1; in CRYPTO_mem_debug_push() 365 amim->references++; in CRYPTO_mem_debug_malloc() 370 mm->app_info->references--; in CRYPTO_mem_debug_malloc()
|