Home
last modified time | relevance | path

Searched refs:isMutable (Results 1 – 25 of 65) sorted by relevance

123

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMapFieldLite.java49 private boolean isMutable; field in MapFieldLite
52 this.isMutable = true; in MapFieldLite()
57 this.isMutable = true; in MapFieldLite()
220 isMutable = false; in makeImmutable()
224 public boolean isMutable() { in isMutable() method in MapFieldLite
225 return isMutable; in isMutable()
229 if (!isMutable()) { in ensureMutable()
DAbstractProtobufList.java51 private boolean isMutable; field in AbstractProtobufList
55 isMutable = true; in AbstractProtobufList()
128 return isMutable; in isModifiable()
133 isMutable = false; in makeImmutable()
176 if (!isMutable) { in ensureIsMutable()
DUnknownFieldSetLite.java95 private boolean isMutable; field in UnknownFieldSetLite
103 private UnknownFieldSetLite(int count, int[] tags, Object[] objects, boolean isMutable) { in UnknownFieldSetLite() argument
107 this.isMutable = isMutable; in UnknownFieldSetLite()
116 this.isMutable = false; in makeImmutable()
121 if (!isMutable) { in checkMutable()
DMapField.java86 private volatile boolean isMutable; field in MapField
130 this.isMutable = true; in MapField()
266 isMutable = false; in makeImmutable()
270 public boolean isMutable() { in isMutable() method in MapField
271 return isMutable; in isMutable()
279 if (!isMutable()) { in ensureMutable()
DMapFieldSchemaLite.java56 return !((MapFieldLite<?, ?>) mapField).isMutable(); in isImmutable()
80 if (!mine.isMutable()) { in mergeFromLite()
DMapFieldSchemaFull.java49 return !((MapField<?, ?>) mapField).isMutable(); in isImmutable()
77 if (!mine.isMutable()) { in mergeFromFull()
DGeneratedMessageLite.java86 boolean isMutable() { in isMutable() method in GeneratedMessageLite
152 if (isMutable()) { in hashCode()
338 if (isMutable()) { in getSerializedSize()
439 if (defaultInstance.isMutable()) { in Builder()
456 if (!instance.isMutable()) { in copyOnWrite()
475 if (defaultInstance.isMutable()) { in clear()
491 if (!instance.isMutable()) { in buildPartial()
1053 if (!instance.isMutable()) { in buildPartial()
/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DMapFieldLite.java49 private boolean isMutable; field in MapFieldLite
52 this.isMutable = true; in MapFieldLite()
57 this.isMutable = true; in MapFieldLite()
220 isMutable = false; in makeImmutable()
224 public boolean isMutable() { in isMutable() method in MapFieldLite
225 return isMutable; in isMutable()
229 if (!isMutable()) { in ensureMutable()
DAbstractProtobufList.java51 private boolean isMutable; field in AbstractProtobufList
55 isMutable = true; in AbstractProtobufList()
128 return isMutable; in isModifiable()
133 isMutable = false; in makeImmutable()
176 if (!isMutable) { in ensureIsMutable()
DUnknownFieldSetLite.java95 private boolean isMutable; field in UnknownFieldSetLite
103 private UnknownFieldSetLite(int count, int[] tags, Object[] objects, boolean isMutable) { in UnknownFieldSetLite() argument
107 this.isMutable = isMutable; in UnknownFieldSetLite()
116 this.isMutable = false; in makeImmutable()
121 if (!isMutable) { in checkMutable()
DMapField.java86 private volatile boolean isMutable; field in MapField
130 this.isMutable = true; in MapField()
266 isMutable = false; in makeImmutable()
270 public boolean isMutable() { in isMutable() method in MapField
271 return isMutable; in isMutable()
279 if (!isMutable()) { in ensureMutable()
DMapFieldSchemaLite.java56 return !((MapFieldLite<?, ?>) mapField).isMutable(); in isImmutable()
80 if (!mine.isMutable()) { in mergeFromLite()
DMapFieldSchemaFull.java49 return !((MapField<?, ?>) mapField).isMutable(); in isImmutable()
77 if (!mine.isMutable()) { in mergeFromFull()
DGeneratedMessageLite.java86 boolean isMutable() { in isMutable() method in GeneratedMessageLite
152 if (isMutable()) { in hashCode()
337 if (isMutable()) { in getSerializedSize()
438 if (defaultInstance.isMutable()) { in Builder()
455 if (!instance.isMutable()) { in copyOnWrite()
474 if (defaultInstance.isMutable()) { in clear()
490 if (!instance.isMutable()) { in buildPartial()
1049 if (!instance.isMutable()) { in buildPartial()
/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/graphics/
DBitmapTest.java178 assertThat(bitmap.isMutable()).isTrue(); in decodeResource_withMutableOpt_isMutable()
188 assertThat(scaledBitmap.isMutable()).isTrue(); in scaledBitmap_isMutable()
375 .isMutable()) in createBitmap_mutability()
384 .isMutable()) in createBitmap_mutability()
394 .isMutable()) in createBitmap_mutability()
403 .isMutable()) in createBitmap_mutability()
414 .isMutable()) in createBitmap_mutability()
424 .isMutable()) in createBitmap_mutability()
434 .isMutable()) in createBitmap_mutability()
445 .isMutable()) in createBitmap_mutability()
[all …]
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeBitmapTest.java185 assertFalse(bitmap.isMutable()); in testCreateBitmap1()
188 assertFalse(ret.isMutable()); in testCreateBitmap1()
250 assertTrue(ret.isMutable()); in testCreateBitmap4()
313 assertFalse(ret.isMutable()); in testCreateBitmap6()
325 assertTrue(bitmap.isMutable()); in testCreateBitmap_displayMetrics_mutable()
329 assertTrue(bitmap.isMutable()); in testCreateBitmap_displayMetrics_mutable()
333 assertTrue(bitmap.isMutable()); in testCreateBitmap_displayMetrics_mutable()
340 assertTrue(bitmap.isMutable()); in testCreateBitmap_displayMetrics_mutable()
346 assertFalse(bitmap.isMutable()); in testCreateBitmap_displayMetrics_mutable()
350 assertFalse(bitmap.isMutable()); in testCreateBitmap_displayMetrics_mutable()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPendingIntent.java155 if (intent != null && isMutable(flags)) { in send()
396 if (isMutable(shadowPendingIntent.flags) != isMutable(flags)) { in getCreatedIntentFor()
424 private static boolean isMutable(int flags) { in isMutable() method in ShadowPendingIntent
DShadowBitmap.java375 } else if (!isMutable()) { in setPixel()
429 protected Bitmap copy(Bitmap.Config config, boolean isMutable) { in copy() argument
434 shadowBitmap.mutable = isMutable; in copy()
460 protected final boolean isMutable() { in isMutable() method in ShadowBitmap
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
DLruBitmapPool.java65 if (!bitmap.isMutable() || strategy.getSize(bitmap) > maxSize) { in put()
68 + bitmap.isMutable()); in put()
/external/apache-xml/src/main/java/org/apache/xml/dtm/
DDTMIterator.java240 public boolean isMutable(); in isMutable() method
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DImmutableSet.h258 bool isMutable() const { return IsMutable; } in isMutable() function
278 assert(isMutable() && "Mutable flag already removed."); in markImmutable()
291 assert(isMutable() && "Only a mutable tree can have its height changed."); in setHeight()
484 if (N->isMutable() && N->refCount == 0) in recoverNodes()
539 assert(!T->isMutable()); in add_internal()
560 assert(!T->isMutable()); in remove_internal()
598 if (!T || !T->isMutable()) in markImmutable()
/external/llvm/include/llvm/ADT/
DImmutableSet.h259 bool isMutable() const { return IsMutable; } in isMutable() function
279 assert(isMutable() && "Mutable flag already removed."); in markImmutable()
292 assert(isMutable() && "Only a mutable tree can have its height changed."); in setHeight()
484 if (N->isMutable() && N->refCount == 0) in recoverNodes()
539 assert(!T->isMutable()); in add_internal()
560 assert(!T->isMutable()); in remove_internal()
598 if (!T || !T->isMutable()) in markImmutable()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPendingIntent.java229 if (intent != null && isMutable(flags)) { in send()
657 if (isMutable(shadowPendingIntent.flags) != isMutable(flags)) { in getCreatedIntentFor()
686 private static boolean isMutable(int flags) { in isMutable() method in ShadowPendingIntent
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/
DBitmapContainer.java49 return create(bitmap.copy(bitmap.getConfig(), bitmap.isMutable())); in clone()
/external/skia/platform_tools/android/apps/jetski/src/main/java/org/skia/jetski/
DSurface.java98 if (!bitmap.isMutable()) { in CreateBitmapInstance()

123