• 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:segment

505  * @empty: allow an empty segment
507 * Parse a segment and fills in the appropriate fields
510 * segment = *pchar
511 * segment-nz = 1*pchar
512 * segment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / "@" )
513 * ; non-zero-length segment without any colon ":"
542 * path-abempty = *( "/" segment )
578 * path-absolute = "/" [ segment-nz *( "/" segment ) ]
620 * path-rootless = segment-nz *( "/" segment )
658 * path-noscheme = segment-nz-nc *( "/" segment )
1475 * first non-empty segment.
1487 * Analyze each segment in sequence for cases (c) and (d).
1491 * c) All occurrences of "./", where "." is a complete path segment,
1503 * d) If the buffer string ends with "." as a complete path segment,
1509 /* Otherwise keep the segment. */
1524 /* Reset to the beginning of the first segment for the next sequence. */
1532 * Analyze each segment in sequence for cases (e) and (f).
1534 * e) All occurrences of "<segment>/../", where <segment> is a
1535 * complete path segment not equal to "..", are removed from the
1540 * f) If the buffer string ends with "<segment>/..", where <segment>
1541 * is a complete path segment not equal to "..", that
1542 * "<segment>/.." is removed.
1553 * the first character of the segment we want to examine.
1556 /* Find the end of the current segment. */
1561 /* If this is the last segment, we're done (we need at least two
1567 /* If the first segment is "..", or if the next segment _isn't_ "..",
1568 * keep this segment and try the next one.
1578 /* If we get here, remove this segment and the next one and back up
1579 * to the previous segment (if there is one), to implement the
1603 /* "segp" is pointing to the end of a previous segment; find it's
1604 * start. We need to back up to the previous segment and start
1805 xmlChar *ret, *segment = NULL;
1837 segment = xmlURIEscapeStr(BAD_CAST uri->scheme, BAD_CAST "+-.");
1838 NULLCHK(segment)
1839 ret = xmlStrcat(ret, segment);
1841 xmlFree(segment);
1845 segment =
1847 NULLCHK(segment)
1849 ret = xmlStrcat(ret, segment);
1850 xmlFree(segment);
1854 segment = xmlURIEscapeStr(BAD_CAST uri->user, BAD_CAST ";:&=+$,");
1855 NULLCHK(segment)
1857 ret = xmlStrcat(ret, segment);
1859 xmlFree(segment);
1863 segment = xmlURIEscapeStr(BAD_CAST uri->server, BAD_CAST "/?;:@");
1864 NULLCHK(segment)
1867 ret = xmlStrcat(ret, segment);
1868 xmlFree(segment);
1880 segment =
1882 NULLCHK(segment)
1883 ret = xmlStrcat(ret, segment);
1884 xmlFree(segment);
1892 segment =
1894 NULLCHK(segment)
1896 ret = xmlStrcat(ret, segment);
1897 xmlFree(segment);
1901 segment = xmlURIEscapeStr(BAD_CAST uri->opaque, BAD_CAST "");
1902 NULLCHK(segment)
1903 ret = xmlStrcat(ret, segment);
1904 xmlFree(segment);
1908 segment = xmlURIEscapeStr(BAD_CAST uri->fragment, BAD_CAST "#");
1909 NULLCHK(segment)
1911 ret = xmlStrcat(ret, segment);
1912 xmlFree(segment);
2127 * a) All but the last segment of the base URI's path component is