Searched refs:imode (Results 1 – 2 of 2) sorted by relevance
| /phasta/phastaIO/ |
| H A D | phastaIO.cc | 580 char* imode = StringStripper( mode ); in initphmpiio() local 585 if ( cscompare( "read", imode ) ) { in initphmpiio() 588 else if( cscompare( "write", imode ) ) { in initphmpiio() 592 printf("Error initphmpiio: can't recognize the mode %s", imode); in initphmpiio() 595 free ( imode ); in initphmpiio() 771 char* imode = StringStripper( mode ); in initphmpiiosub() local 776 if ( cscompare( "read", imode ) ) { in initphmpiiosub() 779 else if( cscompare( "write", imode ) ) { in initphmpiiosub() 783 printf("Error initphmpiio: can't recognize the mode %s", imode); in initphmpiiosub() 786 free ( imode ); in initphmpiiosub() [all …]
|
| H A D | vtkPhastaReader.cxx | 549 char* imode = StringStripper( mode ); in openfile() local 582 if ( cscompare( "read", imode ) ) file = fopen(fname, "rb" ); in openfile() 583 else if( cscompare( "write", imode ) ) file = fopen(fname, "wb" ); in openfile() 584 else if( cscompare( "append", imode ) ) file = fopen(fname, "ab" ); in openfile() 637 delete [] imode; in openfile() 649 char* imode = StringStripper( mode ); in closefile() local 651 if( cscompare( "write", imode ) in closefile() 652 || cscompare( "append", imode ) ) { in closefile() 657 delete [] imode; in closefile()
|