Lines Matching refs:p
105 void (*destroy)(void* p); //
106 void (*invoke)(ThreadFunc f, const void* p); //
108 void* p; // member
115 invoke(f, p); in Invoke()
121 destroy(p); in Destroy()
131 void ManagedThread::ThreadStart(StartParam* p) in ThreadStart() argument
133 StartParam& param = *p; in ThreadStart()
152 …tartParam* pStartParam, const TypeInfo& typeInfo, ThreadFunc f, const void* p, uptr stackBottom, s… in SetupStackAndParam() argument
164 typeInfo.copy(p, pCopiedParam); in SetupStackAndParam()
170 pStartParam->p = pCopiedParam; in SetupStackAndParam()
183 …Result ManagedThread::TryInitializeImpl(const TypeInfo& typeInfo, ThreadFunc f, const void* p, upt… in TryInitializeImpl() argument
188 p, in TryInitializeImpl()
196 …Result ManagedThread::TryInitializeImpl(const TypeInfo& typeInfo, ThreadFunc f, const void* p, upt… in TryInitializeImpl() argument
201 … const uptr newStackBottom = SetupStackAndParam(¶m, typeInfo, f, p, stackBottom, stackSize); in TryInitializeImpl()
230 …alizeImplUsingAutoStack(const TypeInfo& typeInfo, ThreadFunc f, const void* p, size_t stackSize, s… in TryInitializeImplUsingAutoStack() argument
235 … Result result = TryInitializeImpl(typeInfo, f, p, stackBottom, stackSize, priority, coreNo, true); in TryInitializeImplUsingAutoStack()
319 void ManagedThread::SetCurrentThread(ManagedThread* p) in SetCurrentThread() argument
321 ms_ThreadStorage.SetValue(reinterpret_cast<uptr>(p)); in SetCurrentThread()
345 virtual bool operator()(ManagedThread* p) in FindByStackAddress() argument
347 … if( (p->GetStackBufferBegin() <= m_Address) && (m_Address <= p->GetStackBufferEnd()) ) in FindByStackAddress()
349 m_pFound = p; in FindByStackAddress()
374 virtual bool operator()(ManagedThread* p) in FindById() argument
376 if( p->GetId() == m_Id ) in FindById()
378 m_pFound = p; in FindById()
392 void ManagedThread::Enumerate(EnumerateCallback* p) in Enumerate() argument
400 (*p)(pThread); in Enumerate()
405 void ManagedThread::Register(ManagedThread* p) in Register() argument
409 ss.threadList.PushBack(p); in Register()
412 void ManagedThread::Unregister(ManagedThread* p) in Unregister() argument
416 ss.threadList.Erase(p); in Unregister()
429 virtual bool operator()(ManagedThread* p) in GetCurrentManagedCount() argument
431 NN_UNUSED_VAR(p); in GetCurrentManagedCount()