Lines Matching refs:TempHandle
719 SHELL_FILE_HANDLE TempHandle; in UpdateStdInStdOutStdErr() local
1139 …Status = ShellOpenFileByName(StdErrFileName, &TempHandle, EFI_FILE_MODE_WRITE|EFI_FILE_MODE_READ|E… in UpdateStdInStdOutStdErr()
1141 Status = WriteFileTag (TempHandle); in UpdateStdInStdOutStdErr()
1144 TempHandle = CreateFileInterfaceFile(TempHandle, FALSE); in UpdateStdInStdOutStdErr()
1145 ASSERT(TempHandle != NULL); in UpdateStdInStdOutStdErr()
1148 ShellParameters->StdErr = TempHandle; in UpdateStdInStdOutStdErr()
1149 … gST->StdErr = CreateSimpleTextOutOnFile(TempHandle, &gST->StandardErrorHandle, gST->StdErr); in UpdateStdInStdOutStdErr()
1163 …Status = ShellOpenFileByName(StdOutFileName, &TempHandle, EFI_FILE_MODE_WRITE|EFI_FILE_MODE_READ|E… in UpdateStdInStdOutStdErr()
1164 if (TempHandle == NULL) { in UpdateStdInStdOutStdErr()
1170 Status = WriteFileTag (TempHandle); in UpdateStdInStdOutStdErr()
1172 Status = ShellInfoObject.NewEfiShellProtocol->GetFileSize(TempHandle, &FileSize); in UpdateStdInStdOutStdErr()
1180 WriteFileTag (TempHandle) : in UpdateStdInStdOutStdErr()
1182 TempHandle, in UpdateStdInStdOutStdErr()
1187 TempHandle = CreateFileInterfaceFile(TempHandle, FALSE); in UpdateStdInStdOutStdErr()
1188 ASSERT(TempHandle != NULL); in UpdateStdInStdOutStdErr()
1191 ShellParameters->StdOut = TempHandle; in UpdateStdInStdOutStdErr()
1192 … gST->ConOut = CreateSimpleTextOutOnFile(TempHandle, &gST->ConsoleOutHandle, gST->ConOut); in UpdateStdInStdOutStdErr()
1207 TempHandle = CreateFileInterfaceEnv(StdOutVarName); in UpdateStdInStdOutStdErr()
1208 ASSERT(TempHandle != NULL); in UpdateStdInStdOutStdErr()
1209 ShellParameters->StdOut = TempHandle; in UpdateStdInStdOutStdErr()
1210 gST->ConOut = CreateSimpleTextOutOnFile(TempHandle, &gST->ConsoleOutHandle, gST->ConOut); in UpdateStdInStdOutStdErr()
1223 TempHandle = CreateFileInterfaceEnv(StdErrVarName); in UpdateStdInStdOutStdErr()
1224 ASSERT(TempHandle != NULL); in UpdateStdInStdOutStdErr()
1225 ShellParameters->StdErr = TempHandle; in UpdateStdInStdOutStdErr()
1226 gST->StdErr = CreateSimpleTextOutOnFile(TempHandle, &gST->StandardErrorHandle, gST->StdErr); in UpdateStdInStdOutStdErr()
1233 TempHandle = CreateFileInterfaceEnv(StdInVarName); in UpdateStdInStdOutStdErr()
1234 if (TempHandle == NULL) { in UpdateStdInStdOutStdErr()
1238 TempHandle = CreateFileInterfaceFile(TempHandle, FALSE); in UpdateStdInStdOutStdErr()
1241 …if (TempHandle == NULL || ((EFI_FILE_PROTOCOL*)TempHandle)->Read(TempHandle, &Size, NULL) != EFI_B… in UpdateStdInStdOutStdErr()
1244 ShellParameters->StdIn = TempHandle; in UpdateStdInStdOutStdErr()
1245 gST->ConIn = CreateSimpleTextInOnFile(TempHandle, &gST->ConsoleInHandle); in UpdateStdInStdOutStdErr()
1256 &TempHandle, in UpdateStdInStdOutStdErr()
1264 TempHandle = CreateFileInterfaceFile(TempHandle, FALSE); in UpdateStdInStdOutStdErr()
1266 ShellParameters->StdIn = TempHandle; in UpdateStdInStdOutStdErr()
1267 gST->ConIn = CreateSimpleTextInOnFile(TempHandle, &gST->ConsoleInHandle); in UpdateStdInStdOutStdErr()