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
788 * Parse an URI string and fills in the appropriate fields
846 * Parse an URI string and fills in the appropriate fields
887 * Parse an URI reference string and fills in the appropriate fields
926 * Returns a newly built xmlURIPtr or NULL in case of error
951 * Parse an URI reference string based on RFC 3986 and fills in the
972 * Returns a newly built xmlURIPtr or NULL in case of error
1006 * Returns the new structure or NULL in case of error
1203 * the colon in file:///d: should not be escaped or
1326 * Prints the URI in the stream @stream.
1428 * Analyze each segment in sequence for cases (c) and (d).
1473 * Analyze each segment in sequence for cases (e) and (f).
1485 * To satisfy the "iterative" clause in (e), we need to collapse the
1561 * considered to be in error. Implementations may handle this
1562 * error by retaining these components in the resolved path (i.e.,
1597 * @len: the length in bytes to unescape (or <= 0 to indicate full string)
1605 * Returns a copy of the string, but unescaped, will return NULL only in case
1611 const char *in;
1626 in = str;
1629 if ((len > 2) && (*in == '%') && (is_hex(in[1])) && (is_hex(in[2]))) {
1630 in++;
1631 if ((*in >= '0') && (*in <= '9'))
1632 *out = (*in - '0');
1633 else if ((*in >= 'a') && (*in <= 'f'))
1634 *out = (*in - 'a') + 10;
1635 else if ((*in >= 'A') && (*in <= 'F'))
1636 *out = (*in - 'A') + 10;
1637 in++;
1638 if ((*in >= '0') && (*in <= '9'))
1639 *out = *out * 16 + (*in - '0');
1640 else if ((*in >= 'a') && (*in <= 'f'))
1641 *out = *out * 16 + (*in - 'a') + 10;
1642 else if ((*in >= 'A') && (*in <= 'F'))
1643 *out = *out * 16 + (*in - 'A') + 10;
1644 in++;
1648 *out++ = *in++;
1662 * and the characters in the exception list.
1664 * Returns a new escaped string or NULL in case of error.
1670 const xmlChar *in;
1686 in = (const xmlChar *) str;
1688 while(*in != 0) {
1699 ch = *in;
1714 in++;
1716 ret[out++] = *in++;
1757 * Allow escaping errors in the unescaped form
1865 * @URI: the URI instance found in the document
1875 * Returns a new URI string (to be freed by the caller) or NULL in case
1888 * fragment identifier, as described in Section 4.3.
1947 * NOTE that in modern browsers, the parsing differs from the above
1948 * in the following aspect: the query component is allowed to be
2063 * copied to the buffer. In other words, any characters after the
2130 * Expresses the URI of the reference in terms relative to the
2154 * Returns a new URI string (to be freed by the caller) or NULL in case
2180 /* If URI not already in "relative" form */
2184 goto done; /* Error in URI, return NULL */
2201 goto done; /* Error in base, return NULL */
2272 * In URI, "back up" to the last '/' encountered. This will be the
2292 * In base, count the number of '/' from the differing point
2322 * Put in as many "../" as needed
2367 * @path: the resource locator in a filesystem notation
2386 * replace backslashes in pathnames with "forward slashes"
2438 /* Bypass if any non-alpha characters are present in first part */
2445 /* Escape all except the characters specified in the supplied path */
2479 /* Put in leading '/' plus path */
2513 * @path: the resource locator in a filesystem notation