Lines Matching full:alias
54 const char *alias;
988 if (xmlCharEncodingAliases[i].alias != NULL)
989 xmlFree((char *) xmlCharEncodingAliases[i].alias);
999 * @alias: the alias name as parsed, in UTF-8 format (ASCII actually)
1001 * Lookup an encoding name for the given alias.
1006 xmlGetEncodingAlias(const char *alias) {
1010 if (alias == NULL)
1017 upper[i] = toupper(alias[i]);
1023 * Walk down the list looking for a definition of the alias
1026 if (!strcmp(xmlCharEncodingAliases[i].alias, upper)) {
1036 * @alias: the alias name as parsed, in UTF-8 format (ASCII actually)
1038 * Registers an alias @alias for an encoding named @name. Existing alias
1044 xmlAddEncodingAlias(const char *name, const char *alias) {
1048 if ((name == NULL) || (alias == NULL))
1052 upper[i] = toupper(alias[i]);
1071 * Walk down the list looking for a definition of the alias
1074 if (!strcmp(xmlCharEncodingAliases[i].alias, upper)) {
1087 xmlCharEncodingAliases[xmlCharEncodingAliasesNb].alias = xmlMemStrdup(upper);
1094 * @alias: the alias name as parsed, in UTF-8 format (ASCII actually)
1096 * Unregisters an encoding alias @alias
1101 xmlDelEncodingAlias(const char *alias) {
1104 if (alias == NULL)
1110 * Walk down the list looking for a definition of the alias
1113 if (!strcmp(xmlCharEncodingAliases[i].alias, alias)) {
1115 xmlFree((char *) xmlCharEncodingAliases[i].alias);
1139 const char *alias;
1147 * Do the alias resolution
1149 alias = xmlGetEncodingAlias(name);
1150 if (alias != NULL)
1151 name = alias;
1309 const char *alias;
1315 * Do the alias resolution
1317 alias = xmlGetEncodingAlias(name);
1318 if (alias != NULL)
1319 name = alias;
1626 xmlCharEncoding alias;
1643 * Do the alias resolution
1739 alias = xmlParseCharEncoding(norig);
1740 if (alias != XML_CHAR_ENCODING_ERROR) {
1742 canon = xmlGetCharEncodingName(alias);