Lines Matching refs:dst

114 static void SetObjectRef(const Context *rsc, const ObjectBase *dst, const ObjectBase *src) {  in SetObjectRef()  argument
120 if (dst) { in SetObjectRef()
121 CHECK_OBJ(dst); in SetObjectRef()
122 dst->decSysRef(); in SetObjectRef()
127 void rsrClearObject(const Context *rsc, void *dst) { in rsrClearObject() argument
128 ObjectBase **odst = (ObjectBase **)dst; in rsrClearObject()
139 void rsrClearObject(rs_object_base *dst) { in rsrClearObject() argument
141 ALOGE("rsrClearObject %p,%p", dst, dst->p); in rsrClearObject()
143 if (dst->p) { in rsrClearObject()
144 CHECK_OBJ(dst->p); in rsrClearObject()
145 dst->p->decSysRef(); in rsrClearObject()
147 dst->p = nullptr; in rsrClearObject()
151 void rsrClearObject(const Context *rsc, rs_object_base *dst) { in rsrClearObject() argument
152 rsrClearObject(dst); in rsrClearObject()
156 void rsrSetObject(const Context *rsc, void *dst, ObjectBase *src) { in rsrSetObject() argument
158 rsrClearObject(rsc, dst); in rsrSetObject()
162 ObjectBase **odst = (ObjectBase **)dst; in rsrSetObject()
164 ALOGE("rsrSetObject (base) %p,%p %p", dst, *odst, src); in rsrSetObject()
167 src->callUpdateCacheObject(rsc, dst); in rsrSetObject()
170 void rsrSetObject(const Context *rsc, rs_object_base *dst, const ObjectBase *src) { in rsrSetObject() argument
172 rsrClearObject(rsc, dst); in rsrSetObject()
176 ObjectBase **odst = (ObjectBase **)dst; in rsrSetObject()
178 ALOGE("rsrSetObject (base) %p,%p %p", dst, *odst, src); in rsrSetObject()
181 src->callUpdateCacheObject(rsc, dst); in rsrSetObject()