HomeSort by relevance Sort by last modified time
    Searched refs:ref (Results 1 - 25 of 2319) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/skia/src/images/
SkImageRefPool.cpp 30 void SkImageRefPool::justAddedPixels(SkImageRef* ref) {
33 ref->getURI(),
34 ref->fBitmap.width(), ref->fBitmap.height(),
35 ref->fBitmap.bytesPerPixel(),
36 ref->fBitmap.getSize(), (int)fRAMUsed);
38 fRAMUsed += ref->ramUsed();
42 void SkImageRefPool::canLosePixels(SkImageRef* ref) {
45 this->detach(ref);
46 this->addToHead(ref);
58 SkImageRef* ref = fTail; local
150 SkImageRef* ref = fHead; local
181 SkImageRef* ref = fHead; local
    [all...]
  /external/skia/src/images/
SkImageRefPool.cpp 30 void SkImageRefPool::justAddedPixels(SkImageRef* ref) {
33 ref->getURI(),
34 ref->fBitmap.width(), ref->fBitmap.height(),
35 ref->fBitmap.bytesPerPixel(),
36 ref->fBitmap.getSize(), (int)fRAMUsed);
38 fRAMUsed += ref->ramUsed();
42 void SkImageRefPool::canLosePixels(SkImageRef* ref) {
45 this->detach(ref);
46 this->addToHead(ref);
58 SkImageRef* ref = fTail; local
150 SkImageRef* ref = fHead; local
181 SkImageRef* ref = fHead; local
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/atomic/
Fences.java 33 * <p>Each ordering method accepts a {@code ref} argument, and
54 * {@link java.lang.ref} package specification) with respect to
437 * java.lang.ref.Reference} constructed with argument <em>p</em>
483 * @param ref the reference. If null, this method has no effect.
484 * @return the given ref, to simplify usage
486 public static <T> T orderReads(T ref) {
488 return ref;
498 * @param ref the reference. If null, this method has no effect.
499 * @return the given ref, to simplify usage
501 public static <T> T orderWrites(T ref) {
    [all...]
  /external/clang/test/CodeGenCXX/
reference-in-block-args.cpp 11 void OUTER_BLOCK(void (^fixer)(ST& ref)) {
12 ST ref = {2, 100}; local
13 fixer(ref);
21 OUTER_BLOCK(^(ST &ref) {
22 INNER_BLOCK(^() { return ref.referrer + ref.filler; });
  /external/chromium_org/skia/ext/
refptr_unittest.cc 13 SkRefCnt* ref = new SkRefCnt(); local
14 EXPECT_EQ(1, ref->getRefCnt());
18 RefPtr<SkRefCnt> refptr1 = AdoptRef(ref);
19 EXPECT_EQ(1, ref->getRefCnt());
22 EXPECT_EQ(ref, &*refptr1);
23 EXPECT_EQ(ref, refptr1.get());
28 EXPECT_EQ(2, ref->getRefCnt());
35 EXPECT_EQ(3, ref->getRefCnt());
39 EXPECT_EQ(3, ref->getRefCnt());
44 EXPECT_EQ(2, ref->getRefCnt())
61 SkRefCnt* ref = new SkRefCnt(); local
77 SkRefCnt* ref = new SkRefCnt(); local
93 SkRefCnt* ref = new SkRefCnt(); local
    [all...]
  /external/apache-http/src/org/apache/http/impl/conn/tsccm/
RefQueueHandler.java 33 import java.lang.ref.Reference;
44 * @param ref the reference to handle
46 public void handleReference(Reference<?> ref)
  /external/chromium_org/tools/json_schema_compiler/
schema_util.py 11 def GetNamespace(ref):
12 return SplitNamespace(ref)[0]
15 def StripNamespace(ref):
16 return SplitNamespace(ref)[1]
19 def SplitNamespace(ref):
20 """Returns (namespace, entity) from |ref|, e.g. app.window.AppWindow ->
21 (app.window, AppWindow). If |ref| isn't qualified then returns (None, ref).
23 if '.' in ref:
24 return tuple(ref.rsplit('.', 1)
    [all...]
  /external/chromium_org/third_party/libxml/src/
triop.h 20 * The ref pointer is an opaque type and should remain as such.
90 TRIO_CONST char *trio_get_format TRIO_PROTO((trio_pointer_t ref));
91 trio_pointer_t trio_get_argument TRIO_PROTO((trio_pointer_t ref));
94 int trio_get_width TRIO_PROTO((trio_pointer_t ref));
95 void trio_set_width TRIO_PROTO((trio_pointer_t ref, int width));
96 int trio_get_precision TRIO_PROTO((trio_pointer_t ref));
97 void trio_set_precision TRIO_PROTO((trio_pointer_t ref, int precision));
98 int trio_get_base TRIO_PROTO((trio_pointer_t ref));
99 void trio_set_base TRIO_PROTO((trio_pointer_t ref, int base));
100 int trio_get_padding TRIO_PROTO((trio_pointer_t ref));
    [all...]
  /external/libxml2/
triop.h 20 * The ref pointer is an opaque type and should remain as such.
90 TRIO_CONST char *trio_get_format TRIO_PROTO((trio_pointer_t ref));
91 trio_pointer_t trio_get_argument TRIO_PROTO((trio_pointer_t ref));
94 int trio_get_width TRIO_PROTO((trio_pointer_t ref));
95 void trio_set_width TRIO_PROTO((trio_pointer_t ref, int width));
96 int trio_get_precision TRIO_PROTO((trio_pointer_t ref));
97 void trio_set_precision TRIO_PROTO((trio_pointer_t ref, int precision));
98 int trio_get_base TRIO_PROTO((trio_pointer_t ref));
99 void trio_set_base TRIO_PROTO((trio_pointer_t ref, int base));
100 int trio_get_padding TRIO_PROTO((trio_pointer_t ref));
    [all...]
  /dalvik/vm/mterp/c/
OP_THROW_VERIFICATION_ERROR.cpp 4 ref = FETCH(1); /* class/field/method ref */
5 dvmThrowVerificationError(curMethod, vsrc1, ref);
OP_CONST_CLASS.cpp 6 ref = FETCH(1);
7 ILOGV("|const-class v%d class@0x%04x", vdst, ref);
8 clazz = dvmDexGetResolvedClass(methodClassDex, ref);
11 clazz = dvmResolveClass(curMethod->clazz, ref, true);
  /external/stlport/test/unit/
math_aux.h 19 bool are_equals(_Tp val, _Tp ref) {
20 if (val < ref) {
21 return (ref - val) <= __STD numeric_limits<_Tp>::epsilon();
24 return (val - ref) <= __STD numeric_limits<_Tp>::epsilon();
  /ndk/tests/device/test-gnustl-full/unit/
math_aux.h 19 bool are_equals(_Tp val, _Tp ref) {
20 if (val < ref) {
21 return (ref - val) <= __STD numeric_limits<_Tp>::epsilon();
24 return (val - ref) <= __STD numeric_limits<_Tp>::epsilon();
  /ndk/tests/device/test-stlport/unit/
math_aux.h 19 bool are_equals(_Tp val, _Tp ref) {
20 if (val < ref) {
21 return (ref - val) <= __STD numeric_limits<_Tp>::epsilon();
24 return (val - ref) <= __STD numeric_limits<_Tp>::epsilon();
  /external/skia/bench/
RefCntBench.cpp 30 SkRefCnt ref; local
32 ref.ref();
33 ref.unref();
67 PlacedRefCnt* ref = new (memory) PlacedRefCnt(); local
69 ref->ref();
70 ref->unref();
72 ref->unref();
93 SkRefCnt* ref = new SkRefCnt() local
121 SkWeakRefCnt ref; local
153 PlacedWeakRefCnt* ref = new (memory) PlacedWeakRefCnt(); local
179 SkWeakRefCnt* ref = new SkWeakRefCnt(); local
    [all...]
  /external/llvm/include/llvm/Support/
CBindingWrapping.h 19 #define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
20 inline ty *unwrap(ref P) { \
24 inline ref wrap(const ty *P) { \
25 return reinterpret_cast<ref>(const_cast<ty*>(P)); \
28 #define DEFINE_ISA_CONVERSION_FUNCTIONS(ty, ref) \
29 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
32 inline T *unwrap(ref P) { \
36 #define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref) \
37 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
40 inline T *unwrap(ref P) {
    [all...]
  /prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/
ipa-ref-inline.h 22 /* Return callgraph node REF is refering. */
24 ipa_ref_node (struct ipa_ref *ref)
26 gcc_assert (ref->refered_type == IPA_REF_CGRAPH);
27 return ref->refered.cgraph_node;
30 /* Return varpool node REF is refering. */
33 ipa_ref_varpool_node (struct ipa_ref *ref)
35 gcc_assert (ref->refered_type == IPA_REF_VARPOOL);
36 return ref->refered.varpool_node;
39 /* Return cgraph node REF is in. */
42 ipa_ref_refering_node (struct ipa_ref *ref)
    [all...]
  /prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/
ipa-ref-inline.h 22 /* Return callgraph node REF is refering. */
24 ipa_ref_node (struct ipa_ref *ref)
26 gcc_assert (ref->refered_type == IPA_REF_CGRAPH);
27 return ref->refered.cgraph_node;
30 /* Return varpool node REF is refering. */
33 ipa_ref_varpool_node (struct ipa_ref *ref)
35 gcc_assert (ref->refered_type == IPA_REF_VARPOOL);
36 return ref->refered.varpool_node;
39 /* Return cgraph node REF is in. */
42 ipa_ref_refering_node (struct ipa_ref *ref)
    [all...]
  /prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/
ipa-ref-inline.h 22 /* Return callgraph node REF is refering. */
24 ipa_ref_node (struct ipa_ref *ref)
26 gcc_assert (ref->refered_type == IPA_REF_CGRAPH);
27 return ref->refered.cgraph_node;
30 /* Return varpool node REF is refering. */
33 ipa_ref_varpool_node (struct ipa_ref *ref)
35 gcc_assert (ref->refered_type == IPA_REF_VARPOOL);
36 return ref->refered.varpool_node;
39 /* Return cgraph node REF is in. */
42 ipa_ref_refering_node (struct ipa_ref *ref)
    [all...]
  /prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/
ipa-ref-inline.h 22 /* Return callgraph node REF is refering. */
24 ipa_ref_node (struct ipa_ref *ref)
26 gcc_assert (ref->refered_type == IPA_REF_CGRAPH);
27 return ref->refered.cgraph_node;
30 /* Return varpool node REF is refering. */
33 ipa_ref_varpool_node (struct ipa_ref *ref)
35 gcc_assert (ref->refered_type == IPA_REF_VARPOOL);
36 return ref->refered.varpool_node;
39 /* Return cgraph node REF is in. */
42 ipa_ref_refering_node (struct ipa_ref *ref)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ref/
ReferenceTest.java 17 package org.apache.harmony.luni.tests.java.lang.ref;
19 import java.lang.ref.Reference;
20 import java.lang.ref.ReferenceQueue;
21 import java.lang.ref.SoftReference;
22 import java.lang.ref.WeakReference;
34 * @tests java.lang.ref.Reference#clear()
52 * @tests java.lang.ref.Reference#enqueue()
57 Reference ref = new SoftReference(obj, rq); local
58 assertTrue("Enqueue failed.", (!ref.isEnqueued())
59 && ((ref.enqueue()) && (ref.isEnqueued())))
108 Reference ref; local
139 Reference ref = new WeakReference(obj, new ReferenceQueue()); local
149 Reference ref = new SoftReference(obj, rq); local
    [all...]
  /libcore/luni/src/test/java/tests/api/java/lang/ref/
ReferenceTest.java 17 package tests.api.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;
86 * java.lang.ref.Reference#clear()
109 * java.lang.ref.Reference#enqueue()
114 Reference ref = new SoftReference(obj, rq) local
151 Reference ref = queue.remove(); local
209 Reference ref; local
237 WeakReference ref = newWeakReference(null); local
255 WeakReference<Object> ref = new WeakReference<Object>(o, queue); local
266 Reference ref = new SoftReference(obj, rq); local
    [all...]
  /external/chromium_org/third_party/mesa/src/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/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;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.helpers/
ref_2.pass.cpp 14 // template <ObjectType T> reference_wrapper<T> ref(reference_wrapper<T>t);
22 std::reference_wrapper<int> r1 = std::ref(i);
23 std::reference_wrapper<int> r2 = std::ref(r1);

Completed in 656 milliseconds

1 2 3 4 5 6 7 8 91011>>