Searched refs:gInputFile (Results 1 – 4 of 4) sorted by relevance
| /TwlSDK-5.1.0/build/tools/buryarg/ |
| D | buryarg.c | 64 FILE *gInputFile; variable 775 if ((gInputFile = fopen(gInputFileNameString, (gReplacementMode) ? "rb+" : "rb")) == NULL) in openFiles() 804 fclose(gInputFile); in closeFiles() 840 if ((inputChar = fgetc(gInputFile)) == EOF) in replaceToSpecifiedString() 850 long topPosition = ftell(gInputFile) - markLength; in replaceToSpecifiedString() 888 fseek(gInputFile, bufPosition - sizeof(u16), SEEK_SET); in replaceToSpecifiedString() 889 gArgStringSize = (int)(fgetc(gInputFile) + (fgetc(gInputFile) << 8)); in replaceToSpecifiedString() 908 fseek(gInputFile, bufPosition, SEEK_SET); in replaceToSpecifiedString() 911 fputc(gArgString[n], gInputFile); in replaceToSpecifiedString() 921 fseek(gInputFile, 0, SEEK_SET); in replaceToSpecifiedString() [all …]
|
| /TwlSDK-5.1.0/build/tools/buryarg.TWL/ |
| D | buryarg.c | 61 FILE *gInputFile; variable 773 if ((gInputFile = fopen(gInputFileNameString, (gReplacementMode) ? "rb+" : "rb")) == NULL) in openFiles() 802 fclose(gInputFile); in closeFiles() 838 fseek(gInputFile, bufPosition, SEEK_SET); in replaceToSpecifiedString() 841 fputc(gArgString[n], gInputFile); in replaceToSpecifiedString() 853 fseek(gInputFile, 0, SEEK_SET); in replaceToSpecifiedString() 855 while ((inputChar = fgetc(gInputFile)) != EOF) in replaceToSpecifiedString()
|
| /TwlSDK-5.1.0/build/tools/loadrun.TWL/ |
| D | loadrun.c | 149 FILE *gInputFile; variable 728 gInputFile = stdin; in loadFile() 729 _setmode(_fileno(gInputFile), O_BINARY); in loadFile() 733 if ((gInputFile = fopen(gInputFileNameString, "rb")) == NULL) in loadFile() 781 size_t size = fread(buf, 1, sizeof(buf), gInputFile); in loadFile() 810 _setmode(_fileno(gInputFile), O_TEXT); in loadFile() 814 fclose(gInputFile); in loadFile() 837 fseek( gInputFile, 0, SEEK_SET ); in checkFileFlag() 838 fread( buf, 1, sizeof(buf), gInputFile ); in checkFileFlag() 847 rewind( gInputFile ); in checkFileFlag()
|
| /TwlSDK-5.1.0/build/tools/loadrun/ |
| D | loadrun.c | 135 FILE *gInputFile; variable 622 gInputFile = stdin; in loadFile() 623 _setmode(_fileno(gInputFile), O_BINARY); in loadFile() 627 if ((gInputFile = fopen(gInputFileNameString, "rb")) == NULL) in loadFile() 654 size_t size = fread(buf, 1, sizeof(buf), gInputFile); in loadFile() 682 _setmode(_fileno(gInputFile), O_TEXT); in loadFile() 686 fclose(gInputFile); in loadFile()
|