/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/ |
D | Vol.c | 50 StrStr(Name, L"%") != NULL || in HandleVol() 51 StrStr(Name, L"^") != NULL || in HandleVol() 52 StrStr(Name, L"*") != NULL || in HandleVol() 53 StrStr(Name, L"+") != NULL || in HandleVol() 54 StrStr(Name, L"=") != NULL || in HandleVol() 55 StrStr(Name, L"[") != NULL || in HandleVol() 56 StrStr(Name, L"]") != NULL || in HandleVol() 57 StrStr(Name, L"|") != NULL || in HandleVol() 58 StrStr(Name, L":") != NULL || in HandleVol() 59 StrStr(Name, L";") != NULL || in HandleVol() [all …]
|
D | Rm.c | 49 if (StrStr(FileInfo->FileName, L".") != FileInfo->FileName in IsDirectoryEmpty() 50 &&StrStr(FileInfo->FileName, L"..") != FileInfo->FileName) { in IsDirectoryEmpty() 126 if (EFI_ERROR(Node2->Status) && StrStr(Node2->FileName, L":") == NULL) { in CascadeDelete() 136 TempName[StrStr(TempName, L":")+1-TempName] = CHAR_NULL; in CascadeDelete() 215 TempLocation = StrStr(Node->FullName, L":"); in IsValidDeleteTarget()
|
D | Parse.c | 302 if (StrStr (TempLine, L"ShellCommand,") == TempLine) { in PerformParsing() 317 || StrStr (TempLine, L"ShellCommand,") == TempLine) { in PerformParsing() 321 if (StrStr (TempLine, TableName) == TempLine) { in PerformParsing() 326 ColumnPointer = StrStr (ColumnPointer, L",\""); in PerformParsing() 336 TempSpot = StrStr (ColumnPointer, L",\""); in PerformParsing()
|
D | Mv.c | 40 Test = StrStr(FullName, L":"); in IsBetweenFileSystem() 42 Test = StrStr(Cwd, L":"); in IsBetweenFileSystem() 44 Test1 = StrStr(DestPath, L":"); in IsBetweenFileSystem() 46 Test1 = StrStr(Cwd, L":"); in IsBetweenFileSystem() 132 ((StrStr(DestPathWalker, SourcePath) == DestPathWalker) && in IsValidMove() 184 if (StrStr(DestParameter, L"\\") == DestParameter) { in GetDestinationLocation() 212 if (StrStr(DestParameter, L":") == NULL) { in GetDestinationLocation() 392 if ((TempLocation = StrStr(DestPath, L":")) != NULL) { in MoveWithinFileSystems()
|
D | Map.c | 90 TempSpot = StrStr(TempList, Target); in SearchList() 99 ListWalker = StrStr(ListWalker, Target); in SearchList() 345 TempSpot = StrStr(CurrentName, L";"); in PerformSingleMappingDisplay() 355 TempSpot = StrStr(MapList, L";"); in PerformSingleMappingDisplay() 377 TempSpot = StrStr(CurrentName, L";"); in PerformSingleMappingDisplay() 386 TempSpot = StrStr(Alias, CurrentName); in PerformSingleMappingDisplay() 388 TempSpot2 = StrStr(TempSpot, L";"); in PerformSingleMappingDisplay() 419 …if ((TypeString != NULL &&MediaType != NULL && StrStr(TypeString, MediaType) != NULL) || TypeStrin… in PerformSingleMappingDisplay() 713 Comma = StrStr(TypeWalker, L","); in PerformMappingDisplay2()
|
D | Ls.c | 675 if (StrStr(PathName, L":") == NULL && gEfiShellProtocol->GetCurDir(NULL) == NULL) { in ShellCommandRunLs() 686 if (StrStr(PathName, L":") == NULL) { in ShellCommandRunLs() 711 ; SearchString != NULL && StrStr(SearchString, L"\\") != NULL in ShellCommandRunLs() 712 …; CopyMem(SearchString, StrStr(SearchString, L"\\") + 1, 1 + StrSize(StrStr(SearchString, L"\\") +… in ShellCommandRunLs()
|
D | TimeDate.c | 122 Walker1 = StrStr(Walker, L"/"); in CheckAndSetDate() 131 Walker1 = Walker!=NULL?StrStr(Walker, L"/"):NULL; in CheckAndSetDate() 140 Walker1 = Walker!=NULL?StrStr(Walker, L"/"):NULL; in CheckAndSetDate() 337 Walker2 = Walker1!=NULL?StrStr(Walker1, L":"):NULL; in CheckAndSetTime() 345 Walker2 = Walker1!=NULL?StrStr(Walker1, L":"):NULL; in CheckAndSetTime() 750 Walker2 = StrStr(Walker, L":"); in CheckAndSetTimeZone()
|
D | Cd.c | 173 } else if (StrStr(Param1Copy, L":") == NULL) { in ShellCommandRunCd() 225 Path = StrStr(Drive, L":"); in ShellCommandRunCd()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
D | FilePaths.c | 90 while ((TempString = StrStr(Path, L"\\..\\")) != NULL) { in PathCleanUpDirectories() 97 if ((TempString = StrStr(Path, L"\\..")) != NULL && *(TempString + 3) == CHAR_NULL) { in PathCleanUpDirectories() 104 while ((TempString = StrStr(Path, L"\\.\\")) != NULL) { in PathCleanUpDirectories() 110 if ((TempString = StrStr(Path, L"\\.")) != NULL && *(TempString + 2) == CHAR_NULL) { in PathCleanUpDirectories() 114 while ((TempString = StrStr(Path, L"\\\\")) != NULL) { in PathCleanUpDirectories() 120 if ((TempString = StrStr(Path, L"\\\\")) != NULL && *(TempString + 1) == CHAR_NULL) { in PathCleanUpDirectories()
|
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/ |
D | ShellParametersProtocol.c | 588 if ((TempLocation = StrStr(Copy , L"\"")) != NULL) { in FixFileName() 596 if ((TempLocation = StrStr(Copy , L" ")) != NULL) { in FixFileName() 629 if ((TempLocation = StrStr(Copy , L"%")) != NULL) { in FixVarName() 793 if (!EFI_ERROR(Status) && (CommandLineWalker = StrStr(CommandLineCopy, L" 2>>v ")) != NULL) { in UpdateStdInStdOutStdErr() 798 if (StrStr(CommandLineWalker, L" 2>>v ") != NULL) { in UpdateStdInStdOutStdErr() 802 if (!EFI_ERROR(Status) && (CommandLineWalker = StrStr(CommandLineCopy, L" 1>>v ")) != NULL) { in UpdateStdInStdOutStdErr() 807 if (StrStr(CommandLineWalker, L" 1>>v ") != NULL) { in UpdateStdInStdOutStdErr() 810 …} else if (!EFI_ERROR(Status) && (CommandLineWalker = StrStr(CommandLineCopy, L" >>v ")) != NULL) { in UpdateStdInStdOutStdErr() 815 if (StrStr(CommandLineWalker, L" >>v ") != NULL) { in UpdateStdInStdOutStdErr() 818 } else if (!EFI_ERROR(Status) && (CommandLineWalker = StrStr(CommandLineCopy, L" >v ")) != NULL) { in UpdateStdInStdOutStdErr() [all …]
|
D | ShellManParser.c | 176 ; CurrentLocation=StrStr(CurrentLocation, L"\r\n"),TempString = NULL in ManBufferFindSections() 205 TempString2 = StrStr(CurrentLocation, L" "); in ManBufferFindSections() 206 TempString2 = MIN(TempString2, StrStr(CurrentLocation, L"\r")); in ManBufferFindSections() 207 TempString2 = MIN(TempString2, StrStr(CurrentLocation, L"\n")); in ManBufferFindSections() 216 SectionName = StrStr(Sections, SectionName); in ManBufferFindSections() 228 TempString2 = StrStr(CurrentLocation, L"\r"); in ManBufferFindSections() 229 TempString2 = MIN(TempString2, StrStr(CurrentLocation, L"\n")); in ManBufferFindSections() 353 SectionName = StrStr(Sections, SectionName); in ManFileFindSections() 431 CurrentLocation = StrStr(*Buffer, TitleString); in ManBufferFindTitleSection() 443 TitleEnd = StrStr(CurrentLocation, L"\""); in ManBufferFindTitleSection()
|
D | ShellEnvVar.c | 325 ASSERT(StrStr(CurrentString, L"=") != NULL); in SetEnvironmentVariables() 332 … Node->Key = AllocateZeroPool((StrStr(CurrentString, L"=") - CurrentString + 1) * sizeof(CHAR16)); in SetEnvironmentVariables() 343 StrStr(CurrentString, L"=") - CurrentString + 1, in SetEnvironmentVariables() 345 StrStr(CurrentString, L"=") - CurrentString in SetEnvironmentVariables()
|
D | Shell.c | 123 Temp = StrStr(SourceString, FindString); in FindNextInstance() 1142 TempSpot = StrStr(FileStringPath, L";"); in DoStartupScript() 1504 for (Temp = StrStr(OriginalCommandLine, AliasListNode->Alias) in ShellConvertVariables() 1506 ; Temp = StrStr(Temp+1, AliasListNode->Alias) in ShellConvertVariables() 1525 for (Temp = StrStr(OriginalCommandLine, MasterEnvList) in ShellConvertVariables() 1527 ; Temp = StrStr(Temp+1, MasterEnvList) in ShellConvertVariables() 1626 ASSERT(StrStr(CmdLine, L"|") != NULL); in RunSplitCommand() 1634 NextCommandLine = StrnCatGrow(&NextCommandLine, &Size1, StrStr(CmdLine, L"|")+1, 0); in RunSplitCommand() 1635 …OurCommandLine = StrnCatGrow(&OurCommandLine , &Size2, CmdLine , StrStr(CmdLine, L… in RunSplitCommand() 1641 } else if (StrStr(OurCommandLine, L"|") != NULL || Size1 == 0 || Size2 == 0) { in RunSplitCommand() [all …]
|
D | ShellProtocol.c | 532 if (StrStr(Path, L":") == NULL) { in EfiShellGetDevicePathFromFilePath() 559 MapName = StrnCatGrow(&MapName, &Size, Path, (StrStr(Path, L":")-Path+1)); in EfiShellGetDevicePathFromFilePath() 1137 if (StrStr(FileName, L">v") == FileName) { in EfiShellCreateFile() 1306 if (StrStr(FileName, L">v") == FileName) { in EfiShellOpenFileByName() 2005 TempSpot = StrStr(TempString, L";"); in EfiShellFindFilesInDir() 2168 if (StrStr(*Path, L":") == NULL) { in UpdateFileName() 2297 if (StrStr(NextFilePatternStart, L"\\") != NULL){ in ShellSearchHandle() 2307 if (ShellInfoNode->FullName != NULL && StrStr(ShellInfoNode->FullName, L":") == NULL) { in ShellSearchHandle() 2432 || StrStr(FilePattern, L":") == NULL in EfiShellFindFiles() 2447 Count = StrStr(PatternCopy, L":") - PatternCopy; in EfiShellFindFiles() [all …]
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel1CommandsLib/ |
D | For.c | 46 …if ((StrStr(Number, L" ") == NULL) || (((StrStr(Number, L" ") != NULL) && (StrStr(Number, L" ") - … in ShellIsValidForNumber() 375 if (StrStr(gEfiShellParametersProtocol->Argv[LoopVar], L"*") != NULL in ShellCommandRunFor() 376 ||StrStr(gEfiShellParametersProtocol->Argv[LoopVar], L"?") != NULL in ShellCommandRunFor() 377 ||StrStr(gEfiShellParametersProtocol->Argv[LoopVar], L"[") != NULL in ShellCommandRunFor() 378 ||StrStr(gEfiShellParametersProtocol->Argv[LoopVar], L"]") != NULL) { in ShellCommandRunFor() 441 if (StrStr (gEfiShellParametersProtocol->Argv[LoopVar], L")") != NULL && in ShellCommandRunFor() 478 TempSpot = StrStr(ArgSetWalker, L")"); in ShellCommandRunFor() 521 ArgSetWalker = StrStr(ArgSetWalker, L" "); in ShellCommandRunFor() 547 ArgSetWalker = StrStr(ArgSetWalker, L" "); in ShellCommandRunFor() 572 if (StrStr(ArgSetWalker, L" ") != NULL) { in ShellCommandRunFor() [all …]
|
D | If.c | 100 TempLocation = StrStr(ProfilesString, String); in IsValidProfile() 444 TempSpot = StrStr(StatementWalker, L")"); in ProcessStatement() 461 TempSpot = StrStr(StatementWalker, L")"); in ProcessStatement() 478 TempSpot = StrStr(StatementWalker, L")"); in ProcessStatement() 545 TempSpot = StrStr(StatementWalker, L")"); in ProcessStatement() 565 TempSpot = StrStr(StatementWalker, L")"); in ProcessStatement() 582 TempSpot = StrStr(StatementWalker, L")"); in ProcessStatement() 744 TempLocation = StrStr(CommandWalker, L" "); in MoveToTagSpecial()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DriverSampleDxe/ |
D | DriverSample.c | 676 StringPtr = StrStr (StringPtr, L"OFFSET"); in AppendAltCfgString() 870 if (StrStr (Request, L"OFFSET") == NULL) { in ExtractConfig() 874 StrPointer = StrStr (Request, L"PATH"); in ExtractConfig() 878 if (StrStr (StrPointer, L"&") == NULL) { in ExtractConfig() 891 if (StrStr (ConfigRequest, L"OFFSET") == NULL) { in ExtractConfig() 917 if ((Value = StrStr (*Results, PrivateData->NameValueName[0])) != NULL) { in ExtractConfig() 936 if ((Value = StrStr (*Results, PrivateData->NameValueName[1])) != NULL) { in ExtractConfig() 955 if ((Value = StrStr (*Results, PrivateData->NameValueName[2])) != NULL) { in ExtractConfig() 1004 } else if (StrStr (Request, L"OFFSET") == NULL) { in ExtractConfig() 1092 if (StrStr (Configuration, L"OFFSET") == NULL) { in RouteConfig() [all …]
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/ |
D | Edit.c | 79 Spot = StrStr(Nfs, L";"); in ShellCommandRunEdit() 83 Spot = StrStr(Nfs, L"\\"); in ShellCommandRunEdit()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FvSimpleFileSystemDxe/ |
D | FvSimpleFileSystem.c | 400 while ((TempString = StrStr (Path, L"\\..\\")) != NULL) { in TrimFilePathToAbsolutePath() 408 if (((TempString = StrStr (Path, L"\\..")) != NULL) && (*(TempString + 3) == CHAR_NULL)) { in TrimFilePathToAbsolutePath() 416 while ((TempString = StrStr (Path, L"\\.\\")) != NULL) { in TrimFilePathToAbsolutePath() 423 if (((TempString = StrStr (Path, L"\\.")) != NULL) && (*(TempString + 2) == CHAR_NULL)) { in TrimFilePathToAbsolutePath() 427 while ((TempString = StrStr (Path, L"\\\\")) != NULL) { in TrimFilePathToAbsolutePath() 434 if (((TempString = StrStr(Path, L"\\\\")) != NULL) && (*(TempString + 1) == CHAR_NULL)) { in TrimFilePathToAbsolutePath()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/ |
D | Setup.c | 653 StrPtr = StrStr (ConfigResp, L"PATH"); in ProcessStorage() 655 StrPtr = StrStr (StrPtr, L"&"); in ProcessStorage() 1268 if (StrStr (ConfigRequest, Node->Name) != NULL) { in StorageToConfigResp() 1331 StrPtr = StrStr (ConfigResp, L"PATH"); in ConfigRespToStorage() 1335 StrPtr = StrStr (ConfigResp, L"&"); in ConfigRespToStorage() 1342 StrPtr = StrStr (StrPtr, L"="); in ConfigRespToStorage() 1353 StrPtr = StrStr (StrPtr, L"&"); in ConfigRespToStorage() 1740 Value = StrStr (Result, L"&VALUE"); in GetQuestionValue() 2364 if ((ConfigRequest != NULL && StrStr (ConfigRequest, Node->Name) != NULL) || in SynchronizeStorage() 2654 EndStr = StrStr (Progress, L"PATH="); in FindQuestionFromProgress() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
D | Dir.c | 196 if (StrStr (Section, MatchSubString) != NULL) { in EblDirCmd() 263 if (StrStr (&DirInfo->FileName[0], MatchSubString) == NULL) { in EblDirCmd()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/ |
D | ConfigRouting.c | 48 TmpPtr = StrStr (String, L"&GUID="); in CalculateConfigStringLen() 342 TmpPtr = StrStr (String, L"GUID="); in OutputConfigBody() 589 StringPtrDefault = StrStr (DefaultAltCfgResp, AltConfigHdr); in MergeDefaultString() 595 StringPtr = StrStr (*AltCfgResp, AltConfigHdr); in MergeDefaultString() 601 StringPtrEnd = StrStr (StringPtrDefault + 1, L"&GUID"); in MergeDefaultString() 640 StringPtrDefault = StrStr (StringPtrDefault + 1, AltConfigHdr); in MergeDefaultString() 1255 TmpRequest = StrStr (ConfigRequest, L"PATH="); in GetElementsFromRequest() 1258 if ((StrStr (TmpRequest, L"&OFFSET=") != NULL) || (StrStr (TmpRequest, L"&") != NULL)) { in GetElementsFromRequest() 1296 if (Name == NULL && ConfigHdr != NULL && StrStr (ConfigHdr, L"NAME=&") == NULL) { in IsThisVarstore() 2525 if ((NextTag = StrStr (StringPtr, L"=")) != NULL) { in GetNameElement() [all …]
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellBcfgCommandLib/ |
D | UefiShellBcfgCommandLib.c | 796 …if (EFI_ERROR(Status) || (((UINT16)Intermediate) != Intermediate) || StrStr(Walker, L" ") == NULL … in BcfgAddOpt() 803 Temp = StrStr(Walker, L" "); in BcfgAddOpt() 818 Temp = StrStr(Walker+1, L"\""); in BcfgAddOpt() 829 Temp2 = StrStr(FileName, L"\""); in BcfgAddOpt() 851 if (StrStr(Walker, L" ") == NULL) { in BcfgAddOpt() 872 …if (EFI_ERROR(Status) || (((UINT32)Intermediate) != Intermediate) || StrStr(Walker, L" ") == NULL)… in BcfgAddOpt() 877 Temp = StrStr(Walker, L" "); in BcfgAddOpt() 902 …if (EFI_ERROR(Status) || (((UINT16)Intermediate) != Intermediate) || StrStr(Walker, L" ") == NULL)… in BcfgAddOpt() 907 Temp = StrStr(Walker, L" "); in BcfgAddOpt() 924 Temp = StrStr(Walker, L" "); in BcfgAddOpt()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiHiiLib/ |
D | HiiLib.c | 1060 StringPtr = StrStr (ConfigElement, VarName); in GetValueFromRequest() 1302 if (StrStr (RequestElement, QuestionName) == NULL) { in ValidateQuestionFromVfr() 1373 if (StrStr (RequestElement, QuestionName) == NULL) { in ValidateQuestionFromVfr() 1511 if (StrStr (RequestElement, QuestionName) == NULL) { in ValidateQuestionFromVfr() 1586 StringPtr = StrStr (RequestElement, QuestionName); in ValidateQuestionFromVfr() 1764 StringPtr = StrStr (ConfigElement, L"&OFFSET="); in GetBlockDataInfo() 1997 if (StrStr (ConfigResp, L"&OFFSET=") != NULL) { in InternalHiiValidateCurrentSetting() 2007 StringPtr = StrStr (ConfigResp, L"PATH="); in InternalHiiValidateCurrentSetting() 2010 if (StrStr (StringPtr, L"&") != NULL) { in InternalHiiValidateCurrentSetting() 2069 TmpRequest = StrStr (ConfigRequest, L"PATH="); in GetElementsFromRequest() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgConfigDxe/ |
D | TcgConfigImpl.c | 210 if ((Request == NULL) || (StrStr (Request, L"OFFSET") == NULL)) { in TcgExtractConfig() 244 } else if (StrStr (Request, L"OFFSET") == NULL) { in TcgExtractConfig()
|