Lines Matching refs:LoadOptionPtr
259 UINT8 *LoadOptionPtr;
325 LoadOptionPtr = LoadOptionFromVar;
367 NewLoadContext->Attributes = *(UINT32 *) LoadOptionPtr;
369 LoadOptionPtr += sizeof (UINT32);
371 NewLoadContext->FilePathListLength = *(UINT16 *) LoadOptionPtr;
372 LoadOptionPtr += sizeof (UINT16);
374 StringSize = StrSize((UINT16*)LoadOptionPtr);
376 NewLoadContext->Description = AllocateZeroPool (StrSize((UINT16*)LoadOptionPtr));
378 StrCpyS (NewLoadContext->Description, StrSize((UINT16*)LoadOptionPtr) / sizeof (UINT16), (UINT16*)LoadOptionPtr);
384 LoadOptionPtr += StringSize;
390 (EFI_DEVICE_PATH_PROTOCOL *) LoadOptionPtr,
397 LoadOptionPtr += NewLoadContext->FilePathListLength;
399 if (LoadOptionPtr < LoadOptionEnd) {
410 LoadOptionPtr,
643 UINT8 *LoadOptionPtr;
684 LoadOptionPtr = LoadOptionFromVar;
696 NewLoadContext->Attributes = *(UINT32 *) LoadOptionPtr;
698 LoadOptionPtr += sizeof (UINT32);
700 NewLoadContext->FilePathListLength = *(UINT16 *) LoadOptionPtr;
701 LoadOptionPtr += sizeof (UINT16);
703 StringSize = StrSize ((UINT16 *) LoadOptionPtr);
708 (UINT16 *) LoadOptionPtr,
714 LoadOptionPtr += StringSize;
720 (EFI_DEVICE_PATH_PROTOCOL *) LoadOptionPtr,
727 LoadOptionPtr += NewLoadContext->FilePathListLength;
729 if (LoadOptionPtr < LoadOptionEnd) {
740 LoadOptionPtr,