Home
last modified time | relevance | path

Searched refs:newMap (Results 1 – 25 of 57) sorted by relevance

123

/external/apache-xml/src/main/java/org/apache/xml/utils/
DObjectVector.java133 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 …]
DIntVector.java133 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 …]
DNodeVector.java130 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 …]
DSuballocatedIntVector.java167 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 …]
DStringVector.java101 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()
DIntStack.java79 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()
DObjectStack.java79 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()
DStringToIntTable.java100 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/
DOpMapVector.java89 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/protobuf/java/core/src/test/java/com/google/protobuf/
DMapForProto2LiteTest.java205 assertEquals(newMap(1, 2), message.getInt32ToInt32Field()); in testSanityCopyOnWrite()
206 assertEquals(newMap(1, 2), builder.getInt32ToInt32Field()); in testSanityCopyOnWrite()
208 assertEquals(newMap(1, 2), message.getInt32ToInt32Field()); in testSanityCopyOnWrite()
209 assertEquals(newMap(1, 2, 2, 3), builder.getInt32ToInt32Field()); in testSanityCopyOnWrite()
216 assertEquals(newMap(1, 2), builder.build().getInt32ToInt32Field()); in testMutableMapLifecycle()
223 assertEquals(newMap(1, 2), builder.getInt32ToInt32Field()); in testMutableMapLifecycle()
225 assertEquals(newMap(1, 2, 2, 3), builder.getInt32ToInt32Field()); in testMutableMapLifecycle()
229 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.build().getInt32ToEnumField()); in testMutableMapLifecycle()
236 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.getInt32ToEnumField()); in testMutableMapLifecycle()
239 newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO), in testMutableMapLifecycle()
[all …]
DMapForProto2Test.java195 assertEquals(newMap(1, 2), builder.build().getInt32ToInt32Field()); in testMutableMapLifecycle()
202 assertEquals(newMap(1, 2), builder.getInt32ToInt32Field()); in testMutableMapLifecycle()
204 assertEquals(newMap(1, 2, 2, 3), builder.getInt32ToInt32Field()); in testMutableMapLifecycle()
208 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.build().getInt32ToEnumField()); in testMutableMapLifecycle()
215 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.getInt32ToEnumField()); in testMutableMapLifecycle()
218 newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO), in testMutableMapLifecycle()
223 assertEquals(newMap(1, "1"), builder.build().getInt32ToStringField()); in testMutableMapLifecycle()
230 assertEquals(newMap(1, "1"), builder.getInt32ToStringField()); in testMutableMapLifecycle()
233 newMap(1, "1", 2, "2"), in testMutableMapLifecycle()
238 assertEquals(newMap(1, TestMap.MessageValue.getDefaultInstance()), in testMutableMapLifecycle()
[all …]
DMapTest.java196 assertEquals(newMap(1, 2), builder.build().getInt32ToInt32Field()); in testMutableMapLifecycle()
203 assertEquals(newMap(1, 2), builder.getInt32ToInt32Field()); in testMutableMapLifecycle()
205 assertEquals(newMap(1, 2, 2, 3), builder.getInt32ToInt32Field()); in testMutableMapLifecycle()
209 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.build().getInt32ToEnumField()); in testMutableMapLifecycle()
216 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.getInt32ToEnumField()); in testMutableMapLifecycle()
219 newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO), in testMutableMapLifecycle()
224 assertEquals(newMap(1, "1"), builder.build().getInt32ToStringField()); in testMutableMapLifecycle()
231 assertEquals(newMap(1, "1"), builder.getInt32ToStringField()); in testMutableMapLifecycle()
234 newMap(1, "1", 2, "2"), in testMutableMapLifecycle()
239 assertEquals(newMap(1, TestMap.MessageValue.getDefaultInstance()), in testMutableMapLifecycle()
[all …]
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMap.java334 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 …]
/external/apache-xml/src/main/java/org/apache/xpath/
DNodeSet.java891 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/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DStringToIntTable.java107 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/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/
DBasicMDCAdapter.java146 …Map<String, String> newMap = Collections.<String, String> synchronizedMap(new HashMap<String, Stri… in getCopyOfContextMap() local
148 newMap.putAll(oldMap); in getCopyOfContextMap()
150 return newMap; in getCopyOfContextMap()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DChunkedIntArray.java291 int[] newMap[] = new int[m_mapSize][]; in addElement() local
292 System.arraycopy(m_map, 0, newMap, 0, orgMapSize); in addElement()
293 m_map = newMap; in addElement()
/external/guava/guava-tests/test/com/google/common/cache/
DLocalLoadingCacheTest.java279 Map<Object, Object> newMap = ImmutableMap.of(one, one); in testAsMap() local
280 assertEquals(newMap, map); in testAsMap()
281 assertEquals(newMap.entrySet(), map.entrySet()); in testAsMap()
282 assertEquals(newMap.keySet(), map.keySet()); in testAsMap()
/external/oauth/core/src/main/java/net/oauth/
DOAuthMessage.java134 parameterMap = OAuth.newMap(parameters); in getParameterMap()
255 final Map<String, String> pMap = OAuth.newMap(parameters); in addRequiredParameters()
DOAuth.java184 public static Map<String, String> newMap(Iterable<? extends Map.Entry> from) { in newMap() method in OAuth
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiLine.java1207 int[] newMap = new int[bidi.resultLength]; in getVisualMap() local
1208 System.arraycopy(indexMap, 0, newMap, 0, bidi.resultLength); in getVisualMap()
1209 return newMap; in getVisualMap()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiLine.java1208 int[] newMap = new int[bidi.resultLength]; in getVisualMap() local
1209 System.arraycopy(indexMap, 0, newMap, 0, bidi.resultLength); in getVisualMap()
1210 return newMap; in getVisualMap()
/external/jsoncpp/src/lib_json/
Djson_internalmap.inl39 virtual ValueInternalMap* newMap() { return new ValueInternalMap(); } function in Json::DefaultValueMapAllocator
63 virtual ValueInternalMap* newMap() { function in Json::DefaultValueMapAllocator
/external/oauth/core/src/main/java/net/oauth/client/
DOAuthClient.java188 } else if (!OAuth.newMap(parameters).containsKey(OAuth.OAUTH_TOKEN)) { in getAccessToken()
/external/slf4j/integration/lib/
Dslf4j-api-1.6.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/slf4j/ org/ ...

123