Home
last modified time | relevance | path

Searched refs:m_map (Results 1 – 25 of 29) sorted by relevance

12

/external/apache-xml/src/main/java/org/apache/xml/utils/
DNodeVector.java45 private int m_map[]; field in NodeVector
91 if ((null != this.m_map) && (this.m_map == clone.m_map)) in clone()
93 clone.m_map = new int[this.m_map.length]; in clone()
95 System.arraycopy(this.m_map, 0, clone.m_map, 0, this.m_map.length); in clone()
121 if (null == m_map) in addElement()
123 m_map = new int[m_blocksize]; in addElement()
132 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElement()
134 m_map = newMap; in addElement()
138 m_map[m_firstFree] = value; in addElement()
155 if (null == m_map) in push()
[all …]
DObjectVector.java40 protected Object m_map[]; field in ObjectVector
57 m_map = new Object[m_blocksize]; in ObjectVector()
70 m_map = new Object[blocksize]; in ObjectVector()
83 m_map = new Object[blocksize]; in ObjectVector()
93 m_map = new Object[v.m_mapSize]; in ObjectVector()
97 System.arraycopy(v.m_map, 0, m_map, 0, m_firstFree); in ObjectVector()
135 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElement()
137 m_map = newMap; in addElement()
140 m_map[m_firstFree] = value; in addElement()
159 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElements()
[all …]
DIntVector.java40 protected int m_map[]; // IntStack is trying to see this directly field in IntVector
57 m_map = new int[m_blocksize]; in IntVector()
70 m_map = new int[blocksize]; in IntVector()
83 m_map = new int[blocksize]; in IntVector()
93 m_map = new int[v.m_mapSize]; in IntVector()
97 System.arraycopy(v.m_map, 0, m_map, 0, m_firstFree); in IntVector()
135 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElement()
137 m_map = newMap; in addElement()
140 m_map[m_firstFree] = value; in addElement()
159 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElements()
[all …]
DSuballocatedIntVector.java58 protected int m_map[][]; field in SuballocatedIntVector
102 m_map = new int[numblocks][]; in SuballocatedIntVector()
103 m_map[0]=m_map0; in SuballocatedIntVector()
164 if(index>=m_map.length) in addElement()
168 System.arraycopy(m_map, 0, newMap, 0, m_map.length); in addElement()
169 m_map=newMap; in addElement()
171 int[] block=m_map[index]; in addElement()
173 block=m_map[index]=new int[m_blocksize]; in addElement()
204 if(index>=m_map.length) in addElements()
208 System.arraycopy(m_map, 0, newMap, 0, m_map.length); in addElements()
[all …]
DStringVector.java36 protected String m_map[]; field in StringVector
53 m_map = new String[m_blocksize]; in StringVector()
66 m_map = new String[blocksize]; in StringVector()
103 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElement()
105 m_map = newMap; in addElement()
108 m_map[m_firstFree] = value; in addElement()
122 return m_map[i]; in elementAt()
140 if (m_map[i].equals(s)) in contains()
162 if (m_map[i].equalsIgnoreCase(s)) in containsIgnoreCase()
183 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in push()
[all …]
DStringToIntTable.java38 private String m_map[]; field in StringToIntTable
59 m_map = new String[m_blocksize]; in StringToIntTable()
73 m_map = new String[blocksize]; in StringToIntTable()
102 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in put()
104 m_map = newMap; in put()
113 m_map[m_firstFree] = key; in put()
132 if (m_map[i].equals(key)) in get()
154 if (m_map[i].equalsIgnoreCase(key)) in getIgnoreCase()
173 if (m_map[i].equals(key)) in contains()
191 keysArr[i] = m_map[i]; in keys()
DObjectStack.java81 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in push()
83 m_map = newMap; in push()
86 m_map[m_firstFree] = i; in push()
101 Object val = m_map[--m_firstFree]; in pop()
102 m_map[m_firstFree] = null; in pop()
126 return m_map[m_firstFree - 1]; in peek()
144 return m_map[m_firstFree-(1+n)]; in peek()
162 m_map[m_firstFree - 1] = val; in setTop()
DIntStack.java81 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in push()
83 m_map = newMap; in push()
86 m_map[m_firstFree] = i; in push()
101 return m_map[--m_firstFree]; in pop()
123 return m_map[m_firstFree - 1]; in peek()
141 return m_map[m_firstFree-(1+n)]; in peek()
159 m_map[m_firstFree - 1] = val; in setTop()
/external/apache-xml/src/main/java/org/apache/xpath/
DNodeSet.java828 Node m_map[]; field in NodeSet
850 if ((null != this.m_map) && (this.m_map == clone.m_map)) in clone()
852 clone.m_map = new Node[this.m_map.length]; in clone()
854 System.arraycopy(this.m_map, 0, clone.m_map, 0, this.m_map.length); in clone()
882 if (null == m_map) in addElement()
884 m_map = new Node[m_blocksize]; in addElement()
893 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in addElement()
895 m_map = newMap; in addElement()
899 m_map[m_firstFree] = value; in addElement()
916 if (null == m_map) in push()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DOpMapVector.java37 protected int m_map[]; // IntStack is trying to see this directly field in OpMapVector
56 m_map = new int[blocksize]; in OpMapVector()
68 return m_map[i]; in elementAt()
91 System.arraycopy(m_map, 0, newMap, 0, oldSize); in setElementAt()
93 m_map = newMap; in setElementAt()
96 m_map[index] = value; in setElementAt()
109 System.arraycopy(m_map, 0, newMap, 0, m_map[m_lengthPos]); in setToSize()
112 m_map = newMap; in setToSize()
/external/webkit/Source/JavaScriptCore/runtime/
DWeakGCMap.h86 bool isEmpty() { return m_map.isEmpty(); } in isEmpty()
89 map_iterator end = m_map.end(); in clear()
90 for (map_iterator ptr = m_map.begin(); ptr != end; ++ptr) in clear()
92 m_map.clear(); in clear()
97 return m_map.contains(key); in contains()
102 return m_map.find(key); in find()
107 ASSERT(iter.m_iterator != m_map.end()); in remove()
111 m_map.remove(iter.m_iterator); in remove()
116 return HandleTypes<MappedType>::getFromSlot(m_map.get(key)); in get()
121 return m_map.get(key); in getSlot()
[all …]
/external/webkit/Source/WebCore/dom/
DDocumentOrderedMap.cpp60 m_map.clear(); in clear()
72 pair<Map::iterator, bool> addResult = m_map.add(key, element); in add()
79 m_map.remove(addResult.first); in add()
84 Map::iterator cachedItem = m_map.find(key); in add()
85 if (cachedItem != m_map.end()) { in add()
86 m_map.remove(cachedItem); in add()
99 m_map.checkConsistency(); in remove()
100 Map::iterator cachedItem = m_map.find(key); in remove()
101 if (cachedItem != m_map.end() && cachedItem->second == element) in remove()
102 m_map.remove(cachedItem); in remove()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DStringToIntTable.java45 private String m_map[]; field in StringToIntTable
66 m_map = new String[m_blocksize]; in StringToIntTable()
80 m_map = new String[blocksize]; in StringToIntTable()
109 System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1); in put()
111 m_map = newMap; in put()
120 m_map[m_firstFree] = key; in put()
139 if (m_map[i].equals(key)) in get()
161 if (m_map[i].equalsIgnoreCase(key)) in getIgnoreCase()
180 if (m_map[i].equals(key)) in contains()
198 keysArr[i] = m_map[i]; in keys()
/external/webkit/Source/WebCore/storage/
DStorageMap.cpp39 : m_iterator(m_map.end()) in StorageMap()
49 newMap->m_map = m_map; in copy()
56 m_iterator = m_map.end(); in invalidateIterator()
72 m_iterator = m_map.begin(); in setIteratorToIndex()
73 ASSERT(m_iterator != m_map.end()); in setIteratorToIndex()
79 ASSERT(m_iterator != m_map.end()); in setIteratorToIndex()
85 return m_map.size(); in length()
99 return m_map.get(key); in getItem()
120 oldValue = m_map.get(key); in setItem()
136 pair<HashMap<String, String>::iterator, bool> addResult = m_map.add(key, value); in setItem()
[all …]
/external/webkit/Source/WebCore/bindings/js/
DDOMObjectHashTableMap.h41 HashMap<const JSC::HashTable*, JSC::HashTable>::iterator mapEnd = m_map.end(); in ~DOMObjectHashTableMap()
42 …shMap<const JSC::HashTable*, JSC::HashTable>::iterator iter = m_map.begin(); iter != m_map.end(); … in ~DOMObjectHashTableMap()
48 HashMap<const JSC::HashTable*, JSC::HashTable>::iterator iter = m_map.find(staticTable); in get()
49 if (iter != m_map.end()) in get()
51 return &m_map.set(staticTable, JSC::HashTable(*staticTable)).first->second; in get()
55 HashMap<const JSC::HashTable*, JSC::HashTable> m_map;
/external/webkit/Source/WebCore/bindings/v8/
DV8DOMMap.h85 ValueType* wrapper = m_map.get(obj); in get()
91 ASSERT(!m_map.contains(obj)); in set()
93 m_map.set(obj, *wrapper); in set()
99 ValueType* wrapper = m_map.take(obj); in forget()
110 typename HashMap<KeyType*, ValueType*>::iterator it = m_map.find(key); in removeIfPresent()
111 if (it == m_map.end() || it->second != *value) in removeIfPresent()
114 m_map.remove(it); in removeIfPresent()
121 m_map.clear(); in clear()
124 bool contains(KeyType* obj) { return m_map.contains(obj); } in contains()
129 typename HashMap<KeyType*, ValueType*>::iterator it = m_map.begin(); in visit()
[all …]
/external/webkit/Source/WebKit2/Shared/
DImmutableDictionary.cpp40 m_map.swap(map); in ImmutableDictionary()
49 if (m_map.isEmpty()) in keys()
53 vector.reserveInitialCapacity(m_map.size()); in keys()
55 MapType::const_iterator::Keys it = m_map.begin().keys(); in keys()
56 MapType::const_iterator::Keys end = m_map.end().keys(); in keys()
DImmutableDictionary.h63 RefPtr<APIObject> item = m_map.get(key); in get()
75 return m_map.get(key).get(); in get()
80 size_t size() { return m_map.size(); } in size()
82 const MapType& map() { return m_map; } in map()
90 MapType m_map; variable
DMutableDictionary.cpp41 std::pair<MapType::iterator, bool> result = m_map.add(key, item); in add()
47 std::pair<MapType::iterator, bool> result = m_map.set(key, item); in set()
53 m_map.remove(key); in remove()
/external/webkit/Source/JavaScriptCore/parser/
DSourceProviderCache.cpp40 deleteAllValues(m_map); in clear()
41 m_map.clear(); in clear()
47 return m_contentByteSize + sizeof(*this) + m_map.capacity() * sizeof(SourceProviderCacheItem*); in byteSize()
52 m_map.add(sourcePosition, item.leakPtr()); in add()
DSourceProviderCache.h41 … const SourceProviderCacheItem* get(int sourcePosition) const { return m_map.get(sourcePosition); } in get()
44 HashMap<int, SourceProviderCacheItem*> m_map;
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DChunkedIntArray.java271 int[] m_map[] = new int[BLOCKSIZE][]; field in ChunkedIntArray.ChunksVector
292 System.arraycopy(m_map, 0, newMap, 0, orgMapSize); in addElement()
293 m_map = newMap; in addElement()
297 m_map[pos] = value; in addElement()
303 return m_map[pos]; in elementAt()
/external/webkit/Source/JavaScriptCore/wtf/
DOSAllocatorSymbian.cpp156 const int64_t startIdx = m_map.findRunOfZeros(nPages); in reserve()
163 m_map.set(i); in reserve()
174 m_map.clear(i); in release()
183 __ASSERT_ALWAYS(m_map.get(idx), User::Panic(KErrorStringInternalConsistency, idx)); in commit()
184 …__ASSERT_ALWAYS(m_map.get(idx+nPages-1), User::Panic(KErrorStringInternalConsistency, idx+nPages-1… in commit()
/external/webkit/Source/WebCore/bridge/
DNP_jsobject.cpp58 return m_map.get(rootObject).get(jsObject); in get()
63 HashMap<RootObject*, JSToNPObjectMap>::iterator iter = m_map.find(rootObject); in add()
64 if (iter == m_map.end()) { in add()
66 iter = m_map.add(rootObject, JSToNPObjectMap()).first; in add()
75 HashMap<RootObject*, JSToNPObjectMap>::iterator iter = m_map.find(rootObject); in remove()
76 ASSERT(iter != m_map.end()); in remove()
77 m_map.remove(iter); in remove()
82 HashMap<RootObject*, JSToNPObjectMap>::iterator iter = m_map.find(rootObject); in remove()
83 ASSERT(iter != m_map.end()); in remove()
97 HashMap<RootObject*, JSToNPObjectMap> m_map; member in ObjectMap
/external/webkit/Source/JavaScriptCore/API/
DJSWeakObjectMapRefInternal.h49 WeakMapType& map() { return m_map; } in map()
62 WeakMapType m_map; member

12