Lines Matching refs:idx
39 size_t idx; member
127 ctx->idx = resp.register_args.idx; in init()
187 static void update_record(struct sancov_ctx* ctx, size_t idx, uintptr_t pc) { in update_record() argument
188 assert(idx < ctx->num_counters); in update_record()
193 if (ctx->counters[idx] < (counter_t)(-1)) { in update_record()
194 ctx->counters[idx]++; in update_record()
196 if (!ctx->pcs[idx]) { in update_record()
197 ctx->pcs[idx] = pc - getauxval(AT_BASE); in update_record()
202 int* app_mailbox = (int*)(ctx->mailbox.base) + ctx->idx; in get_event()
244 size_t idx = *guard - 1; in __sanitizer_cov_trace_pc_guard() local
271 update_record(&ctx, idx, ret_address); in __sanitizer_cov_trace_pc_guard()