• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/

Lines Matching defs:ref

1859     xmlURIPtr ref = NULL;
1875 ref = xmlCreateURI();
1876 if (ref == NULL)
1878 ret = xmlParseURIReference(ref, (const char *) URI);
1885 if ((ref != NULL) && (ref->scheme != NULL)) {
1901 if (ref)
1902 val = xmlSaveUri(ref);
1905 if (ref == NULL) {
1932 if ((ref->scheme == NULL) && (ref->path == NULL) &&
1933 ((ref->authority == NULL) && (ref->server == NULL))) {
1946 if (ref->query != NULL)
1947 res->query = xmlMemStrdup(ref->query);
1950 if (ref->fragment != NULL)
1951 res->fragment = xmlMemStrdup(ref->fragment);
1961 if (ref->scheme != NULL) {
1962 val = xmlSaveUri(ref);
1968 if (ref->query != NULL)
1969 res->query = xmlMemStrdup(ref->query);
1970 if (ref->fragment != NULL)
1971 res->fragment = xmlMemStrdup(ref->fragment);
1980 if ((ref->authority != NULL) || (ref->server != NULL)) {
1981 if (ref->authority != NULL)
1982 res->authority = xmlMemStrdup(ref->authority);
1984 res->server = xmlMemStrdup(ref->server);
1985 if (ref->user != NULL)
1986 res->user = xmlMemStrdup(ref->user);
1987 res->port = ref->port;
1989 if (ref->path != NULL)
1990 res->path = xmlMemStrdup(ref->path);
2006 if ((ref->path != NULL) && (ref->path[0] == '/')) {
2007 res->path = xmlMemStrdup(ref->path);
2021 if (ref->path != NULL)
2022 len += strlen(ref->path);
2060 if (ref->path != NULL && ref->path[0] != 0) {
2067 while (ref->path[indx] != 0) {
2068 res->path[out++] = ref->path[indx++];
2088 if (ref != NULL)
2089 xmlFreeURI(ref);
2138 xmlURIPtr ref = NULL;
2149 ref = xmlCreateURI ();
2150 if (ref == NULL)
2154 ret = xmlParseURIReference (ref, (const char *) URI);
2158 ref->path = (char *)xmlStrdup(URI);
2181 if ((ref->scheme != NULL) &&
2183 (xmlStrcmp ((xmlChar *)bas->scheme, (xmlChar *)ref->scheme)) ||
2184 (xmlStrcmp ((xmlChar *)bas->server, (xmlChar *)ref->server)))) {
2188 if (xmlStrEqual((xmlChar *)bas->path, (xmlChar *)ref->path)) {
2193 val = xmlStrdup((xmlChar *)ref->path);
2196 if (ref->path == NULL) {
2197 ref->path = (char *) "/";
2208 if (ref->path != NULL) {
2209 uptr = (xmlChar *) ref->path;
2217 if (ref->path == NULL) {
2228 if ((ref->path[pos] == '.') && (ref->path[pos+1] == '/'))
2232 else if ((*bptr == '/') && (ref->path[pos] != '/'))
2234 while ((bptr[pos] == ref->path[pos]) && (bptr[pos] != 0))
2237 if (bptr[pos] == ref->path[pos]) {
2247 if ((ref->path[ix] == '/') && (ix > 0))
2249 else if ((ref->path[ix] == 0) && (ix > 1) && (ref->path[ix - 1] == '/'))
2252 if (ref->path[ix] == '/')
2256 uptr = (xmlChar *)ref->path;
2259 uptr = (xmlChar *)&ref->path[ix];
2265 if (bptr[pos] != ref->path[pos]) {/* check for trivial URI == base */
2321 ref->path = NULL;
2322 if (ref != NULL)
2323 xmlFreeURI (ref);