/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMap.java | 334 RubyMap newMap = newThisType(context); in dup() local 336 newMap.table.put(entry.getKey(), entry.getValue()); in dup() 338 return newMap; in dup() 348 RubyMap newMap = newThisType(context); in deepCopy() local 353 newMap.table.put(key.dup(), message.deepCopy(context)); in deepCopy() 358 newMap.table.put(key.dup(), table.get(key).dup()); in deepCopy() 361 return newMap; in deepCopy() 404 RubyMap newMap; in newThisType() local 406 newMap = (RubyMap) metaClass.newInstance(context, in newThisType() 411 newMap = (RubyMap) metaClass.newInstance(context, in newThisType() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | MapForProto2LiteTest.java | 225 assertEquals(newMap(1, 2), message.getInt32ToInt32Field()); in testSanityCopyOnWrite() 226 assertEquals(newMap(1, 2), builder.getInt32ToInt32Field()); in testSanityCopyOnWrite() 228 assertEquals(newMap(1, 2), message.getInt32ToInt32Field()); in testSanityCopyOnWrite() 229 assertEquals(newMap(1, 2, 2, 3), builder.getInt32ToInt32Field()); in testSanityCopyOnWrite() 272 assertEquals(newMap(1, 2), builder.build().getInt32ToInt32Field()); in testMutableMapLifecycle() 273 assertEquals(newMap(1, 2), builder.getInt32ToInt32Field()); in testMutableMapLifecycle() 275 assertEquals(newMap(1, 2, 2, 3), builder.getInt32ToInt32Field()); in testMutableMapLifecycle() 278 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.build().getInt32ToEnumField()); in testMutableMapLifecycle() 279 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.getInt32ToEnumField()); in testMutableMapLifecycle() 282 newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO), in testMutableMapLifecycle() [all …]
|
D | MapForProto2Test.java | 327 assertEquals(newMap(1, 2), builder.build().getInt32ToInt32Field()); in testMutableMapLifecycle() 334 assertEquals(newMap(1, 2), builder.getInt32ToInt32Field()); in testMutableMapLifecycle() 336 assertEquals(newMap(1, 2, 2, 3), builder.getInt32ToInt32Field()); in testMutableMapLifecycle() 340 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.build().getInt32ToEnumField()); in testMutableMapLifecycle() 347 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.getInt32ToEnumField()); in testMutableMapLifecycle() 350 newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO), in testMutableMapLifecycle() 355 assertEquals(newMap(1, "1"), builder.build().getInt32ToStringField()); in testMutableMapLifecycle() 362 assertEquals(newMap(1, "1"), builder.getInt32ToStringField()); in testMutableMapLifecycle() 365 newMap(1, "1", 2, "2"), in testMutableMapLifecycle() 370 assertEquals(newMap(1, TestMap.MessageValue.getDefaultInstance()), in testMutableMapLifecycle() [all …]
|
D | MapTest.java | 329 assertEquals(newMap(1, 2), builder.build().getInt32ToInt32Field()); in testMutableMapLifecycle() 336 assertEquals(newMap(1, 2), builder.getInt32ToInt32Field()); in testMutableMapLifecycle() 338 assertEquals(newMap(1, 2, 2, 3), builder.getInt32ToInt32Field()); in testMutableMapLifecycle() 342 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.build().getInt32ToEnumField()); in testMutableMapLifecycle() 349 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.getInt32ToEnumField()); in testMutableMapLifecycle() 352 newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO), in testMutableMapLifecycle() 357 assertEquals(newMap(1, "1"), builder.build().getInt32ToStringField()); in testMutableMapLifecycle() 364 assertEquals(newMap(1, "1"), builder.getInt32ToStringField()); in testMutableMapLifecycle() 367 newMap(1, "1", 2, "2"), in testMutableMapLifecycle() 372 assertEquals(newMap(1, TestMap.MessageValue.getDefaultInstance()), in testMutableMapLifecycle() [all …]
|
/frameworks/base/libs/androidfw/ |
D | ZipFileRO.cpp | 229 FileMap* newMap = new FileMap(); in createEntryFileMap() local 230 if (!newMap->create(mFileName, fd, ze.offset, actualLen, true)) { in createEntryFileMap() 231 delete newMap; in createEntryFileMap() 235 return newMap; in createEntryFileMap()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProviderMap.java | 172 … HashMap<String, ContentProviderRecord> newMap = new HashMap<String, ContentProviderRecord>(); in getProvidersByName() local 173 mProvidersByNamePerUser.put(userId, newMap); in getProvidersByName() 174 return newMap; in getProvidersByName() 185 HashMap<ComponentName, ContentProviderRecord> newMap in getProvidersByClass() local 187 mProvidersByClassPerUser.put(userId, newMap); in getProvidersByClass() 188 return newMap; in getProvidersByClass()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ArrayMapTests.java | 424 ArrayMap newMap = new ArrayMap<Integer, String>(); in run() 426 newMap.put(i, String.valueOf(i)); in run() 428 ArrayMap mapCopy = new ArrayMap(newMap); in run() 429 if (!compare(mapCopy, newMap)) { in run() 431 newMap + ", got " + mapCopy); in run() 432 dump(newMap, mapCopy); in run()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 27774 Landroid/icu/impl/locale/XLocaleDistance;->newMap()Ljava/util/Map;
|