Home
last modified time | relevance | path

Searched refs:GetCode (Results 1 – 25 of 70) sorted by relevance

123

/external/vixl/src/aarch32/
Dassembler-aarch32.cc1937 EmitT32_32(0xf1400000U | (rd.GetCode() << 8) | (rn.GetCode() << 16) | in adc()
1949 (rd.GetCode() << 12) | (rn.GetCode() << 16) | in adc()
1962 EmitT32_16(0x4140 | rd.GetCode() | (rm.GetCode() << 3)); in adc()
1975 EmitT32_32(0xeb400000U | (rd.GetCode() << 8) | (rn.GetCode() << 16) | in adc()
1976 rm.GetCode() | (operand.GetTypeEncodingValue() << 4) | in adc()
1986 (rd.GetCode() << 12) | (rn.GetCode() << 16) | rm.GetCode() | in adc()
2002 (rd.GetCode() << 12) | (rn.GetCode() << 16) | rm.GetCode() | in adc()
2003 (shift.GetType() << 5) | (rs.GetCode() << 8)); in adc()
2025 EmitT32_32(0xf1500000U | (rd.GetCode() << 8) | (rn.GetCode() << 16) | in adcs()
2037 (rd.GetCode() << 12) | (rn.GetCode() << 16) | in adcs()
[all …]
Dinstructions-aarch32.h120 uint32_t GetCode() const { return (value_ & kCodeMask) >> kCodeShift; } in GetCode() function
140 VIXL_ASSERT(GetCode() < kNumberOfRegisters); in Register()
142 bool Is(Register ref) const { return GetCode() == ref.GetCode(); } in Is()
143 bool IsLow() const { return GetCode() < kNumberOfT32LowRegisters; } in IsLow()
144 bool IsLR() const { return GetCode() == kLrCode; } in IsLR()
145 bool IsPC() const { return GetCode() == kPcCode; } in IsPC()
146 bool IsSP() const { return GetCode() == kSpCode; } in IsSP()
159 uint32_t GetCode() const { return code_; } in GetCode() function
196 return ((GetCode() & 0x1) << single_bit_field) | in Encode()
197 ((GetCode() & 0x1e) >> 1); in Encode()
[all …]
Dinstructions-aarch32.cc64 switch (reg.GetCode()) { in operator <<()
74 return os << "r" << reg.GetCode(); in operator <<()
81 return SRegister(GetCode()); in S()
87 return DRegister(GetCode()); in D()
93 return QRegister(GetCode()); in Q()
181 nreglist.GetLastDRegister().GetCode() - first.GetCode() + increment; in operator <<()
199 unsigned next = first.GetCode() + increment; in operator <<()
/external/pdfium/core/fpdfapi/font/
Dcpdf_cmapparser_unittest.cpp21 TEST(cpdf_cmapparser, GetCode) { in TEST() argument
22 EXPECT_EQ(0u, CPDF_CMapParser::GetCode("")); in TEST()
23 EXPECT_EQ(0u, CPDF_CMapParser::GetCode("<")); in TEST()
24 EXPECT_EQ(194u, CPDF_CMapParser::GetCode("<c2")); in TEST()
25 EXPECT_EQ(162u, CPDF_CMapParser::GetCode("<A2")); in TEST()
26 EXPECT_EQ(2802u, CPDF_CMapParser::GetCode("<Af2")); in TEST()
27 EXPECT_EQ(162u, CPDF_CMapParser::GetCode("<A2z")); in TEST()
29 EXPECT_EQ(12u, CPDF_CMapParser::GetCode("12")); in TEST()
30 EXPECT_EQ(12u, CPDF_CMapParser::GetCode("12d")); in TEST()
31 EXPECT_EQ(128u, CPDF_CMapParser::GetCode("128")); in TEST()
[all …]
/external/vixl/src/aarch64/
Dregisters-aarch64.cc38 name << 'z' << GetCode(); in GetArchitecturalName()
43 name << 'p' << GetCode(); in GetArchitecturalName()
140 return CTOR_TYPE##Register(GetCode()); \
160 return VRegister(GetCode(), LANES * k##LANE_TYPE##RegSize, LANES); \
170 return SRegister(GetCode()); in VIXL_CPUREG_NEON_COERCION_LIST()
253 bool even = (reg1.GetCode() % 2) == 0; in AreEven()
254 even &= !reg2.IsValid() || ((reg2.GetCode() % 2) == 0); in AreEven()
255 even &= !reg3.IsValid() || ((reg3.GetCode() % 2) == 0); in AreEven()
256 even &= !reg4.IsValid() || ((reg4.GetCode() % 2) == 0); in AreEven()
257 even &= !reg5.IsValid() || ((reg5.GetCode() % 2) == 0); in AreEven()
[all …]
Dregisters-aarch64.h110 unsigned GetCode() const { return code_; } in GetCode() function
612 ZRegister VnB() const { return ZRegister(GetCode(), kBRegSize); } in VnB()
613 ZRegister VnH() const { return ZRegister(GetCode(), kHRegSize); } in VnH()
614 ZRegister VnS() const { return ZRegister(GetCode(), kSRegSize); } in VnS()
615 ZRegister VnD() const { return ZRegister(GetCode(), kDRegSize); } in VnD()
616 ZRegister VnQ() const { return ZRegister(GetCode(), kQRegSize); } in VnQ()
620 return ZRegister(GetCode(), format); in WithLaneSize()
741 return PRegisterWithLaneSize(GetCode(), kBRegSize); in VnB()
744 return PRegisterWithLaneSize(GetCode(), kHRegSize); in VnH()
747 return PRegisterWithLaneSize(GetCode(), kSRegSize); in VnS()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dassembly_builder_test.cpp48 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
161 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
244 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
277 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
Dfold_spec_const_op_composite_test.cpp79 builder.GetCode(), JoinAllInsts(expected), /* skip_nop = */ true); in TEST_F()
105 builder.GetCode(), builder.GetCode(), /* skip_nop = */ true); in TEST_F()
216 const std::string original = test_code_builder.GetCode(); in TEST_P()
217 const std::string expected = expected_code_builder.GetCode(); in TEST_P()
Dunify_const_test.cpp108 const std::string original_before_strip = test_builder.GetCode(); in Check()
118 StripOpNameInstructionsToSet(expected_builder.GetCode()); in Check()
125 test_builder.GetCode(), in Check()
Deliminate_dead_const_test.cpp193 const std::string expected = builder.GetCode(); in TEST_P()
195 const std::string assembly_with_dead_const = builder.GetCode(); in TEST_P()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dassembly_builder_test.cpp48 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
161 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
244 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
277 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
Dfold_spec_const_op_composite_test.cpp79 builder.GetCode(), JoinAllInsts(expected), /* skip_nop = */ true); in TEST_F()
105 builder.GetCode(), builder.GetCode(), /* skip_nop = */ true); in TEST_F()
216 const std::string original = test_code_builder.GetCode(); in TEST_P()
217 const std::string expected = expected_code_builder.GetCode(); in TEST_P()
Dunify_const_test.cpp108 const std::string original_before_strip = test_builder.GetCode(); in Check()
118 StripOpNameInstructionsToSet(expected_builder.GetCode()); in Check()
125 test_builder.GetCode(), in Check()
Deliminate_dead_const_test.cpp193 const std::string expected = builder.GetCode(); in TEST_P()
195 const std::string assembly_with_dead_const = builder.GetCode(); in TEST_P()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dassembly_builder_test.cpp48 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
161 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
244 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
277 SinglePassRunAndCheck<NullPass>(builder.GetCode(), JoinAllInsts(expected), in TEST_F()
Dfold_spec_const_op_composite_test.cpp79 builder.GetCode(), JoinAllInsts(expected), /* skip_nop = */ true); in TEST_F()
105 builder.GetCode(), builder.GetCode(), /* skip_nop = */ true); in TEST_F()
216 const std::string original = test_code_builder.GetCode(); in TEST_P()
217 const std::string expected = expected_code_builder.GetCode(); in TEST_P()
Dunify_const_test.cpp108 const std::string original_before_strip = test_builder.GetCode(); in Check()
118 StripOpNameInstructionsToSet(expected_builder.GetCode()); in Check()
125 test_builder.GetCode(), in Check()
Deliminate_dead_const_test.cpp193 const std::string expected = builder.GetCode(); in TEST_P()
195 const std::string assembly_with_dead_const = builder.GetCode(); in TEST_P()
/external/vixl/test/aarch32/
Dtest-utils-aarch32.cc94 MemOperand(dump2_base, r_offset + (tmp.GetCode() * kRegSizeInBytes))); in Dump()
97 r_offset + (dump_base.GetCode() * kRegSizeInBytes))); in Dump()
120 return Equal32(expected, core, core->reg(reg.GetCode())); in Equal32()
128 return Equal32(expected, core, core->GetSRegisterBits(sreg.GetCode())); in Equal32()
146 return Equal64(expected, core, core->GetDRegisterBits(dreg.GetCode())); in Equal64()
170 vec128_t result = core->GetQRegisterBits(qreg.GetCode()); in Equal128()
211 uint32_t result = core->GetSRegisterBits(sreg.GetCode()); in EqualFP32()
238 uint64_t result = core->GetDRegisterBits(dreg.GetCode()); in EqualFP64()
/external/vixl/test/aarch64/
Dtest-utils-aarch64.cc179 int64_t result_x = core->xreg(reg.GetCode()); in Equal32()
186 uint32_t result_w = core->wreg(reg.GetCode()); in Equal32()
196 uint64_t result = core->xreg(reg.GetCode()); in Equal64()
205 uint64_t result = core->xreg(reg.GetCode()); in NotEqual64()
218 QRegisterValue result = core->qreg(vreg.GetCode()); in Equal128()
229 uint64_t result_64 = core->dreg_bits(fpreg.GetCode()); in EqualFP16()
237 return EqualFP16(expected, core, core->hreg(fpreg.GetCode())); in EqualFP16()
247 uint64_t result_64 = core->dreg_bits(fpreg.GetCode()); in EqualFP32()
256 return EqualFP32(expected, core, core->sreg(fpreg.GetCode())); in EqualFP32()
264 return EqualFP64(expected, core, core->dreg(fpreg.GetCode())); in EqualFP64()
[all …]
/external/libbrillo/brillo/errors/
Derror_codes_test.cc16 EXPECT_EQ("ENOENT", error->GetCode()); in TEST()
22 EXPECT_EQ("EPROTO", error->GetCode()); in TEST()
31 EXPECT_EQ("error_10000", error->GetCode()); in TEST()
Derror_test.cc34 EXPECT_EQ("not_found", err->GetCode()); in TEST()
53 EXPECT_EQ("404", err->GetCode()); in TEST()
75 EXPECT_EQ(error1->GetCode(), error2->GetCode()); in TEST()
/external/libbrillo/brillo/dbus/
Ddbus_param_reader_test.cc84 EXPECT_EQ(DBUS_ERROR_INVALID_ARGS, error->GetCode()); in TEST()
104 EXPECT_EQ(DBUS_ERROR_INVALID_ARGS, error->GetCode()); in TEST()
125 EXPECT_EQ(DBUS_ERROR_INVALID_ARGS, error->GetCode()); in TEST()
228 EXPECT_EQ(DBUS_ERROR_INVALID_ARGS, error->GetCode()); in TEST()
249 EXPECT_EQ(DBUS_ERROR_INVALID_ARGS, error->GetCode()); in TEST()
/external/libbrillo/brillo/streams/
Dstream_utils_test.cc56 EXPECT_EQ(errors::stream::kStreamClosed, error->GetCode()); in TEST()
64 EXPECT_EQ(errors::stream::kOperationNotSupported, error->GetCode()); in TEST()
72 EXPECT_EQ(errors::stream::kPartialData, error->GetCode()); in TEST()
91 EXPECT_EQ(errors::stream::kInvalidParameter, error->GetCode()); in TEST()
145 EXPECT_EQ(errors::stream::kInvalidParameter, error->GetCode()); in TEST()
182 EXPECT_EQ(expected_error, error->GetCode()); in OnError()
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dintegral_image.h150 inline Code GetCode(const BoundingBox& bounding_box) const { in GetCode() function
151 return GetCode(bounding_box.left_, bounding_box.top_, in GetCode()
155 inline Code GetCode(const int x1, const int y1, in GetCode() function

123