Lines Matching refs:c

62     mcp_mut_c c; // argument checker  member
102 } c; member
189 static void _mut_init_flag(lua_State *L, int tidx, struct mcp_mut_flag *c) { in _mut_init_flag() argument
192 c->f = flag[0]; in _mut_init_flag()
193 c->bit = (uint64_t)1 << (c->f - 65); in _mut_init_flag()
226 struct mcp_mut_string *c = &s->c.string; in mut_step_i() local
231 c->str = mut->aused; in mut_step_i()
232 c->len = len; in mut_step_i()
243 struct mcp_mut_string *c = &s->c.string; in mut_step_n() local
244 return c->len; in mut_step_n()
249 struct mcp_mut_string *c = &s->c.string; in mut_step_r() local
251 const char *str = mut->arena + c->str; in mut_step_r()
253 memcpy(run->d_pos, str, c->len); in mut_step_r()
254 run->d_pos += c->len; in mut_step_r()
353 struct mcp_mut_string *c = &s->c.string; in mut_step_i() local
359 c->str = mut->aused; in mut_step_i()
360 c->len = len; in mut_step_i()
371 struct mcp_mut_string *c = &s->c.string; in mut_step_n() local
372 return c->len; in mut_step_n()
377 struct mcp_mut_string *c = &s->c.string; in mut_step_r() local
379 const char *str = mut->arena + c->str; in mut_step_r()
381 memcpy(run->d_pos, str, c->len); in mut_step_r()
382 run->d_pos += c->len; in mut_step_r()
394 struct mcp_mut_string *c = &s->c.string; in mut_step_i() local
399 c->str = mut->aused; in mut_step_i()
400 c->len = len; in mut_step_i()
411 struct mcp_mut_string *c = &s->c.string; in mut_step_n() local
412 return c->len; in mut_step_n()
417 struct mcp_mut_string *c = &s->c.string; in mut_step_r() local
419 const char *str = mut->arena + c->str; in mut_step_r()
421 memcpy(run->d_pos, str, c->len); in mut_step_r()
422 run->d_pos += c->len; in mut_step_r()
513 struct mcp_mut_string *c = &s->c.string; in mut_step_i() local
544 c->str = mut->aused; in mut_step_i()
545 c->len = len; in mut_step_i()
557 struct mcp_mut_string *c = &s->c.string; in mut_step_n() local
558 return c->len; in mut_step_n()
563 struct mcp_mut_string *c = &s->c.string; in mut_step_r() local
565 const char *str = mut->arena + c->str; in mut_step_r()
566 int len = c->len; in mut_step_r()
593 struct mcp_mut_flagval *c = &s->c.flagval; in mut_step_i() local
596 _mut_init_flag(L, tidx, &c->flag); in mut_step_i()
599 c->str.str = mut->aused; in mut_step_i()
600 c->str.len = len; in mut_step_i()
611 struct mcp_mut_flagval *c = &s->c.flagval; in mut_step_n() local
612 return c->str.len + 1; // room for flag in mut_step_n()
620 struct mcp_mut_flagval *c = &s->c.flagval; in mut_step_r() local
622 const char *str = mut->arena + c->str.str; in mut_step_r()
623 int len = c->str.len; in mut_step_r()
625 *(run->d_pos) = c->flag.f; in mut_step_r()
644 struct mcp_mut_flag *c = &s->c.flag; in mut_step_i() local
646 _mut_init_flag(L, tidx, c); in mut_step_i()
660 struct mcp_mut_flag *c = &s->c.flag; in mut_step_n() local
669 if (srq->pr.t.meta.flags & c->bit) { in mut_step_n()
672 mcp_request_find_flag_token(srq, c->f, &tok, &tlen); in mut_step_n()
688 if (mcmc_token_has_flag_bit(&srs->tok, c->bit) == MCMC_OK) { in mut_step_n()
694 const char *tok = mcmc_token_get_flag(srs->buf, &srs->tok, c->f, &len); in mut_step_n()
709 struct mcp_mut_flag *c = &s->c.flag; in mut_step_r() local
710 *(run->d_pos) = c->f; in mut_step_r()
884 if ((st == mcp_mut_step_none) || e->c == NULL) { in mcp_mutator_new()
887 size += e->c(L, x); in mcp_mutator_new()