Lines Matching refs:fn
94 my ($pipes_struct, $mem_ctx, $fn, $fail) = @_;
95 my $env = GenerateFunctionOutEnv($fn);
97 foreach (@{$fn->{ELEMENTS}}) {
103 my $proto = "_$fn->{NAME}(pipes_struct *p, struct $fn->{NAME} *r";
104 my $ret = "_$fn->{NAME}($pipes_struct, r";
105 foreach (@{$fn->{ELEMENTS}}) {
112 foreach (@{$fn->{ELEMENTS}}) {
124 if ($fn->{RETURN_TYPE}) {
126 $proto = "$fn->{RETURN_TYPE} $proto";
137 my ($if,$fn) = @_;
139 my $op = "NDR_".uc($fn->{NAME});
141 pidl "static bool api_$fn->{NAME}(pipes_struct *p)";
149 pidl "struct $fn->{NAME} *r;";
153 pidl "r = talloc(talloc_tos(), struct $fn->{NAME});";
177 pidl "\tNDR_PRINT_IN_DEBUG($fn->{NAME}, r);";
181 CallWithStruct("p", "r", $fn,
196 pidl "\tNDR_PRINT_OUT_DEBUG($fn->{NAME}, r);";
240 foreach my $fn (@{$if->{FUNCTIONS}}) {
241 next if ($fn->{PROPERTIES}{noopnum});
242 my $op = "NDR_".uc($fn->{NAME});
245 pidl "struct $fn->{NAME} *r = (struct $fn->{NAME} *)_r;";
246 CallWithStruct("cli->pipes_struct", "mem_ctx", $fn,