Home
last modified time | relevance | path

Searched refs:StrPtr (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/Application/VConfig/
DVConfig.c371 CHAR16 *StrPtr; in AddVlan() local
388 StrPtr = AllocateCopyPool (StrSize (ParamStr), ParamStr); in AddVlan()
389 if (StrPtr == NULL) { in AddVlan()
393 Name = StrPtr; in AddVlan()
397 while (*StrPtr != 0) { in AddVlan()
398 if (*StrPtr == L' ') { in AddVlan()
399 *StrPtr = 0; in AddVlan()
410 VlanIdStr = StrPtr; in AddVlan()
415 PriorityStr = StrPtr; in AddVlan()
427 StrPtr++; in AddVlan()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/
DUefiIfrForm.c1359 CHAR16 *StrPtr; in ConstructConfigHdr() local
1404 StrPtr = ConfigHdr; in ConstructConfigHdr()
1406 EfiStrCpy (StrPtr, L"GUID="); in ConstructConfigHdr()
1407 StrPtr += 5; in ConstructConfigHdr()
1408 BufferToHexString (StrPtr, (UINT8 *) Guid, sizeof (EFI_GUID)); in ConstructConfigHdr()
1409 StrPtr += 32; in ConstructConfigHdr()
1414 EfiStrCpy (StrPtr, L"&NAME="); in ConstructConfigHdr()
1415 StrPtr += 6; in ConstructConfigHdr()
1418 UnicodeToConfigString (StrPtr, &BufferSize, Name); in ConstructConfigHdr()
1419 StrPtr += (NameStrLen * 4); in ConstructConfigHdr()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmBootDescription.c156 CHAR8 *StrPtr; in BmGetDescriptionFromDiskInfo() local
215 StrPtr = (CHAR8 *) (&InquiryData.Reserved_5_95[VENDOR_IDENTIFICATION_OFFSET]); in BmGetDescriptionFromDiskInfo()
216 Temp = StrPtr[VENDOR_IDENTIFICATION_LENGTH]; in BmGetDescriptionFromDiskInfo()
217 StrPtr[VENDOR_IDENTIFICATION_LENGTH] = '\0'; in BmGetDescriptionFromDiskInfo()
218 AsciiStrToUnicodeStrS (StrPtr, Description, VENDOR_IDENTIFICATION_LENGTH + 1); in BmGetDescriptionFromDiskInfo()
219 StrPtr[VENDOR_IDENTIFICATION_LENGTH] = Temp; in BmGetDescriptionFromDiskInfo()
226 StrPtr = (CHAR8 *) (&InquiryData.Reserved_5_95[PRODUCT_IDENTIFICATION_OFFSET]); in BmGetDescriptionFromDiskInfo()
227 StrPtr[PRODUCT_IDENTIFICATION_LENGTH] = '\0'; in BmGetDescriptionFromDiskInfo()
228 …AsciiStrToUnicodeStrS (StrPtr, Description + VENDOR_IDENTIFICATION_LENGTH + 1, PRODUCT_IDENTIFICAT… in BmGetDescriptionFromDiskInfo()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/
DExpression.c2542 CHAR16 *StrPtr; in EvaluateExpression() local
2556 StrPtr = NULL; in EvaluateExpression()
2690 …Status = GetValueByName (OpCode->VarStorage, OpCode->ValueName, &StrPtr, GetSetValueWithEditBuffer… in EvaluateExpression()
2692 ASSERT (StrPtr != NULL); in EvaluateExpression()
2693 TempLength = StrLen (StrPtr); in EvaluateExpression()
2699 TempStr[0] = StrPtr[TempLength - Index - 1]; in EvaluateExpression()
2818 StrPtr = GetToken (OpCode->DevicePath, FormSet->HiiHandle); in EvaluateExpression()
2819 if (StrPtr != NULL && mPathFromText != NULL) { in EvaluateExpression()
2820 DevicePath = mPathFromText->ConvertTextToDevicePath(StrPtr); in EvaluateExpression()
2829 if (StrPtr != NULL) { in EvaluateExpression()
[all …]
DSetup.c634 CHAR16 *StrPtr; in ProcessStorage() local
653 StrPtr = StrStr (ConfigResp, L"PATH"); in ProcessStorage()
654 ASSERT (StrPtr != NULL); in ProcessStorage()
655 StrPtr = StrStr (StrPtr, L"&"); in ProcessStorage()
656 StrPtr += 1; in ProcessStorage()
657 BufferSize = StrSize (StrPtr); in ProcessStorage()
663 StrCpyS (*ResultsData, *ResultsDataSize / sizeof (CHAR16), StrPtr); in ProcessStorage()
1311 CHAR16 *StrPtr; in ConfigRespToStorage() local
1331 StrPtr = StrStr (ConfigResp, L"PATH"); in ConfigRespToStorage()
1332 if (StrPtr == NULL) { in ConfigRespToStorage()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DriverSampleDxe/
DDriverSample.c863 CHAR16 *StrPtr; in RouteConfig() local
933 StrPtr = StrStr (Value, L"&"); in RouteConfig()
934 if (StrPtr == NULL) { in RouteConfig()
935 StrPtr = Value + StrLen (Value); in RouteConfig()
942 for (Index = 0, StrPtr --; StrPtr >= Value; StrPtr --, Index ++) { in RouteConfig()
943 TemStr[0] = *StrPtr; in RouteConfig()
965 StrPtr = StrStr (Value, L"&"); in RouteConfig()
966 if (StrPtr == NULL) { in RouteConfig()
967 StrPtr = Value + StrLen (Value); in RouteConfig()
974 for (Index = 0, StrPtr --; StrPtr >= Value; StrPtr --, Index ++) { in RouteConfig()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeHttpLib/
DDxeHttpLib.c1534 CHAR8 *StrPtr; in HttpGetFieldNameAndValue() local
1544 StrPtr = NULL; in HttpGetFieldNameAndValue()
1578 StrPtr = FieldValueStr; in HttpGetFieldNameAndValue()
1580 StrPtr = AsciiStrGetNextToken (StrPtr, '\r'); in HttpGetFieldNameAndValue()
1581 if (StrPtr == NULL || *StrPtr != '\n') { in HttpGetFieldNameAndValue()
1585 StrPtr++; in HttpGetFieldNameAndValue()
1586 } while (*StrPtr == ' ' || *StrPtr == '\t'); in HttpGetFieldNameAndValue()
1591 *(StrPtr - 2) = 0; in HttpGetFieldNameAndValue()
1599 return StrPtr; in HttpGetFieldNameAndValue()