Lines Matching refs:index
29 int index;
40 while (isdigit(ctx->buffer[ctx->index])) {
42 result += ctx->buffer[ctx->index] - '0';
43 ctx->index++;
53 if (ctx->buffer[ctx->index] == '[') {
54 ctx->index++;
56 if (ctx->buffer[ctx->index] == ',') {
57 ctx->index++;
76 max = saved = ctx->index;
78 ctx->index = saved;
81 if (ctx->index > max)
82 max = ctx->index;
85 ctx->index = max;
114 while (ctx->buffer[ctx->index] != '.') {
115 ctx->index++;
117 switch (ctx->buffer[ctx->index - 1]) {
155 int index = 0;
158 int size = recv(ctx->sock, ctx->buffer + index, 1, 0);
164 index++;
165 } while (ctx->buffer[index - 1] != '.');
167 ctx->index = 0;