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

Function find_chr

modules/http2/h2_push.c:141–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141static 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
153static int read_chr(link_ctx *ctx, char c)
154{

Callers 2

read_qstringFunction · 0.70
read_linkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected