/prebuilts/gdb/linux-x86/include/python2.7/ |
weakrefobject.h | 63 PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); variable 76 #define PyWeakref_GET_OBJECT(ref) \ 77 (Py_REFCNT(((PyWeakReference *)(ref))->wr_object) > 0 \ 78 ? ((PyWeakReference *)(ref))->wr_object \
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
weakrefobject.h | 63 PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); variable 76 #define PyWeakref_GET_OBJECT(ref) \ 77 (Py_REFCNT(((PyWeakReference *)(ref))->wr_object) > 0 \ 78 ? ((PyWeakReference *)(ref))->wr_object \
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
weakrefobject.h | 63 PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); variable 76 #define PyWeakref_GET_OBJECT(ref) \ 77 (Py_REFCNT(((PyWeakReference *)(ref))->wr_object) > 0 \ 78 ? ((PyWeakReference *)(ref))->wr_object \
|
/art/runtime/ |
read_barrier.h | 76 ALWAYS_INLINE static MirrorType* IsMarked(MirrorType* ref) 82 static void AssertToSpaceInvariant(mirror::Object* ref) 84 AssertToSpaceInvariant(nullptr, MemberOffset(0), ref); 88 mirror::Object* ref) 91 static void AssertToSpaceInvariant(GcRootSource* gc_root_source, mirror::Object* ref) 95 static void MaybeAssertToSpaceInvariant(mirror::Object* ref) 98 AssertToSpaceInvariant(ref);
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
FuncKey.java | 99 XMLString ref = dtm.getStringValue(pos); local 101 if (null == ref) 107 if (usedrefs.get(ref) != null) 115 usedrefs.put(ref, ISTRUE); 119 kmgr.getNodeSetDTMByKey(xctxt, docContext, keyname, ref, 142 XMLString ref = arg.xstr(); local 144 ref,
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncId.java | 62 String ref = null; local 70 ref = tokenizer.nextToken(); 73 if ((null != usedrefs) && usedrefs.contains(ref)) 75 ref = null; 80 int node = dtm.getElementById(ref); 85 if ((null != ref) && (hasMore || mayBeMore)) 90 usedrefs.addElement(ref);
|
/external/autotest/client/site_tests/platform_MemCheck/ |
platform_MemCheck.py | 57 ref = {'MemTotal': memref, 68 for k in ref: 72 if value < ref[k]: 74 logging.warning('%s should be at least %d', k, ref[k]) 78 if value < ref[k] * 0.9 or ref[k] * 1.1 < value: 80 logging.warning('%s should be within 10%% of %d', k, ref[k])
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
TintContextWrapper.java | 30 import java.lang.ref.WeakReference; 53 final WeakReference<TintContextWrapper> ref = sCache.get(i); local 54 if (ref == null || ref.get() == null) { 60 final WeakReference<TintContextWrapper> ref = sCache.get(i); local 61 final TintContextWrapper wrapper = ref != null ? ref.get() : null;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
CommonNicknameCache.java | 27 import java.lang.ref.SoftReference; 104 SoftReference<String[]> ref; local 108 ref = mNicknameClusterCache.get(normalizedName); 109 if (ref == null) { 112 clusters = ref.get(); 118 ref = clusters == null ? null : new SoftReference<String[]>(clusters); 120 mNicknameClusterCache.put(normalizedName, ref);
|
/system/tools/hidl/ |
Reference.h | 45 Reference(const Reference<OtherT>& ref) 46 : mResolved(ref.mResolved), mFqName(ref.mFqName), mLocation(ref.mLocation) {} 49 Reference(const Reference<OtherT>& ref, const Location& location) 50 : mResolved(ref.mResolved), mFqName(ref.mFqName), mLocation(location) {} 114 // ref.hasLookupFqName() is false while ref,get()->fqName is valid.
|
/art/compiler/utils/ |
atomic_dex_ref_map-inl.h | 53 AtomicDexRefMap<DexFileReferenceType, Value>::Insert(const DexFileReferenceType& ref, 56 ElementArray* const array = GetArray(ref.dex_file); 60 DCHECK_LT(ref.index, array->size()); 61 return (*array)[ref.index].CompareAndSetStrongSequentiallyConsistent(expected, desired) 67 inline bool AtomicDexRefMap<DexFileReferenceType, Value>::Get(const DexFileReferenceType& ref, 69 const ElementArray* const array = GetArray(ref.dex_file); 73 *out = (*array)[ref.index].LoadRelaxed(); 78 inline bool AtomicDexRefMap<DexFileReferenceType, Value>::Remove(const DexFileReferenceType& ref, 80 ElementArray* const array = GetArray(ref.dex_file); 84 *out = (*array)[ref.index].ExchangeSequentiallyConsistent(nullptr) [all...] |
/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/skqp/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/v4l2_codec2/vda/ |
h264_dpb.cc | 36 ref(false), 90 if ((*it)->outputted && !(*it)->ref) 100 DVLOG(3) << "Adding PicNum: " << pic->pic_num << " ref: " << (int)pic->ref 109 if (pics_[i]->ref) 117 pics_[i]->ref = false; 122 if (pic->ref && !pic->long_term && pic->pic_num == pic_num) 126 DVLOG(1) << "Missing short ref pic num: " << pic_num; 132 if (pic->ref && pic->long_term && pic->long_term_pic_num == pic_num) 143 if (pic->ref && !pic->long_term & [all...] |
/tools/tradefederation/core/atest/ |
test_finder_handler.py | 99 def _get_test_reference_types(ref): 110 ref: A string referencing a test. 115 if ref.startswith('.') or '..' in ref: 118 if '/' in ref: 119 if ref.startswith('/'): 128 if '.' in ref: 129 ref_end = ref.rsplit('.', 1)[-1] 131 if ':' in ref: 132 if '.' in ref [all...] |
/external/libvpx/libvpx/vpx_dsp/mips/ |
sad_msa.c | 29 v16u8 ref = { 0 }; local 40 INSERT_W4_UB(ref0, ref1, ref2, ref3, ref); 42 diff = __msa_asub_u_b(src, ref); 50 const uint8_t *ref, int32_t ref_stride, 59 LD_UB4(ref, ref_stride, ref0, ref1, ref2, ref3); 60 ref += (4 * ref_stride); 71 const uint8_t *ref, int32_t ref_stride, 80 LD_UB2(ref, ref_stride, ref0, ref1); 81 ref += (2 * ref_stride); 86 LD_UB2(ref, ref_stride, ref0, ref1) 168 v16u8 ref = { 0 }; local 242 v16u8 src, ref, ref0, ref1, diff; local 293 v16u8 ref = { 0 }; local 441 v16u8 src, ref0, ref1, ref; local 545 v16u8 ref = { 0 }; local 828 v16u8 ref = { 0 }; local [all...] |
/art/test/004-NativeAllocations/src-art/ |
Main.java | 18 import java.lang.ref.ReferenceQueue; 19 import java.lang.ref.PhantomReference; 27 // Save ref as a static field to ensure it doesn't get GC'd before the 29 static PhantomReference ref = null; field in class:Main 55 ref = allocPhantom(queue); 57 for (int i = 0; !ref.isEnqueued() && i < allocationCount; ++i) {
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
sad4d_avx512.c | 15 const uint8_t *const ref[4], int ref_stride, 23 ref0 = ref[0]; 24 ref1 = ref[1]; 25 ref2 = ref[2]; 26 ref3 = ref[3]; 38 // sum of the absolute differences between every ref-i to src 43 // sum every ref-i
|
/external/skia/experimental/docs/ |
exampleSlides.js | 389 { "ref":"span1", "draw":"paths.span1", "paint":"paints.stroke" } 392 { "ref":"wedge1", "draw":"paths.wedge1", "paint":"paints.gradient1" } 395 { "ref":"span1", "range":[255,0] }, 396 { "ref":"wedge1", "range":[255,0] } 399 { "ref":"span2", "draw":"paths.span2", "paint":"paints.stroke" } 402 { "ref":"wedge2", "draw":"paths.wedge2", "paint":"paints.gradient2" } 405 { "ref":"span2", "range":[255,0] }, 406 { "ref":"wedge2", "range":[255,0] } 447 { "ref":"line", "draw":"paths.lineSegment", "paint":"paints.stroke" } 450 { "ref":"sectorXY1", "draw":"text.sectorXY1", "paint":"paints.sectorXY1" } [all...] |
/external/skqp/experimental/docs/ |
exampleSlides.js | 389 { "ref":"span1", "draw":"paths.span1", "paint":"paints.stroke" } 392 { "ref":"wedge1", "draw":"paths.wedge1", "paint":"paints.gradient1" } 395 { "ref":"span1", "range":[255,0] }, 396 { "ref":"wedge1", "range":[255,0] } 399 { "ref":"span2", "draw":"paths.span2", "paint":"paints.stroke" } 402 { "ref":"wedge2", "draw":"paths.wedge2", "paint":"paints.gradient2" } 405 { "ref":"span2", "range":[255,0] }, 406 { "ref":"wedge2", "range":[255,0] } 447 { "ref":"line", "draw":"paths.lineSegment", "paint":"paints.stroke" } 450 { "ref":"sectorXY1", "draw":"text.sectorXY1", "paint":"paints.sectorXY1" } [all...] |
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/ |
OperationBuilder.java | 42 Graph.Reference r = graph.ref(); 56 Graph.Reference r = graph.ref(); 76 Graph.Reference r = graph.ref(); 99 Graph.Reference r = graph.ref(); 109 Graph.Reference r = graph.ref(); 125 Graph.Reference r = graph.ref(); 140 Graph.Reference r = graph.ref(); 150 Graph.Reference r = graph.ref(); 160 Graph.Reference r = graph.ref(); 170 Graph.Reference r = graph.ref(); [all...] |
/frameworks/base/tools/aapt2/link/ |
ReferenceLinker.cpp | 58 void Visit(Reference* ref) override { 59 if (!ReferenceLinker::LinkReference(callsite_, ref, context_, symbols_, package_decls_)) { 177 bool IsSymbolVisible(const SymbolTable::Symbol& symbol, const Reference& ref, 179 if (symbol.is_public || ref.private_reference) { 183 if (ref.name) { 184 const ResourceName& name = ref.name.value(); 195 if (ref.id && symbol.id) { 196 return ref.id.value().package_id() == symbol.id.value().package_id(); 270 void ReferenceLinker::WriteResourceName(const Reference& ref, const CallSite& callsite, 273 if (!ref.name) [all...] |
/external/libvpx/libvpx/vpx_dsp/arm/ |
sad4d_neon.c | 20 const uint8_t *const ref[4], int ref_stride, 25 const uint8x16_t ref_u8 = load_unaligned_u8q(ref[i], ref_stride); 33 const uint8_t *const ref[4], int ref_stride, 39 const uint8x16_t ref_0 = load_unaligned_u8q(ref[i], ref_stride); 41 load_unaligned_u8q(ref[i] + 4 * ref_stride, ref_stride); 74 const uint8_t *const ref[4], int ref_stride, 76 sad8x_4d(src, src_stride, ref, ref_stride, res, 4); 80 const uint8_t *const ref[4], int ref_stride, 82 sad8x_4d(src, src_stride, ref, ref_stride, res, 8); 86 const uint8_t *const ref[4], int ref_stride [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
sad_inline.h | 82 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) 88 x8 = (uintptr_t)ref & 0x3; 101 ref -= lx; 108 x10 = *((uint32*)(ref += lx)); 109 x11 = *((uint32*)(ref + 4)); 127 x10 = *((uint32*)(ref + 8)); 128 x11 = *((uint32*)(ref + 12)); 163 return sad_mb_offset3(ref, blk, lx, dmin); 167 return sad_mb_offset2(ref, blk, lx, dmin); 171 return sad_mb_offset1(ref, blk, lx, dmin) 266 MOVS x8, ref, lsl #31 ; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
_weakrefset.py | 5 from _weakref import ref
18 self.weakcontainer = ref(weakcontainer)
38 def _remove(item, selfref=ref(self)):
72 wr = ref(item)
86 self.data.add(ref(item, self._remove))
111 self.data.remove(ref(item))
116 self.data.discard(ref(item))
142 self.data.difference_update(ref(item) for item in other)
154 self.data.intersection_update(ref(item) for item in other)
158 return self.data.issubset(ref(item) for item in other) [all...] |