Home
last modified time | relevance | path

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

123456

/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/test/aarch64/
Dtest-utils-aarch64.cc176 int64_t result_x = core->xreg(reg.GetCode()); in Equal32()
183 uint32_t result_w = core->wreg(reg.GetCode()); in Equal32()
193 uint64_t result = core->xreg(reg.GetCode()); in Equal64()
202 uint64_t result = core->xreg(reg.GetCode()); in NotEqual64()
213 vec128_t result = core->qreg(vreg.GetCode()); in Equal128()
224 uint64_t result_64 = core->dreg_bits(fpreg.GetCode()); in EqualFP16()
232 return EqualFP16(expected, core, core->hreg(fpreg.GetCode())); in EqualFP16()
242 uint64_t result_64 = core->dreg_bits(fpreg.GetCode()); in EqualFP32()
251 return EqualFP32(expected, core, core->sreg(fpreg.GetCode())); in EqualFP32()
259 return EqualFP64(expected, core, core->dreg(fpreg.GetCode())); in EqualFP64()
[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/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/angle/third_party/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/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/libbrillo/brillo/errors/
Derror_codes_unittest.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_unittest.cc31 EXPECT_EQ("not_found", err->GetCode()); in TEST()
50 EXPECT_EQ("404", err->GetCode()); in TEST()
72 EXPECT_EQ(error1->GetCode(), error2->GetCode()); in TEST()
/external/libbrillo/brillo/dbus/
Ddbus_param_reader_unittest.cc83 EXPECT_EQ(DBUS_ERROR_INVALID_ARGS, error->GetCode()); in TEST()
103 EXPECT_EQ(DBUS_ERROR_INVALID_ARGS, error->GetCode()); in TEST()
124 EXPECT_EQ(DBUS_ERROR_INVALID_ARGS, error->GetCode()); in TEST()
227 EXPECT_EQ(DBUS_ERROR_INVALID_ARGS, error->GetCode()); in TEST()
248 EXPECT_EQ(DBUS_ERROR_INVALID_ARGS, error->GetCode()); in TEST()
/external/libbrillo/brillo/streams/
Dstream_utils_unittest.cc54 EXPECT_EQ(errors::stream::kStreamClosed, error->GetCode()); in TEST()
62 EXPECT_EQ(errors::stream::kOperationNotSupported, error->GetCode()); in TEST()
70 EXPECT_EQ(errors::stream::kPartialData, error->GetCode()); in TEST()
89 EXPECT_EQ(errors::stream::kInvalidParameter, error->GetCode()); in TEST()
143 EXPECT_EQ(errors::stream::kInvalidParameter, error->GetCode()); in TEST()
180 EXPECT_EQ(expected_error, error->GetCode()); in OnError()
/external/v8/src/objects/
Dcode-inl.h44 return GetCode().raw_instruction_size(); in OBJECT_CONSTRUCTORS_IMPL()
52 return GetCode().InstructionSize(); in InstructionSize()
60 return GetCode().SourcePositionTable(); in source_position_table()
68 return GetCode().SizeIncludingMetadata(); in SizeIncludingMetadata()
76 return GetCode().raw_instruction_start(); in raw_instruction_start()
84 return GetCode().InstructionStart(); in InstructionStart()
92 return GetCode().raw_instruction_end(); in raw_instruction_end()
101 return GetCode().InstructionEnd(); in InstructionEnd()
113 return IsCode() ? GetCode().kind() : CodeKind::INTERPRETED_FUNCTION; in kind()
116 Code AbstractCode::GetCode() { return Code::cast(*this); } in GetCode() function
/external/tensorflow/tensorflow/examples/android/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
/external/vixl/src/aarch64/
Doperands-aarch64.h67 unsigned GetCode() const { in GetCode() function
71 VIXL_DEPRECATED("GetCode", unsigned code() const) { return GetCode(); } in code()
247 : CPURegister(other.GetCode(), other.GetSizeInBits(), other.GetType()) { in Register()
285 : Register(other.GetCode(), size_in_bits) { in FixedSizeRegister()
290 : Register(other.GetCode(), other.GetSizeInBits()) { in FixedSizeRegister()
311 : CPURegister(other.GetCode(), other.GetSizeInBits(), other.GetType()), in VRegister()
615 Combine(other.GetCode()); in Combine()
621 Remove(other.GetCode()); in Remove()
707 return (type_ == other.GetType()) && IncludesAliasOf(other.GetCode()); in IncludesAliasOf()

123456