Home | History | Annotate | Download | only in libxml2

Lines Matching defs:in

24  * The definition of the URI regexp in the above RFC has no size limit
25 * In practice they are usually relativey short except for the
26 * data URI scheme as defined in RFC 2397. Even for data URI the usual
31 * Set to 1 MByte in 2012, this is only enforced on output
55 * Old rule from 2396 used in legacy handling code
237 * in the fragment identifier but this is used very broadly for
317 * Parse a port part and fills in the appropriate fields
348 * Parse an user informations part and fills in the appropriate fields
420 * Parse an host part and fills in the appropriate fields
499 * Parse an authority part and fills in the appropriate fields
538 * Parse a segment and fills in the appropriate fields
570 * Parse an path absolute or empty and fills in the appropriate fields
610 * Parse an path absolute and fills in the appropriate fields
656 * Parse an path without root and fills in the appropriate fields
698 * Parse an path which is not a scheme and fills in the appropriate fields
740 * Parse an hierarchical part and fills in the appropriate fields
790 * Parse an URI string and fills in the appropriate fields
848 * Parse an URI string and fills in the appropriate fields
889 * Parse an URI reference string and fills in the appropriate fields
928 * Returns a newly built xmlURIPtr or NULL in case of error
953 * Parse an URI reference string based on RFC 3986 and fills in the
974 * Returns a newly built xmlURIPtr or NULL in case of error
1008 * Returns the new structure or NULL in case of error
1205 * the colon in file:///d: should not be escaped or
1328 * Prints the URI in the stream @stream.
1430 * Analyze each segment in sequence for cases (c) and (d).
1475 * Analyze each segment in sequence for cases (e) and (f).
1487 * To satisfy the "iterative" clause in (e), we need to collapse the
1563 * considered to be in error. Implementations may handle this
1564 * error by retaining these components in the resolved path (i.e.,
1599 * @len: the length in bytes to unescape (or <= 0 to indicate full string)
1607 * Returns a copy of the string, but unescaped, will return NULL only in case
1613 const char *in;
1628 in = str;
1631 if ((len > 2) && (*in == '%') && (is_hex(in[1])) && (is_hex(in[2]))) {
1632 in++;
1633 if ((*in >= '0') && (*in <= '9'))
1634 *out = (*in - '0');
1635 else if ((*in >= 'a') && (*in <= 'f'))
1636 *out = (*in - 'a') + 10;
1637 else if ((*in >= 'A') && (*in <= 'F'))
1638 *out = (*in - 'A') + 10;
1639 in++;
1640 if ((*in >= '0') && (*in <= '9'))
1641 *out = *out * 16 + (*in - '0');
1642 else if ((*in >= 'a') && (*in <= 'f'))
1643 *out = *out * 16 + (*in - 'a') + 10;
1644 else if ((*in >= 'A') && (*in <= 'F'))
1645 *out = *out * 16 + (*in - 'A') + 10;
1646 in++;
1650 *out++ = *in++;
1664 * and the characters in the exception list.
1666 * Returns a new escaped string or NULL in case of error.
1672 const xmlChar *in;
1688 in = (const xmlChar *) str;
1690 while(*in != 0) {
1701 ch = *in;
1716 in++;
1718 ret[out++] = *in++;
1759 * Allow escaping errors in the unescaped form
1867 * @URI: the URI instance found in the document
1877 * Returns a new URI string (to be freed by the caller) or NULL in case
1890 * fragment identifier, as described in Section 4.3.
1949 * NOTE that in modern browsers, the parsing differs from the above
1950 * in the following aspect: the query component is allowed to be
2065 * copied to the buffer. In other words, any characters after the
2132 * Expresses the URI of the reference in terms relative to the
2156 * Returns a new URI string (to be freed by the caller) or NULL in case
2182 /* If URI not already in "relative" form */
2186 goto done; /* Error in URI, return NULL */
2203 goto done; /* Error in base, return NULL */
2274 * In URI, "back up" to the last '/' encountered. This will be the
2294 * In base, count the number of '/' from the differing point
2324 * Put in as many "../" as needed
2369 * @path: the resource locator in a filesystem notation
2388 * replace backslashes in pathnames with "forward slashes"
2440 /* Bypass if any non-alpha characters are present in first part */
2447 /* Escape all except the characters specified in the supplied path */
2481 /* Put in leading '/' plus path */
2515 * @path: the resource locator in a filesystem notation