Lines Matching refs:arg
155 arg_type* arg; in AddMethod() local
176 arg = method->args; in AddMethod()
177 while (arg != NULL) { in AddMethod()
178 Type* t = NAMES.Search(arg->type.type.data); in AddMethod()
180 v->dimension = arg->type.dimension; in AddMethod()
184 if (convert_direction(arg->direction.data) & IN_PARAMETER) { in AddMethod()
185 generate_create_from_data(t, block, arg->name.data, v, in AddMethod()
188 if (arg->type.dimension == 0) { in AddMethod()
191 else if (arg->type.dimension == 1) { in AddMethod()
203 arg = arg->next; in AddMethod()
239 arg = method->args; in AddMethod()
240 while (arg != NULL) { in AddMethod()
241 Type* t = NAMES.Search(arg->type.type.data); in AddMethod()
244 if (convert_direction(arg->direction.data) & OUT_PARAMETER) { in AddMethod()
251 generate_write_to_data(t, block, new StringLiteralExpression(arg->name.data), in AddMethod()
255 arg = arg->next; in AddMethod()
634 arg_type* arg; in generate_results_method() local
656 arg = method->args; in generate_results_method()
657 while (arg != NULL) { in generate_results_method()
658 if (convert_direction(arg->direction.data) & OUT_PARAMETER) { in generate_results_method()
660 NAMES.Search(arg->type.type.data), arg->name.data, in generate_results_method()
661 arg->type.dimension)); in generate_results_method()
663 arg = arg->next; in generate_results_method()
680 arg_type* arg; in generate_proxy_method() local
695 arg = method->args; in generate_proxy_method()
696 while (arg != NULL) { in generate_proxy_method()
697 if (convert_direction(arg->direction.data) & IN_PARAMETER) { in generate_proxy_method()
699 Type* t = NAMES.Search(arg->type.type.data); in generate_proxy_method()
700 Variable* v = new Variable(t, arg->name.data, arg->type.dimension); in generate_proxy_method()
705 new StringLiteralExpression(arg->name.data), v, _data); in generate_proxy_method()
707 arg = arg->next; in generate_proxy_method()
743 arg_type* arg; in generate_result_dispatcher_method() local
771 arg = method->args; in generate_result_dispatcher_method()
772 while (arg != NULL) { in generate_result_dispatcher_method()
773 if (convert_direction(arg->direction.data) & OUT_PARAMETER) { in generate_result_dispatcher_method()
775 Type* t = NAMES.Search(arg->type.type.data); in generate_result_dispatcher_method()
779 generate_create_from_data(t, dispatchMethod->statements, arg->name.data, v, in generate_result_dispatcher_method()
785 arg = arg->next; in generate_result_dispatcher_method()
800 arg_type* arg; in generate_regular_method() local
822 arg = method->args; in generate_regular_method()
823 while (arg != NULL) { in generate_regular_method()
825 NAMES.Search(arg->type.type.data), arg->name.data, in generate_regular_method()
826 arg->type.dimension)); in generate_regular_method()
827 arg = arg->next; in generate_regular_method()
845 arg_type* arg; in generate_event_method() local
861 arg = method->args; in generate_event_method()
862 while (arg != NULL) { in generate_event_method()
864 Type* t = NAMES.Search(arg->type.type.data); in generate_event_method()
865 Variable* v = new Variable(t, arg->name.data, arg->type.dimension); in generate_event_method()
870 new StringLiteralExpression(arg->name.data), v, _data); in generate_event_method()
872 arg = arg->next; in generate_event_method()
890 arg = method->args; in generate_event_method()
891 while (arg != NULL) { in generate_event_method()
893 NAMES.Search(arg->type.type.data), arg->name.data, in generate_event_method()
894 arg->type.dimension)); in generate_event_method()
895 arg = arg->next; in generate_event_method()