Lines Matching defs:bas

1903     xmlURIPtr bas = NULL;
1938 bas = xmlCreateURI();
1939 if (bas == NULL)
1941 ret = xmlParseURIReference(bas, (const char *) base);
1952 if (bas->fragment != NULL) {
1953 xmlFree(bas->fragment);
1954 bas->fragment = NULL;
1956 val = xmlSaveUri(bas);
1977 if (bas->scheme != NULL)
1978 res->scheme = xmlMemStrdup(bas->scheme);
1979 if (bas->authority != NULL)
1980 res->authority = xmlMemStrdup(bas->authority);
1981 else if (bas->server != NULL) {
1982 res->server = xmlMemStrdup(bas->server);
1983 if (bas->user != NULL)
1984 res->user = xmlMemStrdup(bas->user);
1985 res->port = bas->port;
1987 if (bas->path != NULL)
1988 res->path = xmlMemStrdup(bas->path);
1993 else if (bas->query_raw != NULL)
1994 res->query_raw = xmlMemStrdup(bas->query_raw);
1995 else if (bas->query != NULL)
1996 res->query = xmlMemStrdup(bas->query);
2012 if (bas->scheme != NULL)
2013 res->scheme = xmlMemStrdup(bas->scheme);
2042 if (bas->authority != NULL)
2043 res->authority = xmlMemStrdup(bas->authority);
2044 else if (bas->server != NULL) {
2045 res->server = xmlMemStrdup(bas->server);
2046 if (bas->user != NULL)
2047 res->user = xmlMemStrdup(bas->user);
2048 res->port = bas->port;
2072 if (bas->path != NULL)
2073 len += strlen(bas->path);
2089 if (bas->path != NULL) {
2090 while (bas->path[cur] != 0) {
2091 while ((bas->path[cur] != 0) && (bas->path[cur] != '/'))
2093 if (bas->path[cur] == 0)
2098 res->path[out] = bas->path[out];
2114 if ((out == 0) && (bas->server != NULL))
2139 if (bas != NULL)
2140 xmlFreeURI(bas);
2188 xmlURIPtr bas = NULL;
2216 bas = xmlCreateURI ();
2217 if (bas == NULL)
2220 ret = xmlParseURIReference (bas, (const char *) base);
2224 bas->path = (char *)xmlStrdup(base);
2231 ((bas->scheme == NULL) ||
2232 (xmlStrcmp ((xmlChar *)bas->scheme, (xmlChar *)ref->scheme)) ||
2233 (xmlStrcmp ((xmlChar *)bas->server, (xmlChar *)ref->server)))) {
2237 if (xmlStrEqual((xmlChar *)bas->path, (xmlChar *)ref->path)) {
2241 if (bas->path == NULL) {
2256 if (bas->path == NULL) {
2266 bptr = (xmlChar *)bas->path;
2381 if (bas != NULL)
2382 xmlFreeURI (bas);