/bionic/libc/bionic/ |
pthread.c | 168 * 31-16 tid owner thread's tid (recursive and errorcheck only) 278 * tid of the owning thread. Note that this works because the Linux 593 int mvalue, mtype, tid, shared; local 609 tid = __get_thread()->tid; 610 if ( tid == MUTEX_OWNER_FROM_BITS(mvalue) ) 620 int newval = MUTEX_OWNER_TO_BITS(tid) | mtype | MUTEX_STATE_BITS_LOCKED_UNCONTENDED; 639 newval = MUTEX_OWNER_TO_BITS(tid) | mtype | MUTEX_STATE_BITS_LOCKED_CONTENDED; 687 int mvalue, mtype, tid, shared local 754 int mvalue, mtype, tid, shared; local 849 int mvalue, mtype, tid, shared; local [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_interceptors.cc | 158 DPrintf("#%d: intercept %s()\n", thr_->tid, fname); 274 DPrintf("#%d: executing atexit func %p\n", thr->tid, f); 702 atomic_uintptr_t tid; member in struct:ThreadParam 709 int tid = 0; local 717 while ((tid = atomic_load(&p->tid, memory_order_acquire)) == 0) 719 atomic_store(&p->tid, 0, memory_order_release); 720 ThreadStart(thr, tid, GetTid()); 752 atomic_store(&p.tid, 0, memory_order_relaxed); 755 int tid = ThreadCreate(thr, pc, *(uptr*)th, detached) local 768 int tid = ThreadTid(thr, pc, (uptr)th); local 778 int tid = ThreadTid(thr, pc, (uptr)th); local [all...] |
tsan_rtl.h | 54 u64 tid : kTidBits; 59 void Init(uptr siz, u32 tid, u32 stk) { 62 raw[1] |= (u64)tid << ((1 + 44 + 31) % 64); 66 DCHECK_EQ(Tid(), tid); local 70 u32 Tid() const { 142 // tid : kTidBits 148 FastState(u64 tid, u64 epoch) { 149 x_ = tid << kTidShift; 151 DCHECK_EQ(tid, this->tid()) 164 u64 tid() const { function in class:__tsan::FastState 422 const int tid; member in struct:__tsan::ThreadState [all...] |
/external/libnfc-nci/src/nfa/int/ |
nfa_p2p_int.h | 238 UINT8 tid; /* transaction ID */ member in struct:__anon10481
|
/external/libnfc-nci/src/nfc/int/ |
llcp_int.h | 204 UINT8 tid; /* transaction ID */ member in struct:__anon10618 210 UINT8 next_tid; /* next TID to use */ 351 tLLCP_STATUS llcp_sdp_send_sdreq (UINT8 tid, char *p_name);
|
/external/linux-tools-perf/ |
builtin-lock.c | 117 u32 tid; member in struct:thread_stat 123 static struct thread_stat *thread_stat_find(u32 tid) 131 if (st->tid == tid) 133 else if (tid < st->tid) 152 if (new->tid < p->tid) 154 else if (new->tid > p->tid) [all...] |
/external/linux-tools-perf/util/ |
python.c | 44 sample_member_def(sample_tid, tid, T_INT, "event tid"), \ 58 member_def(mmap_event, tid, T_UINT, "event tid"), 71 if (asprintf(&s, "{ type: mmap, pid: %u, tid: %u, start: %#" PRIx64 ", " 74 pevent->event.mmap.pid, pevent->event.mmap.tid, 102 member_def(fork_event, tid, T_UINT, "event tid"), 110 return PyString_FromFormat("{ type: %s, pid: %u, ppid: %u, tid: %u, " 115 pevent->event.fork.tid, 320 int pid = -1, tid = -1; local [all...] |
/external/openssl/crypto/err/ |
err.h | 150 CRYPTO_THREADID tid; member in struct:err_state_st 356 void ERR_remove_thread_state(const CRYPTO_THREADID *tid);
|
/external/openssl/include/openssl/ |
err.h | 150 CRYPTO_THREADID tid; member in struct:err_state_st 356 void ERR_remove_thread_state(const CRYPTO_THREADID *tid);
|
/external/oprofile/libpp/ |
xml_utils.cpp | 100 return classes.v[0].ptemplate.tid != "all"; 448 void build_thread(string const & tid, size_t l, size_t h); 467 void add_thread(string const & tid, size_t l, size_t h); 822 void process_info::add_thread(string const & tid, size_t l, size_t h) 824 my_threads[nr_threads++].build_thread(tid, l, h); 848 void thread_info::build_thread(string const & tid, size_t l, size_t h) 850 thread_id = tid; 926 cverb << vxml << "tid=" << thread_id << endl; 982 string cur_tid = classes.v[start].ptemplate.tid; 985 i < nr_classes && classes.v[i].ptemplate.tid == cur_tid 998 size_t tid = 0; local [all...] |
/external/valgrind/main/coregrind/ |
m_errormgr.c | 138 ThreadId tid; // Initialised by core member in struct:_Error 513 VG_(gdbserver)( err->tid ); 524 VG_(start_debugger)( err->tid ); 546 * prints the opening tag, and the <unique> and <tid> fields 588 VG_(printf_xml)(" <tid>%d</tid>\n", err->tid); 605 && err->tid > 0 && err->tid != last_tid_printed) { 606 VG_(umsg)("Thread %d:\n", err->tid ); [all...] |
m_signals.c | 652 To check this, possibly call gdbserver with tid. */ 653 static Bool is_sig_ign(Int sigNo, ThreadId tid) 658 || !VG_(gdbserver_report_signal) (sigNo, tid); 2081 ThreadId tid = VG_(lwpid_to_vgtid)(VG_(gettid)()); local 2459 ThreadId tid = VG_(lwpid_to_vgtid)(VG_(gettid)()); local 2518 ThreadId tid = VG_(lwpid_to_vgtid)(VG_(gettid)()); local [all...] |
/external/valgrind/main/coregrind/m_gdbserver/ |
m_gdbserver.c | 61 static void invalidate_current_ip (ThreadId tid, char *who); 132 static void call_gdbserver ( ThreadId tid , CallReason reason); 399 const ThreadId tid = VG_(running_tid); local 411 dlog(1, "tid %d VG_(is_watched) %s addr %p szB %d\n", 412 tid, VG_(ppPointKind) (kind), C2v(addr), szB); 456 invalidate_current_ip (tid, "m_gdbserver write watchpoint"); 458 call_gdbserver (tid, watch_reason); 569 static void invalidate_current_ip (ThreadId tid, char *who) 571 invalidate_if_jump_not_yet_gdbserved (VG_(get_IP) (tid), who); 574 void VG_(gdbserver_prerun_action) (ThreadId tid) [all...] |
/external/valgrind/main/coregrind/m_scheduler/ |
scheduler.c | 123 static void do_client_request ( ThreadId tid ); 124 static void scheduler_sanity ( ThreadId tid ); 125 static void mostly_clear_thread_record ( ThreadId tid ); 174 void print_sched_event ( ThreadId tid, Char* what ) 176 VG_(message)(Vg_DebugMsg, " SCHED[%d]: %s\n", tid, what ); 253 void VG_(acquire_BigLock)(ThreadId tid, HChar* who) 262 print_sched_event(tid, buf); 271 tst = VG_(get_ThreadState)(tid); 278 VG_(printf)("tid %d found %d running\n", tid, VG_(running_tid)) 430 ThreadId tid = VG_(running_tid); local 543 ThreadId tid; local 1542 ThreadId tid; local 1990 ThreadId tid; local [all...] |
/external/valgrind/main/drd/tests/ |
tsan_thread_wrappers_pthread.h | 356 pthread_t tid() const { return t_; } function in class:MyThread
|
/frameworks/av/media/libmedia/ |
IAudioFlinger.cpp | 95 pid_t tid, 111 data.writeInt32((int32_t) tid); 145 pid_t tid, 158 data.writeInt32((int32_t) tid); 718 pid_t tid = (pid_t) data.readInt32(); local 723 channelMask, frameCount, &flags, buffer, output, tid, &sessionId, &status); 738 pid_t tid = (pid_t) data.readInt32(); local 742 sampleRate, format, channelMask, frameCount, flags, tid, &sessionId, &status); [all...] |
/frameworks/av/services/audioflinger/ |
Threads.h | 82 PrioConfigEvent(pid_t pid, pid_t tid, int32_t prio) : 83 ConfigEvent(CFG_EVENT_PRIO), mPid(pid), mTid(tid), mPrio(prio) {} 87 pid_t tid() const { return mTid; } function in class:ThreadBase::PrioConfigEvent 91 snprintf(buffer, size, "Prio event: pid %d, tid %d, prio %d\n", mPid, mTid, mPrio); 142 void sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio); 393 pid_t tid, [all...] |
/frameworks/base/core/jni/ |
android_util_Process.cpp | 174 void android_os_Process_setThreadGroup(JNIEnv* env, jobject clazz, int tid, jint grp) 176 ALOGV("%s tid=%d grp=%d", __func__, tid, grp); 178 int res = set_sched_policy(tid, sp); 284 ALOGV("Process.setCanSelfBackground(%d) : tid=%d", bgOk, androidGetTid()); 298 jint tid, jint policy, jint pri) 303 int rc = sched_setscheduler(tid, policy, ¶m); 346 jint tid = android_os_Process_myTid(env, clazz); local 347 android_os_Process_setThreadPriority(env, clazz, tid, pri);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifParser.java | 590 short tid = tag.getTagId(); local 592 if (tid == TAG_EXIF_IFD && checkAllowed(ifd, ExifInterface.TAG_EXIF_IFD)) { 597 } else if (tid == TAG_GPS_IFD && checkAllowed(ifd, ExifInterface.TAG_GPS_IFD)) { 601 } else if (tid == TAG_INTEROPERABILITY_IFD 606 } else if (tid == TAG_JPEG_INTERCHANGE_FORMAT 611 } else if (tid == TAG_JPEG_INTERCHANGE_FORMAT_LENGTH 616 } else if (tid == TAG_STRIP_OFFSETS && checkAllowed(ifd, ExifInterface.TAG_STRIP_OFFSETS)) { 630 } else if (tid == TAG_STRIP_BYTE_COUNTS [all...] |
/dalvik/vm/oo/ |
Class.cpp | 206 unsigned int tid = (unsigned int) pthread_self(); local 208 ALOG(LOG_INFO, "PRELOAD", "%c%d:%d:%d:%s:%d:%s:%lld", type, ppid, pid, tid, [all...] |
/external/mdnsresponder/mDNSShared/ |
dnsextd.c | 2568 pthread_t tid; local 2714 pthread_t tid; local [all...] |
/external/strace/ |
strace.c | 52 # define my_tgkill(pid, tid, sig) syscall (__NR_tgkill, (pid), (tid), (sig)) 54 # define my_tgkill(pid, tid, sig) syscall (__NR_tkill, (tid), (sig)) 57 while we later wait on a that specific TID. PID process waits become 58 TID task specific waits for a process under ptrace(2). */ 60 # define my_tgkill(pid, tid, sig) kill ((tid), (sig)) 435 int tid; local 439 tid = atoi(de->d_name) [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-generic.c | 74 Bool ML_(valid_client_addr)(Addr start, SizeT size, ThreadId tid, 94 VG_(get_and_pp_StackTrace)(tid, VG_(clo_backtrace_size)); 246 UWord flags, ThreadId tid ) 292 if (!ML_(valid_client_addr)(old_addr, old_len, tid, "mremap(old_addr)")) 553 tid is -1, this indicates an inherited fd. If the pathname is NULL, 558 void ML_(record_fd_open_with_given_name)(ThreadId tid, Int fd, char *pathname) 588 i->where = (tid == -1) ? NULL : VG_(record_ExeContext)(tid, 0/*first_ip_delta*/); 592 void ML_(record_fd_open_named)(ThreadId tid, Int fd) 601 ML_(record_fd_open_with_given_name)(tid, fd, name) 3381 ThreadId tid; local [all...] |
/external/valgrind/main/memcheck/ |
mc_errors.c | 95 ThreadId tid; // Which thread's stack? member in struct:_AddrInfo::__anon17199::__anon17201 318 xpre, (ULong)a, ai->Addr.Stack.tid, xpost ); 841 void MC_(record_address_error) ( ThreadId tid, Addr a, Int szB, 853 just_below_esp = is_just_below_ESP( VG_(get_SP)(tid), a ); 864 VG_(maybe_record_error)( tid, Err_Addr, a, /*s*/NULL, &extra ); 867 void MC_(record_value_error) ( ThreadId tid, Int szB, UInt otag ) 876 VG_(maybe_record_error)( tid, Err_Value, /*addr*/0, /*s*/NULL, &extra ); 879 void MC_(record_cond_error) ( ThreadId tid, UInt otag ) 887 VG_(maybe_record_error)( tid, Err_Cond, /*addr*/0, /*s*/NULL, &extra ); 893 void MC_(record_core_mem_error) ( ThreadId tid, Char* msg 1104 ThreadId tid; local [all...] |
/frameworks/av/media/libstagefright/ |
ACodec.cpp | 3343 pid_t tid = androidGetTid(); local [all...] |