Searched defs:ref (Results 1 - 25 of 57) sorted by last modified time

123

/frameworks/support/renderscript/v8/rs_support/
H A DrsObjectBase.cpp42 //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 DrsObjectBase.h105 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/rs/
H A DrsObjectBase.cpp42 //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 DrsObjectBase.h105 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/native/libs/gui/
H A DSurface.cpp215 Surface::Surface(const Parcel& parcel, const sp<IBinder>& ref) argument
218 mSurface = interface_cast<ISurface>(ref);
/frameworks/native/libs/utils/
H A DRefBase.cpp105 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 Dstate.cpp226 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 Degl_object.h65 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 Dgltrace_api.cpp3890 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 DMetadataExtractor.cpp185 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/compile/mclinker/unittests/
H A DFragmentRefTest.cpp53 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/base/tools/aapt/
H A DResourceTable.cpp1902 bool ResourceTable::hasBagOrEntry(const String16& ref, argument
1907 if (!ResTable::expandResourceRef(ref.string(), ref.size(), &package, &type, &name,
2035 uint32_t ResourceTable::getResId(const String16& ref, argument
2044 ref.string(), ref.size(), &package, &type, &name,
2047 NOISY(printf("Expanding resource: ref=%s\n",
2048 String8(ref).string()));
2053 NOISY(printf("Expanding resource: ref=%s\n", String8(ref)
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DPendingIntentRecord.java32 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/opengl/java/android/opengl/
H A DGLES10.java279 // 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 DGLES20.java1440 // 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 DGLErrorWrapper.java76 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 DGLLogWrapper.java1185 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 DGLImpl.java93 // 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 DGL10.java267 float ref
272 int ref
851 int ref,
849 glStencilFunc( int func, int ref, int mask ) argument
/frameworks/base/include/androidfw/
H A DResourceTypes.h449 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 DResourceCache.cpp31 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 DExifInterface.java322 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/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_MotionEstimationMB.c902 * [in] pSrcRefBufList - Pointer to List of ref buffer of co-located reference MB
946 OMX_U32 x, y, i, j, ref, OffX, OffY, OffSrc, OffRef; local
956 for (ref = 0; ref < ARM_VCM4P10_MAX_FRAMES; ref++)
958 if (pSrcRefBufList [ref] == NULL)
975 pSrcRefBufList [ref] + OffRef,
989 ref,
1010 pRefFrArr [2 + (OffY >> 1)][2 + (OffX >> 1)] = ref;
1015 pRefFrArr [2 + (OffY >> 1) + j][2 + (OffX >> 1) + i] = ref;
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_chroma_hor.s34 ref RN 0 label
78 ;// u8 *ref, : 0xc4
121 LDR ref, [sp, #0xc4] ;// ref
124 MLA ref, height, width, ref ;// ref += width * height;
132 ADD ref, sp, #0x1c ;// ref = block
133 STR ref, [s
[all...]
H A Dh264bsd_interpolate_chroma_hor_ver.s35 ref RN 0 label
79 ;// u8 *ref, : 0xc4
126 LDR ref, [sp, #0xc4] ;// ref
129 MLA ref, height, width, ref ;// ref += width * height;
137 ADD ref, sp, #0x1c ;// ref = block
138 STR ref, [s
[all...]

Completed in 272 milliseconds

123