Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: third_party/libxml/src/include/libxml/hash.h

Issue 1193533007: Upgrade to libxml 2.9.2 and libxslt 1.1.28 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove suppressions, have landed in blink now Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Summary: Chained hash tables 2 * Summary: Chained hash tables
3 * Description: This module implements the hash table support used in 3 * Description: This module implements the hash table support used in
4 * » » various places in the library. 4 *» » various places in the library.
5 * 5 *
6 * Copy: See Copyright for the status of this software. 6 * Copy: See Copyright for the status of this software.
7 * 7 *
8 * Author: Bjorn Reese <bjorn.reese@systematic.dk> 8 * Author: Bjorn Reese <bjorn.reese@systematic.dk>
9 */ 9 */
10 10
11 #ifndef __XML_HASH_H__ 11 #ifndef __XML_HASH_H__
12 #define __XML_HASH_H__ 12 #define __XML_HASH_H__
13 13
14 #ifdef __cplusplus 14 #ifdef __cplusplus
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 const xmlChar *name3); 101 const xmlChar *name3);
102 102
103 /* 103 /*
104 * Constructor and destructor. 104 * Constructor and destructor.
105 */ 105 */
106 XMLPUBFUN xmlHashTablePtr XMLCALL 106 XMLPUBFUN xmlHashTablePtr XMLCALL
107 xmlHashCreate (int size); 107 xmlHashCreate (int size);
108 XMLPUBFUN xmlHashTablePtr XMLCALL 108 XMLPUBFUN xmlHashTablePtr XMLCALL
109 xmlHashCreateDict(int size, 109 xmlHashCreateDict(int size,
110 xmlDictPtr dict); 110 xmlDictPtr dict);
111 XMLPUBFUN void XMLCALL» » » 111 XMLPUBFUN void XMLCALL
112 xmlHashFree (xmlHashTablePtr table, 112 xmlHashFree (xmlHashTablePtr table,
113 xmlHashDeallocator f); 113 xmlHashDeallocator f);
114 114
115 /* 115 /*
116 * Add a new entry to the hash table. 116 * Add a new entry to the hash table.
117 */ 117 */
118 XMLPUBFUN int XMLCALL» » » 118 XMLPUBFUN int XMLCALL
119 xmlHashAddEntry (xmlHashTablePtr table, 119 xmlHashAddEntry (xmlHashTablePtr table,
120 const xmlChar *name, 120 const xmlChar *name,
121 void *userdata); 121 void *userdata);
122 XMLPUBFUN int XMLCALL» » » 122 XMLPUBFUN int XMLCALL
123 xmlHashUpdateEntry(xmlHashTablePtr table, 123 xmlHashUpdateEntry(xmlHashTablePtr table,
124 const xmlChar *name, 124 const xmlChar *name,
125 void *userdata, 125 void *userdata,
126 xmlHashDeallocator f); 126 xmlHashDeallocator f);
127 XMLPUBFUN int XMLCALL» » 127 XMLPUBFUN int XMLCALL
128 xmlHashAddEntry2(xmlHashTablePtr table, 128 xmlHashAddEntry2(xmlHashTablePtr table,
129 const xmlChar *name, 129 const xmlChar *name,
130 const xmlChar *name2, 130 const xmlChar *name2,
131 void *userdata); 131 void *userdata);
132 XMLPUBFUN int XMLCALL» » » 132 XMLPUBFUN int XMLCALL
133 xmlHashUpdateEntry2(xmlHashTablePtr table, 133 xmlHashUpdateEntry2(xmlHashTablePtr table,
134 const xmlChar *name, 134 const xmlChar *name,
135 const xmlChar *name2, 135 const xmlChar *name2,
136 void *userdata, 136 void *userdata,
137 xmlHashDeallocator f); 137 xmlHashDeallocator f);
138 XMLPUBFUN int XMLCALL» » » 138 XMLPUBFUN int XMLCALL
139 xmlHashAddEntry3(xmlHashTablePtr table, 139 xmlHashAddEntry3(xmlHashTablePtr table,
140 const xmlChar *name, 140 const xmlChar *name,
141 const xmlChar *name2, 141 const xmlChar *name2,
142 const xmlChar *name3, 142 const xmlChar *name3,
143 void *userdata); 143 void *userdata);
144 XMLPUBFUN int XMLCALL» » » 144 XMLPUBFUN int XMLCALL
145 xmlHashUpdateEntry3(xmlHashTablePtr table, 145 xmlHashUpdateEntry3(xmlHashTablePtr table,
146 const xmlChar *name, 146 const xmlChar *name,
147 const xmlChar *name2, 147 const xmlChar *name2,
148 const xmlChar *name3, 148 const xmlChar *name3,
149 void *userdata, 149 void *userdata,
150 xmlHashDeallocator f); 150 xmlHashDeallocator f);
151 151
152 /* 152 /*
153 * Remove an entry from the hash table. 153 * Remove an entry from the hash table.
154 */ 154 */
155 XMLPUBFUN int XMLCALL 155 XMLPUBFUN int XMLCALL
156 xmlHashRemoveEntry(xmlHashTablePtr table, const xmlChar *name, 156 xmlHashRemoveEntry(xmlHashTablePtr table, const xmlChar *name,
157 xmlHashDeallocator f); 157 xmlHashDeallocator f);
158 XMLPUBFUN int XMLCALL 158 XMLPUBFUN int XMLCALL
159 xmlHashRemoveEntry2(xmlHashTablePtr table, const xmlChar *name, 159 xmlHashRemoveEntry2(xmlHashTablePtr table, const xmlChar *name,
160 const xmlChar *name2, xmlHashDeallocator f); 160 const xmlChar *name2, xmlHashDeallocator f);
161 XMLPUBFUN int XMLCALL 161 XMLPUBFUN int XMLCALL
162 xmlHashRemoveEntry3(xmlHashTablePtr table, const xmlChar *name, 162 xmlHashRemoveEntry3(xmlHashTablePtr table, const xmlChar *name,
163 const xmlChar *name2, const xmlChar *name3, 163 const xmlChar *name2, const xmlChar *name3,
164 xmlHashDeallocator f); 164 xmlHashDeallocator f);
165 165
166 /* 166 /*
167 * Retrieve the userdata. 167 * Retrieve the userdata.
168 */ 168 */
169 XMLPUBFUN void * XMLCALL» » » 169 XMLPUBFUN void * XMLCALL
170 xmlHashLookup (xmlHashTablePtr table, 170 xmlHashLookup (xmlHashTablePtr table,
171 const xmlChar *name); 171 const xmlChar *name);
172 XMLPUBFUN void * XMLCALL» » » 172 XMLPUBFUN void * XMLCALL
173 xmlHashLookup2 (xmlHashTablePtr table, 173 xmlHashLookup2 (xmlHashTablePtr table,
174 const xmlChar *name, 174 const xmlChar *name,
175 const xmlChar *name2); 175 const xmlChar *name2);
176 XMLPUBFUN void * XMLCALL» » » 176 XMLPUBFUN void * XMLCALL
177 xmlHashLookup3 (xmlHashTablePtr table, 177 xmlHashLookup3 (xmlHashTablePtr table,
178 const xmlChar *name, 178 const xmlChar *name,
179 const xmlChar *name2, 179 const xmlChar *name2,
180 const xmlChar *name3); 180 const xmlChar *name3);
181 XMLPUBFUN void * XMLCALL» » » 181 XMLPUBFUN void * XMLCALL
182 xmlHashQLookup (xmlHashTablePtr table, 182 xmlHashQLookup (xmlHashTablePtr table,
183 const xmlChar *name, 183 const xmlChar *name,
184 const xmlChar *prefix); 184 const xmlChar *prefix);
185 XMLPUBFUN void * XMLCALL» » » 185 XMLPUBFUN void * XMLCALL
186 xmlHashQLookup2 (xmlHashTablePtr table, 186 xmlHashQLookup2 (xmlHashTablePtr table,
187 const xmlChar *name, 187 const xmlChar *name,
188 const xmlChar *prefix, 188 const xmlChar *prefix,
189 const xmlChar *name2, 189 const xmlChar *name2,
190 const xmlChar *prefix2); 190 const xmlChar *prefix2);
191 XMLPUBFUN void * XMLCALL» » » 191 XMLPUBFUN void * XMLCALL
192 xmlHashQLookup3 (xmlHashTablePtr table, 192 xmlHashQLookup3 (xmlHashTablePtr table,
193 const xmlChar *name, 193 const xmlChar *name,
194 const xmlChar *prefix, 194 const xmlChar *prefix,
195 const xmlChar *name2, 195 const xmlChar *name2,
196 const xmlChar *prefix2, 196 const xmlChar *prefix2,
197 const xmlChar *name3, 197 const xmlChar *name3,
198 const xmlChar *prefix3); 198 const xmlChar *prefix3);
199 199
200 /* 200 /*
201 * Helpers. 201 * Helpers.
202 */ 202 */
203 XMLPUBFUN xmlHashTablePtr XMLCALL» » 203 XMLPUBFUN xmlHashTablePtr XMLCALL
204 xmlHashCopy (xmlHashTablePtr table, 204 xmlHashCopy (xmlHashTablePtr table,
205 xmlHashCopier f); 205 xmlHashCopier f);
206 XMLPUBFUN int XMLCALL» » » 206 XMLPUBFUN int XMLCALL
207 xmlHashSize (xmlHashTablePtr table); 207 xmlHashSize (xmlHashTablePtr table);
208 XMLPUBFUN void XMLCALL» » » 208 XMLPUBFUN void XMLCALL
209 xmlHashScan (xmlHashTablePtr table, 209 xmlHashScan (xmlHashTablePtr table,
210 xmlHashScanner f, 210 xmlHashScanner f,
211 void *data); 211 void *data);
212 XMLPUBFUN void XMLCALL» » » 212 XMLPUBFUN void XMLCALL
213 xmlHashScan3 (xmlHashTablePtr table, 213 xmlHashScan3 (xmlHashTablePtr table,
214 const xmlChar *name, 214 const xmlChar *name,
215 const xmlChar *name2, 215 const xmlChar *name2,
216 const xmlChar *name3, 216 const xmlChar *name3,
217 xmlHashScanner f, 217 xmlHashScanner f,
218 void *data); 218 void *data);
219 XMLPUBFUN void XMLCALL» » » 219 XMLPUBFUN void XMLCALL
220 xmlHashScanFull (xmlHashTablePtr table, 220 xmlHashScanFull (xmlHashTablePtr table,
221 xmlHashScannerFull f, 221 xmlHashScannerFull f,
222 void *data); 222 void *data);
223 XMLPUBFUN void XMLCALL» » » 223 XMLPUBFUN void XMLCALL
224 xmlHashScanFull3(xmlHashTablePtr table, 224 xmlHashScanFull3(xmlHashTablePtr table,
225 const xmlChar *name, 225 const xmlChar *name,
226 const xmlChar *name2, 226 const xmlChar *name2,
227 const xmlChar *name3, 227 const xmlChar *name3,
228 xmlHashScannerFull f, 228 xmlHashScannerFull f,
229 void *data); 229 void *data);
230 #ifdef __cplusplus 230 #ifdef __cplusplus
231 } 231 }
232 #endif 232 #endif
233 #endif /* ! __XML_HASH_H__ */ 233 #endif /* ! __XML_HASH_H__ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698