Home
last modified time | relevance | path

Searched refs:sp1 (Results 1 – 7 of 7) sorted by relevance

/aosp12/system/core/libutils/
H A DRefBase_test.cpp91 sp<Foo> sp1(foo); in TEST() local
92 wp<Foo> wp1(sp1); in TEST()
103 sp1 = std::move(sp2); in TEST()
135 sp<Foo> sp1(foo); in TEST() local
137 wp<Foo> wp1(sp1); in TEST()
138 wp<Foo> wp2(sp1); in TEST()
141 ASSERT_TRUE(wp1 == sp1); in TEST()
150 ASSERT_TRUE(sp1 != sp2); in TEST()
181 sp1.clear(); in TEST()
183 ASSERT_TRUE(sp1 == sp2); in TEST()
[all …]
H A DStrongPointer_test.cpp56 sp<TypeParam> sp1 = sp<TypeParam>::make(&isDeleted); in TYPED_TEST() local
57 TypeParam* foo = sp1.get(); in TYPED_TEST()
60 sp<TypeParam> sp2 = std::move(sp1); in TYPED_TEST()
62 ASSERT_EQ(nullptr, sp1.get()) << "std::move failed, sp1 is still valid"; in TYPED_TEST()
65 sp1 = std::move(sp2); in TYPED_TEST()
70 sp<TypeParam> sp2 = std::move(sp1); in TYPED_TEST()
/aosp12/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DDelaunay.cpp272 double d = sa[(i>=0)?sp[i]:sp1].X() - sa[(j>=0)?sp[j]:sp1].X(); in xcmpsp()
279 d = sa[(i>=0)?sp[i]:sp1].Y() - sa[(j>=0)?sp[j]:sp1].Y(); in xcmpsp()
291 double d = sa[(i>=0)?sp[i]:sp1].Y() - sa[(j>=0)?sp[j]:sp1].Y(); in ycmpsp()
298 d = sa[(i>=0)?sp[i]:sp1].X() - sa[(j>=0)?sp[j]:sp1].X(); in ycmpsp()
316 t = (i>=0) ? sp[i] : sp1; in swapsp()
319 sp[i] = (j>=0)?sp[j]:sp1; in swapsp()
321 sp1 = (j>=0)?sp[j]:sp1; in swapsp()
327 sp1 = (SitePointer) t; in swapsp()
343 sp[j] = (i>=0)?sp[i]:sp1; in copysp()
345 sp1 = (i>=0)?sp[i]:sp1; in copysp()
H A DDelaunay.h59 SitePointer sp1; variable
/aosp12/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Dbcmwifi_channels.h44 #define CHSPEC_CTLOVLP(sp1, sp2, sep) (ABS(wf_chspec_ctlchan(sp1) - wf_chspec_ctlchan(sp2)) < \ argument
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
H A DPeopleSpaceWidgetManagerTest.java1448 SharedPreferences sp1 = mContext.getSharedPreferences( in testRemapWidgetFiles() local
1450 PeopleTileKey key1 = SharedPreferencesHelper.getPeopleTileKey(sp1); in testRemapWidgetFiles()
1481 SharedPreferences sp1 = mContext.getSharedPreferences( in testRemapWidgetFiles_crossMapping() local
1483 PeopleTileKey key1 = SharedPreferencesHelper.getPeopleTileKey(sp1); in testRemapWidgetFiles_crossMapping()
/aosp12/packages/modules/DnsResolver/tests/
H A Dresolv_integration_test.cpp4482 ScopedSystemProperties sp1(kDotConnectTimeoutMsFlag, "100"); in TEST_F() local
4573 ScopedSystemProperties sp1(kDotQueryTimeoutMsFlag, in TEST_F() local
4747 ScopedSystemProperties sp1(kDotRevalidationThresholdFlag, in TEST_F() local
4897 ScopedSystemProperties sp1(kDotValidationLatencyFactorFlag, in TEST_F() local