• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/libxml2-26/libxml2/

Lines Matching defs:bas

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