Home
last modified time | relevance | path

Searched refs:StatementBlock (Results 1 – 9 of 9) sorted by relevance

/system/tools/aidl/
Dtype_java.h54 virtual void WriteToParcel(StatementBlock* addTo, Variable* v,
56 virtual void CreateFromParcel(StatementBlock* addTo, Variable* v,
58 virtual void ReadFromParcel(StatementBlock* addTo, Variable* v,
85 void WriteToParcel(StatementBlock* addTo, Variable* v, Variable* parcel,
87 void CreateFromParcel(StatementBlock* addTo, Variable* v, Variable* parcel,
89 void ReadFromParcel(StatementBlock* addTo, Variable* v, Variable* parcel,
108 void WriteToParcel(StatementBlock* addTo, Variable* v, Variable* parcel,
110 void CreateFromParcel(StatementBlock* addTo, Variable* v, Variable* parcel,
122 void WriteToParcel(StatementBlock* addTo, Variable* v, Variable* parcel,
124 void CreateFromParcel(StatementBlock* addTo, Variable* v,
[all …]
Dtype_java.cpp61 void Type::WriteToParcel(StatementBlock* addTo, Variable* v, Variable* parcel, in WriteToParcel()
69 void Type::CreateFromParcel(StatementBlock* addTo, Variable* v, in CreateFromParcel()
77 void Type::ReadFromParcel(StatementBlock* addTo, Variable* v, Variable* parcel, in ReadFromParcel()
111 void BasicType::WriteToParcel(StatementBlock* addTo, Variable* v, in WriteToParcel()
116 void BasicType::CreateFromParcel(StatementBlock* addTo, Variable* v, in CreateFromParcel()
132 void BasicArrayType::WriteToParcel(StatementBlock* addTo, Variable* v, in WriteToParcel()
137 void BasicArrayType::CreateFromParcel(StatementBlock* addTo, Variable* v, in CreateFromParcel()
142 void BasicArrayType::ReadFromParcel(StatementBlock* addTo, Variable* v, in ReadFromParcel()
155 void FileDescriptorType::WriteToParcel(StatementBlock* addTo, Variable* v, in WriteToParcel()
160 void FileDescriptorType::CreateFromParcel(StatementBlock* addTo, Variable* v, in CreateFromParcel()
[all …]
Dast_cpp.h192 class StatementBlock : public Declaration {
194 StatementBlock() = default;
195 virtual ~StatementBlock() = default;
207 DISALLOW_COPY_AND_ASSIGN(StatementBlock);
223 StatementBlock body_;
240 StatementBlock* GetStatementBlock();
248 StatementBlock statements_;
264 StatementBlock* AddCase(const std::string& value_expression);
270 std::vector<std::unique_ptr<StatementBlock>> case_logic_;
309 StatementBlock* OnTrue() { return &on_true_; } in OnTrue()
[all …]
Dast_java.h130 struct StatementBlock : public Statement { struct
133 StatementBlock() = default; argument
134 virtual ~StatementBlock() = default;
247 StatementBlock* statements = new StatementBlock;
264 StatementBlock* statements = new StatementBlock;
272 StatementBlock* statements;
281 StatementBlock* statements = new StatementBlock;
290 StatementBlock* statements = new StatementBlock;
321 StatementBlock* statements = nullptr;
Dast_cpp.cpp211 void StatementBlock::AddStatement(unique_ptr<AstNode> statement) { in AddStatement()
215 void StatementBlock::AddStatement(AstNode* statement) { in AddStatement()
219 void StatementBlock::AddLiteral(const std::string& expression_str, in AddLiteral()
229 void StatementBlock::Write(CodeWriter* to) const { in Write()
276 StatementBlock* MethodImpl::GetStatementBlock() { in GetStatementBlock()
290 StatementBlock* SwitchStatement::AddCase(const string& value_expression) { in AddCase()
296 StatementBlock* ret = new StatementBlock(); in AddCase()
298 case_logic_.push_back(unique_ptr<StatementBlock>{ret}); in AddCase()
306 const unique_ptr<StatementBlock>& statements = case_logic_[i]; in Write()
Dgenerate_java_binder.cpp52 StatementBlock* transact_statements;
104 ctor->statements = new StatementBlock; in StubClass()
119 asBinder->statements = new StatementBlock; in StubClass()
136 onTransact->statements = new StatementBlock; in StubClass()
199 m->statements = new StatementBlock; in make_as_interface()
203 ifstatement->statements = new StatementBlock; in make_as_interface()
228 instOfStatement->statements = new StatementBlock; in make_as_interface()
269 ctor->statements = new StatementBlock; in ProxyClass()
279 asBinder->statements = new StatementBlock; in ProxyClass()
287 static void generate_new_array(const Type* t, StatementBlock* addTo, in generate_new_array()
[all …]
Dast_java.cpp126 void StatementBlock::Write(CodeWriter* to) const { in Write()
135 void StatementBlock::Add(Statement* statement) { in Add()
139 void StatementBlock::Add(Expression* expression) { in Add()
321 : statements(new StatementBlock), exception(e) {} in CatchStatement()
Dgenerate_cpp.cpp201 StatementBlock* b) { in DeclareLocalVariable()
262 StatementBlock* b = ret->GetStatementBlock(); in DefineClientTransaction()
431 StatementBlock* b) { in HandleServerTransaction()
574 StatementBlock* b = s->AddCase("Call::" + UpperCase(method->GetName())); in BuildServerSource()
582 StatementBlock* b = s->AddCase(""); in BuildServerSource()
Dast_cpp_unittest.cpp178 StatementBlock block; in TEST_F()