| Index: third_party/libxml/src/dict.c
|
| diff --git a/third_party/libxml/src/dict.c b/third_party/libxml/src/dict.c
|
| index 8c8f93148b6de6980b8fe62f2b89865e9ab9ee1c..c0585fe239633928036080cbede9ff3352eb64ab 100644
|
| --- a/third_party/libxml/src/dict.c
|
| +++ b/third_party/libxml/src/dict.c
|
| @@ -87,7 +87,7 @@ typedef unsigned __int32 uint32_t;
|
| #endif /* WITH_BIG_KEY */
|
|
|
| /*
|
| - * An entry in the dictionnary
|
| + * An entry in the dictionary
|
| */
|
| typedef struct _xmlDictEntry xmlDictEntry;
|
| typedef xmlDictEntry *xmlDictEntryPtr;
|
| @@ -110,7 +110,7 @@ struct _xmlDictStrings {
|
| xmlChar array[1];
|
| };
|
| /*
|
| - * The entire dictionnary
|
| + * The entire dictionary
|
| */
|
| struct _xmlDict {
|
| int ref_counter;
|
| @@ -229,7 +229,7 @@ xmlDictCleanup(void) {
|
|
|
| /*
|
| * xmlDictAddString:
|
| - * @dict: the dictionnary
|
| + * @dict: the dictionary
|
| * @name: the name of the userdata
|
| * @len: the length of the name
|
| *
|
| @@ -291,7 +291,7 @@ found_pool:
|
|
|
| /*
|
| * xmlDictAddQString:
|
| - * @dict: the dictionnary
|
| + * @dict: the dictionary
|
| * @prefix: the prefix of the userdata
|
| * @plen: the prefix length
|
| * @name: the name of the userdata
|
| @@ -533,7 +533,7 @@ xmlDictComputeFastQKey(const xmlChar *prefix, int plen,
|
| *
|
| * Create a new dictionary
|
| *
|
| - * Returns the newly created dictionnary, or NULL if an error occured.
|
| + * Returns the newly created dictionary, or NULL if an error occured.
|
| */
|
| xmlDictPtr
|
| xmlDictCreate(void) {
|
| @@ -573,14 +573,14 @@ xmlDictCreate(void) {
|
|
|
| /**
|
| * xmlDictCreateSub:
|
| - * @sub: an existing dictionnary
|
| + * @sub: an existing dictionary
|
| *
|
| * Create a new dictionary, inheriting strings from the read-only
|
| - * dictionnary @sub. On lookup, strings are first searched in the
|
| - * new dictionnary, then in @sub, and if not found are created in the
|
| - * new dictionnary.
|
| + * dictionary @sub. On lookup, strings are first searched in the
|
| + * new dictionary, then in @sub, and if not found are created in the
|
| + * new dictionary.
|
| *
|
| - * Returns the newly created dictionnary, or NULL if an error occured.
|
| + * Returns the newly created dictionary, or NULL if an error occured.
|
| */
|
| xmlDictPtr
|
| xmlDictCreateSub(xmlDictPtr sub) {
|
| @@ -599,7 +599,7 @@ xmlDictCreateSub(xmlDictPtr sub) {
|
|
|
| /**
|
| * xmlDictReference:
|
| - * @dict: the dictionnary
|
| + * @dict: the dictionary
|
| *
|
| * Increment the reference counter of a dictionary
|
| *
|
| @@ -620,10 +620,10 @@ xmlDictReference(xmlDictPtr dict) {
|
|
|
| /**
|
| * xmlDictGrow:
|
| - * @dict: the dictionnary
|
| - * @size: the new size of the dictionnary
|
| + * @dict: the dictionary
|
| + * @size: the new size of the dictionary
|
| *
|
| - * resize the dictionnary
|
| + * resize the dictionary
|
| *
|
| * Returns 0 in case of success, -1 in case of failure
|
| */
|
| @@ -755,7 +755,7 @@ xmlDictGrow(xmlDictPtr dict, size_t size) {
|
|
|
| /**
|
| * xmlDictFree:
|
| - * @dict: the dictionnary
|
| + * @dict: the dictionary
|
| *
|
| * Free the hash @dict and its contents. The userdata is
|
| * deallocated with @f if provided.
|
| @@ -817,11 +817,11 @@ xmlDictFree(xmlDictPtr dict) {
|
|
|
| /**
|
| * xmlDictLookup:
|
| - * @dict: the dictionnary
|
| + * @dict: the dictionary
|
| * @name: the name of the userdata
|
| * @len: the length of the name, if -1 it is recomputed
|
| *
|
| - * Add the @name to the dictionnary @dict if not present.
|
| + * Add the @name to the dictionary @dict if not present.
|
| *
|
| * Returns the internal copy of the name or NULL in case of internal error
|
| */
|
| @@ -957,11 +957,11 @@ xmlDictLookup(xmlDictPtr dict, const xmlChar *name, int len) {
|
|
|
| /**
|
| * xmlDictExists:
|
| - * @dict: the dictionnary
|
| + * @dict: the dictionary
|
| * @name: the name of the userdata
|
| * @len: the length of the name, if -1 it is recomputed
|
| *
|
| - * Check if the @name exists in the dictionnary @dict.
|
| + * Check if the @name exists in the dictionary @dict.
|
| *
|
| * Returns the internal copy of the name or NULL if not found.
|
| */
|
| @@ -1065,7 +1065,7 @@ xmlDictExists(xmlDictPtr dict, const xmlChar *name, int len) {
|
|
|
| /**
|
| * xmlDictQLookup:
|
| - * @dict: the dictionnary
|
| + * @dict: the dictionary
|
| * @prefix: the prefix
|
| * @name: the name
|
| *
|
| @@ -1170,7 +1170,7 @@ xmlDictQLookup(xmlDictPtr dict, const xmlChar *prefix, const xmlChar *name) {
|
|
|
| /**
|
| * xmlDictOwns:
|
| - * @dict: the dictionnary
|
| + * @dict: the dictionary
|
| * @str: the string
|
| *
|
| * check if a string is owned by the disctionary
|
| @@ -1197,11 +1197,11 @@ xmlDictOwns(xmlDictPtr dict, const xmlChar *str) {
|
|
|
| /**
|
| * xmlDictSize:
|
| - * @dict: the dictionnary
|
| + * @dict: the dictionary
|
| *
|
| * Query the number of elements installed in the hash @dict.
|
| *
|
| - * Returns the number of elements in the dictionnary or
|
| + * Returns the number of elements in the dictionary or
|
| * -1 in case of error
|
| */
|
| int
|
| @@ -1215,7 +1215,7 @@ xmlDictSize(xmlDictPtr dict) {
|
|
|
| /**
|
| * xmlDictSetLimit:
|
| - * @dict: the dictionnary
|
| + * @dict: the dictionary
|
| * @limit: the limit in bytes
|
| *
|
| * Set a size limit for the dictionary
|
| @@ -1236,7 +1236,7 @@ xmlDictSetLimit(xmlDictPtr dict, size_t limit) {
|
|
|
| /**
|
| * xmlDictGetUsage:
|
| - * @dict: the dictionnary
|
| + * @dict: the dictionary
|
| *
|
| * Get how much memory is used by a dictionary for strings
|
| * Added in 2.9.0
|
|
|