Lines Matching refs:cnt
45 size_t cnt, i; in do_test() local
49 for (cnt = 0; tls_registry[cnt].name; ++cnt); in do_test()
50 tls_registry[cnt].name = NULL; in do_test()
51 tls_registry[cnt].addr = (uintptr_t) pthread_self (); in do_test()
52 tls_registry[cnt].size = sizeof (struct pthread); in do_test()
53 tls_registry[cnt++].align = __alignof__ (struct pthread); in do_test()
55 qsort (tls_registry, cnt, sizeof (struct tls_obj), tls_addr_cmp); in do_test()
57 for (i = 0; i < cnt; ++i) in do_test()
85 if (cnt > 1) in do_test()
88 if (tls_registry[cnt - 1].name) in do_test()
94 max_addr = MAX (tls_registry[cnt - 1].addr, max_addr); in do_test()