/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/ |
D | DevicePathToText.c | 35 IN OUT POOL_PRINT *Str, in UefiDevicePathLibCatPrint() argument 46 if ((Str->Count + (Count + 1)) * sizeof (CHAR16) > Str->Capacity) { in UefiDevicePathLibCatPrint() 47 Str->Capacity = (Str->Count + (Count + 1) * 2) * sizeof (CHAR16); in UefiDevicePathLibCatPrint() 48 Str->Str = ReallocatePool ( in UefiDevicePathLibCatPrint() 49 Str->Count * sizeof (CHAR16), in UefiDevicePathLibCatPrint() 50 Str->Capacity, in UefiDevicePathLibCatPrint() 51 Str->Str in UefiDevicePathLibCatPrint() 53 ASSERT (Str->Str != NULL); in UefiDevicePathLibCatPrint() 55 UnicodeVSPrint (&Str->Str[Str->Count], Str->Capacity - Str->Count * sizeof (CHAR16), Fmt, Args); in UefiDevicePathLibCatPrint() 56 Str->Count += Count; in UefiDevicePathLibCatPrint() [all …]
|
D | DevicePathFromText.c | 47 IN CHAR16 *Str, in GetParamByNodeName() argument 60 if (StrnCmp (Str, NodeName, NodeNameLength) != 0) { in GetParamByNodeName() 64 ParamStr = Str + NodeNameLength; in GetParamByNodeName() 119 CHAR16 *Str; in SplitStr() local 122 Str = *List; in SplitStr() 123 ReturnStr = Str; in SplitStr() 125 if (IS_NULL (*Str)) { in SplitStr() 132 while (!IS_NULL (*Str)) { in SplitStr() 133 if (*Str == Separator) { in SplitStr() 136 Str++; in SplitStr() [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/ |
D | lldbefi.py | 130 Str = "%d" % Tpl 132 Str = "TPL_DRIVER (Obsolete Concept in edk2)" 134 Str = "TPL_APPLICATION" 136 Str += " + " + "%d" % (Tpl - 4) 138 Str = "TPL_CALLBACK" 140 Str += " + " + "%d" % (Tpl - 4) 142 Str = "TPL_NOTIFY" 144 Str += " + " + "%d" % (Tpl - 4) 146 Str = "TPL_HIGH_LEVEL" 148 Str = "Invalid TPL" [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
D | StrGather.py | 147 Str = '' 149 Str = WriteLine(Str, Item) 150 Str = WriteLine(Str, '#ifndef _' + BaseName.upper() + '_STRINGS_DEFINE_H_') 151 Str = WriteLine(Str, '#define _' + BaseName.upper() + '_STRINGS_DEFINE_H_') 152 return Str 166 Str = '' 169 Str = WriteLine(Str, Line) 171 Str = WriteLine(Str, Line) 187 Str = WriteLine(Str, Line) 195 Str = ''.join([Str, UnusedStr]) [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DevicePathTextLib/ |
D | DevicePathTextLib.c | 47 IN OUT POOL_PRINT *Str, in DevPathToTextVendorLib() argument 58 CatPrint (Str, L"EmuThunk()"); in DevPathToTextVendorLib() 62 CatPrint (Str, L"EmuGraphics(%d)", Vendor->Instance); in DevPathToTextVendorLib() 66 CatPrint (Str, L"EmuFs(%d)", Vendor->Instance); in DevPathToTextVendorLib() 70 CatPrint (Str, L"EmuBlk(%d)", Vendor->Instance); in DevPathToTextVendorLib() 74 CatPrint (Str, L"EmuThread()"); in DevPathToTextVendorLib() 94 CHAR16 *Str; in DevPathFromTextEmuThunk() local 97 Str = GetNextParamStr (&TextDeviceNode); in DevPathFromTextEmuThunk() 120 CHAR16 *Str; in DevPathFromTextEmuThread() local 123 Str = GetNextParamStr (&TextDeviceNode); in DevPathFromTextEmuThread() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/ |
D | Mtftp6Option.c | 40 IN UINT8 *Str, in Mtftp6ParseMcastOption() argument 53 if (*Str == ',') { in Mtftp6ParseMcastOption() 58 Ip6Str = (CHAR8 *) AllocateCopyPool (AsciiStrSize ((CHAR8 *) Str), Str); in Mtftp6ParseMcastOption() 80 while ((*Str != '\0') && (*Str != ',')) { in Mtftp6ParseMcastOption() 81 Str++; in Mtftp6ParseMcastOption() 85 if (*Str != ',') { in Mtftp6ParseMcastOption() 89 Str++; in Mtftp6ParseMcastOption() 95 if (*Str == ',') { in Mtftp6ParseMcastOption() 100 Num = (UINT32) AsciiStrDecimalToUintn ((CHAR8 *) Str); in Mtftp6ParseMcastOption() 108 while (NET_IS_DIGIT (*Str)) { in Mtftp6ParseMcastOption() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/MakeDeps/ |
D | MakeDeps.c | 36 char *Str; member 174 INT8 *Str, 248 free (ProcessedFiles.Next->Str); in main() 257 strcpy (TargetFileName, File->Str); in main() 267 Error (NULL, 0, 0, File->Str, "could not locate extension in filename"); in main() 282 Status = ProcessClOutput (TargetFileName, File->Str, &ProcessedFiles); in main() 284 Status = ProcessFile (TargetFileName, File->Str, START_NEST_DEPTH, in main() 305 free (ProcessedFiles.Next->Str); in main() 480 if (_stricmp (FileNameCopy, ListPtr->Str) == 0) { in ProcessFile() 500 ListPtr->Str = malloc (strlen (FileNameCopy) + 1); in ProcessFile() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
D | CodeFragment.py | 28 def __init__(self, Str, Begin, End, CommentType): argument 29 self.Content = Str 45 def __init__(self, Str, Begin, End): argument 46 self.Content = Str 61 def __init__(self, Str, Begin, End): argument 62 self.Content = Str 114 def __init__(self, Str, Begin, End): argument 115 self.Content = Str 130 def __init__(self, Str, Begin, End): argument 131 self.Content = Str
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
D | IScsiMisc.c | 29 IN OUT CHAR16 *Str, in StrTrim() argument 36 if (*Str == 0) { in StrTrim() 43 for (Pointer1 = Str; (*Pointer1 != 0) && (*Pointer1 == CharC); Pointer1++) { in StrTrim() 47 Pointer2 = Str; in StrTrim() 63 for (Pointer1 = Str + StrLen(Str) - 1; Pointer1 >= Str && *Pointer1 == CharC; Pointer1--) { in StrTrim() 66 if (Pointer1 != Str + StrLen(Str) - 1) { in StrTrim() 122 IN CHAR8 *Str, in IScsiAsciiStrToLun() argument 134 SizeStr = AsciiStrLen (Str); in IScsiAsciiStrToLun() 139 TemStr[0] = Str[Index]; in IScsiAsciiStrToLun() 196 OUT CHAR16 *Str in IScsiLunToUnicodeStr() argument [all …]
|
D | IScsiDhcp.c | 75 Fields[FieldIndex].Str = &TmpStr[Index]; in IScsiDhcpExtractRootPath() 88 if (Fields[FieldIndex].Str != NULL) { in IScsiDhcpExtractRootPath() 89 Fields[FieldIndex].Len = (UINT8) AsciiStrLen (Fields[FieldIndex].Str); in IScsiDhcpExtractRootPath() 99 if ((Fields[RP_FIELD_IDX_SERVERNAME].Str == NULL) || in IScsiDhcpExtractRootPath() 100 (Fields[RP_FIELD_IDX_TARGETNAME].Str == NULL) || in IScsiDhcpExtractRootPath() 111 Status = IScsiAsciiStrToIp (Field->Str, &ConfigNvData->TargetIp); in IScsiDhcpExtractRootPath() 119 if ((Field->Str != NULL) && ((*(Field->Str) - '0') != EFI_IP_PROTO_TCP)) { in IScsiDhcpExtractRootPath() 127 if (Field->Str != NULL) { in IScsiDhcpExtractRootPath() 128 ConfigNvData->TargetPort = (UINT16) AsciiStrDecimalToUintn (Field->Str); in IScsiDhcpExtractRootPath() 136 if (Field->Str != NULL) { in IScsiDhcpExtractRootPath() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/ |
D | Helper.c | 264 IN CONST CHAR16 *Str, in StrToUInteger() argument 282 while ((*Str != 0) && (*Str == ' ')) { in StrToUInteger() 283 Str++; in StrToUInteger() 288 if (*Str == 0) { in StrToUInteger() 294 Len = StrLen (Str); in StrToUInteger() 295 StrTail = (CHAR16 *) (Str + Len - 1); in StrToUInteger() 301 Len = StrTail - Str + 1; in StrToUInteger() 306 if ((Len >= 2) && (*Str == '0') && ((*(Str + 1) == 'x') || (*(Str + 1) == 'X'))) { in StrToUInteger() 307 Str += 2; in StrToUInteger() 318 for (; Str <= StrTail; Str++) { in StrToUInteger() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/ |
D | FWVolume.c | 174 char *Str 315 char Str[MAX_PATH]; in CFVAddFVFile() local 365 sprintf (Str, "%s\\%s\\%s.%s", Sym, Processor, Name, FFSExt); in CFVAddFVFile() 367 sprintf (Str, "%s\\%s\\%s%s", Sym, Processor, Name, FFSExt); in CFVAddFVFile() 370 ExpandSymbols (Str, FileName, sizeof (FileName), EXPANDMODE_NO_UNDEFS); in CFVAddFVFile() 599 char Str[MAX_PATH]; in CFVWriteInfFiles() local 703 strcpy (Str, FVDir); in CFVWriteInfFiles() 704 strcat (Str, FVPtr->FVFileName); in CFVWriteInfFiles() 705 strcat (Str, ".inf"); in CFVWriteInfFiles() 709 MakeFilePath (Str); in CFVWriteInfFiles() [all …]
|
D | ProcessDsc.c | 511 INT8 *Str 1534 INT8 Str[MAX_LINE_LEN]; in CreatePackageFile() local 1568 Str, in CreatePackageFile() 1577 ExpandSymbols (Str, StrExpanded, sizeof (StrExpanded), EXPANDMODE_NO_UNDEFS); in CreatePackageFile() 1588 sprintf (Str, "%s.%s.%s", PACKAGE, GetSymbolValue (COMPONENT_TYPE), Package); in CreatePackageFile() 1589 TempSect = DSCFileFindSection (DSCFile, Str); in CreatePackageFile() 1596 Str, in CreatePackageFile() 1605 ExpandSymbols (Str, StrExpanded, sizeof (StrExpanded), EXPANDMODE_NO_UNDEFS); in CreatePackageFile() 1612 Error (NULL, 0, 0, Str, "could not open package file for writing"); in CreatePackageFile() 1622 while (DSCFileGetLine (DSCFile, Str, sizeof (Str)) != NULL) { in CreatePackageFile() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
D | CodeFragment.py | 28 def __init__(self, Str, Begin, End, CommentType): argument 29 self.Content = Str 45 def __init__(self, Str, Begin, End): argument 46 self.Content = Str 79 def __init__(self, Str, Begin, End): argument 80 self.Content = Str 132 def __init__(self, Str, Begin, End): argument 133 self.Content = Str 148 def __init__(self, Str, Begin, End): argument 149 self.Content = Str
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/ |
D | SimpleFileParsing.h | 39 T_CHAR *Str 44 T_CHAR *Str 49 T_CHAR *Str, 55 T_CHAR *Str, 69 T_CHAR *Str 79 T_CHAR *Str,
|
D | SimpleFileParsing.c | 89 T_CHAR *Str 103 T_CHAR *Str 275 T_CHAR *Str in SFPIsToken() argument 305 if ((Len = t_strcmp (mGlobals.SourceFile.FileBufferPtr, Str)) > 0) { in SFPIsToken() 308 printf ("Token: '%s'\n", Str); in SFPIsToken() 319 T_CHAR *Str in SFPIsKeyword() argument 346 if ((Len = t_strcmp (mGlobals.SourceFile.FileBufferPtr, Str)) > 0) { in SFPIsKeyword() 353 printf ("Token: '%s'\n", Str); in SFPIsKeyword() 364 T_CHAR *Str, in SFPGetNextToken() argument 406 Str[0] = TempChar; in SFPGetNextToken() [all …]
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellCommandLib/ |
D | ConsistMapping.c | 33 CHAR16 *Str; member 89 IN OUT POOL_PRINT *Str, in CatPrint() argument 101 return Str->Str; in CatPrint() 107 if (NULL == Str->Str) { in CatPrint() 109 Str->Str = AllocateZeroPool (StringSize); in CatPrint() 110 ASSERT (Str->Str != NULL); in CatPrint() 113 StringSize += (StrSize (Str->Str) - sizeof (UINT16)); in CatPrint() 115 Str->Str = ReallocatePool ( in CatPrint() 116 StrSize (Str->Str), in CatPrint() 118 Str->Str in CatPrint() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | SimpleFileParsing.h | 34 CHAR8 *Str 40 CHAR8 *Str 46 CHAR8 *Str, 53 CHAR8 *Str, 69 CHAR8 *Str 81 CHAR8 *Str,
|
D | SimpleFileParsing.c | 82 CHAR8 *Str 96 CHAR8 *Str 253 CHAR8 *Str in SFPIsToken() argument 283 if ((Len = t_strcmp (mGlobals.SourceFile.FileBufferPtr, Str)) > 0) { in SFPIsToken() 286 printf ("Token: '%s'\n", Str); in SFPIsToken() 297 CHAR8 *Str in SFPIsKeyword() argument 324 if ((Len = t_strcmp (mGlobals.SourceFile.FileBufferPtr, Str)) > 0) { in SFPIsKeyword() 331 printf ("Token: '%s'\n", Str); in SFPIsKeyword() 342 CHAR8 *Str, in SFPGetNextToken() argument 384 Str[0] = TempChar; in SFPGetNextToken() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/ |
D | CommentGeneratingUnitTest.py | 823 def ObjectFactory(self, ItemType, TSCName, CName, DValue, FFE, Usage, Str): argument 825 HelpStr = Str 857 Str = 'Help' 860 Usage, Str) 878 Str = '' 881 Usage, Str) 897 Str = 'Help' 900 Usage, Str) 916 Str = '' 919 Usage, Str) [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/Application/VConfig/ |
D | VConfig.c | 104 CHAR16 *Str; in NicNameToIndex() local 106 Str = Name + 3; in NicNameToIndex() 107 if ((StrnCmp (Name, L"eth", 3) != 0) || (*Str == 0)) { in NicNameToIndex() 111 while (*Str != 0) { in NicNameToIndex() 112 if ((*Str < L'0') || (*Str > L'9')) { in NicNameToIndex() 116 Str++; in NicNameToIndex() 333 CHAR16 *Str; in StrToVlanId() local 339 Str = String; in StrToVlanId() 340 while ((*Str >= '0') && (*Str <= '9')) { in StrToVlanId() 341 Str++; in StrToVlanId() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
D | IScsiDhcp6.c | 91 Fields[RP_FIELD_IDX_SERVERNAME].Str = &TmpStr[Index]; in IScsiDhcp6ExtractRootPath() 103 Fields[RP_FIELD_IDX_SERVERNAME].Len = (UINT8) AsciiStrLen (Fields[RP_FIELD_IDX_SERVERNAME].Str); in IScsiDhcp6ExtractRootPath() 111 Fields[FieldIndex].Str = &TmpStr[Index]; in IScsiDhcp6ExtractRootPath() 124 if (Fields[FieldIndex].Str != NULL) { in IScsiDhcp6ExtractRootPath() 125 Fields[FieldIndex].Len = (UINT8) AsciiStrLen (Fields[FieldIndex].Str); in IScsiDhcp6ExtractRootPath() 135 if ((Fields[RP_FIELD_IDX_SERVERNAME].Str == NULL) || in IScsiDhcp6ExtractRootPath() 136 (Fields[RP_FIELD_IDX_TARGETNAME].Str == NULL) || in IScsiDhcp6ExtractRootPath() 153 Status = IScsiAsciiStrToIp (Field->Str, IpMode, &Ip); in IScsiDhcp6ExtractRootPath() 164 if ((Field->Str != NULL) && ((*(Field->Str) - '0') != EFI_IP_PROTO_TCP)) { in IScsiDhcp6ExtractRootPath() 172 if (Field->Str != NULL) { in IScsiDhcp6ExtractRootPath() [all …]
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/ |
D | CryptTs.c | 156 CONST CHAR8 *Str; variable 163 Str = (CONST CHAR8*)Asn1Time->data; 168 EfiTime->Year = (Str[Index++] - '0') * 10; 169 EfiTime->Year += (Str[Index++] - '0'); 174 EfiTime->Year = (Str[Index++] - '0') * 1000; 175 EfiTime->Year += (Str[Index++] - '0') * 100; 176 EfiTime->Year += (Str[Index++] - '0') * 10; 177 EfiTime->Year += (Str[Index++] - '0'); 183 EfiTime->Month = (Str[Index++] - '0') * 10; 184 EfiTime->Month += (Str[Index++] - '0'); [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/ |
D | UnicodeCollationEng.c | 218 IN OUT CHAR16 *Str in EngStrLwr() argument 221 while (*Str != 0) { in EngStrLwr() 222 *Str = TO_LOWER (*Str); in EngStrLwr() 223 Str += 1; in EngStrLwr() 240 IN OUT CHAR16 *Str in EngStrUpr() argument 243 while (*Str != 0) { in EngStrUpr() 244 *Str = TO_UPPER (*Str); in EngStrUpr() 245 Str += 1; in EngStrUpr()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/ |
D | StrGather.c | 228 WCHAR *Str 334 …Status = StringDBReadDatabase (mGlobals.LastDatabaseFileName->Str, TRUE, mGlobals.VerboseDatabaseR… in main() 415 … Status = StringDBWriteDatabase (mGlobals.DatabaseFileName->Str, mGlobals.VerboseDatabaseWrite); in main() 504 …fprintf (mGlobals.OutputDependencyFptr, "%s : %s\n", mGlobals.DatabaseFileName->Str, FoundFileName… in ProcessIncludeFile() 1439 WCHAR *Str in wstrcmp() argument 1445 while (*Str == *Buffer) { in wstrcmp() 1447 Str++; in wstrcmp() 1451 if (*Str) { in wstrcmp() 1479 if (strlen (List->Str) + strlen (FileName) + 1 > FoundFileNameLen) { in FindFile() 1486 strcpy (FoundFileName, List->Str); in FindFile() [all …]
|