MCPcopy Create free account
hub / github.com/apache/httpd / find_chr

Function find_chr

modules/http2/h2_proxy_util.c:820–830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

818}
819
820static 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
832static int read_chr(link_ctx *ctx, char c)
833{

Callers 2

skip_qstringFunction · 0.70
read_linkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected