Lines Matching refs:expected

104 bool Equal32(uint32_t expected, const RegisterDump*, uint32_t result) {  in Equal32()  argument
105 if (result != expected) { in Equal32()
107 expected, in Equal32()
111 return expected == result; in Equal32()
115 bool Equal32(uint32_t expected, const RegisterDump* core, const Register& reg) { in Equal32() argument
120 return Equal32(expected, core, core->reg(reg.GetCode())); in Equal32()
125 bool Equal32(uint32_t expected, in Equal32() argument
128 return Equal32(expected, core, core->GetSRegisterBits(sreg.GetCode())); in Equal32()
132 bool Equal64(uint64_t expected, const RegisterDump*, uint64_t result) { in Equal64() argument
133 if (result != expected) { in Equal64()
135 expected, in Equal64()
139 return expected == result; in Equal64()
143 bool Equal64(uint64_t expected, in Equal64() argument
146 return Equal64(expected, core, core->GetDRegisterBits(dreg.GetCode())); in Equal64()
150 bool Equal128(vec128_t expected, const RegisterDump*, vec128_t result) { in Equal128() argument
151 if ((result.h != expected.h) || (result.l != expected.l)) { in Equal128()
155 expected.h, in Equal128()
156 expected.l, in Equal128()
161 return ((expected.h == result.h) && (expected.l == result.l)); in Equal128()
169 vec128_t expected = {expected_l, expected_h}; in Equal128() local
171 return Equal128(expected, core, result); in Equal128()
187 bool EqualNzcv(uint32_t expected, uint32_t result) { in EqualNzcv() argument
188 VIXL_ASSERT((expected & ~NZCVFlag) == 0); in EqualNzcv()
190 if (result != expected) { in EqualNzcv()
192 FlagN(expected), in EqualNzcv()
193 FlagZ(expected), in EqualNzcv()
194 FlagC(expected), in EqualNzcv()
195 FlagV(expected), in EqualNzcv()
207 bool EqualFP32(float expected, in EqualFP32() argument
213 if (FloatToRawbits(expected) == result) { in EqualFP32()
216 if (std::isnan(expected) || (expected == 0.0)) { in EqualFP32()
218 FloatToRawbits(expected), in EqualFP32()
224 expected, in EqualFP32()
225 FloatToRawbits(expected), in EqualFP32()
234 bool EqualFP64(double expected, in EqualFP64() argument
240 if (DoubleToRawbits(expected) == result) { in EqualFP64()
244 if (std::isnan(expected) || (expected == 0.0)) { in EqualFP64()
246 DoubleToRawbits(expected), in EqualFP64()
252 expected, in EqualFP64()
253 DoubleToRawbits(expected), in EqualFP64()