HomeSort by relevance Sort by last modified time
    Searched refs:gMD (Results 1 - 18 of 18) sorted by null

  /device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
Environs.c 48 if (!gMD->aborting) {
49 gMD->aborting = TRUE;
51 if (gMD->cleanup != NULL) {
52 gMD->cleanup();
73 if((handler != NULL) && (gMD->num_atexit < ATEXIT_MAX)) {
74 gMD->atexit_handler[gMD->num_atexit++] = handler;
119 gMD->ExitValue = status; // Save our exit status. Allows a status of 0.
120 longjmp(gMD->MainExit, 0x55); // Get out of here. longjmp can't return 0. Use 0x55 for a non-zero value.
154 (void)AsciiStrToUnicodeStr( string, gMD->UString);
    [all...]
  /device/linaro/bootloader/edk2/StdLib/LibC/Main/
Main.c 4 All of the global data in the gMD structure is initialized to 0, NULL, or
37 struct __MainData *gMD;
54 if(gMD != NULL) {
55 gMD->ExitValue = (int)ExitVal;
56 CleanUp = gMD->cleanup; // Preserve the pointer to the Cleanup Function
59 i = gMD->num_atexit;
62 (gMD->atexit_handler[--i])();
103 gMD->NCmdLine = (char *)AllocateZeroPool(nArgvSize+1);
104 if(gMD->NCmdLine == NULL) {
111 nArgv = gMD->NArgV;
    [all...]
  /device/linaro/bootloader/edk2/StdLib/LibC/Signal/
Signal.c 52 OldHandler = gMD->sigarray[sig];
53 gMD->sigarray[sig] = func;
84 Handler = gMD->sigarray[sig];
  /device/linaro/bootloader/edk2/StdLib/LibC/Uefi/InteractiveIO/
IIO.c 91 NumRead = This->InBuf->Copy(This->InBuf, gMD->UString2, (INT32)UNICODE_STRING_MAX-1);
92 gMD->UString2[NumRead] = 0; // Ensure that the buffer is terminated
94 XlateSz = EstimateWtoM((const wchar_t *)gMD->UString2, BufferSize, &Needed);
97 NumRead = wcstombs((char *)Buffer, (const wchar_t *)gMD->UString2, XlateSz);
209 NumProc = OutBuf->Copy(OutBuf, gMD->UString, UNICODE_STRING_MAX-1);
210 gMD->UString[NumProc] = 0; // Ensure that the buffer is terminated
214 NumProc = filp->f_ops->fo_write(filp, NULL, NumProc, gMD->UString);
221 MbcsPtr = (char *)gMD->UString2;
223 NumProc = (ssize_t)EstimateWtoM((const wchar_t *)gMD->UString, UNICODE_STRING_MAX * sizeof(wchar_t), &CharLen);
227 NumProc = wcstombs(MbcsPtr, (const wchar_t *)gMD->UString, NumProc);
    [all...]
TerminalFunctions.c 154 filp = &gMD->fdarray[fd];
212 filp = &gMD->fdarray[fd];
CanonRead.c 85 fpOut = &gMD->fdarray[STDOUT_FILENO];
IIOutilities.c 50 pfil = &gMD->fdarray[fd];
  /device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
SysCalls.c 62 filp = &gMD->fdarray[fd];
90 Mfd = gMD->fdarray;
110 gMD->fdarray[fd].f_iflags |= FIF_DELCLOSE;
135 Fp = &gMD->fdarray[fd];
160 FileOps = gMD->fdarray[fd].f_ops;
161 DevData = gMD->fdarray[fd].devdata;
165 if((gMD->fdarray[i].f_ops == FileOps)
166 &&(gMD->fdarray[i].devdata == DevData )) {
193 Fp = &gMD->fdarray[fd];
260 Fp = &gMD->fdarray[fd];
    [all...]
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
socket.c 88 pDescriptor = &gMD->fdarray[ s ];
144 pDescriptor = &gMD->fdarray[ FileDescriptor ];
  /device/linaro/bootloader/edk2/StdLib/LibC/Time/
TimeEfi.c 57 Efi2Tm( EfiBDtime, &gMD->BDTime);
59 return mktime( &gMD->BDTime);
Time.c 87 return gMD->ClocksPerSecond;
543 ET = &gMD->TimeBuffer;
544 BT = &gMD->BDTime;
558 CalTime = mktime(&gMD->BDTime);
584 retval = ((clock_t)((UINT32)temp)) - gMD->AppStartTime;
641 (void)snprintf(gMD->ASasctime,
648 return gMD->ASasctime;
710 gmtsub(timer, 0L, &gMD->BDTime);
711 return &gMD->BDTime;
763 localsub(timer, 0L, &gMD->BDTime);
    [all...]
  /device/linaro/bootloader/edk2/StdLibPrivateInternalFiles/Include/
MainData.h 97 extern struct __MainData *gMD;
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
makebuf.c 91 gMD->cleanup = _cleanup;
setvbuf.c 153 * Fix up the FILE fields, and set gMD->cleanup for output flush on
176 gMD->cleanup = _cleanup;
findfp.c 188 * exit() calls _cleanup() through *gMD->cleanup, set whenever we
213 gMD->cleanup = _cleanup; /* conservative */
  /device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Console/
daConsole.c 516 gMD->StdIo[Instance] = Stream;
575 NumProc = OutBuf->Read(OutBuf, gMD->UString, UNICODE_STRING_MAX-1);
577 gMD->UString[NumProc] = 0; // Ensure that the buffer is terminated
585 (void) da_ConWrite(filp, NULL, NumProc, gMD->UString);
624 gMD->StdIo[Stream->InstanceNum] = NULL; // Mark the stream as closed
  /device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Utility/
Path.c 113 OldPath = AsciiStrToUnicodeStr(path, gMD->UString);
  /device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/UefiShell/
daShell.c 649 FileHandle = (SHELL_FILE_HANDLE)gMD->fdarray[OldFd].devdata;

Completed in 159 milliseconds