Lines Matching defs:String
493 hex digits that appear between a '=' and a '&' in a config string.
497 @param[in] ConfigString Pointer to a Null-terminated Unicode string.
499 @return Pointer to the Null-terminated Unicode result string.
508 EFI_STRING String;
516 for (String = ConfigString, Lower = FALSE; *String != L'\0'; String++) {
517 if (*String == L'=') {
519 } else if (*String == L'&') {
521 String >= L'A' && *String <= L'F') {
522 *String = (CHAR16) (*String - L'A' + L'a');
536 @param[in] ConfigRequest Pointer to a Null-terminated Unicode string.
540 @retval NULL The <ConfigResp> string could not be generated.
541 @retval Other Pointer to the Null-terminated Unicode <ConfigResp> string.
584 @param[in] VariableName Pointer to a Null-terminated Unicode string. This
678 Allocates and returns a Null-terminated Unicode <ConfigHdr> string using routing
679 information that includes a GUID, an optional Unicode string name, and a device
680 path. The string returned is allocated with AllocatePool(). The caller is
681 responsible for freeing the allocated string with FreePool().
689 a 2 Unicode character hexidecimal string. This is
691 @param[in] Name Pointer to a Null-terminated Unicode string that is
695 hexidecimal string.
699 to a 2 Unicode character hexidecimal string.
702 @retval Other A pointer to the Null-terminate Unicode <ConfigHdr> string
716 CHAR16 *String;
752 String = AllocateZeroPool (MaxLen * sizeof (CHAR16));
753 if (String == NULL) {
760 StrCpyS (String, MaxLen, L"GUID=");
761 ReturnString = String;
762 String += StrLen (String);
769 String += UnicodeValueToString (String, PREFIX_ZERO | RADIX_HEX, *(Buffer++), 2);
777 String += StrLen (String);
784 String += UnicodeValueToString (String, PREFIX_ZERO | RADIX_HEX, *Name, 4);
792 String += StrLen (String);
798 String += UnicodeValueToString (String, PREFIX_ZERO | RADIX_HEX, *(Buffer++), 2);
802 // Null terminate the Unicode string
804 *String = L'\0';
813 Convert the hex UNICODE encoding string of UEFI GUID, NAME or device path
818 @param String UEFI configuration string.
830 IN EFI_STRING String,
843 if (String == NULL || Buffer == NULL) {
849 ConfigHdr = String;
852 // or '\0' (end of configuration string) is the UNICODE %02x bytes encoding string.
854 for (Length = 0; *String != 0 && *String != L'&'; String++, Length++);
887 // Convert Config String to Unicode String, e.g. "0041004200430044" => "ABCD"
966 @param ValueString String in <BlockConfig> format and points to the
997 // Get the length of value string
1028 // Set the converted value and string length.
1036 Get value from config request resp string.
1038 @param ConfigElement ConfigResp string contains the current setting.
1058 // Find VarName related string.
1064 // Skip the "VarName=" string
1095 @param CurrentBlockArray The block array from the config Requst string.
1096 @param RequestElement The config string for this storage.
1102 @retval EFI_INVALID_PARAMETER The config string or the Hii package is invalid.
1304 // This question is not in the current configuration string. Skip it.
1324 // This question is not in the current configuration string. Skip it.
1375 // This question is not in the current configuration string. Skip it.
1395 // This question is not in the current configuration string. Skip it.
1513 // This question is not in the current configuration string. Skip it.
1533 // This question is not in the current configuration string. Skip it.
1561 // Check current string length is less than maxsize
1589 // This question is not in the current configuration string. Skip it.
1600 // Check current string length is less than maxsize
1615 // This question is not in the current configuration string. Skip it.
1630 // Check current string length is less than maxsize
1712 @param ConfigElement ConfigResp element string contains the current setting.
1718 @retval EFI_INVALID_PARAMETER The config string or the Hii package is invalid.
1774 // Skip the &OFFSET= string
1960 @param ConfigResp ConfigResp string contains the current setting.
1969 @retval EFI_INVALID_PARAMETER The config string or the Hii package is invalid.
2052 Check whether the ConfigRequest string has the request elements.
2056 @param ConfigRequest The input config request string.
2059 @retval FALSE The input string not includes.
2080 This function parses the input ConfigRequest string and its matched IFR code
2081 string for setting default value and validating current setting.
2084 to the driver configuration got by Request string.
2088 NULL request string support depends on the ExportConfig interface of
2091 @param Request A null-terminated Unicode string in
2152 // Get the full requested value and deault value string.
2255 // This request string has no its Hii package.
2257 // Directly jump into the next ConfigAltResp string for another pair Guid, Name, and Path.
2294 // Get the default configuration string according to the default ID.
2342 // Free the allocated pacakge buffer and the got ConfigResp string.
2381 // Construct ConfigAltHdr string "&<ConfigHdr>&ALTCFG=\0"
2405 // Free the allocated ConfigAltHdr string
2461 NULL request string support depends on the ExportConfig interface of
2464 @param Request A null-terminated Unicode string in
2483 configuration got by Request string.
2485 NULL request string support depends on the ExportConfig interface of
2488 @param Request A null-terminated Unicode string in
2520 @param FirstString Pointer to the first Null-terminated Unicode string.
2521 @param SecondString Pointer to the second Null-terminated Unicode string.
2522 @param StartSearchString Pointer to the Null-terminated Unicode string that
2523 marks the start of the value string to compare.
2524 @param StopSearchString Pointer to the Null-terminated Unicode string that
2525 marks the end of the value string to compare.
2533 @retval FALSE The value string in FirstString does not matche the
2534 value string in SecondString.
2535 @retval TRUE The value string in FirstString matches the value
2536 string in SecondString.
2610 // Use Guid and Name to generate a <ConfigHdr> string
2633 // Free the <ConfigHdr> string
2646 @param[in] VariableName Pointer to a Null-terminated Unicode string. This
2723 @param[in] VariableName Pointer to a Null-terminated Unicode string. This
3229 @param[in] Prompt String ID for Prompt
3230 @param[in] Help String ID for Help
3232 @param[in] QuestionConfig String ID for configuration
3271 @param[in] Prompt String ID for Prompt
3272 @param[in] Help String ID for Help
3319 @param[in] Prompt String ID for Prompt
3320 @param[in] Help String ID for Help
3366 @param[in] Prompt The string ID for Prompt.
3367 @param[in] Help The string ID for Help.
3374 @param[in] RefDevicePath The string identifier that specifies the string containing the text representation of
3439 @param[in] VarOffset Offset in Storage or String ID of the name (VarName)
3441 @param[in] Prompt String ID for Prompt
3442 @param[in] Help String ID for Help
3501 @param[in] VarOffset Offset in Storage or String ID of the name (VarName)
3503 @param[in] Prompt String ID for Prompt
3504 @param[in] Help String ID for Help
3603 @param[in] VarOffset Offset in Storage or String ID of the name (VarName)
3605 @param[in] Prompt String ID for Prompt
3606 @param[in] Help String ID for Help
3608 @param[in] StringFlags Flags for string opcode
3609 @param[in] MinSize String minimum length
3610 @param[in] MaxSize String maximum length
3671 @param[in] VarOffset Offset in Storage or String ID of the name (VarName)
3673 @param[in] Prompt String ID for Prompt
3674 @param[in] Help String ID for Help
3739 @param[in] VarOffset Offset in Storage or String ID of the name (VarName)
3741 @param[in] Prompt String ID for Prompt
3742 @param[in] Help String ID for Help
3804 @param[in] Prompt String ID for Prompt.
3805 @param[in] Help String ID for Help.
3806 @param[in] TextTwo String ID for TextTwo.
3842 @param[in] VarOffset Offset in Storage or String ID of the name (VarName)
3845 @param[in] Prompt String ID for Prompt
3846 @param[in] Help String ID for Help
3907 @param[in] VarOffset Offset in Storage or String ID of the name (VarName)
3910 @param[in] Prompt String ID for Prompt
3911 @param[in] Help String ID for Help