Lines Matching refs:state

72 LineNumberProgram::GetInitialState(State& state) const
77 _SetToInitial(state);
78 state.dataReader.SetTo(fProgram, fProgramSize, fAddressSize);
83 LineNumberProgram::GetNextRow(State& state) const
85 if (state.isSequenceEnd)
86 _SetToInitial(state);
88 DataReader& dataReader = state.dataReader;
96 state.address += (adjustedOpcode / fLineRange)
98 state.line += adjustedOpcode % fLineRange + fLineBase;
99 state.isBasicBlock = false;
100 state.isPrologueEnd = false;
101 state.isEpilogueBegin = false;
102 state.discriminator = 0;
108 state.isBasicBlock = false;
109 state.isPrologueEnd = false;
110 state.isEpilogueBegin = false;
112 state.discriminator = 0;
115 state.address += dataReader.ReadUnsignedLEB128(0)
119 state.line += dataReader.ReadSignedLEB128(0);
122 state.file = dataReader.ReadUnsignedLEB128(0);
125 state.column = dataReader.ReadUnsignedLEB128(0);
128 state.isStatement = !state.isStatement;
131 state.isBasicBlock = true;
134 state.address += ((255 - fOpcodeBase) / fLineRange)
138 state.address += dataReader.Read<uint16>(0);
141 state.isPrologueEnd = true;
144 state.isEpilogueBegin = true;
147 state.instructionSet = dataReader.ReadUnsignedLEB128(0);
164 state.isSequenceEnd = true;
168 state.address = dataReader.ReadAddress(0);
172 state.explicitFile = dataReader.ReadString();
173 state.explicitFileDirIndex
177 state.file = -1;
182 state.discriminator = dataReader.ReadUnsignedLEB128(0);
207 LineNumberProgram::_SetToInitial(State& state) const
209 state.address = 0;
210 state.file = 1;
211 state.line = 1;
212 state.column = 0;
213 state.isStatement = fDefaultIsStatement;
214 state.isBasicBlock = false;
215 state.isSequenceEnd = false;
216 state.isPrologueEnd = false;
217 state.isEpilogueBegin = false;
218 state.instructionSet = 0;
219 state.discriminator = 0;