| 139 | } |
| 140 | |
| 141 | static int find_chr(link_ctx *ctx, char c, size_t *pidx) |
| 142 | { |
| 143 | size_t j; |
| 144 | for (j = ctx->i; j < ctx->slen; ++j) { |
| 145 | if (ctx->s[j] == c) { |
| 146 | *pidx = j; |
| 147 | return 1; |
| 148 | } |
| 149 | } |
| 150 | return 0; |
| 151 | } |
| 152 | |
| 153 | static int read_chr(link_ctx *ctx, char c) |
| 154 | { |
no outgoing calls
no test coverage detected