• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/libxml2-2.7.2/

Lines Matching defs:ref

744  * relative-ref  = relative-part [ "?" query ] [ "#" fragment ]
843 * URI-reference = URI / relative-ref
907 * URI-reference = URI / relative-ref
923 * URI-reference = URI / relative-ref
1946 xmlURIPtr ref = NULL;
1962 ref = xmlCreateURI();
1963 if (ref == NULL)
1965 ret = xmlParseURIReference(ref, (const char *) URI);
1972 if ((ref != NULL) && (ref->scheme != NULL)) {
1988 if (ref)
1989 val = xmlSaveUri(ref);
1992 if (ref == NULL) {
2019 if ((ref->scheme == NULL) && (ref->path == NULL) &&
2020 ((ref->authority == NULL) && (ref->server == NULL))) {
2033 if (ref->query_raw != NULL)
2034 res->query_raw = xmlMemStrdup (ref->query_raw);
2035 else if (ref->query != NULL)
2036 res->query = xmlMemStrdup(ref->query);
2041 if (ref->fragment != NULL)
2042 res->fragment = xmlMemStrdup(ref->fragment);
2052 if (ref->scheme != NULL) {
2053 val = xmlSaveUri(ref);
2059 if (ref->query_raw != NULL)
2060 res->query_raw = xmlMemStrdup(ref->query_raw);
2061 else if (ref->query != NULL)
2062 res->query = xmlMemStrdup(ref->query);
2063 if (ref->fragment != NULL)
2064 res->fragment = xmlMemStrdup(ref->fragment);
2073 if ((ref->authority != NULL) || (ref->server != NULL)) {
2074 if (ref->authority != NULL)
2075 res->authority = xmlMemStrdup(ref->authority);
2077 res->server = xmlMemStrdup(ref->server);
2078 if (ref->user != NULL)
2079 res->user = xmlMemStrdup(ref->user);
2080 res->port = ref->port;
2082 if (ref->path != NULL)
2083 res->path = xmlMemStrdup(ref->path);
2099 if ((ref->path != NULL) && (ref->path[0] == '/')) {
2100 res->path = xmlMemStrdup(ref->path);
2114 if (ref->path != NULL)
2115 len += strlen(ref->path);
2153 if (ref->path != NULL && ref->path[0] != 0) {
2160 while (ref->path[indx] != 0) {
2161 res->path[out++] = ref->path[indx++];
2181 if (ref != NULL)
2182 xmlFreeURI(ref);
2231 xmlURIPtr ref = NULL;
2242 ref = xmlCreateURI ();
2243 if (ref == NULL)
2247 ret = xmlParseURIReference (ref, (const char *) URI);
2251 ref->path = (char *)xmlStrdup(URI);
2274 if ((ref->scheme != NULL) &&
2276 (xmlStrcmp ((xmlChar *)bas->scheme, (xmlChar *)ref->scheme)) ||
2277 (xmlStrcmp ((xmlChar *)bas->server, (xmlChar *)ref->server)))) {
2281 if (xmlStrEqual((xmlChar *)bas->path, (xmlChar *)ref->path)) {
2286 val = xmlStrdup((xmlChar *)ref->path);
2289 if (ref->path == NULL) {
2290 ref->path = (char *) "/";
2301 if (ref->path != NULL) {
2302 uptr = (xmlChar *) ref->path;
2311 if (ref->path == NULL) {
2322 if ((ref->path[pos] == '.') && (ref->path[pos+1] == '/'))
2326 else if ((*bptr == '/') && (ref->path[pos] != '/'))
2328 while ((bptr[pos] == ref->path[pos]) && (bptr[pos] != 0))
2331 if (bptr[pos] == ref->path[pos]) {
2341 if ((ref->path[ix] == '/') && (ix > 0))
2343 else if ((ref->path[ix] == 0) && (ix > 1) && (ref->path[ix - 1] == '/'))
2346 if (ref->path[ix] == '/')
2350 uptr = (xmlChar *)ref->path;
2353 uptr = (xmlChar *)&ref->path[ix];
2359 if (bptr[pos] != ref->path[pos]) {/* check for trivial URI == base */
2422 ref->path = NULL;
2423 if (ref != NULL)
2424 xmlFreeURI (ref);