Home
last modified time | relevance | path

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

12

/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dcommon_unittest.cc196 Closure* permanent_closure_;
204 Closure* closure = NewCallback(&SetA123Function); in TEST_F()
211 Closure* closure = NewCallback(current_instance_, in TEST_F()
219 Closure* closure = NewCallback(&SetAFunction, 456); in TEST_F()
226 Closure* closure = NewCallback(current_instance_, in TEST_F()
234 Closure* closure = NewCallback(&SetCFunction, string("test")); in TEST_F()
241 Closure* closure = NewCallback(current_instance_, in TEST_F()
250 Closure* closure = NewCallback(&SetABFunction, 789, cstr); in TEST_F()
260 Closure* closure = NewCallback(current_instance_, in TEST_F()
272 Closure* closure = NewPermanentCallback(&SetA123Function); in TEST_F()
[all …]
Dcallback.h70 class LIBPROTOBUF_EXPORT Closure {
72 Closure() {} in Closure() function
73 virtual ~Closure();
78 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Closure);
119 class LIBPROTOBUF_EXPORT FunctionClosure0 : public Closure {
139 class MethodClosure0 : public Closure {
160 class FunctionClosure1 : public Closure {
183 class MethodClosure1 : public Closure {
207 class FunctionClosure2 : public Closure {
231 class MethodClosure2 : public Closure {
[all …]
Donce.cc65 void GoogleOnceInitImpl(ProtobufOnceType* once, Closure* closure) { in GoogleOnceInitImpl()
Donce_unittest.cc76 TestThread(Closure* callback) in TestThread()
112 Closure* callback_;
Donce.h123 void GoogleOnceInitImpl(ProtobufOnceType* once, Closure* closure);
/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.java99 public static final class Closure extends BaseObj { class in ScriptGroup
111 Closure(long id, RenderScript rs) { in Closure() method in ScriptGroup.Closure
115 Closure(RenderScript rs, Script.KernelID kernelID, Type returnType, in Closure() method in ScriptGroup.Closure
155 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/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/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/support/java/src/androidx/renderscript/
DScriptGroup.java108 public static final class Closure extends BaseObj { class in ScriptGroup
120 Closure(long id, RenderScript rs) { in Closure() method in ScriptGroup.Closure
124 Closure(RenderScript rs, Script.KernelID kernelID, Type returnType, in Closure() method in ScriptGroup.Closure
166 Closure(RenderScript rs, Script.InvokeID invokeID, in Closure() method in ScriptGroup.Closure
332 Closure mClosure;
336 Future(Closure closure, Script.FieldID fieldID, Object value) { in Future()
342 Closure getClosure() { return mClosure; } in getClosure()
358 List<Pair<Closure, Script.FieldID>> mFieldID;
361 List<Pair<Closure, Integer>> mArgIndex;
365 mFieldID = new ArrayList<Pair<Closure, Script.FieldID>>(); in Input()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dservice.h171 Closure* done) = 0;
255 virtual void NotifyOnCancel(Closure* callback) = 0;
283 Closure* done) = 0;
/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()
/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/
DREADME.md13 2. Closure-style imports (eg. `goog.require('my.package.MyProto');`)
16 be supported by using Browserify, webpack, Closure Compiler, etc. to
51 Closure Compiler style imports and one that uses CommonJS imports.
61 little different depending on whether you are using Closure imports
64 Closure Imports
67 If you want to use Closure imports, your build should run a command
72 For Closure imports, `protoc` will generate a single output file
84 and they will require many types in the Google Closure library. So make sure
87 Google Closure library itself.
/frameworks/rs/tests/lldb/java/ScriptGroup/src/com/android/rs/scriptgroup/
DMainActivity.java51 ScriptGroup.Closure c0 = builder.addKernel( in onCreate()
54 ScriptGroup.Closure c1 = builder.addKernel(script.getKernelID_goo(), in onCreate()

12