• Home
  • Raw
  • Download

Lines Matching refs:bas

1883     xmlURIPtr bas = NULL;  in xmlBuildURI()  local
1918 bas = xmlCreateURI(); in xmlBuildURI()
1919 if (bas == NULL) in xmlBuildURI()
1921 ret = xmlParseURIReference(bas, (const char *) base); in xmlBuildURI()
1932 if (bas->fragment != NULL) { in xmlBuildURI()
1933 xmlFree(bas->fragment); in xmlBuildURI()
1934 bas->fragment = NULL; in xmlBuildURI()
1936 val = xmlSaveUri(bas); in xmlBuildURI()
1957 if (bas->scheme != NULL) in xmlBuildURI()
1958 res->scheme = xmlMemStrdup(bas->scheme); in xmlBuildURI()
1959 if (bas->authority != NULL) in xmlBuildURI()
1960 res->authority = xmlMemStrdup(bas->authority); in xmlBuildURI()
1961 else if (bas->server != NULL) { in xmlBuildURI()
1962 res->server = xmlMemStrdup(bas->server); in xmlBuildURI()
1963 if (bas->user != NULL) in xmlBuildURI()
1964 res->user = xmlMemStrdup(bas->user); in xmlBuildURI()
1965 res->port = bas->port; in xmlBuildURI()
1967 if (bas->path != NULL) in xmlBuildURI()
1968 res->path = xmlMemStrdup(bas->path); in xmlBuildURI()
1973 else if (bas->query_raw != NULL) in xmlBuildURI()
1974 res->query_raw = xmlMemStrdup(bas->query_raw); in xmlBuildURI()
1975 else if (bas->query != NULL) in xmlBuildURI()
1976 res->query = xmlMemStrdup(bas->query); in xmlBuildURI()
1992 if (bas->scheme != NULL) in xmlBuildURI()
1993 res->scheme = xmlMemStrdup(bas->scheme); in xmlBuildURI()
2022 if (bas->authority != NULL) in xmlBuildURI()
2023 res->authority = xmlMemStrdup(bas->authority); in xmlBuildURI()
2024 else if (bas->server != NULL) { in xmlBuildURI()
2025 res->server = xmlMemStrdup(bas->server); in xmlBuildURI()
2026 if (bas->user != NULL) in xmlBuildURI()
2027 res->user = xmlMemStrdup(bas->user); in xmlBuildURI()
2028 res->port = bas->port; in xmlBuildURI()
2052 if (bas->path != NULL) in xmlBuildURI()
2053 len += strlen(bas->path); in xmlBuildURI()
2068 if (bas->path != NULL) { in xmlBuildURI()
2069 while (bas->path[cur] != 0) { in xmlBuildURI()
2070 while ((bas->path[cur] != 0) && (bas->path[cur] != '/')) in xmlBuildURI()
2072 if (bas->path[cur] == 0) in xmlBuildURI()
2077 res->path[out] = bas->path[out]; in xmlBuildURI()
2093 if ((out == 0) && (bas->server != NULL)) in xmlBuildURI()
2118 if (bas != NULL) in xmlBuildURI()
2119 xmlFreeURI(bas); in xmlBuildURI()
2167 xmlURIPtr bas = NULL; in xmlBuildRelativeURI() local
2195 bas = xmlCreateURI (); in xmlBuildRelativeURI()
2196 if (bas == NULL) in xmlBuildRelativeURI()
2199 ret = xmlParseURIReference (bas, (const char *) base); in xmlBuildRelativeURI()
2203 bas->path = (char *)xmlStrdup(base); in xmlBuildRelativeURI()
2210 ((bas->scheme == NULL) || in xmlBuildRelativeURI()
2211 (xmlStrcmp ((xmlChar *)bas->scheme, (xmlChar *)ref->scheme)) || in xmlBuildRelativeURI()
2212 (xmlStrcmp ((xmlChar *)bas->server, (xmlChar *)ref->server)))) { in xmlBuildRelativeURI()
2216 if (xmlStrEqual((xmlChar *)bas->path, (xmlChar *)ref->path)) { in xmlBuildRelativeURI()
2220 if (bas->path == NULL) { in xmlBuildRelativeURI()
2235 if (bas->path == NULL) { in xmlBuildRelativeURI()
2245 bptr = (xmlChar *)bas->path; in xmlBuildRelativeURI()
2359 if (bas != NULL) in xmlBuildRelativeURI()
2360 xmlFreeURI (bas); in xmlBuildRelativeURI()