/external/avahi/avahi-core/ |
browse-domain.c | 34 int ref; member in struct:AvahiSDomainBrowser 53 assert(b->ref >= 1); 55 b->ref++; 114 /* Increase ref counter */ 121 if (b->ref <= 1) 127 if (b->ref > 1) { 134 /* Decrease ref counter */ 183 b->ref = 1; 222 assert(b->ref >= 1); 223 if (--b->ref > 0 [all...] |
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
p6-0x.cpp | 26 typedef T &ref; // expected-error-re 2{{reference to function type '{{.*}}' cannot have '{{&|&&}}' qualifier}} typedef in struct:wrap 37 using func_type_lvalue_ref = wrap<>::ref; 38 using func_type_lvalue_ref = wrap<func_type_lvalue>::ref; 39 using func_type_rvalue_ref = wrap<func_type_rvalue>::ref;
|
/external/clang/test/CodeGen/ |
pragma-pack-1.c | 5 struct ref { struct 6 struct ref *next;
|
/external/eigen/test/eigen2/ |
eigen2_packetmath.cpp | 23 ref[i] = REFOP(data1[i], data1[i+PacketSize]); \ 25 VERIFY(areApprox(ref, data2, PacketSize) && #POP); \ 52 EIGEN_ALIGN_128 Scalar ref[ei_packet_traits<Scalar>::size*4]; local 85 ref[i] = data1[i+offset]; 88 VERIFY(areApprox(ref, data2, PacketSize) && "ei_palign"); 102 ref[i] = data1[0]; 104 VERIFY(areApprox(ref, data2, PacketSize) && "ei_pset1"); 108 ref[0] = 0; 110 ref[0] += data1[i]; 111 VERIFY(ei_isApprox(ref[0], ei_predux(ei_pload(data1))) && "ei_predux") [all...] |
/external/eigen/unsupported/test/ |
splines.cpp | 219 PointType ref = points.col(i); local 220 VERIFY( (pt - ref).matrix().norm() < 1e-14 ); 231 PointType ref = points.col(i); local 232 VERIFY( (pt - ref).matrix().norm() < 1e-14 );
|
/external/libedit/src/ |
hist.h | 52 void * ref; /* Argument for history fcns */ member in struct:el_history_t 58 ((((*(el)->el_history.fun) ((el)->el_history.ref, &(el)->el_history.ev, \
|
/external/libvpx/libvpx/test/ |
decode_api_test.cc | 105 vp9_ref_frame_t ref; local 106 ref.idx = 0; 107 EXPECT_EQ(VPX_CODEC_ERROR, vpx_codec_control(dec, VP9_GET_REFERENCE, &ref));
|
/external/libvpx/libvpx/vpx_dsp/ |
sad.c | 44 int height, const uint8_t *ref, int ref_stride) { 49 const int tmp = pred[j] + ref[j]; 54 ref += ref_stride; 64 uint16_t *ref = CONVERT_TO_SHORTPTR(ref8); local 67 const int tmp = pred[j] + ref[j]; 72 ref += ref_stride; 79 const uint8_t *ref, int ref_stride) { \ 80 return sad(src, src_stride, ref, ref_stride, m, n); \ 83 const uint8_t *ref, int ref_stride, \ 86 avg_pred(comp_pred, second_pred, m, n, ref, ref_stride); [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_fence.h | 24 int ref; member in struct:nouveau_fence 41 nouveau_fence_ref(struct nouveau_fence *fence, struct nouveau_fence **ref) 44 ++fence->ref; 46 if (*ref) { 47 if (--(*ref)->ref == 0) 48 nouveau_fence_del(*ref); 51 *ref = fence;
|
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_context.c | 210 struct nouveau_bufref *ref = (struct nouveau_bufref *)it; local 211 struct nv04_resource *res = ref->priv; 213 nv50_resource_validate(res, (unsigned)ref->priv_data);
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_context.c | 216 struct nouveau_bufref *ref = (struct nouveau_bufref *)it; local 217 struct nv04_resource *res = ref->priv; 219 nvc0_resource_validate(res, (unsigned)ref->priv_data);
|
/external/nanopb-c/tests/decode_unittests/ |
decode_unittests.c | 26 pb_bytes_array_t *ref = (pb_bytes_array_t*) *arg; local 28 for (i = 0; i < ref->size; i++) 33 if (byte != ref->bytes[i]) 252 struct { size_t size; uint8_t bytes[10]; } ref; local 254 dest.data.arg = &ref; 258 ref.size = 1; ref.bytes[0] = 0x55; 261 ref.size = 3; ref.bytes[0] = ref.bytes[1] = ref.bytes[2] = 0x55 [all...] |
/external/skia/bench/ |
RefCntBench.cpp | 78 SkRefCnt ref; variable 80 ref.ref(); 81 ref.unref(); 113 PlacedRefCnt* ref = new (memory) PlacedRefCnt(); variable 115 ref->ref(); 116 ref->unref(); 118 ref->unref(); 139 SkRefCnt* ref = new SkRefCnt() variable 167 SkWeakRefCnt ref; variable 199 PlacedWeakRefCnt* ref = new (memory) PlacedWeakRefCnt(); variable 225 SkWeakRefCnt* ref = new SkWeakRefCnt(); variable [all...] |
/external/skia/src/animator/ |
SkScriptRuntime.cpp | 65 size_t ref; local 91 memcpy(&ref, opCode, sizeof(ref)); 92 opCode += sizeof(ref); 94 if (callBackFunction->invoke(ref, operand[0].fArray, /* params */ 101 memcpy(&ref, opCode, sizeof(ref)); 102 opCode += sizeof(ref); 104 if (callBackMember->invoke(ref, operand[0].fObject, &operand[0]) == false) { 110 memcpy(&ref, opCode, sizeof(ref)) [all...] |
/external/skia/src/gpu/gl/debug/ |
GrFakeRefObj.h | 16 // reference counting (i.e., we don't free the objects when their ref count 35 void ref() { function in class:GrFakeRefObj 66 int fRef; // ref count
|
/external/skia/src/gpu/vk/ |
GrVkResource.h | 25 objects. When an existing owner wants to share a reference, it calls ref(). 39 // Simple refCount tracing, to ensure that everything ref'ed is unref'ed. 86 void ref() const { function in class:GrVkResource 99 // A release here acts in place of all releases we "should" have been doing in ref(). 110 // A release here acts in place of all releases we "should" have been doing in ref(). 136 * Called when the ref count goes to 0. Will free Vk resources.
|
/external/skia/tests/ |
MetaDataTest.cpp | 13 SkRefCnt ref; local 14 REPORTER_ASSERT(reporter, ref.unique()); 20 md0.setRefCnt(name, &ref); 22 REPORTER_ASSERT(reporter, md0.hasRefCnt(name, &ref)); 23 REPORTER_ASSERT(reporter, !ref.unique()); 27 REPORTER_ASSERT(reporter, md1.hasRefCnt(name, &ref)); 28 REPORTER_ASSERT(reporter, !ref.unique()); 32 REPORTER_ASSERT(reporter, !md0.hasRefCnt(name, &ref)); 33 REPORTER_ASSERT(reporter, !ref.unique()); 35 REPORTER_ASSERT(reporter, ref.unique()) [all...] |
/external/webrtc/webrtc/voice_engine/ |
voice_engine_impl.cc | 124 int ref = s->Release(); local 127 if (ref != 0) { 132 ref);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
sad_mb_offset.h | 27 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) 29 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin) 31 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin) 40 ref -= NUMBER; /* bic ref, ref, #3 */ 41 ref -= lx; 53 x10 = *((uint32*)(ref += lx)); /* D C B A */ 54 x11 = *((uint32*)(ref + 4)); /* H G F E */ 55 x12 = *((uint32*)(ref + 8)); /* L K J I * 144 BIC ref, ref, #3; local [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
h264bsd_interpolate_mid_hor.s | 35 ref RN 0 ;// pointer to current position in reference image
label 83 LDR x_3_1, [ref, #-8]
85 LDR x_7_5, [ref, #-4]
101 LDR x_3_1, [ref], #4
132 LDR x_7_5, [ref], #4
155 SMLABB ref, count, mult_20_01, ref ;// +width
156 SBC ref, ref, tmp3, LSR #16 ;// -(partWidth-1)-1
|
/frameworks/base/libs/hwui/ |
ResourceCache.cpp | 34 ResourceReference* ref = mCache->valueAt(i); local 35 ALOGD(" ResourceCache: mCache(%zu): resource, ref = 0x%p, 0x%p", 38 i, ref->refCount, ref->destroyed, ref->resourceType); 71 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; local 72 if (ref == nullptr || mCache->size() == 0) { 73 ref = new ResourceReference(resourceType); 74 mCache->add(resource, ref); 76 ref->refCount++ 90 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; local 112 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; local [all...] |
/frameworks/base/tools/aapt2/proto/ |
ProtoHelpers.cpp | 36 StringPool::Ref ref = srcPool->makeRef(util::utf8ToUtf16(source.path)); local 37 outPbSource->set_path_idx(static_cast<uint32_t>(ref.getIndex()));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
ReferenceTest.java | 17 package org.apache.harmony.tests.java.lang.ref; 19 import java.lang.ref.PhantomReference; 20 import java.lang.ref.Reference; 21 import java.lang.ref.ReferenceQueue; 22 import java.lang.ref.SoftReference; 23 import java.lang.ref.WeakReference; 25 import libcore.java.lang.ref.FinalizationTester; 63 * java.lang.ref.Reference#clear() 86 * java.lang.ref.Reference#enqueue() 91 Reference ref = new SoftReference(obj, rq) local 128 Reference ref = queue.remove(); local 186 Reference ref; local 215 WeakReference ref = newWeakReference(null); local 233 WeakReference<Object> ref = new WeakReference<Object>(o, queue); local 244 Reference ref = new SoftReference(obj, rq); local [all...] |
WeakReferenceTest.java | 18 package org.apache.harmony.tests.java.lang.ref; 20 import java.lang.ref.ReferenceQueue; 21 import java.lang.ref.WeakReference; 31 * java.lang.ref.WeakReference#WeakReference(java.lang.Object, 32 * java.lang.ref.ReferenceQueue) 58 * java.lang.ref.WeakReference#WeakReference(java.lang.Object)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ChangeLayoutAction.java | 32 ChangeLayoutRefactoring ref = new ChangeLayoutRefactoring(mFile, mDelegate, local 34 RefactoringWizard wizard = new ChangeLayoutWizard(ref, mDelegate);
|