/frameworks/rs/ |
H A D | rsObjectBase.cpp | 42 //ALOGV("~ObjectBase %p ref %i,%i", this, mUserRefCount, mSysRefCount); 73 //ALOGV("ObjectBase %p incU ref %i, %i", this, mUserRefCount, mSysRefCount); 78 //ALOGV("ObjectBase %p incS ref %i, %i", this, mUserRefCount, mSysRefCount); 88 bool ObjectBase::checkDelete(const ObjectBase *ref) { argument 89 if (!ref) { 95 // the ref counts. At this point we should be the only thread 97 if (ref->mUserRefCount || ref->mSysRefCount) { 102 ref->remove(); 105 ref [all...] |
H A D | rsObjectBase.h | 105 ObjectBaseRef(const ObjectBaseRef &ref) { argument 106 mRef = ref.get(); 112 ObjectBaseRef(T *ref) { argument 113 mRef = ref; 115 ref->incSysRef(); 119 ObjectBaseRef & operator= (const ObjectBaseRef &ref) { argument 120 if (&ref != this) { 121 set(ref); 130 void set(T *ref) { argument 131 if (mRef != ref) { 140 set(const ObjectBaseRef &ref) argument [all...] |
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsObjectBase.cpp | 42 //ALOGV("~ObjectBase %p ref %i,%i", this, mUserRefCount, mSysRefCount); 73 //ALOGV("ObjectBase %p incU ref %i, %i", this, mUserRefCount, mSysRefCount); 78 //ALOGV("ObjectBase %p incS ref %i, %i", this, mUserRefCount, mSysRefCount); 88 bool ObjectBase::checkDelete(const ObjectBase *ref) { argument 89 if (!ref) { 95 // the ref counts. At this point we should be the only thread 97 if (ref->mUserRefCount || ref->mSysRefCount) { 102 ref->remove(); 105 ref [all...] |
H A D | rsObjectBase.h | 105 ObjectBaseRef(const ObjectBaseRef &ref) { argument 106 mRef = ref.get(); 112 ObjectBaseRef(T *ref) { argument 113 mRef = ref; 115 ref->incSysRef(); 119 ObjectBaseRef & operator= (const ObjectBaseRef &ref) { argument 120 if (&ref != this) { 121 set(ref); 130 void set(T *ref) { argument 131 if (mRef != ref) { 140 set(const ObjectBaseRef &ref) argument [all...] |
/frameworks/compile/mclinker/unittests/ |
H A D | FragmentRefTest.cpp | 53 FragmentRef *ref = new FragmentRef(*frag); local 59 ASSERT_EQ(frag, ref->frag()); 60 ASSERT_EQ('H', static_cast<RegionFragment*>(ref->frag())->getRegion().getBuffer()[0]); 61 ASSERT_EQ(4096, static_cast<RegionFragment*>(ref->frag())->getRegion().size()); 62 ASSERT_EQ('H', ref->deref()[0]); 66 delete ref;
|
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 215 Surface::Surface(const Parcel& parcel, const sp<IBinder>& ref) argument 218 mSurface = interface_cast<ISurface>(ref);
|
/frameworks/native/libs/utils/ |
H A D | RefBase.cpp | 105 char inc = refs->ref >= 0 ? '+' : '-'; 106 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); 123 char inc = refs->ref >= 0 ? '+' : '-'; 124 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); 221 int32_t ref; member in struct:android::RefBase::weakref_impl::ref_entry 229 ref_entry* ref = new ref_entry; local 233 ref->ref 249 ref_entry* ref = head; local 287 ref_entry* ref = r; local [all...] |
/frameworks/native/opengl/libagl/ |
H A D | state.cpp | 226 void glStencilFunc(GLenum func, GLint ref, GLuint mask) { argument 249 void glAlphaFunc(GLenum func, GLclampf ref) argument 251 glAlphaFuncx(func, gglFloatToFixed(ref)); 554 void glAlphaFuncx(GLenum func, GLclampx ref) { argument 556 c->rasterizer.procs.alphaFuncx(c, func, ref);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_object.h | 65 egl_object_t* ref; member in class:android::egl_object_t::LocalRef 71 explicit LocalRef(egl_display_t const* display, T o) : ref(0) { 74 ref = native; 78 return static_cast<N*>(ref); 89 egl_object_t::LocalRef<N, T>::LocalRef(egl_object_t* rhs) : ref(rhs) { 90 if (ref) { 91 ref->incRef(); 97 if (ref) { 98 ref->destroy(); 104 if (ref) { [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_api.cpp | 3890 void GLTrace_glStencilFunc(GLenum func, GLint ref, GLuint mask) { argument 3902 // copy argument ref 3906 arg_ref->add_intvalue(ref); 3917 glContext->hooks->gl.glStencilFunc(func, ref, mask); 3930 void GLTrace_glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) { argument 3948 // copy argument ref 3952 arg_ref->add_intvalue(ref); 3963 glContext->hooks->gl.glStencilFuncSeparate(face, func, ref, mask); 10350 void GLTrace_glAlphaFuncQCOM(GLenum func, GLclampf ref) { argument 10362 // copy argument ref 11166 GLTrace_glAlphaFunc(GLenum func, GLclampf ref) argument 12309 GLTrace_glAlphaFuncx(GLenum func, GLclampx ref) argument 14908 GLTrace_glAlphaFuncxOES(GLenum func, GLclampx ref) argument [all...] |
/frameworks/compile/libbcc/bcinfo/ |
H A D | MetadataExtractor.cpp | 185 llvm::StringRef ref = static_cast<llvm::MDString*>(v)->getString(); local 187 char *c = new char[ref.size() + 1]; 188 memcpy(c, ref.data(), ref.size()); 189 c[ref.size()] = '\0';
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES10.java | 279 // C function void glAlphaFunc ( GLenum func, GLclampf ref ) 283 float ref 286 // C function void glAlphaFuncx ( GLenum func, GLclampx ref ) 290 int ref 1130 // C function void glStencilFunc ( GLenum func, GLint ref, GLuint mask ) 1134 int ref, 1132 glStencilFunc( int func, int ref, int mask ) argument
|
H A D | GLES20.java | 1440 // C function void glStencilFunc ( GLenum func, GLint ref, GLuint mask ) 1444 int ref, 1448 // C function void glStencilFuncSeparate ( GLenum face, GLenum func, GLint ref, GLuint mask ) 1453 int ref, 1442 glStencilFunc( int func, int ref, int mask ) argument 1450 glStencilFuncSeparate( int face, int func, int ref, int mask ) argument
|
H A D | GLErrorWrapper.java | 76 public void glAlphaFunc(int func, float ref) { argument 78 mgl.glAlphaFunc(func, ref); 82 public void glAlphaFuncx(int func, int ref) { argument 84 mgl.glAlphaFuncx(func, ref); 718 public void glStencilFunc(int func, int ref, int mask) { argument 720 mgl.glStencilFunc(func, ref, mask);
|
H A D | GLLogWrapper.java | 1185 public void glAlphaFunc(int func, float ref) { argument 1188 arg("ref", ref); 1190 mgl.glAlphaFunc(func, ref); 1194 public void glAlphaFuncx(int func, int ref) { argument 1197 arg("ref", ref); 1199 mgl.glAlphaFuncx(func, ref); 2354 public void glStencilFunc(int func, int ref, int mask) { argument 2357 arg("ref", re [all...] |
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 93 // C function void glAlphaFunc ( GLenum func, GLclampf ref ) 97 float ref 100 // C function void glAlphaFuncx ( GLenum func, GLclampx ref ) 104 int ref 939 // C function void glStencilFunc ( GLenum func, GLint ref, GLuint mask ) 943 int ref, 941 glStencilFunc( int func, int ref, int mask ) argument
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL10.java | 267 float ref 272 int ref 851 int ref, 849 glStencilFunc( int func, int ref, int mask ) argument
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | PendingIntentRecord.java | 32 import java.lang.ref.WeakReference; 38 final WeakReference<PendingIntentRecord> ref; field in class:PendingIntentRecord 187 ref = new WeakReference<PendingIntentRecord>(this); 320 if (current == ref) {
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 1903 bool ResourceTable::hasBagOrEntry(const String16& ref, argument 1908 if (!ResTable::expandResourceRef(ref.string(), ref.size(), &package, &type, &name, 2040 uint32_t ResourceTable::getResId(const String16& ref, argument 2049 ref.string(), ref.size(), &package, &type, &name, 2052 NOISY(printf("Expanding resource: ref=%s\n", 2053 String8(ref).string())); 2058 NOISY(printf("Expanding resource: ref=%s\n", String8(ref) [all...] |
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 449 inline const char16_t* stringAt(const ResStringPool_ref& ref, size_t* outLen) const { argument 450 return stringAt(ref.index, outLen); 461 const ResStringPool_span* styleAt(const ResStringPool_ref& ref) const;
|
/frameworks/base/libs/hwui/ |
H A D | ResourceCache.cpp | 31 ResourceReference* ref = mCache->valueAt(i); local 32 ALOGD(" ResourceCache: mCache(%d): resource, ref = 0x%p, 0x%p", 35 i, ref->refCount, ref->recycled, ref->destroyed, ref->resourceType); 88 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local 89 if (ref == NULL || mCache->size() == 0) { 90 ref = new ResourceReference(resourceType); 91 mCache->add(resource, ref); 151 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local 193 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local 215 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local 237 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local 256 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local 288 ResourceReference* ref = mCache->valueAt(index); local 306 deleteResourceReferenceLocked(void* resource, ResourceReference* ref) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | ExifInterface.java | 322 int ref = getAttributeInt(TAG_GPS_ALTITUDE_REF, -1); 324 if (altitude >= 0 && ref >= 0) { 325 return (double) (altitude * ((ref == 1) ? -1 : 1)); 374 String rationalString, String ref) { 392 if ((ref.equals("S") || ref.equals("W"))) { 373 convertRationalLatLonToFloat( String rationalString, String ref) argument
|
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 159 ArrayHelper(JNIEnv* env, JArray ref, jint offset, jint minSize) { argument 161 mRef = ref;
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES10.cpp | 142 /* void glAlphaFunc ( GLenum func, GLclampf ref ) */ 145 (JNIEnv *_env, jobject _this, jint func, jfloat ref) { 148 (GLclampf)ref 152 /* void glAlphaFuncx ( GLenum func, GLclampx ref ) */ 155 (JNIEnv *_env, jobject _this, jint func, jint ref) { 158 (GLclampx)ref 3329 /* void glStencilFunc ( GLenum func, GLint ref, GLuint mask ) */ 3332 (JNIEnv *_env, jobject _this, jint func, jint ref, jint mask) { 3335 (GLint)ref, 144 android_glAlphaFunc__IF(JNIEnv *_env, jobject _this, jint func, jfloat ref) argument 154 android_glAlphaFuncx__II(JNIEnv *_env, jobject _this, jint func, jint ref) argument 3331 android_glStencilFunc__III(JNIEnv *_env, jobject _this, jint func, jint ref, jint mask) argument
|
H A D | android_opengl_GLES11Ext.cpp | 587 /* void glAlphaFuncxOES ( GLenum func, GLclampx ref ) */ 590 (JNIEnv *_env, jobject _this, jint func, jint ref) { 593 (GLclampx)ref 589 android_glAlphaFuncxOES__II(JNIEnv *_env, jobject _this, jint func, jint ref) argument
|