Lines Matching defs:pos
74 get_uri_string (const char *at, int *pos, int *length)
76 if (0 != strncasecmp (at + *pos, "url(", 4))
79 *pos += 4;
82 while (isspace (at[*pos]))
84 (*pos)++;
90 while (isspace (at[*pos + *length - 1]))
95 if (at[*pos] == '\'' || at[*pos] == '"')
97 (*pos)++;
101 return xstrndup (at + *pos, *length);
110 int pos, length;
133 pos = buffer_pos + offset;
138 uri = get_uri_string (ctx->text, &pos, &length);
143 pos++;
152 struct urlpos *up = append_url (uri, pos, length, ctx);
172 pos = buffer_pos + offset;
174 uri = get_uri_string (ctx->text, &pos, &length);
178 struct urlpos *up = append_url (uri, pos, length, ctx);