• Home
  • Raw
  • Download

Lines Matching refs:bas

1886     xmlURIPtr bas = NULL;  in xmlBuildURI()  local
1921 bas = xmlCreateURI(); in xmlBuildURI()
1922 if (bas == NULL) in xmlBuildURI()
1924 ret = xmlParseURIReference(bas, (const char *) base); in xmlBuildURI()
1935 if (bas->fragment != NULL) { in xmlBuildURI()
1936 xmlFree(bas->fragment); in xmlBuildURI()
1937 bas->fragment = NULL; in xmlBuildURI()
1939 val = xmlSaveUri(bas); in xmlBuildURI()
1960 if (bas->scheme != NULL) in xmlBuildURI()
1961 res->scheme = xmlMemStrdup(bas->scheme); in xmlBuildURI()
1962 if (bas->authority != NULL) in xmlBuildURI()
1963 res->authority = xmlMemStrdup(bas->authority); in xmlBuildURI()
1964 else if ((bas->server != NULL) || (bas->port == -1)) { in xmlBuildURI()
1965 if (bas->server != NULL) in xmlBuildURI()
1966 res->server = xmlMemStrdup(bas->server); in xmlBuildURI()
1967 if (bas->user != NULL) in xmlBuildURI()
1968 res->user = xmlMemStrdup(bas->user); in xmlBuildURI()
1969 res->port = bas->port; in xmlBuildURI()
1971 if (bas->path != NULL) in xmlBuildURI()
1972 res->path = xmlMemStrdup(bas->path); in xmlBuildURI()
1977 else if (bas->query_raw != NULL) in xmlBuildURI()
1978 res->query_raw = xmlMemStrdup(bas->query_raw); in xmlBuildURI()
1979 else if (bas->query != NULL) in xmlBuildURI()
1980 res->query = xmlMemStrdup(bas->query); in xmlBuildURI()
1996 if (bas->scheme != NULL) in xmlBuildURI()
1997 res->scheme = xmlMemStrdup(bas->scheme); in xmlBuildURI()
2026 if (bas->authority != NULL) in xmlBuildURI()
2027 res->authority = xmlMemStrdup(bas->authority); in xmlBuildURI()
2028 else if ((bas->server != NULL) || (bas->port == -1)) { in xmlBuildURI()
2029 if (bas->server != NULL) in xmlBuildURI()
2030 res->server = xmlMemStrdup(bas->server); in xmlBuildURI()
2031 if (bas->user != NULL) in xmlBuildURI()
2032 res->user = xmlMemStrdup(bas->user); in xmlBuildURI()
2033 res->port = bas->port; in xmlBuildURI()
2057 if (bas->path != NULL) in xmlBuildURI()
2058 len += strlen(bas->path); in xmlBuildURI()
2073 if (bas->path != NULL) { in xmlBuildURI()
2074 while (bas->path[cur] != 0) { in xmlBuildURI()
2075 while ((bas->path[cur] != 0) && (bas->path[cur] != '/')) in xmlBuildURI()
2077 if (bas->path[cur] == 0) in xmlBuildURI()
2082 res->path[out] = bas->path[out]; in xmlBuildURI()
2098 if ((out == 0) && (bas->server != NULL)) in xmlBuildURI()
2123 if (bas != NULL) in xmlBuildURI()
2124 xmlFreeURI(bas); in xmlBuildURI()
2171 xmlURIPtr bas = NULL; in xmlBuildRelativeURI() local
2199 bas = xmlCreateURI (); in xmlBuildRelativeURI()
2200 if (bas == NULL) in xmlBuildRelativeURI()
2203 ret = xmlParseURIReference (bas, (const char *) base); in xmlBuildRelativeURI()
2207 bas->path = (char *)xmlStrdup(base); in xmlBuildRelativeURI()
2214 ((bas->scheme == NULL) || in xmlBuildRelativeURI()
2215 (xmlStrcmp ((xmlChar *)bas->scheme, (xmlChar *)ref->scheme)) || in xmlBuildRelativeURI()
2216 (xmlStrcmp ((xmlChar *)bas->server, (xmlChar *)ref->server)))) { in xmlBuildRelativeURI()
2220 if (xmlStrEqual((xmlChar *)bas->path, (xmlChar *)ref->path)) { in xmlBuildRelativeURI()
2224 if (bas->path == NULL) { in xmlBuildRelativeURI()
2239 bptr = (xmlChar *)bas->path; in xmlBuildRelativeURI()
2347 if (bas != NULL) in xmlBuildRelativeURI()
2348 xmlFreeURI (bas); in xmlBuildRelativeURI()