| 818 | } |
| 819 | |
| 820 | static int find_chr(link_ctx *ctx, char c, int *pidx) |
| 821 | { |
| 822 | int j; |
| 823 | for (j = ctx->i; j < ctx->slen; ++j) { |
| 824 | if (ctx->s[j] == c) { |
| 825 | *pidx = j; |
| 826 | return 1; |
| 827 | } |
| 828 | } |
| 829 | return 0; |
| 830 | } |
| 831 | |
| 832 | static int read_chr(link_ctx *ctx, char c) |
| 833 | { |
no outgoing calls
no test coverage detected