Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dcommon_unittest.cc204 Closure* closure = NewCallback(&SetA123Function); in TEST_F() local
206 closure->Run(); in TEST_F()
211 Closure* closure = NewCallback(current_instance_, in TEST_F() local
214 closure->Run(); in TEST_F()
219 Closure* closure = NewCallback(&SetAFunction, 456); in TEST_F() local
221 closure->Run(); in TEST_F()
226 Closure* closure = NewCallback(current_instance_, in TEST_F() local
229 closure->Run(); in TEST_F()
234 Closure* closure = NewCallback(&SetCFunction, string("test")); in TEST_F() local
236 closure->Run(); in TEST_F()
[all …]
Donce.cc65 void GoogleOnceInitImpl(ProtobufOnceType* once, Closure* closure) { in GoogleOnceInitImpl() argument
83 closure->Run(); in GoogleOnceInitImpl()
Donce.h123 void GoogleOnceInitImpl(ProtobufOnceType* once, Closure* closure);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor.cc424 static PyObject* GetName(PyBaseDescriptor* self, void *closure) { in GetName() argument
428 static PyObject* GetFullName(PyBaseDescriptor* self, void *closure) { in GetFullName() argument
432 static PyObject* GetFile(PyBaseDescriptor *self, void *closure) { in GetFile() argument
436 static PyObject* GetConcreteClass(PyBaseDescriptor* self, void *closure) { in GetConcreteClass() argument
449 static PyObject* GetFieldsByName(PyBaseDescriptor* self, void *closure) { in GetFieldsByName() argument
454 void *closure) { in GetFieldsByCamelcaseName() argument
458 static PyObject* GetFieldsByNumber(PyBaseDescriptor* self, void *closure) { in GetFieldsByNumber() argument
462 static PyObject* GetFieldsSeq(PyBaseDescriptor* self, void *closure) { in GetFieldsSeq() argument
466 static PyObject* GetNestedTypesByName(PyBaseDescriptor* self, void *closure) { in GetNestedTypesByName() argument
470 static PyObject* GetNestedTypesSeq(PyBaseDescriptor* self, void *closure) { in GetNestedTypesSeq() argument
[all …]
Dmessage.cc2078 static PyObject* GetExtensionDict(CMessage* self, void *closure); in CheckAndGetInteger()
2541 static PyObject* GetExtensionDict(CMessage* self, void *closure) { in CheckAndGetInteger() argument
/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/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dencode_decode.c108 static void *startseq_handler(void* closure, const void* hd) { in startseq_handler() argument
109 MessageHeader* msg = closure; in startseq_handler()
116 static bool append##type##_handler(void *closure, const void *hd, \
118 VALUE ary = (VALUE)closure; \
132 static void* appendstr_handler(void *closure, in DEFINE_APPEND_HANDLER()
135 VALUE ary = (VALUE)closure; in DEFINE_APPEND_HANDLER()
143 static void* appendbytes_handler(void *closure, in appendbytes_handler() argument
146 VALUE ary = (VALUE)closure; in appendbytes_handler()
154 static void* str_handler(void *closure, in str_handler() argument
157 MessageHeader* msg = closure; in str_handler()
[all …]
Dupb.c611 void *closure) { in visitfield() argument
614 visit(r, upb_msgdef_upcast2(upb_fielddef_containingtype(f)), closure); in visitfield()
617 visit(r, upb_oneofdef_upcast(upb_fielddef_containingoneof(f)), closure); in visitfield()
620 visit(r, upb_def_upcast(upb_fielddef_subdef(f)), closure); in visitfield()
1383 void *closure) { in visitmsg() argument
1391 visit(r, upb_fielddef_upcast2(f), closure); in visitmsg()
1397 visit(r, upb_oneofdef_upcast(f), closure); in visitmsg()
1719 void *closure) { in visitoneof() argument
1724 visit(r, upb_fielddef_upcast2(f), closure); in visitoneof()
1727 visit(r, upb_msgdef_upcast2(o->parent), closure); in visitoneof()
[all …]
Dupb.h1465 void *closure);
4132 typedef void HandlersCallback(const void *closure, upb_handlers *h);
4145 const void *closure);
4532 typedef void upb_handlers_callback(const void *closure, upb_handlers *h);
4538 const void *closure);
5662 const void *closure) {
5663 const upb_handlers *h = upb_handlers_newfrozen(m, &h, callback, closure);
5880 template <class T> Sink(const Handlers* handlers, T* closure);
5883 template <class T> void Reset(const Handlers* handlers, T* closure);
5956 void *closure;
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.c529 void *closure) { in visitfield() argument
532 visit(r, upb_msgdef_upcast2(upb_fielddef_containingtype(f)), closure); in visitfield()
535 visit(r, upb_oneofdef_upcast2(upb_fielddef_containingoneof(f)), closure); in visitfield()
538 visit(r, upb_def_upcast(upb_fielddef_subdef(f)), closure); in visitfield()
1234 void *closure) { in visitmsg() argument
1242 visit(r, upb_fielddef_upcast2(f), closure); in visitmsg()
1248 visit(r, upb_oneofdef_upcast2(f), closure); in visitmsg()
1513 void *closure) { in visitoneof() argument
1518 visit(r, upb_fielddef_upcast2(f), closure); in visitoneof()
1521 visit(r, upb_msgdef_upcast2(o->parent), closure); in visitoneof()
[all …]
Dupb.h454 typedef bool upb_errcb_t(void *closure, const upb_status* status);
1177 void *closure);
3436 typedef void HandlersCallback(const void *closure, upb_handlers *h);
3449 const void *closure);
3836 typedef void upb_handlers_callback(const void *closure, upb_handlers *h);
3842 const void *closure);
4966 const void *closure) {
4967 const upb_handlers *h = upb_handlers_newfrozen(m, &h, callback, closure);
5445 template <class T> Sink(const Handlers* handlers, T* closure);
5448 template <class T> void Reset(const Handlers* handlers, T* closure);
[all …]
/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.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()
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptGroup.java336 Future(Closure closure, Script.FieldID fieldID, Object value) { in Future() argument
337 mClosure = closure; in Future()
369 void addReference(Closure closure, int index) { in addReference() argument
370 mArgIndex.add(Pair.create(closure, Integer.valueOf(index))); in addReference()
373 void addReference(Closure closure, Script.FieldID fieldID) { in addReference() argument
374 mFieldID.add(Pair.create(closure, fieldID)); in addReference()
380 Closure closure = p.first; in set() local
382 closure.setArg(index, value); in set()
385 Closure closure = p.first; in set() local
387 closure.setGlobal(fieldID, value); in set()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/
DREADME.md136 The `import_style` option is left to the default, which is `closure`.