• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/dcerpc-61/dcerpc/idl_compiler/

Lines Matching refs:fid

113     FILE *fid,
121 fprintf( fid, "error_status_t IDL_st2;\n" );
126 fprintf( fid, "volatile handle_t *%s;\n", assoc_handle_ptr );
130 fprintf (fid, "volatile handle_t %s;\n", assoc_handle_name);
142 FILE *fid,
165 CSPELL_decl_assoc_handle_vars(fid,p_handle_info);
177 CSPELL_decl_assoc_handle_vars(fid,p_handle_info);
196 CSPELL_decl_assoc_handle_vars(fid,p_handle_info);
219 CSPELL_decl_assoc_handle_vars(fid,p_handle_info);
234 CSPELL_decl_assoc_handle_vars(fid,p_handle_info);
244 CSPELL_decl_assoc_handle_vars(fid,p_handle_info);
247 CSPELL_decl_assoc_handle_vars(fid,p_handle_info);
261 CSPELL_decl_assoc_handle_vars(fid,p_handle_info);
262 fprintf( fid, "idl_boolean IDL_timeout_was_set_low=idl_false;\n" );
273 FILE *fid,
277 fprintf(fid,"rpc_binding_handle_copy(");
278 spell_name(fid, p_interface->implicit_handle_name);
279 fprintf(fid, ",(rpc_binding_handle_t*)&IDL_assoc_handle");
280 fprintf(fid, ",(error_status_t*)&IDL_ms.IDL_status);\n" );
281 CSPELL_test_status(fid);
291 FILE *fid,
295 fprintf (fid,
309 FILE *fid,
315 fprintf (fid,"rpc_ss_make_import_cursor_valid(&IDL_auto_handle_mutex,\n");
316 fprintf (fid, "&IDL_import_cursor,\n" );
317 fprintf (fid,
319 fprintf( fid, "if(IDL_auto_handle_status!=error_status_ok)\n" );
320 fprintf( fid, "{\n" );
321 fprintf( fid, "IDL_ms.IDL_status=IDL_auto_handle_status;\n");
322 fprintf( fid, "goto IDL_auto_binding_failure;\n");
323 fprintf( fid, "}\n" );
324 fprintf (fid, "IDL_find_server:\n");
326 fprintf (fid, "#ifdef PERFMON\n");
327 fprintf (fid, "IDL_TRY_N;\n");
328 fprintf (fid, "#endif\n");
330 fprintf (fid, "DCETHREAD_TRY\n");
332 fprintf (fid, "#ifdef PERFMON\n");
333 fprintf (fid, "IDL_TRY_X;\n");
334 fprintf (fid, "#endif\n");
336 fprintf (fid,"rpc_ss_import_cursor_advance(&IDL_auto_handle_mutex,\n");
337 fprintf (fid, "&IDL_timeout_was_set_low,&IDL_import_cursor,\n" );
338 fprintf (fid,
340 fprintf (fid, "&IDL_interface_binding,(rpc_binding_handle_t*)&IDL_assoc_handle,\n");
341 fprintf (fid, "(error_status_t*)&IDL_auto_handle_status,(error_status_t*)&IDL_ms.IDL_status);\n");
342 fprintf (fid, "if(IDL_ms.IDL_status!=error_status_ok)\n");
343 fprintf (fid, "{\n");
344 fprintf (fid, "IDL_ms.IDL_restartable=idl_false;\n");
345 fprintf (fid, "goto IDL_closedown;\n");
346 fprintf (fid, "}\n");
356 FILE *fid,
372 CSPELL_dup_implicit_handle_t( fid, p_interface );
377 CSPELL_bind_generic_handle( fid, p_handle_info );
381 fprintf (fid, "IDL_assoc_handle = NULL;\n");
398 fprintf (fid,
401 fprintf (fid, "{\n");
402 fprintf(fid, "rpc_binding_handle_copy(");
403 fprintf(fid, "(%c(rpc_ss_caller_context_element_t %c*)",
405 fprintf(fid, "%s)->using_handle,\n", parameter_name);
406 fprintf(fid, "(rpc_binding_handle_t*)&IDL_assoc_handle,");
407 fprintf(fid, "(error_status_t*)&IDL_ms.IDL_status);\n");
408 CSPELL_test_status (fid);
409 fprintf (fid, "}\n");
427 fprintf (fid,
430 fprintf (fid, "{\n");
431 fprintf(fid, "rpc_binding_handle_copy(");
432 fprintf(fid, "(%c(rpc_ss_caller_context_element_t %c*)",
434 fprintf(fid, "%s)->using_handle,\n", parameter_name);
435 fprintf(fid, "(rpc_binding_handle_t*)&IDL_assoc_handle, ");
436 fprintf(fid, "(error_status_t*)&IDL_ms.IDL_status);\n");
437 CSPELL_test_status (fid);
438 fprintf (fid, "goto IDL_make_assoc;\n");
439 fprintf (fid, "}\n");
442 fprintf (fid, "IDL_make_assoc:\n ");
445 fprintf (fid, "if(IDL_assoc_handle == NULL)\n");
446 fprintf (fid, "{\n");
447 fprintf (fid, "DCETHREAD_RAISE(rpc_x_ss_in_null_context);\n");
448 fprintf (fid, "}\n");
452 fprintf (fid, "IDL_assoc_handle = NULL;\n");
453 CSPELL_bind_auto_handle( fid, p_operation, p_comm_stat_info,
458 fprintf( fid, "%s_from_local(&%s,(handle_t **)&%s);\n",
465 fprintf( fid, "%s_from_local(%s,(handle_t **)&%s);\n",
474 spell_name(fid, p_interface->binding_callout_name);
475 fprintf(fid, "((rpc_binding_handle_t *)%c%s,\n",
478 fprintf(fid, "(rpc_if_handle_t)&IDL_ifspec, ");
479 fprintf(fid, "(error_status_t *)&IDL_ms.IDL_status);\n");
480 CSPELL_test_status(fid);
483 fprintf(fid, "rpc_call_start((rpc_binding_handle_t)%c%s, 0",
487 fprintf( fid, "|rpc_c_call_brdcst" );
491 fprintf( fid, "|rpc_c_call_maybe" );
495 fprintf( fid, "|rpc_c_call_idempotent" );
497 fprintf(fid,",\n (rpc_if_handle_t)&IDL_ifspec,%ld,", op_num);
498 fprintf(fid,
500 CSPELL_test_status (fid);
510 FILE * fid
514 fprintf( fid,
516 fprintf( fid, "static RPC_SS_THREADS_MUTEX_T IDL_auto_handle_mutex;\n" );
517 fprintf( fid, "static rpc_ns_handle_t IDL_import_cursor;\n" );
518 fprintf( fid,
520 fprintf( fid, "static idl_boolean IDL_error_using_binding = idl_false;\n");
521 fprintf( fid,
525 fprintf( fid, "static void IDL_auto_handle_init()\n" );
526 fprintf( fid, "{\n" );
527 fprintf( fid,
529 fprintf( fid, "}\n" );
539 FILE * fid,
544 fprintf (fid, "#ifdef PERFMON\n");
545 fprintf (fid, "IDL_ENDTRY_N;\n");
546 fprintf (fid, "#endif\n");
548 fprintf( fid, "DCETHREAD_ENDTRY\n" );
550 fprintf (fid, "#ifdef PERFMON\n");
551 fprintf (fid, "IDL_ENDTRY_X;\n");
552 fprintf (fid, "#endif\n");
554 fprintf( fid,
556 fprintf( fid, "{\n" );
557 fprintf( fid, "if (IDL_ms.IDL_restartable)\n" );
558 fprintf( fid, "{\n" );
559 fprintf( fid, "if (IDL_ms.IDL_call_h!=NULL) rpc_call_end((rpc_call_handle_t*)&IDL_ms.IDL_call_h");
560 fprintf( fid, ",(unsigned32*)&IDL_ms.IDL_status);\n" );
561 fprintf( fid, "IDL_ms.IDL_call_h=NULL;\n" );
562 fprintf( fid, "rpc_ss_ndr_clean_up(&IDL_ms);\n" );
563 fprintf( fid, "IDL_ms.IDL_elt_p=NULL;\n" );
564 fprintf( fid, "goto IDL_find_server;\n" );
565 fprintf( fid, "}\n" );
566 fprintf( fid,
568 fprintf (fid, " &IDL_error_using_binding,\n" );
569 fprintf (fid,
582 FILE *fid,
588 fprintf( fid,
594 fprintf( fid,