30 #define AV_CAT_SEPARATOR "|"
50 for (i = 0; i != data->
length; i++)
55 return err < 0 ? -1 : 0;
60 char *node_uri =
NULL;
70 for (i = 0, len = 1; uri[i]; i++) {
73 if (++len == UINT_MAX /
sizeof(*nodes)) {
88 for (i = 0; *uri; i++) {
127 int result, total = 0;
135 return total ? total : result;
137 if (i + 1 == data->
length ||
158 for (i = data->
length - 1; i && pos < -nodes[i].
size; i--)
159 pos += nodes[i].
size;
163 for (i = 0; i != data->
current; i++)
164 pos += nodes[i].
size;
169 for (i = 0; i != data->
length - 1 && pos >= nodes[i].
size; i++)
170 pos -= nodes[i].
size;
180 result += nodes[--i].
size;