Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel1CommandsLib/
DFor.c159 Node->CommandString = StrnCatGrow(&Node->CommandString, NULL, CommandString, 0); in InternalUpdateAliasOnList()
170 Node->Alias = StrnCatGrow(&Node->Alias, NULL, Alias, 0); in InternalUpdateAliasOnList()
172 Node->CommandString = StrnCatGrow(&Node->CommandString, NULL, CommandString, 0); in InternalUpdateAliasOnList()
382 ArgSet = StrnCatGrow(&ArgSet, &ArgSize, L" \"", 0); in ShellCommandRunFor()
383 ArgSet = StrnCatGrow(&ArgSet, &ArgSize, gEfiShellParametersProtocol->Argv[LoopVar], 0); in ShellCommandRunFor()
384 ArgSet = StrnCatGrow(&ArgSet, &ArgSize, L"\"", 0); in ShellCommandRunFor()
390 ArgSet = StrnCatGrow(&ArgSet, &ArgSize, L" \"", 0); in ShellCommandRunFor()
391 ArgSet = StrnCatGrow(&ArgSet, &ArgSize, Node->FullName, 0); in ShellCommandRunFor()
392 ArgSet = StrnCatGrow(&ArgSet, &ArgSize, L"\"", 0); in ShellCommandRunFor()
399 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.c60 Tester = StrnCatGrow(&Tester, NULL, *Statement, StrLen(Fragment)); in IsNextFragment()
450 Compare1 = StrnCatGrow(&Compare1, NULL, HexString, 0); in ProcessStatement()
467 Compare1 = StrnCatGrow(&Compare1, NULL, HexString, 0); in ProcessStatement()
484 Compare1 = StrnCatGrow(&Compare1, NULL, HexString, 0); in ProcessStatement()
503 Compare1 = StrnCatGrow(&Compare1, NULL, StatementWalker, 0); in ProcessStatement()
551 Compare2 = StrnCatGrow(&Compare2, NULL, HexString, 0); in ProcessStatement()
571 Compare2 = StrnCatGrow(&Compare2, NULL, HexString, 0); in ProcessStatement()
588 Compare2 = StrnCatGrow(&Compare2, NULL, HexString, 0); in ProcessStatement()
603 Compare2 = StrnCatGrow(&Compare2, NULL, StatementWalker, 0); in ProcessStatement()
732 CommandName = StrnCatGrow(&CommandName, NULL, CommandNode->Cl, 0); in MoveToTagSpecial()
DUefiShellLevel1CommandsLib.c148 CommandName = StrnCatGrow(&CommandName, NULL, CommandNode->Cl, 0); in TestNodeForMove()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
DLs.c381 CorrectedPath = StrnCatGrow(&CorrectedPath, &LongestPath, RootPath, 0); in PrintLsOutput()
387 CorrectedPath = StrnCatGrow(&CorrectedPath, &LongestPath, L"\\", 0); in PrintLsOutput()
389 CorrectedPath = StrnCatGrow(&CorrectedPath, &LongestPath, SearchString, 0); in PrintLsOutput()
463 CorrectedPath = StrnCatGrow(&CorrectedPath, &LongestPath, RootPath, 0); in PrintLsOutput()
469 CorrectedPath = StrnCatGrow(&CorrectedPath, &LongestPath, L"\\", 0); in PrintLsOutput()
471 CorrectedPath = StrnCatGrow(&CorrectedPath, &LongestPath, L"*", 0); in PrintLsOutput()
670 StrnCatGrow(&SearchString, NULL, L"*", 0); in ShellCommandRunLs()
671 StrnCatGrow(&FullPath, NULL, CurDir, 0); in ShellCommandRunLs()
673 StrnCatGrow(&FullPath, &Size, L"\\", 0); in ShellCommandRunLs()
687 StrnCatGrow(&FullPath, &Size, gEfiShellProtocol->GetCurDir(NULL), 0); in ShellCommandRunLs()
[all …]
DRm.c234 Pattern = StrnCatGrow(&Pattern, &Size, TempLocation , 0); in IsValidDeleteTarget()
235 Pattern = StrnCatGrow(&Pattern, &Size, L"\\" , 0); in IsValidDeleteTarget()
237 SearchString = StrnCatGrow(&SearchString, &Size, Node->FullName, 0); in IsValidDeleteTarget()
239 SearchString = StrnCatGrow(&SearchString, &Size, L"\\", 0); in IsValidDeleteTarget()
240 SearchString = StrnCatGrow(&SearchString, &Size, L"*", 0); in IsValidDeleteTarget()
DCd.c182 Drive = StrnCatGrow(&Drive, &DriveSize, ShellGetCurrentDir(NULL), 0); in ShellCommandRunCd()
183 Drive = StrnCatGrow(&Drive, &DriveSize, L"\\", 0); in ShellCommandRunCd()
186 Drive = StrnCatGrow(&Drive, &DriveSize, Param1Copy+1, 0); in ShellCommandRunCd()
188 Drive = StrnCatGrow(&Drive, &DriveSize, Param1Copy, 0); in ShellCommandRunCd()
DUefiShellLevel2CommandsLib.c190 StrnCatGrow(&PathToReturn, &Size, CurDir, 0); in GetFullyQualifiedPath()
191 StrnCatGrow(&PathToReturn, &Size, L"\\", 0); in GetFullyQualifiedPath()
196 StrnCatGrow(&PathToReturn, &Size, Path, 0); in GetFullyQualifiedPath()
233 PathCopy = StrnCatGrow(&PathCopy, NULL, Path, 0); in VerifyIntermediateDirectories()
DCp.c146 StrnCatGrow(&TempName, &Size, Source, 0); in CopySingleFile()
147 StrnCatGrow(&TempName, &Size, L"\\*", 0); in CopySingleFile()
151 StrnCatGrow(&TempName, &Size, Dest, 0); in CopySingleFile()
152 StrnCatGrow(&TempName, &Size, L"\\", 0); in CopySingleFile()
603 StrnCatGrow(&FullName, NULL, ((EFI_SHELL_FILE_INFO *)List->Link.ForwardLink)->FullName, 0); in ProcessValidateAndCopyFiles()
DVol.c282 StrnCatGrow(&FullPath, &Length, PathName, 0); in ShellCommandRunVol()
283 StrnCatGrow(&FullPath, &Length, L":\\", 0); in ShellCommandRunVol()
DMap.c88 TempList = StrnCatGrow(&TempList, NULL, ListWalker, 0); in SearchList()
336 CurrentName = StrnCatGrow(&CurrentName, 0, MapList, 0); in PerformSingleMappingDisplay()
373 CurrentName = StrnCatGrow(&CurrentName, 0, MapList, 0); in PerformSingleMappingDisplay()
382 Alias = StrnCatGrow(&Alias, 0, MapList, 0); in PerformSingleMappingDisplay()
DTimeDate.c112 DateStringCopy = StrnCatGrow(&DateStringCopy, NULL, DateString, 0); in CheckAndSetDate()
332 TimeStringCopy = StrnCatGrow(&TimeStringCopy, NULL, TimeString, 0); in CheckAndSetTime()
745 TimeZoneCopy = StrnCatGrow(&TimeZoneCopy, NULL, TimeZoneString, 0); in CheckAndSetTimeZone()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel3CommandsLib/
DHelp.c356 StrnCatGrow(&CommandToGetHelpOn, NULL, ShellCommandLineGetRawValue(Package, 1), 0); in ShellCommandRunHelp()
362 StrnCatGrow(&CommandToGetHelpOn, NULL, L"help", 0); in ShellCommandRunHelp()
366 StrnCatGrow(&CommandToGetHelpOn, NULL, L"*", 0); in ShellCommandRunHelp()
368 StrnCatGrow(&SectionToGetHelpOn, NULL, L"NAME", 0); in ShellCommandRunHelp()
376 StrnCatGrow(&SectionToGetHelpOn, NULL, ShellCommandLineGetValue(Package, L"-section"), 0); in ShellCommandRunHelp()
378 StrnCatGrow(&SectionToGetHelpOn, NULL, L"NAME,SYNOPSIS", 0); in ShellCommandRunHelp()
384 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.c86 FS = StrnCatGrow(&FS, NULL, Name, 0); in DoTouchByHandle()
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShellProtocol.c253 StrnCatGrow(&NewName, &Size, Mapping, 0); in EfiShellGetDevicePathFromMap()
255 StrnCatGrow(&NewName, &Size, L":", 0); in EfiShellGetDevicePathFromMap()
320 PathForReturn = StrnCatGrow(&PathForReturn, &PathSize, L";", 0); in EfiShellGetMapFromDevicePath()
322 PathForReturn = StrnCatGrow(&PathForReturn, &PathSize, Node->MapName, 0); in EfiShellGetMapFromDevicePath()
446 PathForReturn = StrnCatGrow(&PathForReturn, &PathSize, MapListItem->MapName, 0); in EfiShellGetFilePathFromDevicePath()
481 PathForReturn = StrnCatGrow (&PathForReturn, &PathSize, L"\\", 1); in EfiShellGetFilePathFromDevicePath()
484 PathForReturn = StrnCatGrow(&PathForReturn, &PathSize, AlignedNode->PathName, 0); in EfiShellGetFilePathFromDevicePath()
559 MapName = StrnCatGrow(&MapName, &Size, Path, (StrStr(Path, L":")-Path+1)); in EfiShellGetDevicePathFromFilePath()
789 StrnCatGrow(BestDeviceName, NULL, DeviceNameToReturn, 0); in EfiShellGetDeviceName()
1663 StrnCatGrow(&Temp, &Size, L"Shell.efi -_exit ", 0); in EfiShellExecute()
[all …]
DShellManParser.c209 …TempString = StrnCatGrow(&TempString, NULL, CurrentLocation, TempString2==NULL?0:TempString2 - Cur… in ManBufferFindSections()
231 …TempString = StrnCatGrow(&TempString, NULL, CurrentLocation, TempString2==NULL?0:TempString2 - Cur… in ManBufferFindSections()
240 StrnCatGrow (HelpText, HelpSize, TempString, 0); in ManBufferFindSections()
245 StrnCatGrow (HelpText, HelpSize, L"\r\n", 0); in ManBufferFindSections()
366 StrnCatGrow (HelpText, HelpSize, ReadLine, 0); in ManFileFindSections()
367 StrnCatGrow (HelpText, HelpSize, L"\r\n", 0); in ManFileFindSections()
DShell.c1010 StrnCatGrow(&ShellInfoObject.ShellInitSettings.FileOptions, in ProcessCommandLine()
1018 StrnCatGrow(&ShellInfoObject.ShellInitSettings.FileOptions, in ProcessCommandLine()
1138 FileStringPath = StrnCatGrow(&FileStringPath, &NewSize, MapName, 0); in DoStartupScript()
1146 …FileStringPath = StrnCatGrow(&FileStringPath, &NewSize, ((FILEPATH_DEVICE_PATH*)FilePath)->PathNam… in DoStartupScript()
1148 FileStringPath = StrnCatGrow(&FileStringPath, &NewSize, mStartupScript, 0); in DoStartupScript()
1634 NextCommandLine = StrnCatGrow(&NextCommandLine, &Size1, StrStr(CmdLine, L"|")+1, 0); in RunSplitCommand()
1635 …OurCommandLine = StrnCatGrow(&OurCommandLine , &Size2, CmdLine , StrStr(CmdLine, L… in RunSplitCommand()
1764 StrnCatGrow(&CommandName, NULL, (*CmdLine), 0); in ShellSubstituteAliases()
1766 StrnCatGrow(&CommandName, NULL, (*CmdLine), StrStr((*CmdLine), L" ") - (*CmdLine)); in ShellSubstituteAliases()
1782 NewCmdLine = StrnCatGrow(&NewCmdLine, &PostAliasSize, CommandName, 0); in ShellSubstituteAliases()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/
DDh.c96 StrnCatGrow(NameFound, NULL, NameToReturn, 0); in GetDriverName()
175 StrnCatGrow(&RetVal, &Size, Seperator, 0); in GetProtocolInfoString()
177 StrnCatGrow(&RetVal, &Size, L"%H", 0); in GetProtocolInfoString()
178 StrnCatGrow(&RetVal, &Size, Temp, 0); in GetProtocolInfoString()
179 StrnCatGrow(&RetVal, &Size, L"%N", 0); in GetProtocolInfoString()
187 StrnCatGrow(&RetVal, &Size, L"(", 0); in GetProtocolInfoString()
188 StrnCatGrow(&RetVal, &Size, Temp, 0); in GetProtocolInfoString()
189 StrnCatGrow(&RetVal, &Size, L")\r\n", 0); in GetProtocolInfoString()
191 StrnCatGrow(&RetVal, &Size, Seperator, 0); in GetProtocolInfoString()
192 StrnCatGrow(&RetVal, &Size, Temp, 0); in GetProtocolInfoString()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellCommandLib/
DUefiShellCommandLib.c547 StrnCatGrow(&mProfileList, &mProfileListSize, L";", 0); in ShellCommandRegisterCommandName()
549 StrnCatGrow(&mProfileList, &mProfileListSize, ProfileName, 0); in ShellCommandRegisterCommandName()
550 StrnCatGrow(&mProfileList, &mProfileListSize, L";", 0); in ShellCommandRegisterCommandName()
1194 StrnCatGrow(&NewPath, &NewPathSize, OriginalPath, 0); in ShellCommandAddMapItemAndUpdatePath()
1196 StrnCatGrow(&NewPath, &NewPathSize, L".\\", 0); in ShellCommandAddMapItemAndUpdatePath()
1198 StrnCatGrow(&NewPath, &NewPathSize, L";", 0); in ShellCommandAddMapItemAndUpdatePath()
1199 StrnCatGrow(&NewPath, &NewPathSize, Name, 0); in ShellCommandAddMapItemAndUpdatePath()
1200 StrnCatGrow(&NewPath, &NewPathSize, L"\\efi\\tools\\;", 0); in ShellCommandAddMapItemAndUpdatePath()
1201 StrnCatGrow(&NewPath, &NewPathSize, Name, 0); in ShellCommandAddMapItemAndUpdatePath()
1202 StrnCatGrow(&NewPath, &NewPathSize, L"\\efi\\boot\\;", 0); in ShellCommandAddMapItemAndUpdatePath()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DDmpStore.c57 StrnCatGrow (&RetString, &BufLen, L"+NV", 0); in GetAttrType()
60 StrnCatGrow (&RetString, &BufLen, L"+RT+BS", 0); in GetAttrType()
62 StrnCatGrow (&RetString, &BufLen, L"+BS", 0); in GetAttrType()
65 StrnCatGrow (&RetString, &BufLen, L"+HR", 0); in GetAttrType()
68 StrnCatGrow (&RetString, &BufLen, L"+AW", 0); in GetAttrType()
71 StrnCatGrow (&RetString, &BufLen, L"+AT", 0); in GetAttrType()
75 RetString = StrnCatGrow(&RetString, &BufLen, L"Invalid", 0); in GetAttrType()
398 StrnCatGrow(&FoundVarName, &NameSize, PrevName, 0); in CascadeProcessVariables()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiHandleParsingLib/
DUefiHandleParsingLib.c41 …case EfiReservedMemoryType: StrnCatGrow(&RetVal, NULL, L"EfiReservedMemoryType", 0); … in ConvertMemoryType()
42 …case EfiLoaderCode: StrnCatGrow(&RetVal, NULL, L"EfiLoaderCode", 0); … in ConvertMemoryType()
43 …case EfiLoaderData: StrnCatGrow(&RetVal, NULL, L"EfiLoaderData", 0); … in ConvertMemoryType()
44 …case EfiBootServicesCode: StrnCatGrow(&RetVal, NULL, L"EfiBootServicesCode", 0); … in ConvertMemoryType()
45 …case EfiBootServicesData: StrnCatGrow(&RetVal, NULL, L"EfiBootServicesData", 0); … in ConvertMemoryType()
46 …case EfiRuntimeServicesCode: StrnCatGrow(&RetVal, NULL, L"EfiRuntimeServicesCode", 0); … in ConvertMemoryType()
47 …case EfiRuntimeServicesData: StrnCatGrow(&RetVal, NULL, L"EfiRuntimeServicesData", 0); … in ConvertMemoryType()
48 …case EfiConventionalMemory: StrnCatGrow(&RetVal, NULL, L"EfiConventionalMemory", 0); … in ConvertMemoryType()
49 …case EfiUnusableMemory: StrnCatGrow(&RetVal, NULL, L"EfiUnusableMemory", 0); … in ConvertMemoryType()
50 …case EfiACPIReclaimMemory: StrnCatGrow(&RetVal, NULL, L"EfiACPIReclaimMemory", 0); … in ConvertMemoryType()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellBcfgCommandLib/
DUefiShellBcfgCommandLib.c823 FileName = StrnCatGrow(&FileName, NULL, Walker+1, 0); in BcfgAddOpt()
844 FileName = StrnCatGrow(&FileName, NULL, Walker, 0); in BcfgAddOpt()
859 FileName = StrnCatGrow(&FileName, NULL, Walker, 0); in BcfgAddOpt()
1304 …CurrentOperation.FileName = StrnCatGrow(&CurrentOperation.FileName , NULL, ShellCommandLineGe… in ShellCommandRunBcfg()
1306 …CurrentOperation.Description = StrnCatGrow(&CurrentOperation.Description, NULL, ShellCommandLineGe… in ShellCommandRunBcfg()
1322 …CurrentOperation.FileName = StrnCatGrow(&CurrentOperation.FileName , NULL, ShellCommandLineGe… in ShellCommandRunBcfg()
1324 …CurrentOperation.Description = StrnCatGrow(&CurrentOperation.Description, NULL, ShellCommandLineGe… in ShellCommandRunBcfg()
1347 …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.c1708 RetVal = StrnCatGrow(&RetVal, NULL, FileName, 0); in ShellFindFilePath()
1731 RetVal = StrnCatGrow(&RetVal, NULL, TestPath, 0); in ShellFindFilePath()
1773 RetVal = StrnCatGrow(&RetVal, NULL, TestPath, 0); in ShellFindFilePath()
1916 TempString = StrnCatGrow(&TempString, NULL, Name, StrLen(TempListItem->Name)); in InternalIsOnCheckList()
2373 …TempString = StrnCatGrow(&TempString, NULL, KeyString, StrLen(((SHELL_PARAM_PACKAGE*)Node)->Name)); in ShellCommandLineGetFlag()
2437 …TempString = StrnCatGrow(&TempString, NULL, KeyString, StrLen(((SHELL_PARAM_PACKAGE*)Node)->Name)); in ShellCommandLineGetValue()
2569 *Param = StrnCatGrow(Param, NULL, ((SHELL_PARAM_PACKAGE*)Node1)->Name, 0); in ShellCommandLineCheckDuplicate()
2631 Replace = StrnCatGrow(&Replace, NULL, ReplaceWith, 0); in ShellCopySearchAndReplace()
3011 TempLocation = StrnCatGrow(&TempLocation, NULL, DirName, 0); in ShellIsDirectory()
3205 StrnCatGrow ( in StrnCatGrow() function
[all …]

12