Lines Matching refs:statements
135 ctor->statements = new StatementBlock; in StubClass()
139 ctor->statements->Add(attach); in StubClass()
150 asBinder->statements = new StatementBlock; in StubClass()
151 asBinder->statements->Add(new ReturnStatement(THIS_VALUE)); in StubClass()
163 getDefaultTransactionName->statements = new StatementBlock; in StubClass()
165 getDefaultTransactionName->statements->Add(this->code_to_method_name_switch); in StubClass()
176 getTransactionName->statements = new StatementBlock; in StubClass()
177 getTransactionName->statements->Add( in StubClass()
195 onTransact->statements = new StatementBlock; in StubClass()
196 transact_statements = onTransact->statements; in StubClass()
208 default_case->statements->Add(new ReturnStatement(superCall)); in finish()
219 code_switch_default_case->statements->Add(new ReturnStatement(NULL_VALUE)); in finish()
268 m->statements = new StatementBlock; in make_as_interface()
272 ifstatement->statements = new StatementBlock; in make_as_interface()
273 ifstatement->statements->Add(new ReturnStatement(NULL_VALUE)); in make_as_interface()
274 m->statements->Add(ifstatement); in make_as_interface()
282 m->statements->Add(iinVd); in make_as_interface()
296 instOfStatement->statements = new StatementBlock; in make_as_interface()
297 instOfStatement->statements->Add(new ReturnStatement(new Cast(interfaceType->JavaType(), iin))); in make_as_interface()
298 m->statements->Add(instOfStatement); in make_as_interface()
302 m->statements->Add(new ReturnStatement(ne)); in make_as_interface()
333 ctor->statements = new StatementBlock; in ProxyClass()
335 ctor->statements->Add(new Assignment(mRemote, remote)); in ProxyClass()
349 asBinder->statements = new StatementBlock; in ProxyClass()
350 asBinder->statements->Add(new ReturnStatement(mRemote)); in ProxyClass()
364 lencheck->statements->Add(new Assignment(v, NULL_VALUE)); in generate_new_array()
366 lencheck->elseif->statements->Add(new Assignment(v, new NewArrayExpression(t->JavaType(), len))); in generate_new_array()
422 JavaTypeNamespace* types, StatementBlock* statements, in generate_stub_code() argument
429 statements->Add(new MethodCall(transact_data, in generate_stub_code()
445 statements->Add(new VariableDeclaration(v)); in generate_stub_code()
458 statements->Add(new LiteralStatement(code)); in generate_stub_code()
461 statements->Add(new Assignment(v, new NewExpression(t->InstantiableName()))); in generate_stub_code()
463 generate_new_array(t, statements, v, transact_data, types); in generate_stub_code()
476 tryStatement->statements->Add(new MethodCall( in generate_stub_code()
482 finallyStatement->statements->Add(new MethodCall( in generate_stub_code()
490 statements->Add(tryStatement); in generate_stub_code()
491 tryStatement->statements->Add(realCall); in generate_stub_code()
492 statements->Add(finallyStatement); in generate_stub_code()
494 statements->Add(realCall); in generate_stub_code()
501 statements->Add(ex); in generate_stub_code()
507 statements->Add(new VariableDeclaration(_result)); in generate_stub_code()
508 statements->Add(tryStatement); in generate_stub_code()
509 tryStatement->statements->Add(new Assignment(_result, realCall)); in generate_stub_code()
510 statements->Add(finallyStatement); in generate_stub_code()
512 statements->Add(new VariableDeclaration(_result, realCall)); in generate_stub_code()
519 statements->Add(ex); in generate_stub_code()
523 generate_write_to_parcel(method.GetType(), statements, _result, transact_reply, true, in generate_stub_code()
533 generate_write_to_parcel(arg->GetType(), statements, v, transact_reply, true, in generate_stub_code()
539 statements->Add(new ReturnStatement(TRUE_VALUE)); in generate_stub_code()
549 types, c->statements, stubClass, options); in generate_stub_case()
569 onTransact_case->statements = new StatementBlock; in generate_stub_case_outline()
574 onTransact_case->statements, stubClass, options); in generate_stub_case_outline()
586 c->statements->Add(new ReturnStatement(helper_call)); in generate_stub_case_outline()
601 proxy->statements = new StatementBlock; in generate_proxy_method()
610 proxy->statements->Add( in generate_proxy_method()
615 proxy->statements->Add( in generate_proxy_method()
623 proxy->statements->Add(new VariableDeclaration(_result)); in generate_proxy_method()
628 proxy->statements->Add(tryStatement); in generate_proxy_method()
630 proxy->statements->Add(finallyStatement); in generate_proxy_method()
633 tryStatement->statements->Add(new MethodCall( in generate_proxy_method()
642 tryStatement->statements->Add(new MethodCall( in generate_proxy_method()
653 checklen->statements->Add( in generate_proxy_method()
656 checklen->elseif->statements->Add( in generate_proxy_method()
658 tryStatement->statements->Add(checklen); in generate_proxy_method()
660 generate_write_to_parcel(arg->GetType(), tryStatement->statements, v, _data, false, in generate_proxy_method()
673 tryStatement->statements->Add(new VariableDeclaration(_status.release(), call.release())); in generate_proxy_method()
682 tryStatement->statements->Add(new LiteralStatement( in generate_proxy_method()
695 tryStatement->statements->Add(ex); in generate_proxy_method()
714 tryStatement->statements->Add(new LiteralStatement(code)); in generate_proxy_method()
730 tryStatement->statements->Add(new LiteralStatement(code)); in generate_proxy_method()
734 finallyStatement->statements->Add(new MethodCall(_reply, "recycle")); in generate_proxy_method()
736 finallyStatement->statements->Add(new MethodCall(_data, "recycle")); in generate_proxy_method()
739 finallyStatement->statements->Add(new MethodCall( in generate_proxy_method()
745 proxy->statements->Add(new ReturnStatement(_result)); in generate_proxy_method()
769 c->statements->Add(new ReturnStatement(new StringLiteralExpression(method.GetName()))); in generate_methods()
805 c->statements->Add(new LiteralStatement(code.str())); in generate_methods()
852 c->statements->Add(new MethodCall(stub->transact_reply, "writeString", 1, in generate_interface_descriptors()
855 c->statements->Add(new ReturnStatement(TRUE_VALUE)); in generate_interface_descriptors()
864 getDesc->statements = new StatementBlock; in generate_interface_descriptors()
865 getDesc->statements->Add( in generate_interface_descriptors()
915 default_method->statements = new StatementBlock; in generate_default_impl_method()
929 default_method->statements->Add( in generate_default_impl_method()