Lines Matching refs:uri
113 char *uri;
142 uri = xmalloc (*length + 1);
143 if (uri)
145 strncpy (uri, at + *pos, *length);
146 uri[*length] = '\0';
149 return uri;
159 char *uri;
192 uri = get_uri_string (ctx->text, &pos, &length);
199 uri = xmalloc (length + 1);
200 strncpy (uri, yytext + 1, length);
201 uri[length] = '\0';
204 if (uri)
206 struct urlpos *up = append_url (uri, pos, length, ctx);
207 DEBUGP (("Found @import: [%s] at %d [%s]\n", yytext, buffer_pos, uri));
216 xfree(uri);
228 uri = get_uri_string (ctx->text, &pos, &length);
230 if (uri)
232 struct urlpos *up = append_url (uri, pos, length, ctx);
233 DEBUGP (("Found URI: [%s] at %d [%s]\n", yytext, buffer_pos, uri));
240 xfree (uri);