Home | History | Annotate | Download | only in tsan

Lines Matching refs:idx

422     size_t idx = min((size_t)u32_log2(tleb.size), max_idx - 1);
423 CHECK(idx < max_idx);
424 G_stats->tleb_flush[idx]++;
2005 // 'idx' is the number of this mop in its trace.
2011 static void OnMop(uintptr_t *addr, THREADID tid, ADDRINT idx, ADDRINT a) {
2014 CHECK(idx < kMaxMopsPerTrace);
2015 CHECK(idx < t.trace_info->n_mops());
2016 uintptr_t *ptr = addr + idx;
2023 addr[idx] = a;
2027 THREADID tid, ADDRINT idx, ADDRINT a) {
2029 OnMop(addr, tid, idx, a);
2033 static void OnMopCheckIdentStoreBefore(uintptr_t *addr, THREADID tid, ADDRINT idx, ADDRINT a) {
2035 addr[idx] = *(uintptr_t*)a;
2037 static void OnMopCheckIdentStoreAfter(uintptr_t *addr, THREADID tid, ADDRINT idx, ADDRINT a) {
2041 uintptr_t previous_value_of_a = addr[idx];
2045 addr[idx] = ne_mask & a;
3495 size_t idx = pc % TS_ARRAY_SIZE(symbolized_functions_cache);
3496 if (symbolized_functions_cache[idx] == pc) return;
3503 symbolized_functions_cache[idx] = pc;
3511 size_t idx = (from ^ to) % TS_ARRAY_SIZE(registered_pairs_cache);
3512 if (registered_pairs_cache[idx] == make_pair(from,to)) return;
3516 registered_pairs_cache[idx] = make_pair(from,to);