Lines Matching defs:pos
111 get_uri_string (const char *at, int *pos, int *length)
115 strncpy(buf,at + *pos, *length);
119 if (0 != strncasecmp (at + *pos, "url(", 4))
122 *pos += 4;
125 while (isspace (at[*pos]))
127 (*pos)++;
131 while (isspace (at[*pos + *length - 1]))
136 if (at[*pos] == '\'' || at[*pos] == '"')
138 (*pos)++;
145 strncpy (uri, at + *pos, *length);
158 int pos, length;
187 pos = buffer_pos + offset;
192 uri = get_uri_string (ctx->text, &pos, &length);
197 pos++;
206 struct urlpos *up = append_url (uri, pos, length, ctx);
226 pos = buffer_pos + offset;
228 uri = get_uri_string (ctx->text, &pos, &length);
232 struct urlpos *up = append_url (uri, pos, length, ctx);