• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libxml2-2.7.2/

Lines Matching +defs:code +defs:string

16 #include <string.h> /* for memset() only ! */
75 * @code: the error number
81 xmlTreeErr(int code, xmlNodePtr node, const char *extra)
85 switch(code) {
96 msg = "string is not in UTF-8\n";
101 __xmlSimpleError(XML_FROM_TREE, code, node, msg, extra);
206 * and prefix is not NULL nor empty, otherwise allocate a new string.
209 * Returns the new string which must be freed by the caller if different from
245 * parse an XML qualified name string
310 * parse an XML qualified name string,i
355 * @space: allow spaces in front and end of the string
359 * Returns 0 if this validates, a positive error code number otherwise
429 * @space: allow spaces in front and end of the string
433 * Returns 0 if this validates, a positive error code number otherwise
527 * @space: allow spaces in front and end of the string
531 * Returns 0 if this validates, a positive error code number otherwise
596 * @space: allow spaces in front and end of the string
600 * Returns 0 if this validates, a positive error code number otherwise
1021 * @str: a string
1023 * Free a string if it is not owned by the "dict" dictionnary in the
1034 * @str: a string
1036 * Copy a string using a "dict" dictionnary in the current scope,
1051 * @str: a string
1053 * Copy a string using a "dict" dictionnary in the current scope,
1125 * @version: xmlChar string giving the version of XML "1.0"
1238 * @len: the length of the string value
1240 * Parse the value string and build the node list associated. Should
1334 * Read the entity string
1437 * Parse the value string and build the node list associated. Should
1519 * Read the entity string
1623 * Build the string equivalent to the text contained in the Node list
1626 * Returns a pointer to the string copy, the caller must free it with xmlFree().
1704 * Builds the string equivalent to the text contained in the Node list
1708 * Returns a pointer to the string copy, the caller must free it with xmlFree().
2149 * Use xmlDocNewPI preferably to get string interning
2207 * new node's name. Use xmlNewNode() if a copy of @name string is
2418 * a child TEXT node will be created containing the string @content.
2492 * @name: the char ref string, starting with # or "&# ... ;"
2535 * @name: the reference name, or the reference string with & and ;
4116 * Use xmlDocCopyNodeList() if possible to ensure string interning.
4317 * the returned string
4909 * Searches for the BASE URL. The code should work on both XML
4997 * directly by this node if it's a TEXT node or the aggregate string
5138 * directly by this node if it's a TEXT node or the aggregate string
6221 * Note that we return at least the empty string.
6593 * Concat the given string at the end of the existing node content
7059 * @str: the #xmlChar string
7062 * Add a string range to an XML buffer. if len == -1, the length of
7065 * Returns 0 successful, a positive error code number otherwise
7108 * @str: the #xmlChar string
7111 * Add a string range to the beginning of an XML buffer.
7114 * Returns 0 successful, a positive error code number otherwise
7177 * @str: the #xmlChar string
7179 * Append a zero terminated string to an XML buffer.
7181 * Returns 0 successful, a positive error code number otherwise
7196 * @str: the C char string
7198 * Append a zero terminated C string to an XML buffer.
7200 * Returns 0 successful, a positive error code number otherwise
7233 * @string: the string to add
7239 xmlBufferWriteCHAR(xmlBufferPtr buf, const xmlChar *string) {
7243 xmlBufferCat(buf, string);
7249 * @string: the string to add
7255 xmlBufferWriteChar(xmlBufferPtr buf, const char *string) {
7259 xmlBufferCCat(buf, string);
7266 * @string: the string to add
7269 * a quoted or double quoted #xmlChar string, checking first if it holds
7273 xmlBufferWriteQuotedString(xmlBufferPtr buf, const xmlChar *string) {
7278 if (xmlStrchr(string, '\"')) {
7279 if (xmlStrchr(string, '\'')) {
7282 "xmlBufferWriteQuotedString: string contains quote and double-quotes !\n");
7285 base = cur = string;
7304 xmlBufferCat(buf, string);
7309 xmlBufferCat(buf, string);
8580 * Optimize string adoption for equal or none dicts.
9637 * Optimize string adoption.