Home
last modified time | relevance | path

Searched refs:Closure (Results 1 – 23 of 23) sorted by relevance

/frameworks/rs/
DrsClosure.cpp23 Closure* c = new Closure( in rsi_ClosureCreate()
26 sizes, (const Closure**)depClosures, in rsi_ClosureCreate()
38 Closure* c = new Closure( in rsi_InvokeClosureCreate()
48 ((Closure*)closure)->setArg(index, (const void*)value, size); in rsi_ClosureSetArg()
54 ((Closure*)closure)->setGlobal((const ScriptFieldID*)fieldID, in rsi_ClosureSetGlobal()
58 Closure::Closure(Context* context, in Closure() function in android::renderscript::Closure
65 const Closure** depClosures, in Closure()
86 const Closure* dep = depClosures[i]; in Closure()
98 const Closure* dep = depClosures[i]; in Closure()
112 Closure::Closure(Context* context, const ScriptInvokeID* invokeID, in Closure() function in android::renderscript::Closure
[all …]
DrsClosure.h20 class Closure : public ObjectBase {
22 Closure(Context* context,
29 const Closure** depClosures,
31 Closure(Context* context,
40 virtual ~Closure();
73 Map<const Closure*, Map<int, ObjectBaseRef<ScriptFieldID>>*> mArgDeps;
77 Map<const Closure*, Map<const ScriptFieldID*,
DrsScriptGroup2.h11 class Closure; variable
17 Closure** closures, size_t numClosures) : in ScriptGroup2()
25 List<Closure*> mClosures;
DrsScriptGroup2.cpp26 (Closure**)closures, numClosures); in rsi_ScriptGroup2Create()
DrsHidlAdaptation.cpp32 using ::android::hardware::renderscript::V1_0::Closure;
287 std::vector<Closure> _depClosures(depClosures_length); in ClosureCreate()
301 _depClosures[i] = (Closure)(uintptr_t)depClosures[i]; in ClosureCreate()
996 std::vector<Closure> _closures(numClosures); in ScriptGroup2Create()
998 _closures[i] = (Closure)(uintptr_t)closures[i]; in ScriptGroup2Create()
/frameworks/wilhelm/src/
DThreadPool.cpp28 Closure *pClosure = ThreadPool_remove(tp); in ThreadPool_start()
34 const Closure closure = *pClosure; in ThreadPool_start()
128 tp->mClosureArray = (Closure **) malloc((maxClosures + 1) * sizeof(Closure *)); in ThreadPool_init()
193 Closure **oldFront = tp->mClosureFront; in ThreadPool_deinit_internal()
195 Closure **newFront = oldFront; in ThreadPool_deinit_internal()
198 Closure *pClosure = *oldFront; in ThreadPool_deinit_internal()
255 Closure *closure = (Closure *) malloc(sizeof(Closure)); in ThreadPool_add()
290 Closure **oldRear = tp->mClosureRear; in ThreadPool_add()
291 Closure **newRear = oldRear; in ThreadPool_add()
327 Closure *ThreadPool_remove(ThreadPool *tp) in ThreadPool_remove()
[all …]
DThreadPool.h48 } Closure; typedef
62 Closure **mClosureArray; ///< The circular buffer of closures
63 Closure **mClosureFront, **mClosureRear;
66 Closure *mClosureTypical[CLOSURE_TYPICAL+1];
91 extern Closure *ThreadPool_remove(ThreadPool *tp);
/frameworks/base/rs/java/android/renderscript/
DScriptGroup.java104 public static final class Closure extends BaseObj { class in ScriptGroup
116 Closure(long id, RenderScript rs) { in Closure() method in ScriptGroup.Closure
120 Closure(RenderScript rs, Script.KernelID kernelID, Type returnType, in Closure() method in ScriptGroup.Closure
160 Closure(RenderScript rs, Script.InvokeID invokeID, in Closure() method in ScriptGroup.Closure
342 Closure mClosure;
346 Future(Closure closure, Script.FieldID fieldID, Object value) { in Future()
352 Closure getClosure() { return mClosure; } in getClosure()
368 List<Pair<Closure, Script.FieldID>> mFieldID;
371 List<Pair<Closure, Integer>> mArgIndex;
375 mFieldID = new ArrayList<Pair<Closure, Script.FieldID>>(); in Input()
[all …]
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
DFilters.java38 public ScriptGroup.Closure prepInit(ScriptGroup.Builder2 b); in prepInit()
40 public ScriptGroup.Closure asyncLaunch(ScriptGroup.Builder2 builder, in asyncLaunch()
46 public ScriptGroup.Closure asyncLaunch(ScriptGroup.Builder2 builder, in asyncLaunch()
74 public ScriptGroup.Closure prepInit(ScriptGroup.Builder2 b) { /* TODO */ return null; } in prepInit()
88 public ScriptGroup.Closure prepInit(ScriptGroup.Builder2 b) { return null; } in prepInit()
102 public ScriptGroup.Closure prepInit(ScriptGroup.Builder2 b) { return null; } in prepInit()
120 public ScriptGroup.Closure prepInit(ScriptGroup.Builder2 b) { in prepInit()
127 public ScriptGroup.Closure asyncLaunch(ScriptGroup.Builder2 builder, in asyncLaunch()
148 public ScriptGroup.Closure prepInit(ScriptGroup.Builder2 b) { return null; } in prepInit()
203 public ScriptGroup.Closure prepInit(ScriptGroup.Builder2 b) { in prepInit()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptGroup.java113 public static final class Closure extends BaseObj { class in ScriptGroup
125 Closure(long id, RenderScript rs) { in Closure() method in ScriptGroup.Closure
129 Closure(RenderScript rs, Script.KernelID kernelID, Type returnType, in Closure() method in ScriptGroup.Closure
171 Closure(RenderScript rs, Script.InvokeID invokeID, in Closure() method in ScriptGroup.Closure
337 Closure mClosure;
341 Future(Closure closure, Script.FieldID fieldID, Object value) { in Future()
347 Closure getClosure() { return mClosure; } in getClosure()
363 List<Pair<Closure, Script.FieldID>> mFieldID;
366 List<Pair<Closure, Integer>> mArgIndex;
370 mFieldID = new ArrayList<Pair<Closure, Script.FieldID>>(); in Input()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.h12 class Closure; variable
24 CPUClosure(const Closure* closure, RsdCpuScriptImpl* si, ExpandFuncTy func) : in CPUClosure()
27 CPUClosure(const Closure* closure, RsdCpuScriptImpl* si) : in CPUClosure()
32 const Closure* mClosure;
DrsCpuScriptGroup2.cpp48 const Closure* closure = cpuClosure->mClosure; in groupRoot()
108 const Closure* closure = cpuClosure->mClosure; in conflict()
120 const Closure* batched = c->mClosure; in conflict()
138 const Closure* lastBatched = mClosures.back()->mClosure; in conflict()
166 for (Closure* closure: mGroup->mClosures) { in CpuScriptGroup2Impl()
311 const Closure& closure, in generateSourceSlot()
394 for (Closure* closure : mGroup->mClosures) { in compile()
582 const Closure* closure = cpuClosure->mClosure; in setGlobalsForBatch()
630 const Closure* c = cc->mClosure; in run()
670 const Closure* closure = cpuClosure->mClosure; in run()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_script_group2_nochain.java55 ScriptGroup.Closure c0 = in run()
60 ScriptGroup.Closure c1 = in run()
66 ScriptGroup.Closure c2 = in run()
DUT_script_group2_pointwise.java54 ScriptGroup.Closure c0 = in run()
59 ScriptGroup.Closure c1 = in run()
DUT_script_group2_float.java56 ScriptGroup.Closure c0 = in run()
65 ScriptGroup.Closure c1 = in run()
DUT_script_group2_gatherscatter.java74 ScriptGroup.Closure c = null; in run()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_script_group2_nochain.java57 ScriptGroup.Closure c0 = in run()
62 ScriptGroup.Closure c1 = in run()
68 ScriptGroup.Closure c2 = in run()
DUT_script_group2_pointwise.java56 ScriptGroup.Closure c0 = in run()
61 ScriptGroup.Closure c1 = in run()
DUT_script_group2_float.java58 ScriptGroup.Closure c0 = in run()
67 ScriptGroup.Closure c1 = in run()
DUT_script_group2_gatherscatter.java76 ScriptGroup.Closure c = null; in run()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DGroupTest.java74 ScriptGroup.Closure c; in createTest()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt46058 …cript/Script$InvokeID;[Ljava/lang/Object;Ljava/util/Map;)Landroid/renderscript/ScriptGroup$Closure;
46059 …oid/renderscript/Type;[Ljava/lang/Object;Ljava/util/Map;)Landroid/renderscript/ScriptGroup$Closure;
46075 Landroid/renderscript/ScriptGroup$Closure$ValueAndSize;-><init>(Landroid/renderscript/RenderScript;…
46076 Landroid/renderscript/ScriptGroup$Closure$ValueAndSize;->size:I
46077 Landroid/renderscript/ScriptGroup$Closure$ValueAndSize;->value:J
46078 Landroid/renderscript/ScriptGroup$Closure;-><init>(JLandroid/renderscript/RenderScript;)V
46079 Landroid/renderscript/ScriptGroup$Closure;-><init>(Landroid/renderscript/RenderScript;Landroid/rend…
46080 Landroid/renderscript/ScriptGroup$Closure;-><init>(Landroid/renderscript/RenderScript;Landroid/rend…
46081 Landroid/renderscript/ScriptGroup$Closure;->mArgs:[Ljava/lang/Object;
46082 Landroid/renderscript/ScriptGroup$Closure;->mBindings:Ljava/util/Map;
[all …]
/frameworks/base/core/api/
Dcurrent.txt38920 …method @Deprecated public android.renderscript.ScriptGroup.Closure addInvoke(android.renderscript.…
38921 …method @Deprecated public android.renderscript.ScriptGroup.Closure addKernel(android.renderscript.…
38925 @Deprecated public static final class ScriptGroup.Closure extends android.renderscript.BaseObj {