Home | History | Annotate | Download | only in libxml2

Lines Matching defs:in

25  * The definition of the URI regexp in the above RFC has no size limit
26 * In practice they are usually relativey short except for the
27 * data URI scheme as defined in RFC 2397. Even for data URI the usual
32 * Set to 1 MByte in 2012, this is only enforced on output
56 * Old rule from 2396 used in legacy handling code
238 * in the fragment identifier but this is used very broadly for
318 * Parse a port part and fills in the appropriate fields
350 * Parse an user informations part and fills in the appropriate fields
422 * Parse an host part and fills in the appropriate fields
501 * Parse an authority part and fills in the appropriate fields
540 * Parse a segment and fills in the appropriate fields
572 * Parse an path absolute or empty and fills in the appropriate fields
612 * Parse an path absolute and fills in the appropriate fields
658 * Parse an path without root and fills in the appropriate fields
700 * Parse an path which is not a scheme and fills in the appropriate fields
742 * Parse an hierarchical part and fills in the appropriate fields
792 * Parse an URI string and fills in the appropriate fields
850 * Parse an URI string and fills in the appropriate fields
891 * Parse an URI reference string and fills in the appropriate fields
930 * Returns a newly built xmlURIPtr or NULL in case of error
955 * Parse an URI reference string based on RFC 3986 and fills in the
976 * Returns a newly built xmlURIPtr or NULL in case of error
1010 * Returns the new structure or NULL in case of error
1207 * the colon in file:///d: should not be escaped or
1330 * Prints the URI in the stream @stream.
1432 * Analyze each segment in sequence for cases (c) and (d).
1477 * Analyze each segment in sequence for cases (e) and (f).
1489 * To satisfy the "iterative" clause in (e), we need to collapse the
1565 * considered to be in error. Implementations may handle this
1566 * error by retaining these components in the resolved path (i.e.,
1601 * @len: the length in bytes to unescape (or <= 0 to indicate full string)
1609 * Returns a copy of the string, but unescaped, will return NULL only in case
1615 const char *in;
1630 in = str;
1633 if ((len > 2) && (*in == '%') && (is_hex(in[1])) && (is_hex(in[2]))) {
1634 in++;
1635 if ((*in >= '0') && (*in <= '9'))
1636 *out = (*in - '0');
1637 else if ((*in >= 'a') && (*in <= 'f'))
1638 *out = (*in - 'a') + 10;
1639 else if ((*in >= 'A') && (*in <= 'F'))
1640 *out = (*in - 'A') + 10;
1641 in++;
1642 if ((*in >= '0') && (*in <= '9'))
1643 *out = *out * 16 + (*in - '0');
1644 else if ((*in >= 'a') && (*in <= 'f'))
1645 *out = *out * 16 + (*in - 'a') + 10;
1646 else if ((*in >= 'A') && (*in <= 'F'))
1647 *out = *out * 16 + (*in - 'A') + 10;
1648 in++;
1652 *out++ = *in++;
1666 * and the characters in the exception list.
1668 * Returns a new escaped string or NULL in case of error.
1674 const xmlChar *in;
1690 in = (const xmlChar *) str;
1692 while(*in != 0) {
1703 ch = *in;
1718 in++;
1720 ret[out++] = *in++;
1761 * Allow escaping errors in the unescaped form
1869 * @URI: the URI instance found in the document
1879 * Returns a new URI string (to be freed by the caller) or NULL in case
1892 * fragment identifier, as described in Section 4.3.
1951 * NOTE that in modern browsers, the parsing differs from the above
1952 * in the following aspect: the query component is allowed to be
2067 * copied to the buffer. In other words, any characters after the
2134 * Expresses the URI of the reference in terms relative to the
2158 * Returns a new URI string (to be freed by the caller) or NULL in case
2184 /* If URI not already in "relative" form */
2188 goto done; /* Error in URI, return NULL */
2205 goto done; /* Error in base, return NULL */
2276 * In URI, "back up" to the last '/' encountered. This will be the
2296 * In base, count the number of '/' from the differing point
2326 * Put in as many "../" as needed
2371 * @path: the resource locator in a filesystem notation
2390 * replace backslashes in pathnames with "forward slashes"
2442 /* Bypass if any non-alpha characters are present in first part */
2449 /* Escape all except the characters specified in the supplied path */
2483 /* Put in leading '/' plus path */
2517 * @path: the resource locator in