Searched refs:threadnum (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/testcases/kernel/mem/mtest07/ |
D | mallocstress.c | 65 int allocate_free(int scheme, int threadnum) in allocate_free() argument 132 tst_res(TINFO, "Thread [%d]: Test runtime is over, exiting", threadnum); in allocate_free() 141 void *alloc_mem(void *threadnum) in alloc_mem() argument 149 err = allocate_free(((uintptr_t)threadnum) % 4, (uintptr_t)threadnum); in alloc_mem() 152 (int)(uintptr_t)threadnum, err, in alloc_mem()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
D | pthread_barrier_init.c | 30 unsigned int threadnum = 4; in pthread_barrier_init_0100() local 32 int ret = pthread_barrier_init(&mybarrier, NULL, threadnum); in pthread_barrier_init_0100() 48 int threadnum = 0; in pthread_barrier_init_0200() local 50 int ret = pthread_barrier_init(&mybarrier, NULL, threadnum); in pthread_barrier_init_0200()
|
D | pthread_barrier_destroy.c | 30 unsigned int threadnum = 4; in pthread_barrier_destroy_0100() local 32 int ret = pthread_barrier_init(&mybarrier, NULL, threadnum); in pthread_barrier_destroy_0100()
|
D | pthread_barrier_wait.c | 76 int threadnum = 1; in pthread_barrier_wait_0200() local 78 int ret = pthread_barrier_init(&mybarrier, NULL, threadnum); in pthread_barrier_wait_0200()
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise11.c | 154 static void *alloc_mem(void *threadnum) in alloc_mem() argument 157 int tnum = (int)(uintptr_t)threadnum; in alloc_mem()
|
/third_party/python/Lib/test/ |
D | test_hashlib.py | 893 for threadnum in range(num_threads): 894 chunk_size = len(data) // (10 ** threadnum)
|