Lines Matching defs:Script
22 Script::Script(Context *rsc) : ObjectBase(rsc) {
30 Script::~Script() {
41 void Script::setSlot(uint32_t slot, Allocation *a) {
44 LOGE("Script::setSlot unable to set allocation, invalid slot index");
50 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a->getPtr());
52 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, NULL);
56 void Script::setVar(uint32_t slot, const void *val, size_t len) {
59 LOGE("Script::setVar unable to set allocation, invalid slot index");
62 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len);
65 void Script::setVarObj(uint32_t slot, ObjectBase *val) {
68 LOGE("Script::setVarObj unable to set allocation, invalid slot index");
72 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val);
75 bool Script::freeChildren() {
77 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this);
85 Script *s = static_cast<Script *>(vs);
92 Script *s = static_cast<Script *>(vs);
99 Script *s = static_cast<Script *>(vs);
107 Script *s = static_cast<Script *>(vs);
113 Script *s = static_cast<Script *>(vs);
118 Script *s = static_cast<Script *>(vs);
123 Script *s = static_cast<Script *>(vs);
128 Script *s = static_cast<Script *>(vs);
134 Script *s = static_cast<Script *>(vs);
139 Script *s = static_cast<Script *>(vs);
144 Script *s = static_cast<Script *>(vs);
149 Script *s = static_cast<Script *>(vs);