/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | ObjectVector.java | 133 Object newMap[] = new Object[m_mapSize]; in addElement() local 135 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElement() 137 m_map = newMap; in addElement() 157 Object newMap[] = new Object[m_mapSize]; in addElements() local 159 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElements() 161 m_map = newMap; in addElements() 183 Object newMap[] = new Object[m_mapSize]; in addElements() local 185 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElements() 187 m_map = newMap; in addElements() 210 Object newMap[] = new Object[m_mapSize]; in insertElementAt() local [all …]
|
D | IntVector.java | 133 int newMap[] = new int[m_mapSize]; in addElement() local 135 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElement() 137 m_map = newMap; in addElement() 157 int newMap[] = new int[m_mapSize]; in addElements() local 159 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElements() 161 m_map = newMap; in addElements() 183 int newMap[] = new int[m_mapSize]; in addElements() local 185 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElements() 187 m_map = newMap; in addElements() 210 int newMap[] = new int[m_mapSize]; in insertElementAt() local [all …]
|
D | NodeVector.java | 130 int newMap[] = new int[m_mapSize]; in addElement() local 132 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElement() 134 m_map = newMap; in addElement() 164 int newMap[] = new int[m_mapSize]; in push() local 166 System.arraycopy(m_map, 0, newMap, 0, ff + 1); in push() 168 m_map = newMap; in push() 258 int newMap[] = new int[m_mapSize]; in pushPair() local 260 System.arraycopy(m_map, 0, newMap, 0, m_firstFree); in pushPair() 262 m_map = newMap; in pushPair() 374 int newMap[] = new int[m_mapSize]; in insertElementAt() local [all …]
|
D | SuballocatedIntVector.java | 167 int[][] newMap=new int[newsize][]; in addElement() local 168 System.arraycopy(m_map, 0, newMap, 0, m_map.length); in addElement() 169 m_map=newMap; in addElement() 207 int[][] newMap=new int[newsize][]; in addElements() local 208 System.arraycopy(m_map, 0, newMap, 0, m_map.length); in addElements() 209 m_map=newMap; in addElements() 265 int[][] newMap=new int[newsize][]; in insertElementAt() local 266 System.arraycopy(m_map, 0, newMap, 0, m_map.length); in insertElementAt() 267 m_map=newMap; in insertElementAt() 399 int[][] newMap=new int[newsize][]; in setElementAt() local [all …]
|
D | StringVector.java | 101 String newMap[] = new String[m_mapSize]; in addElement() local 103 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElement() 105 m_map = newMap; in addElement() 181 String newMap[] = new String[m_mapSize]; in push() local 183 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in push() 185 m_map = newMap; in push()
|
D | IntStack.java | 79 int newMap[] = new int[m_mapSize]; in push() local 81 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in push() 83 m_map = newMap; in push()
|
D | ObjectStack.java | 79 Object newMap[] = new Object[m_mapSize]; in push() local 81 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in push() 83 m_map = newMap; in push()
|
D | StringToIntTable.java | 100 String newMap[] = new String[m_mapSize]; in put() local 102 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in put() 104 m_map = newMap; in put()
|
/external/apache-xml/src/main/java/org/apache/xpath/compiler/ |
D | OpMapVector.java | 89 int newMap[] = new int[m_mapSize]; in setElementAt() local 91 System.arraycopy(m_map, 0, newMap, 0, oldSize); in setElementAt() 93 m_map = newMap; in setElementAt() 107 int newMap[] = new int[size]; in setToSize() local 109 System.arraycopy(m_map, 0, newMap, 0, m_map[m_lengthPos]); in setToSize() 112 m_map = newMap; in setToSize()
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | BenchmarkHelpers.java | 216 ConcurrentMap<K, V> newMap = new MapMaker().keyEquivalence(Equivalence.equals()).makeMap(); in create() local 217 checkState(newMap instanceof MapMakerInternalMap); in create() 218 newMap.putAll(map); in create() 219 return newMap; in create() 225 ConcurrentMap<K, V> newMap = new MapMaker().weakValues().makeMap(); in create() local 226 checkState(newMap instanceof MapMakerInternalMap); in create() 227 newMap.putAll(map); in create() 228 return newMap; in create() 234 ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().makeMap(); in create() local 235 checkState(newMap instanceof MapMakerInternalMap); in create() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | BenchmarkHelpers.java | 216 ConcurrentMap<K, V> newMap = new MapMaker().keyEquivalence(Equivalence.equals()).makeMap(); in create() local 217 checkState(newMap instanceof MapMakerInternalMap); in create() 218 newMap.putAll(map); in create() 219 return newMap; in create() 225 ConcurrentMap<K, V> newMap = new MapMaker().weakValues().makeMap(); in create() local 226 checkState(newMap instanceof MapMakerInternalMap); in create() 227 newMap.putAll(map); in create() 228 return newMap; in create() 234 ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().makeMap(); in create() local 235 checkState(newMap instanceof MapMakerInternalMap); in create() [all …]
|
/external/apache-xml/src/main/java/org/apache/xpath/ |
D | NodeSet.java | 891 Node newMap[] = new Node[m_mapSize]; in addElement() local 893 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElement() 895 m_map = newMap; in addElement() 925 Node newMap[] = new Node[m_mapSize]; in push() local 927 System.arraycopy(m_map, 0, newMap, 0, ff + 1); in push() 929 m_map = newMap; in push() 1019 Node newMap[] = new Node[m_mapSize]; in pushPair() local 1021 System.arraycopy(m_map, 0, newMap, 0, m_firstFree); in pushPair() 1023 m_map = newMap; in pushPair() 1116 Node newMap[] = new Node[m_mapSize]; in insertElementAt() local [all …]
|
/external/cronet/tot/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMap.java | 349 RubyMap newMap = newThisType(context); in dup() local 351 newMap.table.put(entry.getKey(), entry.getValue()); in dup() 353 return newMap; in dup() 377 RubyMap newMap = newThisType(context); in deepCopy() local 382 newMap.table.put(key.dup(), message.deepCopy(context)); in deepCopy() 387 newMap.table.put(key.dup(), table.get(key).dup()); in deepCopy() 390 return newMap; in deepCopy() 441 RubyMap newMap; in newThisType() local 443 newMap = in newThisType() 452 newMap = in newThisType() [all …]
|
/external/cronet/stable/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMap.java | 349 RubyMap newMap = newThisType(context); in dup() local 351 newMap.table.put(entry.getKey(), entry.getValue()); in dup() 353 return newMap; in dup() 377 RubyMap newMap = newThisType(context); in deepCopy() local 382 newMap.table.put(key.dup(), message.deepCopy(context)); in deepCopy() 387 newMap.table.put(key.dup(), table.get(key).dup()); in deepCopy() 390 return newMap; in deepCopy() 441 RubyMap newMap; in newThisType() local 443 newMap = in newThisType() 452 newMap = in newThisType() [all …]
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMap.java | 349 RubyMap newMap = newThisType(context); in dup() local 351 newMap.table.put(entry.getKey(), entry.getValue()); in dup() 353 return newMap; in dup() 377 RubyMap newMap = newThisType(context); in deepCopy() local 382 newMap.table.put(key.dup(), message.deepCopy(context)); in deepCopy() 387 newMap.table.put(key.dup(), table.get(key).dup()); in deepCopy() 390 return newMap; in deepCopy() 441 RubyMap newMap; in newThisType() local 443 newMap = in newThisType() 452 newMap = in newThisType() [all …]
|
/external/robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | TypeMapper.java | 18 HashMap<String, String> newMap = new HashMap<>(); in convertToSlashes() local 22 newMap.put(key, value); in convertToSlashes() 23 newMap.put("L" + key + ";", "L" + value + ";"); // also the param reference form in convertToSlashes() 25 return newMap; in convertToSlashes()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | MapLiteTest.java | 223 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 226 assertThat(message.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 227 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2, 2, 3)); in testSanityCopyOnWrite() 278 assertThat(builder.build().getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testMutableMapLifecycle() 279 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testMutableMapLifecycle() 281 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2, 2, 3)); in testMutableMapLifecycle() 285 .isEqualTo(newMap(1, TestMap.EnumValue.BAR)); in testMutableMapLifecycle() 286 assertThat(builder.getInt32ToEnumFieldMap()).isEqualTo(newMap(1, TestMap.EnumValue.BAR)); in testMutableMapLifecycle() 289 .isEqualTo(newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO)); in testMutableMapLifecycle() 292 assertThat(builder.build().getInt32ToStringFieldMap()).isEqualTo(newMap(1, "1")); in testMutableMapLifecycle() [all …]
|
D | MapForProto2LiteTest.java | 221 assertThat(message.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 222 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 224 assertThat(message.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 225 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2, 2, 3)); in testSanityCopyOnWrite() 269 assertThat(builder.build().getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testMutableMapLifecycle() 270 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testMutableMapLifecycle() 272 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2, 2, 3)); in testMutableMapLifecycle() 276 .isEqualTo(newMap(1, TestMap.EnumValue.BAR)); in testMutableMapLifecycle() 277 assertThat(builder.getInt32ToEnumFieldMap()).isEqualTo(newMap(1, TestMap.EnumValue.BAR)); in testMutableMapLifecycle() 280 .isEqualTo(newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO)); in testMutableMapLifecycle() [all …]
|
/external/cronet/tot/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | MapLiteTest.java | 223 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 226 assertThat(message.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 227 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2, 2, 3)); in testSanityCopyOnWrite() 278 assertThat(builder.build().getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testMutableMapLifecycle() 279 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testMutableMapLifecycle() 281 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2, 2, 3)); in testMutableMapLifecycle() 285 .isEqualTo(newMap(1, TestMap.EnumValue.BAR)); in testMutableMapLifecycle() 286 assertThat(builder.getInt32ToEnumFieldMap()).isEqualTo(newMap(1, TestMap.EnumValue.BAR)); in testMutableMapLifecycle() 289 .isEqualTo(newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO)); in testMutableMapLifecycle() 292 assertThat(builder.build().getInt32ToStringFieldMap()).isEqualTo(newMap(1, "1")); in testMutableMapLifecycle() [all …]
|
D | MapForProto2LiteTest.java | 221 assertThat(message.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 222 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 224 assertThat(message.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 225 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2, 2, 3)); in testSanityCopyOnWrite() 269 assertThat(builder.build().getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testMutableMapLifecycle() 270 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testMutableMapLifecycle() 272 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2, 2, 3)); in testMutableMapLifecycle() 276 .isEqualTo(newMap(1, TestMap.EnumValue.BAR)); in testMutableMapLifecycle() 277 assertThat(builder.getInt32ToEnumFieldMap()).isEqualTo(newMap(1, TestMap.EnumValue.BAR)); in testMutableMapLifecycle() 280 .isEqualTo(newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO)); in testMutableMapLifecycle() [all …]
|
/external/cronet/stable/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | MapLiteTest.java | 223 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 226 assertThat(message.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 227 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2, 2, 3)); in testSanityCopyOnWrite() 278 assertThat(builder.build().getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testMutableMapLifecycle() 279 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testMutableMapLifecycle() 281 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2, 2, 3)); in testMutableMapLifecycle() 285 .isEqualTo(newMap(1, TestMap.EnumValue.BAR)); in testMutableMapLifecycle() 286 assertThat(builder.getInt32ToEnumFieldMap()).isEqualTo(newMap(1, TestMap.EnumValue.BAR)); in testMutableMapLifecycle() 289 .isEqualTo(newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO)); in testMutableMapLifecycle() 292 assertThat(builder.build().getInt32ToStringFieldMap()).isEqualTo(newMap(1, "1")); in testMutableMapLifecycle() [all …]
|
D | MapForProto2LiteTest.java | 221 assertThat(message.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 222 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 224 assertThat(message.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testSanityCopyOnWrite() 225 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2, 2, 3)); in testSanityCopyOnWrite() 269 assertThat(builder.build().getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testMutableMapLifecycle() 270 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2)); in testMutableMapLifecycle() 272 assertThat(builder.getInt32ToInt32FieldMap()).isEqualTo(newMap(1, 2, 2, 3)); in testMutableMapLifecycle() 276 .isEqualTo(newMap(1, TestMap.EnumValue.BAR)); in testMutableMapLifecycle() 277 assertThat(builder.getInt32ToEnumFieldMap()).isEqualTo(newMap(1, TestMap.EnumValue.BAR)); in testMutableMapLifecycle() 280 .isEqualTo(newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO)); in testMutableMapLifecycle() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
D | StringToIntTable.java | 107 String newMap[] = new String[m_mapSize]; in put() local 109 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in put() 111 m_map = newMap; in put()
|
/external/leakcanary2/shark/src/main/java/shark/internal/ |
D | ClassReferenceReader.kt | 27 val newMap = mutableMapOf<String, ReferenceMatcher>() in <lambda>() constant 28 staticFieldNameByClassName[pattern.className] = newMap in <lambda>() 29 newMap in <lambda>()
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/ |
D | XPathToMenu.java | 122 HashMap<String, String> newMap = new HashMap<>(); in getMetazoneToContinentMap() local 124 newMap.put(mzToContinentStatic[i + 0], mzToContinentStatic[i + 1]); in getMetazoneToContinentMap() 126 mzToContinentMap = newMap; in getMetazoneToContinentMap()
|