Lines Matching refs:p
104 void (*destroy)(void* p); //
105 void (*invoke)(ThreadFunc f, const void* p); //
107 void* p; // member
115 invoke(f, p); in Invoke()
121 destroy(p); in Destroy()
177 void Thread::ThreadStart(uptr p) in ThreadStart() argument
179 FunctionInfo& info = *reinterpret_cast<FunctionInfo*>(p); in ThreadStart()
196 Result Thread::TryInitializeAndStartImpl(const TypeInfo& typeInfo, ThreadFunc f, const void* p, upt… in TryInitializeAndStartImpl() argument
208 typeInfo.copy(p, obj); in TryInitializeAndStartImpl()
217 info.p = obj; in TryInitializeAndStartImpl()
252 …StartImplUsingAutoStack(const TypeInfo& typeInfo, ThreadFunc f, const void* p, size_t stackSize, s… in TryInitializeAndStartImplUsingAutoStack() argument
260 Result result = TryInitializeAndStartImpl(typeInfo, f, p, stack, priority, coreNo, true); in TryInitializeAndStartImplUsingAutoStack()
298 void nnosThreadInitializeAndStart(nnosThread* p, void (*f)(uptr), uptr param, uptr stackBottom, s32… in nnosThreadInitializeAndStart() argument
300 Thread* pThread = new (p) Thread(); in nnosThreadInitializeAndStart()
305 bool nnosThreadTryInitializeAndStart(nnosThread* p, void (*f)(uptr), uptr param, uptr stackBottom, … in nnosThreadTryInitializeAndStart() argument
307 Thread* pThread = new (p) Thread(); in nnosThreadTryInitializeAndStart()
313 void nnosThreadFinalize(nnosThread* p) in nnosThreadFinalize() argument
315 Thread* pThread = reinterpret_cast<Thread*>(p); in nnosThreadFinalize()
319 void nnosThreadJoin(nnosThread* p) in nnosThreadJoin() argument
321 Thread* pThread = reinterpret_cast<Thread*>(p); in nnosThreadJoin()
340 s32 nnosThreadGetPriority(const nnosThread* p) in nnosThreadGetPriority() argument
342 const Thread* pThread = reinterpret_cast<const Thread*>(p); in nnosThreadGetPriority()
351 void nnosThreadChangePriority(nnosThread* p, s32 priority) in nnosThreadChangePriority() argument
353 Thread* pThread = reinterpret_cast<Thread*>(p); in nnosThreadChangePriority()
363 void nnosThreadGetAffinityMask(const nnosThread* p, bit8* pAffinityMask, s32 numProcessor) in nnosThreadGetAffinityMask() argument
365 const Thread* pThread = reinterpret_cast<const Thread*>(p); in nnosThreadGetAffinityMask()
379 void nnosThreadChangeAffinityMask(nnosThread* p, const bit8* pAffinityMask, s32 numProcessor) in nnosThreadChangeAffinityMask() argument
381 Thread* pThread = reinterpret_cast<Thread*>(p); in nnosThreadChangeAffinityMask()
396 s32 nnosThreadGetIdealProcessor(const nnosThread* p) in nnosThreadGetIdealProcessor() argument
398 const Thread* pThread = reinterpret_cast<const Thread*>(p); in nnosThreadGetIdealProcessor()
412 void nnosThreadChangeIdealProcessor(nnosThread* p, s32 coreNo) in nnosThreadChangeIdealProcessor() argument
414 Thread* pThread = reinterpret_cast<Thread*>(p); in nnosThreadChangeIdealProcessor()
433 bit32 nnosThreadGetId(nnosThread* p) in nnosThreadGetId() argument
435 Thread* pThread = reinterpret_cast<Thread*>(p); in nnosThreadGetId()
439 bool nnosThreadIsAlive(nnosThread* p) in nnosThreadIsAlive() argument
441 Thread* pThread = reinterpret_cast<Thread*>(p); in nnosThreadIsAlive()