/third_party/ffmpeg/compat/ |
H A D | os2threads.h | 45 TID tid; member 89 thread->tid = _beginthread(thread_entry, NULL, 1024 * 1024, thread); in pthread_create() 96 DosWaitThread(&thread.tid, DCWW_WAIT); in pthread_join()
|
/third_party/curl/tests/libtest/ |
H A D | lib1565.c | 101 pthread_t tid; in test() local 113 res = pthread_create(&tid, NULL, run_thread, NULL); in test() 191 pthread_join(tid, NULL); in test()
|
/third_party/alsa-lib/src/timer/ |
H A D | timer_query_hw.c | 42 static int snd_timer_query_hw_next_device(snd_timer_query_t *handle, snd_timer_id_t * tid) in snd_timer_query_hw_next_device() argument 44 if (!handle || !tid) in snd_timer_query_hw_next_device() 46 if (ioctl(handle->poll_fd, SNDRV_TIMER_IOCTL_NEXT_DEVICE, tid) < 0) in snd_timer_query_hw_next_device()
|
/third_party/curl/docs/examples/ |
H A D | smooth-gtk-thread.c | 124 pthread_t tid[NUMT]; in create_thread() local 129 int error = pthread_create(&tid[i], in create_thread() 141 pthread_join(tid[i], NULL); in create_thread()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
H A D | hugemmap06.c | 67 pthread_t tid[ARSZ]; in do_mmap() local 87 TEST(pthread_create(&tid[i], NULL, thr, &mmap_sz[i])); in do_mmap() 104 TEST(pthread_join(tid[i], NULL)); in do_mmap()
|
/third_party/ffmpeg/tests/api/ |
H A D | api-threadmessage-test.c | 33 pthread_t tid; member 40 pthread_t tid; member 222 ret = pthread_create(&td->tid, NULL, type##_thread, td); \ in main() 236 ret = pthread_join(td->tid, NULL); \ in main()
|
/third_party/elfutils/libdwfl/ |
H A D | linux-core-attach.c | 157 pid_t tid = (int32_t) val32; in core_next_thread() local 158 eu_static_assert (sizeof val32 <= sizeof tid); in core_next_thread() 160 return tid; in core_next_thread() 206 pid_t tid; in core_set_initial_registers() local 211 tid = (int32_t) val32; in core_set_initial_registers() 212 eu_static_assert (sizeof val32 <= sizeof tid); in core_set_initial_registers() 215 assert (tid == INTUSE(dwfl_thread_tid) (thread)); in core_set_initial_registers()
|
/third_party/node/deps/openssl/openssl/crypto/cmp/ |
H A D | cmp_hdr.c | 274 char *tid; in ossl_cmp_hdr_set_transactionID() local 279 tid = OPENSSL_buf2hexstr(ctx->transactionID->data, in ossl_cmp_hdr_set_transactionID() 281 if (tid != NULL) in ossl_cmp_hdr_set_transactionID() 283 "Starting new transaction with ID=%s", tid); in ossl_cmp_hdr_set_transactionID() 284 OPENSSL_free(tid); in ossl_cmp_hdr_set_transactionID()
|
/third_party/openssl/crypto/cmp/ |
H A D | cmp_hdr.c | 274 char *tid; in ossl_cmp_hdr_set_transactionID() local 279 tid = OPENSSL_buf2hexstr(ctx->transactionID->data, in ossl_cmp_hdr_set_transactionID() 281 if (tid != NULL) in ossl_cmp_hdr_set_transactionID() 283 "Starting new transaction with ID=%s", tid); in ossl_cmp_hdr_set_transactionID() 284 OPENSSL_free(tid); in ossl_cmp_hdr_set_transactionID()
|
/third_party/musl/porting/linux/user/src/process/ |
H A D | _Fork.c | 27 self->tid = __syscall(SYS_gettid); in _Fork() 28 self->pid = self->tid; in _Fork()
|
/third_party/elfutils/backends/ |
H A D | x86_64_initreg.c | 43 x86_64_set_initial_registers_tid (pid_t tid __attribute__ ((unused)), in x86_64_set_initial_registers_tid() 51 if (ptrace (PTRACE_GETREGS, tid, NULL, &user_regs) != 0) in x86_64_set_initial_registers_tid()
|
H A D | m68k_initreg.c | 42 m68k_set_initial_registers_tid (pid_t tid __attribute__ ((unused)), in m68k_set_initial_registers_tid() 50 if (ptrace (PTRACE_GETREGS, tid, NULL, &user_regs) != 0) in m68k_set_initial_registers_tid()
|
H A D | s390_initreg.c | 45 s390_set_initial_registers_tid (pid_t tid __attribute__ ((unused)), in s390_set_initial_registers_tid() 57 if (ptrace (PTRACE_PEEKUSR_AREA, tid, &parea, NULL) != 0) in s390_set_initial_registers_tid() 59 /* If we run as s390x we get the 64-bit registers of tid. in s390_set_initial_registers_tid()
|
H A D | csky_initreg.c | 45 csky_set_initial_registers_tid (pid_t tid __attribute__ ((unused)), in csky_set_initial_registers_tid() 56 if (ptrace (PTRACE_GETREGSET, tid, NT_PRSTATUS, &iovec) != 0) in csky_set_initial_registers_tid()
|
H A D | i386_initreg.c | 43 i386_set_initial_registers_tid (pid_t tid __attribute__ ((unused)), in i386_set_initial_registers_tid() 51 if (ptrace (PTRACE_GETREGS, tid, NULL, &user_regs) != 0) in i386_set_initial_registers_tid()
|
/third_party/node/test/parallel/ |
H A D | test-http-set-trailers.js | 60 let tid; 63 tid = setTimeout(common.mustNotCall(), 2000, 'Couldn\'t find last chunk.'); 70 clearTimeout(tid);
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_timeline_fence_wait.c | 67 u32 tid = mali_osk_get_tid(); local 80 mali_spinlock_reentrant_wait(system->spinlock, tid); 133 mali_spinlock_reentrant_signal(system->spinlock, tid);
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_timeline_fence_wait.c | 64 u32 tid = _mali_osk_get_tid(); local 77 mali_spinlock_reentrant_wait(system->spinlock, tid); 130 mali_spinlock_reentrant_signal(system->spinlock, tid);
|
/third_party/musl/porting/liteos_m/user/src/thread/ |
H A D | pthread_create.c | 28 /* After the kernel thread exits, its tid may be reused. Clear it in __pthread_exit() 35 self->tid = 0; in __pthread_exit() 111 thread->tid = (unsigned long)ret; in __thread_clone() 179 new->tid, attr._a_policy, attr._a_prio); in __pthread_create()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_syscall.cpp | 53 pid_t tid; in Bm_function_Syscall_gettid() local 55 tid = syscall(SYS_gettid); in Bm_function_Syscall_gettid() 56 benchmark::DoNotOptimize(tid); in Bm_function_Syscall_gettid()
|
/third_party/node/deps/openssl/openssl/crypto/err/ |
H A D | err_prn.c | 23 CRYPTO_THREAD_ID tid = CRYPTO_THREAD_get_current_id(); in ERR_print_errors_cb() local 36 hex = ossl_buf2hexstr_sep((const unsigned char *)&tid, sizeof(tid), '\0'); in ERR_print_errors_cb()
|
/third_party/openssl/crypto/err/ |
H A D | err_prn.c | 23 CRYPTO_THREAD_ID tid = CRYPTO_THREAD_get_current_id(); in ERR_print_errors_cb() local 36 hex = ossl_buf2hexstr_sep((const unsigned char *)&tid, sizeof(tid), '\0'); in ERR_print_errors_cb()
|
/device/qemu/riscv32_virt/liteos_m/board/driver/ |
H A D | virtinput.c | 85 osThreadId_t tid; member 306 if (in->tid) { in VirtinDeInit() 307 osThreadTerminate(in->tid); in VirtinDeInit() 308 in->tid = NULL; in VirtinDeInit() 410 in->tid = osThreadNew((osThreadFunc_t)InputWorkTask, in, &attr); in HdfVirtinInit() 411 if (in->tid == NULL) { in HdfVirtinInit()
|
/third_party/node/deps/uv/src/unix/ |
H A D | thread.c | 230 int uv_thread_create(uv_thread_t *tid, void (*entry)(void *arg), void *arg) { in uv_thread_create() argument 233 return uv_thread_create_ex(tid, ¶ms, entry, arg); in uv_thread_create() 236 int uv_thread_create_ex(uv_thread_t* tid, in uv_thread_create_ex() argument 279 err = pthread_create(tid, attr, f.out, arg); in uv_thread_create_ex() 292 int uv_thread_join(uv_thread_t *tid) { in uv_thread_join() argument 293 return UV__ERR(pthread_join(*tid, NULL)); in uv_thread_join()
|
/third_party/python/Lib/importlib/ |
H A D | _bootstrap.py | 82 tid = self.owner 85 lock = _blocking_on.get(tid) 88 tid = lock.owner 89 if tid == me: 91 if tid in seen: 92 # bpo 38091: the chain of tid's we encounter here 98 seen.add(tid) 106 tid = _thread.get_ident() 107 _blocking_on[tid] = self 111 if self.count == 0 or self.owner == tid [all...] |