Home
last modified time | relevance | path

Searched refs:StrnCatGrow (Results 1 – 25 of 30) sorted by relevance

12

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel1CommandsLib/
DFor.c157 Node->CommandString = StrnCatGrow(&Node->CommandString, NULL, CommandString, 0); in InternalUpdateAliasOnList()
168 Node->Alias = StrnCatGrow(&Node->Alias, NULL, Alias, 0); in InternalUpdateAliasOnList()
170 Node->CommandString = StrnCatGrow(&Node->CommandString, NULL, CommandString, 0); in InternalUpdateAliasOnList()
377 ArgSet = StrnCatGrow(&ArgSet, &ArgSize, L" \"", 0); in ShellCommandRunFor()
378 ArgSet = StrnCatGrow(&ArgSet, &ArgSize, gEfiShellParametersProtocol->Argv[LoopVar], 0); in ShellCommandRunFor()
379 ArgSet = StrnCatGrow(&ArgSet, &ArgSize, L"\"", 0); in ShellCommandRunFor()
385 ArgSet = StrnCatGrow(&ArgSet, &ArgSize, L" \"", 0); in ShellCommandRunFor()
386 ArgSet = StrnCatGrow(&ArgSet, &ArgSize, Node->FullName, 0); in ShellCommandRunFor()
387 ArgSet = StrnCatGrow(&ArgSet, &ArgSize, L"\"", 0); in ShellCommandRunFor()
394 ArgSet = StrnCatGrow(&ArgSet, &ArgSize, L" ", 0); in ShellCommandRunFor()
[all …]
DGoto.c78 CompareString = StrnCatGrow(&CompareString, &Size, L":", 0); in ShellCommandRunGoto()
79 … CompareString = StrnCatGrow(&CompareString, &Size, ShellCommandLineGetRawValue(Package, 1), 0); in ShellCommandRunGoto()
DIf.c62 Tester = StrnCatGrow(&Tester, NULL, *Statement, StrLen(Fragment)); in IsNextFragment()
459 Compare1 = StrnCatGrow(&Compare1, NULL, HexString, 0); in ProcessStatement()
476 Compare1 = StrnCatGrow(&Compare1, NULL, HexString, 0); in ProcessStatement()
493 Compare1 = StrnCatGrow(&Compare1, NULL, HexString, 0); in ProcessStatement()
512 Compare1 = StrnCatGrow(&Compare1, NULL, StatementWalker, 0); in ProcessStatement()
560 Compare2 = StrnCatGrow(&Compare2, NULL, HexString, 0); in ProcessStatement()
580 Compare2 = StrnCatGrow(&Compare2, NULL, HexString, 0); in ProcessStatement()
597 Compare2 = StrnCatGrow(&Compare2, NULL, HexString, 0); in ProcessStatement()
612 Compare2 = StrnCatGrow(&Compare2, NULL, StatementWalker, 0); in ProcessStatement()
739 CommandName = StrnCatGrow(&CommandName, NULL, CommandNode->Cl, 0); in MoveToTagSpecial()
DUefiShellLevel1CommandsLib.c147 CommandName = StrnCatGrow(&CommandName, NULL, CommandNode->Cl, 0); in TestNodeForMove()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
DLs.c376 CorrectedPath = StrnCatGrow(&CorrectedPath, &LongestPath, RootPath, 0); in PrintLsOutput()
382 CorrectedPath = StrnCatGrow(&CorrectedPath, &LongestPath, L"\\", 0); in PrintLsOutput()
384 CorrectedPath = StrnCatGrow(&CorrectedPath, &LongestPath, SearchString, 0); in PrintLsOutput()
459 CorrectedPath = StrnCatGrow(&CorrectedPath, &LongestPath, RootPath, 0); in PrintLsOutput()
465 CorrectedPath = StrnCatGrow(&CorrectedPath, &LongestPath, L"\\", 0); in PrintLsOutput()
467 CorrectedPath = StrnCatGrow(&CorrectedPath, &LongestPath, L"*", 0); in PrintLsOutput()
666 StrnCatGrow(&SearchString, NULL, L"*", 0); in ShellCommandRunLs()
667 StrnCatGrow(&FullPath, NULL, CurDir, 0); in ShellCommandRunLs()
669 StrnCatGrow(&FullPath, &Size, L"\\", 0); in ShellCommandRunLs()
683 StrnCatGrow(&FullPath, &Size, gEfiShellProtocol->GetCurDir(NULL), 0); in ShellCommandRunLs()
[all …]
DRm.c231 Pattern = StrnCatGrow(&Pattern, &Size, TempLocation , 0); in IsValidDeleteTarget()
232 Pattern = StrnCatGrow(&Pattern, &Size, L"\\" , 0); in IsValidDeleteTarget()
234 SearchString = StrnCatGrow(&SearchString, &Size, Node->FullName, 0); in IsValidDeleteTarget()
236 SearchString = StrnCatGrow(&SearchString, &Size, L"\\", 0); in IsValidDeleteTarget()
237 SearchString = StrnCatGrow(&SearchString, &Size, L"*", 0); in IsValidDeleteTarget()
DUefiShellLevel2CommandsLib.c189 StrnCatGrow(&PathToReturn, &Size, CurDir, 0); in GetFullyQualifiedPath()
190 StrnCatGrow(&PathToReturn, &Size, L"\\", 0); in GetFullyQualifiedPath()
195 StrnCatGrow(&PathToReturn, &Size, Path, 0); in GetFullyQualifiedPath()
231 PathCopy = StrnCatGrow(&PathCopy, NULL, Path, 0); in VerifyIntermediateDirectories()
DCp.c144 StrnCatGrow(&TempName, &Size, Source, 0); in CopySingleFile()
145 StrnCatGrow(&TempName, &Size, L"\\*", 0); in CopySingleFile()
149 StrnCatGrow(&TempName, &Size, Dest, 0); in CopySingleFile()
150 StrnCatGrow(&TempName, &Size, L"\\", 0); in CopySingleFile()
602 StrnCatGrow(&FullName, NULL, ((EFI_SHELL_FILE_INFO *)List->Link.ForwardLink)->FullName, 0); in ProcessValidateAndCopyFiles()
DVol.c281 StrnCatGrow(&FullPath, &Length, PathName, 0); in ShellCommandRunVol()
282 StrnCatGrow(&FullPath, &Length, L":\\", 0); in ShellCommandRunVol()
DMap.c86 TempList = StrnCatGrow(&TempList, NULL, ListWalker, 0); in SearchList()
330 CurrentName = StrnCatGrow(&CurrentName, 0, MapList, 0); in PerformSingleMappingDisplay()
367 CurrentName = StrnCatGrow(&CurrentName, 0, MapList, 0); in PerformSingleMappingDisplay()
376 Alias = StrnCatGrow(&Alias, 0, MapList, 0); in PerformSingleMappingDisplay()
DTimeDate.c110 DateStringCopy = StrnCatGrow(&DateStringCopy, NULL, DateString, 0); in CheckAndSetDate()
329 TimeStringCopy = StrnCatGrow(&TimeStringCopy, NULL, TimeString, 0); in CheckAndSetTime()
741 TimeZoneCopy = StrnCatGrow(&TimeZoneCopy, NULL, TimeZoneString, 0); in CheckAndSetTimeZone()
DMv.c265 StrnCatGrow(&DestPath, &CurrentSize, &DestParameter[1], 0); in GetDestinationLocation()
300 DestPath = StrnCatGrow(&DestPath, NULL, DestParameter, 0); in GetDestinationLocation()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel3CommandsLib/
DHelp.c352 StrnCatGrow(&CommandToGetHelpOn, NULL, ShellCommandLineGetRawValue(Package, 1), 0); in ShellCommandRunHelp()
358 StrnCatGrow(&CommandToGetHelpOn, NULL, L"help", 0); in ShellCommandRunHelp()
362 StrnCatGrow(&CommandToGetHelpOn, NULL, L"*", 0); in ShellCommandRunHelp()
364 StrnCatGrow(&SectionToGetHelpOn, NULL, L"NAME", 0); in ShellCommandRunHelp()
372 StrnCatGrow(&SectionToGetHelpOn, NULL, ShellCommandLineGetValue(Package, L"-section"), 0); in ShellCommandRunHelp()
374 StrnCatGrow(&SectionToGetHelpOn, NULL, L"NAME,SYNOPSIS", 0); in ShellCommandRunHelp()
380 StrnCatGrow (&SectionToGetHelpOn, NULL, L"NAME,SYNOPSIS,OPTIONS,DESCRIPTION,EXAMPLES", 0); in ShellCommandRunHelp()
DEcho.c104 StrnCatGrow(&PrintString, &Size, ShellCommandLineGetRawValue(Package, ParamCount), 0); in ShellCommandRunEcho()
106 StrnCatGrow(&PrintString, &Size, L" ", 0); in ShellCommandRunEcho()
DTouch.c84 FS = StrnCatGrow(&FS, NULL, Name, 0); in DoTouchByHandle()
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShellProtocol.c251 StrnCatGrow(&NewName, &Size, Mapping, 0); in EfiShellGetDevicePathFromMap()
253 StrnCatGrow(&NewName, &Size, L":", 0); in EfiShellGetDevicePathFromMap()
318 PathForReturn = StrnCatGrow(&PathForReturn, &PathSize, L";", 0); in EfiShellGetMapFromDevicePath()
320 PathForReturn = StrnCatGrow(&PathForReturn, &PathSize, Node->MapName, 0); in EfiShellGetMapFromDevicePath()
444 PathForReturn = StrnCatGrow(&PathForReturn, &PathSize, MapListItem->MapName, 0); in EfiShellGetFilePathFromDevicePath()
482 PathForReturn = StrnCatGrow (&PathForReturn, &PathSize, L"\\", 1); in EfiShellGetFilePathFromDevicePath()
485 PathForReturn = StrnCatGrow(&PathForReturn, &PathSize, AlignedNode->PathName, 0); in EfiShellGetFilePathFromDevicePath()
560 MapName = StrnCatGrow(&MapName, &Size, Path, (StrStr(Path, L":")-Path+1)); in EfiShellGetDevicePathFromFilePath()
790 StrnCatGrow(BestDeviceName, NULL, DeviceNameToReturn, 0); in EfiShellGetDeviceName()
1703 Temp2 = StrnCatGrow(&Temp2, NULL, mNoNestingTrue, 0); in NestingEnabled()
[all …]
DShellManParser.c288 …TempString = StrnCatGrow(&TempString, NULL, CurrentLocation, TempString2==NULL?0:TempString2 - Cur… in ManBufferFindSections()
310 …TempString = StrnCatGrow(&TempString, NULL, CurrentLocation, TempString2==NULL?0:TempString2 - Cur… in ManBufferFindSections()
319 StrnCatGrow (HelpText, HelpSize, TempString, 0); in ManBufferFindSections()
324 StrnCatGrow (HelpText, HelpSize, L"\r\n", 0); in ManBufferFindSections()
444 StrnCatGrow (HelpText, HelpSize, ReadLine, 0); in ManFileFindSections()
445 StrnCatGrow (HelpText, HelpSize, L"\r\n", 0); in ManFileFindSections()
DShell.c471 StrnCatGrow(&TempString, in UefiMain()
476 StrnCatGrow(&TempString, in UefiMain()
1058 StrnCatGrow(&ShellInfoObject.ShellInitSettings.FileOptions, in ProcessCommandLine()
1066 StrnCatGrow(&ShellInfoObject.ShellInitSettings.FileOptions, in ProcessCommandLine()
1185 FileStringPath = StrnCatGrow(&FileStringPath, &NewSize, MapName, 0); in DoStartupScript()
1193 …FileStringPath = StrnCatGrow(&FileStringPath, &NewSize, ((FILEPATH_DEVICE_PATH*)FilePath)->PathNam… in DoStartupScript()
1195 FileStringPath = StrnCatGrow(&FileStringPath, &NewSize, mStartupScript, 0); in DoStartupScript()
1683 NextCommandLine = StrnCatGrow(&NextCommandLine, &Size1, StrStr(CmdLine, L"|")+1, 0); in RunSplitCommand()
1684 …OurCommandLine = StrnCatGrow(&OurCommandLine , &Size2, CmdLine , StrStr(CmdLine, L… in RunSplitCommand()
1814 StrnCatGrow(&CommandName, NULL, (*CmdLine), 0); in ShellSubstituteAliases()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/
DDh.c95 StrnCatGrow(NameFound, NULL, NameToReturn, 0); in GetDriverName()
172 StrnCatGrow(&RetVal, &Size, Separator, 0); in GetProtocolInfoString()
174 StrnCatGrow(&RetVal, &Size, L"%H", 0); in GetProtocolInfoString()
175 StrnCatGrow(&RetVal, &Size, Temp, 0); in GetProtocolInfoString()
176 StrnCatGrow(&RetVal, &Size, L"%N", 0); in GetProtocolInfoString()
184 StrnCatGrow(&RetVal, &Size, L"(", 0); in GetProtocolInfoString()
185 StrnCatGrow(&RetVal, &Size, Temp, 0); in GetProtocolInfoString()
186 StrnCatGrow(&RetVal, &Size, L")\r\n", 0); in GetProtocolInfoString()
188 StrnCatGrow(&RetVal, &Size, Separator, 0); in GetProtocolInfoString()
189 StrnCatGrow(&RetVal, &Size, Temp, 0); in GetProtocolInfoString()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellCommandLib/
DUefiShellCommandLib.c567 StrnCatGrow(&mProfileList, &mProfileListSize, L";", 0); in ShellCommandRegisterCommandName()
569 StrnCatGrow(&mProfileList, &mProfileListSize, ProfileName, 0); in ShellCommandRegisterCommandName()
570 StrnCatGrow(&mProfileList, &mProfileListSize, L";", 0); in ShellCommandRegisterCommandName()
1223 StrnCatGrow(&NewPath, &NewPathSize, OriginalPath, 0); in ShellCommandAddMapItemAndUpdatePath()
1224 StrnCatGrow(&NewPath, &NewPathSize, L";", 0); in ShellCommandAddMapItemAndUpdatePath()
1226 StrnCatGrow(&NewPath, &NewPathSize, Name, 0); in ShellCommandAddMapItemAndUpdatePath()
1227 StrnCatGrow(&NewPath, &NewPathSize, L"\\efi\\tools\\;", 0); in ShellCommandAddMapItemAndUpdatePath()
1228 StrnCatGrow(&NewPath, &NewPathSize, Name, 0); in ShellCommandAddMapItemAndUpdatePath()
1229 StrnCatGrow(&NewPath, &NewPathSize, L"\\efi\\boot\\;", 0); in ShellCommandAddMapItemAndUpdatePath()
1230 StrnCatGrow(&NewPath, &NewPathSize, Name, 0); in ShellCommandAddMapItemAndUpdatePath()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DDmpStore.c56 StrnCatGrow (&RetString, &BufLen, L"+NV", 0); in GetAttrType()
59 StrnCatGrow (&RetString, &BufLen, L"+RT+BS", 0); in GetAttrType()
61 StrnCatGrow (&RetString, &BufLen, L"+BS", 0); in GetAttrType()
64 StrnCatGrow (&RetString, &BufLen, L"+HR", 0); in GetAttrType()
67 StrnCatGrow (&RetString, &BufLen, L"+AW", 0); in GetAttrType()
70 StrnCatGrow (&RetString, &BufLen, L"+AT", 0); in GetAttrType()
74 RetString = StrnCatGrow(&RetString, &BufLen, L"Invalid", 0); in GetAttrType()
436 StrnCatGrow(&FoundVarName, &NameSize, PrevName, 0); in CascadeProcessVariables()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiHandleParsingLib/
DUefiHandleParsingLib.c40 …case EfiReservedMemoryType: StrnCatGrow(&RetVal, NULL, L"EfiReservedMemoryType", 0); … in ConvertMemoryType()
41 …case EfiLoaderCode: StrnCatGrow(&RetVal, NULL, L"EfiLoaderCode", 0); … in ConvertMemoryType()
42 …case EfiLoaderData: StrnCatGrow(&RetVal, NULL, L"EfiLoaderData", 0); … in ConvertMemoryType()
43 …case EfiBootServicesCode: StrnCatGrow(&RetVal, NULL, L"EfiBootServicesCode", 0); … in ConvertMemoryType()
44 …case EfiBootServicesData: StrnCatGrow(&RetVal, NULL, L"EfiBootServicesData", 0); … in ConvertMemoryType()
45 …case EfiRuntimeServicesCode: StrnCatGrow(&RetVal, NULL, L"EfiRuntimeServicesCode", 0); … in ConvertMemoryType()
46 …case EfiRuntimeServicesData: StrnCatGrow(&RetVal, NULL, L"EfiRuntimeServicesData", 0); … in ConvertMemoryType()
47 …case EfiConventionalMemory: StrnCatGrow(&RetVal, NULL, L"EfiConventionalMemory", 0); … in ConvertMemoryType()
48 …case EfiUnusableMemory: StrnCatGrow(&RetVal, NULL, L"EfiUnusableMemory", 0); … in ConvertMemoryType()
49 …case EfiACPIReclaimMemory: StrnCatGrow(&RetVal, NULL, L"EfiACPIReclaimMemory", 0); … in ConvertMemoryType()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellBcfgCommandLib/
DUefiShellBcfgCommandLib.c808 FileName = StrnCatGrow(&FileName, NULL, Walker+1, 0); in BcfgAddOpt()
829 FileName = StrnCatGrow(&FileName, NULL, Walker, 0); in BcfgAddOpt()
844 FileName = StrnCatGrow(&FileName, NULL, Walker, 0); in BcfgAddOpt()
1310 …CurrentOperation.FileName = StrnCatGrow(&CurrentOperation.FileName , NULL, ShellCommandLineGe… in ShellCommandRunBcfg()
1312 …CurrentOperation.Description = StrnCatGrow(&CurrentOperation.Description, NULL, ShellCommandLineGe… in ShellCommandRunBcfg()
1328 …CurrentOperation.FileName = StrnCatGrow(&CurrentOperation.FileName , NULL, ShellCommandLineGe… in ShellCommandRunBcfg()
1330 …CurrentOperation.Description = StrnCatGrow(&CurrentOperation.Description, NULL, ShellCommandLineGe… in ShellCommandRunBcfg()
1353 …CurrentOperation.Description = StrnCatGrow(&CurrentOperation.Description, NULL, ShellCommandLineGe… in ShellCommandRunBcfg()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/
DEdit.c77 Nfs = StrnCatGrow(&Nfs, NULL, Cwd+3, 0); in ShellCommandRunEdit()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLib/
DUefiShellLib.c1725 RetVal = StrnCatGrow(&RetVal, NULL, FileName, 0); in ShellFindFilePath()
1748 RetVal = StrnCatGrow(&RetVal, NULL, TestPath, 0); in ShellFindFilePath()
1790 RetVal = StrnCatGrow(&RetVal, NULL, TestPath, 0); in ShellFindFilePath()
1932 TempString = StrnCatGrow(&TempString, NULL, Name, StrLen(TempListItem->Name)); in InternalIsOnCheckList()
2395 …TempString = StrnCatGrow(&TempString, NULL, KeyString, StrLen(((SHELL_PARAM_PACKAGE*)Node)->Name)); in ShellCommandLineGetFlag()
2459 …TempString = StrnCatGrow(&TempString, NULL, KeyString, StrLen(((SHELL_PARAM_PACKAGE*)Node)->Name)); in ShellCommandLineGetValue()
2591 *Param = StrnCatGrow(Param, NULL, ((SHELL_PARAM_PACKAGE*)Node1)->Name, 0); in ShellCommandLineCheckDuplicate()
2653 Replace = StrnCatGrow(&Replace, NULL, ReplaceWith, 0); in ShellCopySearchAndReplace()
3032 TempLocation = StrnCatGrow(&TempLocation, NULL, DirName, 0); in ShellIsDirectory()
3226 StrnCatGrow ( in StrnCatGrow() function
[all …]

12