Home
last modified time | relevance | path

Searched refs:uniqueID (Results 1 – 25 of 241) sorted by relevance

12345678910

/external/skia/tests/
DImageBitmapTest.cpp28 REPORTER_ASSERT(r, img->uniqueID() == bm.getGenerationID()); in DEF_TEST()
29 REPORTER_ASSERT(r, img->uniqueID() != imgA->uniqueID()); in DEF_TEST()
30 REPORTER_ASSERT(r, img->uniqueID() != imgB->uniqueID()); in DEF_TEST()
31 REPORTER_ASSERT(r, imgA->uniqueID() != imgB->uniqueID()); in DEF_TEST()
32 REPORTER_ASSERT(r, imgA->uniqueID() != a.getGenerationID()); in DEF_TEST()
33 REPORTER_ASSERT(r, imgB->uniqueID() != b.getGenerationID()); in DEF_TEST()
DProxyTest.cpp39 REPORTER_ASSERT(reporter, !proxy->uniqueID().isInvalid()); in check_surface()
53 GrSurfaceProxy::UniqueID idBefore = rtProxy->uniqueID(); in check_rendertarget()
58 REPORTER_ASSERT(reporter, rtProxy->uniqueID() == idBefore); in check_rendertarget()
61 REPORTER_ASSERT(reporter, rtProxy->uniqueID().asUInt() == rt->uniqueID().asUInt()); in check_rendertarget()
63 REPORTER_ASSERT(reporter, rtProxy->uniqueID().asUInt() != rt->uniqueID().asUInt()); in check_rendertarget()
82 GrSurfaceProxy::UniqueID idBefore = texProxy->uniqueID(); in check_texture()
99 REPORTER_ASSERT(reporter, texProxy->uniqueID() == idBefore); in check_texture()
102 REPORTER_ASSERT(reporter, texProxy->uniqueID().asUInt() == tex->uniqueID().asUInt()); in check_texture()
104 REPORTER_ASSERT(reporter, texProxy->uniqueID().asUInt() != tex->uniqueID().asUInt()); in check_texture()
DDeviceTest.cpp57 SkASSERT(bm.getGenerationID() == special->uniqueID());
66 SkASSERT(bm.getGenerationID() == special->uniqueID());
100 SkASSERT(bm.getGenerationID() == special->uniqueID()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
110 SkASSERT(image->uniqueID() != special->uniqueID()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
119 SkASSERT(image->uniqueID() == special->uniqueID()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DImageFilterCacheTest.cpp49 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_find_existing()
50 SkImageFilterCacheKey key2(0, SkMatrix::I(), clip, subset->uniqueID(), subset->subset()); in test_find_existing()
74 SkImageFilterCacheKey key0(0, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); in test_dont_find_if_diff_key()
75 SkImageFilterCacheKey key1(1, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); in test_dont_find_if_diff_key()
77 image->uniqueID(), image->subset()); in test_dont_find_if_diff_key()
78 SkImageFilterCacheKey key3(0, SkMatrix::I(), clip2, image->uniqueID(), image->subset()); in test_dont_find_if_diff_key()
79 SkImageFilterCacheKey key4(0, SkMatrix::I(), clip1, subset->uniqueID(), subset->subset()); in test_dont_find_if_diff_key()
100 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_internal_purge()
101 SkImageFilterCacheKey key2(1, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_internal_purge()
128 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_explicit_purging()
[all …]
/external/skqp/tests/
Dimage-bitmap.cpp28 REPORTER_ASSERT(r, img->uniqueID() == bm.getGenerationID()); in DEF_TEST()
29 REPORTER_ASSERT(r, img->uniqueID() != imgA->uniqueID()); in DEF_TEST()
30 REPORTER_ASSERT(r, img->uniqueID() != imgB->uniqueID()); in DEF_TEST()
31 REPORTER_ASSERT(r, imgA->uniqueID() != imgB->uniqueID()); in DEF_TEST()
32 REPORTER_ASSERT(r, imgA->uniqueID() != a.getGenerationID()); in DEF_TEST()
33 REPORTER_ASSERT(r, imgB->uniqueID() != b.getGenerationID()); in DEF_TEST()
DDeviceTest.cpp57 SkASSERT(bm.getGenerationID() == special->uniqueID());
66 SkASSERT(bm.getGenerationID() == special->uniqueID());
100 SkASSERT(bm.getGenerationID() == special->uniqueID()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
110 SkASSERT(image->uniqueID() != special->uniqueID()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
120 SkASSERT(image->uniqueID() == special->uniqueID()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyTest.cpp36 REPORTER_ASSERT(reporter, !proxy->uniqueID().isInvalid()); in check_surface()
50 GrSurfaceProxy::UniqueID idBefore = rtProxy->uniqueID(); in check_rendertarget()
55 REPORTER_ASSERT(reporter, rtProxy->uniqueID() == idBefore); in check_rendertarget()
58 REPORTER_ASSERT(reporter, rtProxy->uniqueID().asUInt() == rt->uniqueID().asUInt()); in check_rendertarget()
60 REPORTER_ASSERT(reporter, rtProxy->uniqueID().asUInt() != rt->uniqueID().asUInt()); in check_rendertarget()
82 GrSurfaceProxy::UniqueID idBefore = texProxy->uniqueID(); in check_texture()
88 REPORTER_ASSERT(reporter, texProxy->uniqueID() == idBefore); in check_texture()
91 REPORTER_ASSERT(reporter, texProxy->uniqueID().asUInt() == tex->uniqueID().asUInt()); in check_texture()
93 REPORTER_ASSERT(reporter, texProxy->uniqueID().asUInt() != tex->uniqueID().asUInt()); in check_texture()
DGpuLayerCacheTest.cpp57 GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(),
65 GrCachedLayer* temp = TestingAccess::Find(cache, picture.uniqueID(), SkMatrix::I(),
71 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID());
139 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
168 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
185 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
238 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
249 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
276 TestingAccess::Purge(&cache, picture->uniqueID());
327 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
[all …]
DImageFilterCacheTest.cpp44 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_find_existing()
45 SkImageFilterCacheKey key2(0, SkMatrix::I(), clip, subset->uniqueID(), subset->subset()); in test_find_existing()
70 SkImageFilterCacheKey key0(0, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); in test_dont_find_if_diff_key()
71 SkImageFilterCacheKey key1(1, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); in test_dont_find_if_diff_key()
73 image->uniqueID(), image->subset()); in test_dont_find_if_diff_key()
74 SkImageFilterCacheKey key3(0, SkMatrix::I(), clip2, image->uniqueID(), image->subset()); in test_dont_find_if_diff_key()
75 SkImageFilterCacheKey key4(0, SkMatrix::I(), clip1, subset->uniqueID(), subset->subset()); in test_dont_find_if_diff_key()
95 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_internal_purge()
96 SkImageFilterCacheKey key2(1, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_internal_purge()
122 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_explicit_purging()
[all …]
/external/clang/test/Analysis/
Divars.m7 int uniqueID; field
14 int savedID = obj->uniqueID;
15 clang_analyzer_eval(savedID == obj->uniqueID); // expected-warning{{TRUE}}
18 clang_analyzer_eval(savedID == obj->uniqueID); // expected-warning{{UNKNOWN}}
27 int savedID = self->uniqueID;
28 clang_analyzer_eval(savedID == self->uniqueID); // expected-warning{{TRUE}}
31 clang_analyzer_eval(savedID == self->uniqueID); // expected-warning{{UNKNOWN}}
138 int *x = &obj->uniqueID;
/external/llvm-project/clang/test/Analysis/
Divars.m7 int uniqueID; field
14 int savedID = obj->uniqueID;
15 clang_analyzer_eval(savedID == obj->uniqueID); // expected-warning{{TRUE}}
18 clang_analyzer_eval(savedID == obj->uniqueID); // expected-warning{{UNKNOWN}}
27 int savedID = self->uniqueID;
28 clang_analyzer_eval(savedID == self->uniqueID); // expected-warning{{TRUE}}
31 clang_analyzer_eval(savedID == self->uniqueID); // expected-warning{{UNKNOWN}}
138 int *x = &obj->uniqueID;
Dnull-deref-path-notes.m7 int uniqueID; field
18 int *x = &obj->uniqueID; // expected-note{{'x' initialized to a null pointer value}}
33uniqueID = newID; // expected-warning{{Access to instance variable 'uniqueID' results in a derefer…
/external/skqp/src/core/
DSkSpecialImage.cpp37 SkSpecialImage_Base(const SkIRect& subset, uint32_t uniqueID, const SkSurfaceProps* props) in SkSpecialImage_Base() argument
38 : INHERITED(subset, uniqueID, props) { in SkSpecialImage_Base()
75 uint32_t uniqueID, in SkSpecialImage() argument
79 , fUniqueID(kNeedNewImageUniqueID_SpecialImage == uniqueID ? SkNextID::ImageID() : uniqueID) { in SkSpecialImage()
118 this->uniqueID(), in makeTextureImage()
199 return MakeDeferredFromGpu(context, subset, image->uniqueID(), std::move(proxy), in MakeFromImage()
374 uint32_t uniqueID, sk_sp<GrTextureProxy> proxy, SkAlphaType at, in SkSpecialImage_Gpu() argument
376 : INHERITED(subset, uniqueID, props) in SkSpecialImage_Gpu()
386 SkNotifyBitmapGenIDIsStale(this->uniqueID()); in ~SkSpecialImage_Gpu()
405 sk_sp<SkImage>(new SkImage_Gpu(sk_ref_sp(canvas->getGrContext()), this->uniqueID(), in onDraw()
[all …]
/external/catch2/examples/
D110-Fix-ClassFixture.cpp34 return ++uniqueID; in getID()
41 static int uniqueID; member in UniqueTestsFixture
44 int UniqueTestsFixture::uniqueID = 0; member in UniqueTestsFixture
/external/skia/src/core/
DSkSpecialImage.cpp37 SkSpecialImage_Base(const SkIRect& subset, uint32_t uniqueID, const SkSurfaceProps& props) in SkSpecialImage_Base() argument
38 : INHERITED(subset, uniqueID, props) { in SkSpecialImage_Base()
81 uint32_t uniqueID, in SkSpecialImage() argument
85 , fUniqueID(kNeedNewImageUniqueID_SpecialImage == uniqueID ? SkNextID::ImageID() : uniqueID) { in SkSpecialImage()
166 image->uniqueID(), in MakeFromImage()
335 uint32_t uniqueID, GrSurfaceProxyView view, GrColorType ct, in SkSpecialImage_Gpu() argument
337 : INHERITED(subset, uniqueID, props) in SkSpecialImage_Gpu()
366 this->uniqueID(), in onDraw()
404 this->uniqueID(), in onMakeSubset()
464 uint32_t uniqueID, in MakeDeferredFromGpu() argument
[all …]
DSkImageGenerator.cpp13 SkImageGenerator::SkImageGenerator(const SkImageInfo& info, uint32_t uniqueID) in SkImageGenerator() argument
15 , fUniqueID(kNeedNewImageUniqueID == uniqueID ? SkNextID::ImageID() : uniqueID) in SkImageGenerator()
/external/skqp/src/image/
DSkImage_GpuBase.h22 SkImage_GpuBase(sk_sp<GrContext>, int width, int height, uint32_t uniqueID, SkAlphaType,
43 sk_sp<GrTextureProxy> refPinnedTextureProxy(uint32_t* uniqueID) const final { in refPinnedTextureProxy() argument
44 *uniqueID = this->uniqueID(); in refPinnedTextureProxy()
/external/skqp/include/private/
DSkMessageBus.h35 Inbox(uint32_t uniqueID = SK_InvalidUniqueID);
38 uint32_t uniqueID() const { return fUniqueID; } in uniqueID() function
74 SkMessageBus<Message>::Inbox::Inbox(uint32_t uniqueID) : fUniqueID(uniqueID) { in Inbox() argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DV3TBSCertificateGenerator.java116 DERBitString uniqueID) in setIssuerUniqueID() argument
118 this.issuerUniqueID = uniqueID; in setIssuerUniqueID()
122 DERBitString uniqueID) in setSubjectUniqueID() argument
124 this.subjectUniqueID = uniqueID; in setSubjectUniqueID()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DV3TBSCertificateGenerator.java118 DERBitString uniqueID) in setIssuerUniqueID() argument
120 this.issuerUniqueID = uniqueID; in setIssuerUniqueID()
124 DERBitString uniqueID) in setSubjectUniqueID() argument
126 this.subjectUniqueID = uniqueID; in setSubjectUniqueID()
/external/skqp/src/gpu/
DGrRecordingContext.cpp10 GrRecordingContext::GrRecordingContext(GrBackendApi backend, uint32_t uniqueID) in GrRecordingContext() argument
11 : INHERITED(backend, uniqueID) { in GrRecordingContext()
DGrImageContext.cpp10 GrImageContext::GrImageContext(GrBackendApi backend, uint32_t uniqueID) in GrImageContext() argument
11 : INHERITED(backend, uniqueID) { in GrImageContext()
DGrResourceAllocator.h111 , fProxyID(proxy->uniqueID().asUInt()) in Interval()
119 fUniqueID, proxy->uniqueID().asUInt(), start, end); in Interval()
128 fProxyID = proxy->uniqueID().asUInt(); in resetTo()
135 fUniqueID, proxy->uniqueID().asUInt(), start, end); in resetTo()
/external/skia/docs/examples/
Dimage_subsets_get_different_uids.cpp10 SkDebugf("%u\n%u\n", s1->uniqueID(), s2->uniqueID()); in draw()
Dskbug_5648.cpp11 SkDebugf("%u\n%u\n", img0->uniqueID(), img1->uniqueID()); in draw()

12345678910