/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.helpers/ |
ref_1.pass.cpp | 14 // template <ObjectType T> reference_wrapper<T> ref(T& t); 22 std::reference_wrapper<int> r = std::ref(i);
|
/art/runtime/gc/accounting/ |
mod_union_table-inl.h | 36 bool ShouldAddReference(const mirror::Object* ref) const OVERRIDE ALWAYS_INLINE { 37 return !space_->HasAddress(ref);
|
/external/guava/guava/src/com/google/common/base/ |
FinalizablePhantomReference.java | 19 import java.lang.ref.PhantomReference; 20 import java.lang.ref.ReferenceQueue;
|
FinalizableSoftReference.java | 19 import java.lang.ref.ReferenceQueue; 20 import java.lang.ref.SoftReference;
|
FinalizableWeakReference.java | 19 import java.lang.ref.ReferenceQueue; 20 import java.lang.ref.WeakReference;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
TreeMapRndTest.java | 24 ref = new RefSortedMap<Integer, Integer>(); 26 map = new TreeMap<Integer, Integer>(ref);
|
/prebuilts/misc/common/swig/include/2.0.11/perl5/ |
cni.i | 1 %warnfilter(SWIGWARN_PARSE_KEYWORD) java::lang::ref;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
UnwrapWizard.java | 22 public UnwrapWizard(UnwrapRefactoring ref, LayoutEditorDelegate editor) { 23 super(ref, editor);
|
UseCompoundDrawableWizard.java | 22 UseCompoundDrawableWizard(UseCompoundDrawableRefactoring ref, LayoutEditorDelegate editor) { 23 super(ref, editor);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ppc/ |
xcoff-ref-1.l | 2 .*:1: Error: .ref outside .csect
|
/prebuilts/misc/common/swig/include/2.0.11/lua/ |
lua_fnptr.i | 61 void set_func(SWIGLUA_REF ref); 67 Because it holds a permanent ref to an object, the SWIGLUA_REF must be handled with a bit more care. 94 int ref; /* a ref in the lua global index */ 99 if (pref->L!=0 && pref->ref!=LUA_NOREF && pref->ref!=LUA_REFNIL){ 100 luaL_unref(pref->L,LUA_REGISTRYINDEX,pref->ref); 102 pref->L=0; pref->ref=0; 109 pref->ref=luaL_ref(L,LUA_REGISTRYINDEX); /* remove obj from top & put into registry */ 114 lua_rawgeti(pref->L,LUA_REGISTRYINDEX,pref->ref); [all...] |
/packages/apps/TV/common/src/com/android/tv/common/ |
WeakHandler.java | 24 import java.lang.ref.WeakReference; 44 * @param ref the referent to track 46 public WeakHandler(@NonNull Looper looper, T ref) { 48 mRef = new WeakReference<>(ref); 54 * @param ref the referent to track 56 public WeakHandler(T ref) { 57 mRef = new WeakReference<>(ref);
|
/external/webp/src/enc/ |
picture_psnr.c | 29 const uint8_t* ref, int ref_stride, 40 const double value = (double)ref[y * ref_stride + x]; 72 int WebPPictureDistortion(const WebPPicture* src, const WebPPicture* ref, 79 if (src == NULL || ref == NULL || 80 src->width != ref->width || src->height != ref->height || 81 src->use_argb != ref->use_argb || result == NULL) { 88 if (src->argb == NULL || ref->argb == NULL) { 102 tmp2[j * w + i] = ref->argb[i + j * ref->argb_stride] >> (c * 8) [all...] |
/external/deqp/modules/internal/ |
ditSRGB8ConversionTest.cpp | 55 const tcu::UVec4 calculateDiscreteFloatDistance (const tcu::Vec4& ref, const tcu::Vec4& res) 57 return tcu::UVec4(calculateDiscreteFloatDistance(ref[0], res[0]), calculateDiscreteFloatDistance(ref[1], res[1]), calculateDiscreteFloatDistance(ref[2], res[2]), calculateDiscreteFloatDistance(ref[3], res[3])); 77 const tcu::Vec4 ref (tcu::sRGBToLinear(src.cast<float>() / tcu::Vec4(255.0f))); 78 const tcu::Vec4 diff (res - ref); 79 const tcu::UVec4 discreteFloatDiff (calculateDiscreteFloatDistance(ref, res)); 81 if (tcu::anyNotEqual(res, ref)) 82 log << tcu::TestLog::Message << i << ", Res: " << res << ", Ref: " << ref << ", Diff: " << diff << ", Discrete float diff: " << discreteFloatDiff << tcu::TestLog: (…) [all...] |
/external/skia/src/animator/ |
SkScriptCallBack.h | 28 virtual SkOperand2::OpType getReturnType(size_t ref, SkOperand2*) { 42 virtual bool invoke(size_t ref, SkOpArray* params, SkOperand2* value) = 0; 47 bool getMemberReference(const char* , size_t len, void* object, SkScriptValue2* ref); 49 virtual bool invoke(size_t ref, void* object, SkOperand2* value) = 0; 54 bool getMemberReference(const char* , size_t len, void* object, SkScriptValue2* ref); 57 virtual bool invoke(size_t ref, void* object, SkOpArray* params, SkOperand2* value) = 0; 63 virtual bool getResult(size_t ref, SkOperand2* answer) { return false; }
|
/frameworks/base/tools/aapt2/ |
ResourceUtils_test.cpp | 157 Maybe<Reference> ref = ResourceUtils::parseStyleParentReference(u"@android:style/foo", &errStr); local 158 AAPT_ASSERT_TRUE(ref); 159 EXPECT_EQ(ref.value().name.value(), kAndroidStyleFooName); 161 ref = ResourceUtils::parseStyleParentReference(u"@style/foo", &errStr); 162 AAPT_ASSERT_TRUE(ref); 163 EXPECT_EQ(ref.value().name.value(), kStyleFooName); 165 ref = ResourceUtils::parseStyleParentReference(u"?android:style/foo", &errStr); 166 AAPT_ASSERT_TRUE(ref); 167 EXPECT_EQ(ref.value().name.value(), kAndroidStyleFooName); 169 ref = ResourceUtils::parseStyleParentReference(u"?style/foo", &errStr) [all...] |
ValueVisitor_test.cpp | 32 void visit(Reference* ref) override { 33 visited = ref; 43 void visit(Reference* ref) override { 44 visitedRefs.push_back(ref); 54 Reference ref(ResourceName{u"android", ResourceType::kAttr, u"foo"}); 56 ref.accept(&visitor); 58 EXPECT_EQ(visitor.visited, &ref); 77 std::unique_ptr<Reference> ref = test::buildReference(u"@android:color/white"); local 78 EXPECT_NE(valueCast<Reference>(ref.get()), nullptr);
|
/packages/apps/Settings/src/com/android/settings/search/ |
SettingsSearchIndexablesProvider.java | 50 Object[] ref = new Object[7]; local 51 ref[COLUMN_INDEX_XML_RES_RANK] = val.rank; 52 ref[COLUMN_INDEX_XML_RES_RESID] = val.xmlResId; 53 ref[COLUMN_INDEX_XML_RES_CLASS_NAME] = val.className; 54 ref[COLUMN_INDEX_XML_RES_ICON_RESID] = val.iconResId; 55 ref[COLUMN_INDEX_XML_RES_INTENT_ACTION] = null; // intent action 56 ref[COLUMN_INDEX_XML_RES_INTENT_TARGET_PACKAGE] = null; // intent target package 57 ref[COLUMN_INDEX_XML_RES_INTENT_TARGET_CLASS] = null; // intent target class 58 cursor.addRow(ref);
|
/packages/services/Telephony/src/com/android/phone/ |
PhoneSearchIndexablesProvider.java | 55 Object[] ref = new Object[7]; local 56 ref[COLUMN_INDEX_XML_RES_RANK] = INDEXABLE_RES[n].rank; 57 ref[COLUMN_INDEX_XML_RES_RESID] = INDEXABLE_RES[n].xmlResId; 58 ref[COLUMN_INDEX_XML_RES_CLASS_NAME] = null; 59 ref[COLUMN_INDEX_XML_RES_ICON_RESID] = INDEXABLE_RES[n].iconResId; 60 ref[COLUMN_INDEX_XML_RES_INTENT_ACTION] = "android.intent.action.MAIN"; 61 ref[COLUMN_INDEX_XML_RES_INTENT_TARGET_PACKAGE] = "com.android.phone"; 62 ref[COLUMN_INDEX_XML_RES_INTENT_TARGET_CLASS] = INDEXABLE_RES[n].className; 63 cursor.addRow(ref);
|
/external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/ |
ref_2.pass.cpp | 14 // template <ObjectType T> reference_wrapper<T> ref(reference_wrapper<T>t); 30 std::reference_wrapper<int> r1 = std::ref(i); 31 std::reference_wrapper<int> r2 = std::ref(r1); 40 assert(call_pred(std::ref(cp)));
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
findhalfpel.cpp | 136 uint8 *ref; local 146 ref = ncand - 3 - lx - (lx << 1); /* move back (-3,-3) */ 155 tmp32 = *ref++; 156 tmp8 = *ref++; 158 tmp8 = *ref++; 160 tmp8 = *ref++; 165 ref += (lx - 24); 169 ref = subpel_pred + 2; 176 a = ref[-2]; 177 b = ref[-1] [all...] |
sad_mb_offset.h | 24 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin) 26 __inline int32 sad_mb_offset2(uint8 *ref, uint8 *blk, int lx, int dmin) 28 __inline int32 sad_mb_offset1(uint8 *ref, uint8 *blk, int lx, int dmin) 37 ref -= NUMBER; /* bic ref, ref, #3 */ 38 ref -= lx; 50 x10 = *((uint32*)(ref += lx)); /* D C B A */ 51 x11 = *((uint32*)(ref + 4)); /* H G F E */ 52 x12 = *((uint32*)(ref + 8)); /* L K J I * 148 BIC ref, ref, #3; local [all...] |
/external/liblzf/ |
lzf_c.c | 113 const u8 *ref; local 146 ref = *hslot + LZF_HSLOT_BIAS; *hslot = ip - LZF_HSLOT_BIAS; 150 && ref < ip /* the next test will actually take care of this, but this is faster */ 152 && (off = ip - ref - 1) < MAX_OFF 153 && ref > (u8 *)in_data 154 && ref[2] == ip[2] 156 && ((ref[1] << 8) | ref[0]) == ((ip[1] << 8) | ip[0]) 158 && *(u16 *)ref == *(u16 *)ip 162 /* match found at *ref++ * [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_wm_pass0.c | 70 struct brw_wm_ref *ref = &c->undef_ref; local 71 ref->value = &c->undef_value; 72 ref->hw_reg = brw_vec8_grf(0, 0); 73 ref->insn = 0; 74 ref->prevuse = NULL; 84 struct brw_wm_ref *ref = get_ref(c); local 85 ref->value = value; 86 ref->hw_reg = brw_vec8_grf(0, 0); 87 ref->insn = 0; 88 ref->prevuse = NULL 113 struct brw_wm_ref *ref = get_ref(c); local 171 const struct brw_wm_ref *ref = c->pass0_fp_reg[file][idx][component]; local 288 const struct brw_wm_ref *ref = get_fp_src_reg_ref(c, src, i); local [all...] |
/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...] |