Home
last modified time | relevance | path

Searched refs:immut (Results 1 – 6 of 6) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/collect/
DSetOperationsTest.java312 ImmutableSet<String> immut = Sets.union(friends, enemies).immutableCopy(); in testUnion() local
317 assertEquals(5, immut.size()); in testUnion()
328 ImmutableSet<String> immut = Sets.intersection(friends, enemies).immutableCopy(); in testIntersection() local
333 assertEquals(1, immut.size()); in testIntersection()
344 ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy(); in testDifference() local
349 assertEquals(2, immut.size()); in testDifference()
365 ImmutableSet<String> immut = Sets.symmetricDifference(friends, enemies).immutableCopy(); in testSymmetricDifference() local
371 assertEquals(4, immut.size()); in testSymmetricDifference()
374 immut = Sets.symmetricDifference(enemies, friends).immutableCopy(); in testSymmetricDifference()
378 assertEquals(3, immut.size()); in testSymmetricDifference()
/external/guava/guava-tests/test/com/google/common/collect/
DSetOperationsTest.java312 ImmutableSet<String> immut = Sets.union(friends, enemies).immutableCopy(); in testUnion() local
317 assertEquals(5, immut.size()); in testUnion()
328 ImmutableSet<String> immut = Sets.intersection(friends, enemies).immutableCopy(); in testIntersection() local
333 assertEquals(1, immut.size()); in testIntersection()
344 ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy(); in testDifference() local
349 assertEquals(2, immut.size()); in testDifference()
365 ImmutableSet<String> immut = Sets.symmetricDifference(friends, enemies).immutableCopy(); in testSymmetricDifference() local
371 assertEquals(4, immut.size()); in testSymmetricDifference()
374 immut = Sets.symmetricDifference(enemies, friends).immutableCopy(); in testSymmetricDifference()
378 assertEquals(3, immut.size()); in testSymmetricDifference()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DPrefixConstructorTest.java52 Extra immut = list.get(3); in test1() local
53 assertEquals("aaa", immut.getName()); in test1()
54 assertEquals("bbb", immut.getValue()); in test1()
/external/skqp/tests/
DPictureTest.cpp718 SkBitmap mut, immut; in DEF_TEST() local
720 immut.allocN32Pixels(300, 200); in DEF_TEST()
721 immut.setImmutable(); in DEF_TEST()
723 SkASSERT(immut.isImmutable()); in DEF_TEST()
727 REPORTER_ASSERT(r, immut.pixelRef()->unique()); in DEF_TEST()
736 canvas->drawBitmap(immut, 800, 600); in DEF_TEST()
742 REPORTER_ASSERT(r, !immut.pixelRef()->unique()); in DEF_TEST()
747 REPORTER_ASSERT(r, immut.pixelRef()->unique()); in DEF_TEST()
/external/skia/tests/
DPictureTest.cpp700 SkBitmap mut, immut; in DEF_TEST() local
702 immut.allocN32Pixels(300, 200); in DEF_TEST()
703 immut.setImmutable(); in DEF_TEST()
705 SkASSERT(immut.isImmutable()); in DEF_TEST()
709 REPORTER_ASSERT(r, immut.pixelRef()->unique()); in DEF_TEST()
718 canvas->drawImage(immut.asImage(), 800, 600); in DEF_TEST()
724 REPORTER_ASSERT(r, !immut.pixelRef()->unique()); in DEF_TEST()
729 REPORTER_ASSERT(r, immut.pixelRef()->unique()); in DEF_TEST()
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp575 auto immut = p_layout_->GetImmutableSamplerPtrFromIndex(i); in DescriptorSet() local
577 if (immut) { in DescriptorSet()
578 descriptors_.emplace_back(new ImageSamplerDescriptor(immut + di)); in DescriptorSet()
1297 cvdescriptorset::SamplerDescriptor::SamplerDescriptor(const VkSampler *immut) : sampler_(VK_NULL_HA… in SamplerDescriptor() argument
1300 if (immut) { in SamplerDescriptor()
1301 sampler_ = *immut; in SamplerDescriptor()
1551 cvdescriptorset::ImageSamplerDescriptor::ImageSamplerDescriptor(const VkSampler *immut) in ImageSamplerDescriptor() argument
1555 if (immut) { in ImageSamplerDescriptor()
1556 sampler_ = *immut; in ImageSamplerDescriptor()