Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 25 of 103) sorted by relevance

12345

/glibc-2.36/nptl/
Dtst-thread_local1.cc29 struct counter struct
38 counter::reset () in reset() argument
45 to_string (const counter &c) in to_string()
53 template <counter *Counter>
61 template<counter *Counter>
68 template<counter *Counter>
75 template<counter *Counter>
83 static counter counter_static;
84 static counter counter_anonymous_namespace;
85 static counter counter_extern;
[all …]
DTODO28 - possibly add counter field. This requires reviving the
31 wich is the counter for the number of waiters
Dallocatestack.c135 for (size_t cnt = 0; cnt < dtv[-1].counter; ++cnt) in get_cached_stack()
137 memset (dtv, '\0', (dtv[-1].counter + 1) * sizeof (dtv_t)); in get_cached_stack()
/glibc-2.36/iconv/
Dgconv_dl.c91 found->counter = -TRIES_BEFORE_UNLOAD - 1; in __gconv_find_shlib()
111 if (found->counter < -TRIES_BEFORE_UNLOAD) in __gconv_find_shlib()
137 found->counter = 1; in __gconv_find_shlib()
145 found->counter = MAX (found->counter + 1, 1); in __gconv_find_shlib()
164 assert (obj->counter > 0); in do_release_shlib()
165 --obj->counter; in do_release_shlib()
167 else if (obj->counter <= 0 && obj->counter >= -TRIES_BEFORE_UNLOAD in do_release_shlib()
168 && --obj->counter < -TRIES_BEFORE_UNLOAD && obj->handle != NULL) in do_release_shlib()
221 obj->name, obj->counter); in do_print()
/glibc-2.36/setjmp/
Dbug269-setjmp.c34 static int counter = 0; in f() local
57 if (counter == 0) in f()
59 counter++; in f()
78 if (counter == 1) in f()
80 counter++; in f()
85 && g_counter == 6 && counter == 2); in f()
/glibc-2.36/sysdeps/pthread/
Dtst-mtx-basic.c29 static int counter; variable
37 counter++; in child_add()
57 counter++; in do_test()
65 if (counter != 2) in do_test()
66 FAIL_EXIT1 ("counter (%d) != 2", counter); in do_test()
Dtst-cond24.c144 int counter = 0; in do_test_wait() local
188 for (; counter < MAXITER; counter++) in do_test_wait()
197 if (!(counter % 100)) in do_test_wait()
198 printf ("counter: %d\n", counter); in do_test_wait()
/glibc-2.36/resolv/
Dtst-resolv-threads.c63 int counter = 0; in response() local
67 &counter, &thread, &dummy) == 2); in response()
80 char ipv4[4] = {10, 0, counter, thread}; in response()
88 counter, 0, thread, 0, 0}; in response()
115 int ret, struct hostent *e, int family, int counter) in check_hostent() argument
134 char addr[4] = {10, 0, counter, get_thread_number ()}; in check_hostent()
143 0, counter, 0, get_thread_number (), 0, 0}; in check_hostent()
157 int ret, struct addrinfo *ai, int family, int counter) in check_addrinfo() argument
187 char addr[4] = {10, 0, counter, get_thread_number ()}; in check_addrinfo()
200 0, counter, 0, get_thread_number (), 0, 0}; in check_addrinfo()
Dgetaddrinfo_a.c30 unsigned int counter; member
165 waitlist->list[cnt].counterp = &waitlist->counter; in __getaddrinfo_a()
172 waitlist->counter = total; in __getaddrinfo_a()
/glibc-2.36/support/
Dsupport_record_failure.c39 unsigned int counter; member
70 __atomic_add_fetch (&state->counter, 1, __ATOMIC_RELEASE); in support_record_failure()
90 __atomic_load_n (&state->counter, __ATOMIC_RELAXED)); in support_report_failure()
105 __atomic_add_fetch (&state->counter, 0, __ATOMIC_RELAXED); in support_record_failure_reset()
/glibc-2.36/elf/
Ddl-tls.c379 dtv[0].counter = dtv_length; in allocate_dtv()
489 size_t oldsize = dtv[-1].counter; in _dl_resize_dtv()
511 newp[0].counter = newsize; in _dl_resize_dtv()
542 if (dtv[-1].counter < GL(dl_tls_max_dtv_idx)) in _dl_allocate_tls_init()
623 dtv[0].counter = maxgen; in _dl_allocate_tls_init()
645 for (size_t cnt = 0; cnt < dtv[-1].counter; ++cnt) in rtld_hidden_def()
753 if (dtv[0].counter < listp->slotinfo[idx].gen) in _dl_update_slotinfo()
799 if (gen <= dtv[0].counter) in _dl_update_slotinfo()
806 if (dtv[-1].counter < modid) in _dl_update_slotinfo()
814 assert (modid <= dtv[-1].counter); in _dl_update_slotinfo()
[all …]
Dtst-dlsym-error.c26 static int counter; variable
32 ++counter; in test_one()
34 snprintf (symbol, sizeof (symbol), "no_such_symbol_%d", counter); in test_one()
/glibc-2.36/rt/
Dlio_listio-common.c54 unsigned int counter; member
213 waitlist->list[cnt].counterp = &waitlist->counter; in lio_listio_internal()
220 waitlist->counter = total; in lio_listio_internal()
/glibc-2.36/nscd/
Dnscd_helper.c248 assert (mapped->counter == 0); in __nscd_unmap()
377 newp->counter = 1; in __nscd_get_mapping()
393 if (oldval != NULL && atomic_decrement_val (&oldval->counter) == 0) in __nscd_get_mapping()
428 atomic_increment (&cur->counter); in __nscd_get_map_ref()
Dnscd_netgroup.c151 if (atomic_decrement_val (&mapped->counter) == 0) in __nscd_setnetgrent()
275 if (atomic_decrement_val (&mapped->counter) == 0) in __nscd_innetgr()
Dnscd-client.h355 int counter; /* > 0 indicates it is usable. */ member
424 if (atomic_decrement_val (&map->counter) == 0) in __nscd_drop_map_ref()
Dnscd_initgroups.c169 if (atomic_decrement_val (&mapped->counter) == 0) in __nscd_getgrouplist()
Dnscd_getai.c201 if (atomic_decrement_val (&mapped->counter) == 0) in __nscd_getai()
/glibc-2.36/sysdeps/generic/
Ddl-dtv.h31 size_t counter; member
/glibc-2.36/sysdeps/x86_64/
Ddl-tls.c44 if (__glibc_unlikely (dtv[0].counter != gen)) in hidden_ver()
/glibc-2.36/sysdeps/aarch64/
Dtlsdesc.sym17 DTV_COUNTER offsetof(dtv_t, counter)
/glibc-2.36/intl/
Ddcigettext.c256 int counter; member
573 if (foundp != NULL && (*foundp)->counter == _nl_msg_cat_cntr) in gl_dcigettext()
788 newp->counter = _nl_msg_cat_cntr; in gl_dcigettext()
810 (*foundp)->counter = _nl_msg_cat_cntr; in gl_dcigettext()
/glibc-2.36/sysdeps/mips/mips64/
Daddmul_1.S79 daddiu $6,$6,-1 # decrement loop counter
Dmul_1.S79 daddiu $6,$6,-1 # decrement loop counter
Dsubmul_1.S80 daddiu $6,$6,-1 # decrement loop counter

12345