Lines Matching refs:method

371 	const ConversionMethod &method)  in print_method()  argument
373 print_full_method_header(method); in print_method()
378 void plain_cpp_generator::decl_printer::print_method(const Method &method) in print_method() argument
380 print_full_method_header(method); in print_method()
532 FunctionDecl *method) in print_persistent_callback_prototype() argument
535 ParmVarDecl *param = persistent_callback_arg(method); in print_persistent_callback_prototype()
545 callback_name = clazz.persistent_callback_name(method); in print_persistent_callback_prototype()
561 FunctionDecl *method) in print_persistent_callback_setter_prototype() argument
564 ParmVarDecl *param = persistent_callback_arg(method); in print_persistent_callback_setter_prototype()
570 callback_name = clazz.persistent_callback_name(method); in print_persistent_callback_setter_prototype()
587 FunctionDecl *method) in print_persistent_callback_data() argument
590 ParmVarDecl *param = generator.persistent_callback_arg(method); in print_persistent_callback_data()
592 callback_name = clazz.persistent_callback_name(method); in print_persistent_callback_data()
598 print_persistent_callback_prototype(method); in print_persistent_callback_data()
601 print_persistent_callback_setter_prototype(method); in print_persistent_callback_data()
920 void plain_cpp_generator::impl_printer::print_method(const Method &method) in print_method() argument
922 string methodname = method.fd->getName().str(); in print_method()
923 int num_params = method.c_num_params(); in print_method()
926 print_full_method_header(method); in print_method()
928 print_argument_validity_check(method); in print_method()
929 print_save_ctx(method); in print_method()
932 if (method.callback) in print_method()
933 print_callback_local(method.callback); in print_method()
938 method.print_param_use(os, i); in print_method()
942 print_exceptional_execution_check(method); in print_method()
943 if (method.kind == Method::Kind::constructor) { in print_method()
946 print_method_return(method); in print_method()
993 const ConversionMethod &method) in print_method() argument
995 if (method.kind != Method::Kind::member_method) in print_method()
1000 print_full_method_header(method); in print_method()
1004 method.print_call(os, generator.isl_namespace()); in print_method()
1005 method.print_cpp_arg_list(os, [&] (int i) { in print_method()
1006 ParmVarDecl *param = method.fd->getParamDecl(i); in print_method()
1008 print_arg_conversion(param, method.get_param(i)); in print_method()
1237 const Method &method) in print_argument_validity_check() argument
1245 n = method.num_params(); in print_argument_validity_check()
1248 ParmVarDecl *param = method.fd->getParamDecl(i); in print_argument_validity_check()
1253 is_this = i == 0 && method.kind == Method::Kind::member_method; in print_argument_validity_check()
1287 void plain_cpp_generator::impl_printer::print_save_ctx(const Method &method) in print_save_ctx() argument
1290 ParmVarDecl *param = method.fd->getParamDecl(0); in print_save_ctx()
1295 if (method.kind == Method::Kind::member_method) { in print_save_ctx()
1306 n = method.num_params(); in print_save_ctx()
1308 ParmVarDecl *param = method.fd->getParamDecl(i); in print_save_ctx()
1349 const Method &method) in print_persistent_callback_exceptional_execution_check() argument
1351 if (method.kind != Method::Kind::member_method) in print_persistent_callback_exceptional_execution_check()
1354 for (const auto &pcb : method.clazz.persistent_callbacks) { in print_persistent_callback_exceptional_execution_check()
1355 auto callback_name = method.clazz.persistent_callback_name(pcb); in print_persistent_callback_exceptional_execution_check()
1386 const Method &method) in print_exceptional_execution_check() argument
1389 QualType return_type = method.fd->getReturnType(); in print_exceptional_execution_check()
1394 print_persistent_callback_exceptional_execution_check(os, method); in print_exceptional_execution_check()
1396 if (method.callback) { in print_exceptional_execution_check()
1399 name = method.callback->getName().str(); in print_exceptional_execution_check()
1437 std::string plain_cpp_generator::get_return_type(const Method &method) in get_return_type() argument
1439 return type_printer()->return_type(method); in get_return_type()
1452 const Method &method) in print_set_persistent_callback() argument
1454 string fullname = method.fd->getName().str(); in print_set_persistent_callback()
1455 ParmVarDecl *param = persistent_callback_arg(method.fd); in print_set_persistent_callback()
1457 string callback_name = clazz.persistent_callback_name(method.fd); in print_set_persistent_callback()
1460 print_persistent_callback_prototype(method.fd); in print_set_persistent_callback()
1467 print_persistent_callback_setter_prototype(method.fd); in print_set_persistent_callback()
1480 print_full_method_header(method); in print_set_persistent_callback()
1509 const Method &method) in print_method_return() argument
1511 QualType return_type = method.fd->getReturnType(); in print_method_return()
1512 string rettype_str = generator.get_return_type(method); in print_method_return()
1513 bool returns_super = method.is_subclass_mutator(); in print_method_return()
1518 if (is_mutator(clazz, method.fd) && in print_method_return()
1528 if (gives(method.fd)) in print_method_return()
1542 const Method &method) in print_full_method_header() argument
1546 print_method_header(method, *type_printer); in print_full_method_header()