Home
last modified time | relevance | path

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

12345

/external/skia/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()
DProxyTest.cpp25 const GrGpuResource::UniqueID& uniqueID, in check_surface() argument
31 if (!uniqueID.isInvalid()) { in check_surface()
32 REPORTER_ASSERT(reporter, proxy->uniqueID().asUInt() == uniqueID.asUInt()); in check_surface()
34 REPORTER_ASSERT(reporter, !proxy->uniqueID().isInvalid()); in check_surface()
50 GrSurfaceProxy::UniqueID idBefore = rtProxy->uniqueID(); in check_rendertarget()
54 REPORTER_ASSERT(reporter, rtProxy->uniqueID() == idBefore); in check_rendertarget()
57 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()
87 GrSurfaceProxy::UniqueID idBefore = texProxy->uniqueID(); in check_texture()
91 REPORTER_ASSERT(reporter, texProxy->uniqueID() == idBefore); in check_texture()
[all …]
DDeviceTest.cpp51 SkASSERT(bm.getGenerationID() == special->uniqueID());
60 SkASSERT(bm.getGenerationID() == special->uniqueID());
95 SkASSERT(bm.getGenerationID() == special->uniqueID()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
105 SkASSERT(image->uniqueID() != special->uniqueID()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
115 SkASSERT(image->uniqueID() == special->uniqueID()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGpuLayerCacheTest.cpp59 GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(),
67 GrCachedLayer* temp = TestingAccess::Find(cache, picture.uniqueID(), SkMatrix::I(),
73 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID());
141 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
170 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
187 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
240 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
251 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
278 TestingAccess::Purge(&cache, picture->uniqueID());
329 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
[all …]
DImageFilterCacheTest.cpp36 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_find_existing()
37 SkImageFilterCacheKey key2(0, SkMatrix::I(), clip, subset->uniqueID(), subset->subset()); in test_find_existing()
61 SkImageFilterCacheKey key0(0, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); in test_dont_find_if_diff_key()
62 SkImageFilterCacheKey key1(1, SkMatrix::I(), clip1, image->uniqueID(), image->subset()); in test_dont_find_if_diff_key()
64 image->uniqueID(), image->subset()); in test_dont_find_if_diff_key()
65 SkImageFilterCacheKey key3(0, SkMatrix::I(), clip2, image->uniqueID(), image->subset()); in test_dont_find_if_diff_key()
66 SkImageFilterCacheKey key4(0, SkMatrix::I(), clip1, subset->uniqueID(), subset->subset()); in test_dont_find_if_diff_key()
85 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_internal_purge()
86 SkImageFilterCacheKey key2(1, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_internal_purge()
110 SkImageFilterCacheKey key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset()); in test_explicit_purging()
[all …]
DVerticesTest.cpp82 REPORTER_ASSERT(reporter, v0->uniqueID() != 0); in DEF_TEST()
83 REPORTER_ASSERT(reporter, v1->uniqueID() != 0); in DEF_TEST()
84 REPORTER_ASSERT(reporter, v0->uniqueID() != v1->uniqueID()); in DEF_TEST()
/external/skia/src/core/
DSkSpecialImage.cpp40 SkSpecialImage_Base(const SkIRect& subset, uint32_t uniqueID, const SkSurfaceProps* props) in SkSpecialImage_Base() argument
41 : INHERITED(subset, uniqueID, props) { in SkSpecialImage_Base()
77 uint32_t uniqueID, in SkSpecialImage() argument
81 , fUniqueID(kNeedNewImageUniqueID_SpecialImage == uniqueID ? SkNextID::ImageID() : uniqueID) { in SkSpecialImage()
119 this->uniqueID(), in makeTextureImage()
198 return MakeDeferredFromGpu(context, subset, image->uniqueID(), std::move(proxy), in MakeFromImage()
358 uint32_t uniqueID, sk_sp<GrTextureProxy> proxy, SkAlphaType at, in SkSpecialImage_Gpu() argument
360 : INHERITED(subset, uniqueID, props) in SkSpecialImage_Gpu()
370 SkNotifyBitmapGenIDIsStale(this->uniqueID()); in ~SkSpecialImage_Gpu()
389 this->uniqueID(), fAlphaType, in onDraw()
[all …]
DSkSpecialImage.h58 uint32_t uniqueID() const { return fUniqueID; } in uniqueID() function
84 uint32_t uniqueID,
151 SkSpecialImage(const SkIRect& subset, uint32_t uniqueID, const SkSurfaceProps*);
DSkImageFilterCache.h18 SkImageFilterCacheKey(const uint32_t uniqueID, const SkMatrix& matrix, in SkImageFilterCacheKey()
20 : fUniqueID(uniqueID) in SkImageFilterCacheKey()
DSkImageGenerator.cpp12 SkImageGenerator::SkImageGenerator(const SkImageInfo& info, uint32_t uniqueID) in SkImageGenerator() argument
14 , fUniqueID(kNeedNewImageUniqueID == uniqueID ? SkNextID::ImageID() : uniqueID) in SkImageGenerator()
/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/skia/src/image/
DSkImage_Gpu.h25 SkImage_Gpu(GrContext*, uint32_t uniqueID, SkAlphaType, sk_sp<GrTextureProxy>,
48 sk_sp<GrTextureProxy> refPinnedTextureProxy(uint32_t* uniqueID) const override { in refPinnedTextureProxy() argument
49 *uniqueID = this->uniqueID(); in refPinnedTextureProxy()
DSkImage.cpp38 SkImage::SkImage(int width, int height, uint32_t uniqueID) in SkImage() argument
41 , fUniqueID(kNeedNewImageUniqueID == uniqueID ? SkNextID::ImageID() : uniqueID) in SkImage()
147 str->appendf("image: (id:%d (%d, %d) %s)", this->uniqueID(), this->width(), this->height(), in toString()
194 SkImage_Base::SkImage_Base(int width, int height, uint32_t uniqueID) in SkImage_Base() argument
195 : INHERITED(width, height, uniqueID) in SkImage_Base()
201 SkNotifyBitmapGenIDIsStale(this->uniqueID()); in ~SkImage_Base()
DSkImage_Raster.cpp127 sk_sp<GrTextureProxy> refPinnedTextureProxy(uint32_t* uniqueID) const override;
197 uint32_t uniqueID; in asTextureProxyRef() local
198 sk_sp<GrTextureProxy> tex = this->refPinnedTextureProxy(&uniqueID); in asTextureProxyRef()
212 sk_sp<GrTextureProxy> SkImage_Raster::refPinnedTextureProxy(uint32_t* uniqueID) const { in refPinnedTextureProxy()
216 *uniqueID = fPinnedUniqueID; in refPinnedTextureProxy()
/external/skia/src/gpu/
DGrRenderTargetOpList.cpp199 if (fLastFullClearRenderTargetID == renderTarget->uniqueID()) { in fullClear()
210 fLastFullClearRenderTargetID = renderTarget->uniqueID(); in fullClear()
287 GR_AUDIT_TRAIL_ADD_OP(fAuditTrail, op.get(), renderTarget->uniqueID()); in recordOp()
291 op->uniqueID(), in recordOp()
307 candidate.fOp->uniqueID()); in recordOp()
312 candidate.fOp->uniqueID()); in recordOp()
321 candidate.fOp->uniqueID()); in recordOp()
362 candidate.fOp->uniqueID()); in forwardCombine()
368 candidate.fOp->uniqueID()); in forwardCombine()
376 candidate.fOp->uniqueID()); in forwardCombine()
DGrGpu.h335 MultisampleSpecs(uint8_t uniqueID, int effectiveSampleCnt, const SkPoint* locations) in MultisampleSpecs()
336 : fUniqueID(uniqueID), in MultisampleSpecs()
356 const MultisampleSpecs& getMultisampleSpecs(uint8_t uniqueID) { in getMultisampleSpecs() argument
357 SkASSERT(uniqueID > 0 && uniqueID < fMultisampleSpecs.count()); in getMultisampleSpecs()
358 return fMultisampleSpecs[uniqueID]; in getMultisampleSpecs()
DGrAuditTrail.cpp46 fIDLookup.set(op->uniqueID(), auditOp->fOpListID); in addOp()
55 int* indexPtr = fIDLookup.find(consumer->uniqueID()); in opsCombined()
62 int* consumedPtr = fIDLookup.find(consumed->uniqueID()); in opsCombined()
84 fIDLookup.remove(consumed->uniqueID()); in opsCombined()
DGrRenderTargetContextPriv.h101 GrSurfaceProxy::UniqueID uniqueID() const { in uniqueID() function
102 return fRenderTargetContext->fRenderTargetProxy->uniqueID(); in uniqueID()
/external/skia/src/gpu/gl/
DGrGLVertexArray.cpp64 if (array->fVertexBufferUniqueID != vertexBuffer->uniqueID() || in set()
86 array->fVertexBufferUniqueID = vertexBuffer->uniqueID(); in set()
128 if (state && fIndexBufferUniqueID != ibuff->uniqueID()) { in bindWithIndexBuffer()
136 fIndexBufferUniqueID = ibuff->uniqueID(); in bindWithIndexBuffer()
/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/bcpkix/src/main/java/org/bouncycastle/cert/
DX509v3CertificateBuilder.java89 public X509v3CertificateBuilder setSubjectUniqueID(boolean[] uniqueID) in setSubjectUniqueID() argument
91 tbsGen.setSubjectUniqueID(CertUtils.booleanToBitString(uniqueID)); in setSubjectUniqueID()
102 public X509v3CertificateBuilder setIssuerUniqueID(boolean[] uniqueID) in setIssuerUniqueID() argument
104 tbsGen.setIssuerUniqueID(CertUtils.booleanToBitString(uniqueID)); in setIssuerUniqueID()
/external/webrtc/talk/media/devices/
Dmacdevicemanagermm.mm121 @"modelUniqueID: \"%@\", uniqueID \"%@\", isConnected: %d, "
127 [qt_capture_device uniqueID],
135 Device(name, [[qt_capture_device uniqueID] UTF8String]));
163 @"modelID: \"%@\", uniqueID \"%@\", isConnected: %d, "
169 [capture_device uniqueID],
176 Device(name, [[capture_device uniqueID] UTF8String]));
/external/skia/gm/
Dimage_pict.cpp319 SkDEBUGCODE(const uint32_t genID = gen->uniqueID();) in makeCaches()
325 SkDEBUGCODE(const uint32_t genSubsetID = gen->uniqueID();) in makeCaches()
329 SkASSERT(fCache->uniqueID() == genID); in makeCaches()
330 SkASSERT(fCacheSubset->uniqueID() != genID); in makeCaches()
331 SkASSERT(fCacheSubset->uniqueID() != genSubsetID); in makeCaches()
365 cache->uniqueID(), kPremul_SkAlphaType, in draw_as_tex()
/external/skia/src/gpu/text/
DGrStencilAndCoverTextContext.cpp220 if (TextBlob** found = fBlobIdCache.find(skBlob->uniqueID())) { in findOrCreateTextBlob()
225 TextBlob* blob = new TextBlob(skBlob->uniqueID(), skBlob, skPaint); in findOrCreateTextBlob()
227 fBlobIdCache.set(skBlob->uniqueID(), blob); in findOrCreateTextBlob()
235 key[0] = skBlob->uniqueID(); in findOrCreateTextBlob()
398 reinterpret_cast<uint32_t&>(builder[0]) = typeface ? typeface->uniqueID() : 0; in TextRun()
408 reinterpret_cast<uint32_t&>(builder[0]) = typeface ? typeface->uniqueID() : 0; in TextRun()
420 reinterpret_cast<uint32_t&>(builder[0]) = typeface ? typeface->uniqueID() : 0; in TextRun()
589 if (fLastDrawnGlyphsID != glyphs->uniqueID()) { in draw()
592 fLastDrawnGlyphsID = glyphs->uniqueID(); in draw()
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/value/
DLazyObjectReference.java82 @Override public long uniqueID() { in uniqueID() method in LazyObjectReference
83 return getValue().uniqueID(); in uniqueID()

12345