Home
last modified time | relevance | path

Searched refs:op_ (Results 1 – 6 of 6) sorted by relevance

/system/unwinding/libunwindstack/tests/
DDwarfOpTest.cpp44 op_.reset(new DwarfOp<TypeParam>(mem_.get(), &regular_memory_)); in SetUp()
51 std::unique_ptr<DwarfOp<TypeParam>> op_; member in unwindstack::DwarfOpTest
57 ASSERT_FALSE(this->op_->Decode()); in TYPED_TEST_P()
58 ASSERT_EQ(DWARF_ERROR_MEMORY_INVALID, this->op_->LastErrorCode()); in TYPED_TEST_P()
59 EXPECT_EQ(0U, this->op_->LastErrorAddress()); in TYPED_TEST_P()
64 ASSERT_TRUE(this->op_->Decode()); in TYPED_TEST_P()
65 ASSERT_EQ(DWARF_ERROR_NONE, this->op_->LastErrorCode()); in TYPED_TEST_P()
66 ASSERT_EQ(0x96U, this->op_->cur_op()); in TYPED_TEST_P()
72 ASSERT_FALSE(this->op_->Eval(0, 2)); in TYPED_TEST_P()
73 ASSERT_EQ(DWARF_ERROR_MEMORY_INVALID, this->op_->LastErrorCode()); in TYPED_TEST_P()
[all …]
DDwarfOpLogTest.cpp44 op_.reset(new DwarfOp<TypeParam>(mem_.get(), &regular_memory_)); in SetUp()
51 std::unique_ptr<DwarfOp<TypeParam>> op_; member in unwindstack::DwarfOpLogTest
63 this->op_->GetLogInfo(0, opcode_buffer.size(), &lines); in TYPED_TEST_P()
/system/update_engine/payload_consumer/
Dxor_extent_writer_unittest.cc63 InstallOperation op_; member in chromeos_update_engine::XorExtentWriterTest
85 *op_.add_src_extents() = op1.src_extent(); in TEST_F()
86 *op_.add_dst_extents() = op1.dst_extent(); in TEST_F()
91 *op_.add_src_extents() = ExtentForRange(45, 3); in TEST_F()
92 *op_.add_dst_extents() = ExtentForRange(455, 3); in TEST_F()
97 *op_.add_src_extents() = ExtentForRange(12, 4); in TEST_F()
98 *op_.add_dst_extents() = ExtentForRange(320, 4); in TEST_F()
100 op_, source_fd_, &cow_writer_, xor_map_, NUM_BLOCKS * kBlockSize}; in TEST_F()
133 ASSERT_TRUE(writer_.Init(op_.dst_extents(), kBlockSize)); in TEST_F()
145 *op_.add_src_extents() = ExtentForRange(12, 3); in TEST_F()
[all …]
/system/tools/aidl/
Daidl_const_expressions.cpp171 #define OPEQ(__y__) (string(op_) == string(__y__))
1023 if (!IsCompatibleType(unary_->final_type_, op_)) { in evaluate()
1024 AIDL_ERROR(unary_) << "'" << op_ << "'" in evaluate()
1045 handleUnary(*this, op_, static_cast<__type__>(unary_->final_value_), &final_value_); in evaluate()
1103 AIDL_ERROR(this) << "Cannot perform operation '" << op_ << "' on " in evaluate()
1115 AIDL_ERROR(this) << "Only '+' is supported for strings, not '" << op_ << "'."; in evaluate()
1155 handleBinaryCommon(*this, static_cast<__type__>(left_val_->final_value_), op_, \ in evaluate()
1163 string newOp = op_; in evaluate()
1188 return handleLogical(*this, left_val_->final_value_, op_, right_val_->final_value_, in evaluate()
1249 op_(op) { in AidlUnaryConstExpression()
[all …]
Daidl_language.h787 const std::string& Op() const { return op_; }
793 const string op_;
817 const std::string& Op() const { return op_; }
824 const string op_;
/system/chre/util/tests/
Datomic_spsc_queue_test.cc370 HistoryEntry(Op op_, int numElements_, int64_t last_) in HistoryEntry()
371 : op(op_), numElements(numElements_), last(last_) {} in HistoryEntry()