Home
last modified time | relevance | path

Searched refs:closure (Results 1 – 7 of 7) sorted by relevance

/frameworks/wilhelm/src/
DThreadPool.cpp34 const Closure closure = *pClosure; in ThreadPool_start() local
37 ClosureKind kind = closure.mKind; in ThreadPool_start()
38 void *context1 = closure.mContext1; in ThreadPool_start()
39 void *context2 = closure.mContext2; in ThreadPool_start()
40 int parameter1 = closure.mParameter1; in ThreadPool_start()
44 ClosureHandler_ppi handler_ppi = closure.mHandler.mHandler_ppi; in ThreadPool_start()
51 ClosureHandler_ppii handler_ppii = closure.mHandler.mHandler_ppii; in ThreadPool_start()
53 int parameter2 = closure.mParameter2; in ThreadPool_start()
59 ClosureHandler_piipp handler_piipp = closure.mHandler.mHandler_piipp; in ThreadPool_start()
61 int parameter2 = closure.mParameter2; in ThreadPool_start()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp48 const Closure* closure = cpuClosure->mClosure; in groupRoot() local
51 rsAssert(closure->mNumArg <= RS_KERNEL_INPUT_LIMIT); in groupRoot()
53 for (size_t i = 0; i < closure->mNumArg; i++) { in groupRoot()
54 const void* arg = closure->mArgs[i]; in groupRoot()
65 mutable_kinfo->inLen = closure->mNumArg; in groupRoot()
67 const Allocation* out = closure->mReturnValue; in groupRoot()
108 const Closure* closure = cpuClosure->mClosure; in conflict() local
110 if (!closure->mIsKernel || !mClosures.front()->mClosure->mIsKernel) { in conflict()
116 const auto& globalDeps = closure->mGlobalDeps; in conflict()
117 const auto& argDeps = closure->mArgDeps; in conflict()
[all …]
DrsCpuScriptGroup2.h24 CPUClosure(const Closure* closure, RsdCpuScriptImpl* si, ExpandFuncTy func) : in CPUClosure() argument
25 mClosure(closure), mSi(si), mFunc(func) {} in CPUClosure()
27 CPUClosure(const Closure* closure, RsdCpuScriptImpl* si) : in CPUClosure() argument
28 mClosure(closure), mSi(si), mFunc(nullptr) {} in CPUClosure()
46 bool conflict(CPUClosure* closure) const;
/frameworks/rs/
DrsClosure.cpp46 void rsi_ClosureSetArg(Context* rsc, RsClosure closure, uint32_t index, in rsi_ClosureSetArg() argument
48 ((Closure*)closure)->setArg(index, (const void*)value, size); in rsi_ClosureSetArg()
51 void rsi_ClosureSetGlobal(Context* rsc, RsClosure closure, in rsi_ClosureSetGlobal() argument
54 ((Closure*)closure)->setGlobal((const ScriptFieldID*)fieldID, in rsi_ClosureSetGlobal()
DrsHidlAdaptation.cpp307 uint64_t closure = GetIContextHandle(context)->closureCreate(_kernelID, _returnValue, in ClosureCreate() local
310 return (RsClosure) closure; in ClosureCreate()
339 uint64_t closure = GetIContextHandle(context)->invokeClosureCreate(_invokeID, in InvokeClosureCreate() local
342 return (RsClosure) closure; in InvokeClosureCreate()
345 void RsHidlAdaptation::ClosureSetArg(RsContext context, RsClosure closure, uint32_t index, in ClosureSetArg() argument
348 uint64_t _closure = (uint64_t)(uintptr_t)closure; in ClosureSetArg()
352 void RsHidlAdaptation::ClosureSetGlobal(RsContext context, RsClosure closure, in ClosureSetGlobal() argument
356 uint64_t _closure = (uint64_t)(uintptr_t)closure; in ClosureSetGlobal()
/frameworks/base/rs/java/android/renderscript/
DScriptGroup.java346 Future(Closure closure, Script.FieldID fieldID, Object value) { in Future() argument
347 mClosure = closure; in Future()
379 void addReference(Closure closure, int index) { in addReference() argument
380 mArgIndex.add(Pair.create(closure, Integer.valueOf(index))); in addReference()
383 void addReference(Closure closure, Script.FieldID fieldID) { in addReference() argument
384 mFieldID.add(Pair.create(closure, fieldID)); in addReference()
390 Closure closure = p.first; in set() local
392 closure.setArg(index, value); in set()
395 Closure closure = p.first; in set() local
397 closure.setGlobal(fieldID, value); in set()
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptGroup.java341 Future(Closure closure, Script.FieldID fieldID, Object value) { in Future() argument
342 mClosure = closure; in Future()
374 void addReference(Closure closure, int index) { in addReference() argument
375 mArgIndex.add(Pair.create(closure, Integer.valueOf(index))); in addReference()
378 void addReference(Closure closure, Script.FieldID fieldID) { in addReference() argument
379 mFieldID.add(Pair.create(closure, fieldID)); in addReference()
385 Closure closure = p.first; in set() local
387 closure.setArg(index, value); in set()
390 Closure closure = p.first; in set() local
392 closure.setGlobal(fieldID, value); in set()