Lines Matching refs:traps
1036 } traps; member
1288 uint8_t *traps = nullptr; member in sw::SpirvShader::Impl::Debugger::State
1400 ASSERT(traps.byIndex.size() == traps.byLocationAndScope.size()); in finalize()
1401 traps.memory = std::make_unique<uint8_t[]>(traps.byIndex.size()); in finalize()
1434 int index = getOrCreate(traps.byLocationAndScope, locationAndScope, [&] { in setLocation()
1435 traps.byIndex.emplace_back(locationAndScope); in setLocation()
1436 return traps.byIndex.size() - 1; in setLocation()
1445 getOrCreate(traps.byFunctionName, func->name, [&] { return index; }); in setLocation()
1454 auto traps = *Pointer<Pointer<Byte>>(dbgState + OFFSET(Impl::Debugger::State, traps)); in setLocation() local
1455 auto trap = Pointer<Byte>(traps)[index]; in setLocation()
1481 for(auto it : traps.byLocationAndScope) in onSetBreakpoint()
1497 auto it = traps.byFunctionName.find(func); in onSetBreakpoint()
1498 if(it != traps.byFunctionName.end()) in onSetBreakpoint()
1521 memset(traps.memory.get(), 0, traps.byIndex.size() * sizeof(traps.memory[0])); in onBreakpointsChanged()
1529 for(auto it : traps.byLocationAndScope) in onBreakpointsChanged()
1533 traps.memory[it.second] = 1; in onBreakpointsChanged()
1541 for(auto it : traps.byFunctionName) in onBreakpointsChanged()
1545 traps.memory[it.second] = 1; in onBreakpointsChanged()
1554 traps.memory[0] = 1; in onBreakpointsChanged()
2128 , traps(debugger->traps.memory.get()) in State()
2201 auto const &locationAndScope = debugger->traps.byIndex[index]; in trap()