Home
last modified time | relevance | path

Searched refs:String (Results 1 – 25 of 492) sorted by relevance

12345678910>>...20

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/
DString.c166 IN CONST CHAR16 *String in GlueStrLen() argument
171 ASSERT (String != NULL); in GlueStrLen()
172 ASSERT (((UINTN) String & 0x01) == 0); in GlueStrLen()
174 for (Length = 0; *String != L'\0'; String++, Length++) { in GlueStrLen()
207 IN CONST CHAR16 *String in GlueStrSize() argument
210 return (StrLen (String) + 1) * sizeof (*String); in GlueStrSize()
455 IN CONST CHAR16 *String, in StrStr() argument
462 ASSERT (String != NULL); in StrStr()
463 ASSERT (((UINTN) String & 0x01) == 0); in StrStr()
472 ASSERT (StrLen (String) < PcdGet32 (PcdMaximumUnicodeStringLength)); in StrStr()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/
DString.c167 IN CONST CHAR16 *String in StrLen() argument
172 ASSERT (String != NULL); in StrLen()
173 ASSERT (((UINTN) String & BIT0) == 0); in StrLen()
175 for (Length = 0; *String != L'\0'; String++, Length++) { in StrLen()
208 IN CONST CHAR16 *String in StrSize() argument
211 return (StrLen (String) + 1) * sizeof (*String); in StrSize()
474 IN CONST CHAR16 *String, in StrStr() argument
485 ASSERT (StrSize (String) != 0); in StrStr()
489 return (CHAR16 *) String; in StrStr()
492 while (*String != L'\0') { in StrStr()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/
DEfiUiLib.c29 IN CHAR16 *String, in EfiStringToValue() argument
65 if (!IS_DIGIT (String[i])) { in EfiStringToValue()
85 TempVal = MultU64x32 (TempVal, 10) + String[i] - L'0'; in EfiStringToValue()
95 OUT CHAR16 *String, in StrHzToString() argument
136 EfiValueToString (String, Val, 0, 0); in StrHzToString()
141 if (!EfiStrCmp (&String[1], L"66")) { in StrHzToString()
142 String[2] = L'7'; in StrHzToString()
153 EfiStrCpy (String, L"OVERFLOW"); in StrHzToString()
154 return String; in StrHzToString()
168 EfiStrCpy (HlpStr, &String[IdxPoint]); in StrHzToString()
[all …]
/device/sample/apps/SampleEmailPolicy/src/com/android/email/policy/
DEmailPolicy.java66 private static final String USE_ALTERNATE_EXCHANGE_STRINGS = "useAlternateExchangeStrings";
83 private static final String GET_IMAP_ID = "getImapId";
84 private static final String GET_IMAP_ID_USER = "getImapId.user";
85 private static final String GET_IMAP_ID_HOST = "getImapId.host";
86 private static final String GET_IMAP_ID_CAPA = "getImapId.capabilities";
157 private static final String FIND_PROVIDER = "findProvider";
158 private static final String FIND_PROVIDER_IN_URI = "findProvider.inUri";
159 private static final String FIND_PROVIDER_IN_USER = "findProvider.inUser";
160 private static final String FIND_PROVIDER_OUT_URI = "findProvider.outUri";
161 private static final String FIND_PROVIDER_OUT_USER = "findProvider.outUser";
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DStringFuncs.c25 IN CHAR8 *String in CloneString() argument
45 NewString = malloc (strlen (String) + 1); in CloneString()
47 strcpy (NewString, String); in CloneString()
56 IN CHAR8 *String in StripInfDscStringInPlace() argument
76 if (String == NULL) { in StripInfDscStringInPlace()
83 for (Pos = String; isspace ((int)*Pos); Pos++) { in StripInfDscStringInPlace()
85 if (Pos != String) { in StripInfDscStringInPlace()
86 memmove (String, Pos, strlen (Pos) + 1); in StripInfDscStringInPlace()
96 Pos = (CHAR8 *) strstr (String, "//"); in StripInfDscStringInPlace()
101 Pos = (CHAR8 *) strchr (String, '#'); in StripInfDscStringInPlace()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DString.py44 def GetSplitValueList(String, SplitTag=DataType.TAB_VALUE_SPLIT, MaxSplit= -1): argument
49 for Index in range(0, len(String)):
50 Char = String[Index]
55 ValueList.append(String[Last:Index].strip())
70 if Last < len(String):
71 ValueList.append(String[Last:].strip())
72 elif Last == len(String):
89 def GetSplitList(String, SplitStr=DataType.TAB_VALUE_SPLIT, MaxSplit= -1): argument
90 return map(lambda l: l.strip(), String.split(SplitStr, MaxSplit))
121 def GenDefines(String, Arch, Defines): argument
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/Xml/
DXmlRoutines.py36 def CreateXmlElement(Name, String, NodeList, AttributeList): argument
39 if String != '' and String != None:
40 Element.appendChild(Doc.createTextNode(String))
68 def XmlList(Dom, String): argument
69 if String == None or String == "" or Dom == None or Dom == "":
73 if String[0] == "/":
74 String = String[1:]
75 TagList = String.split('/')
103 def XmlNode(Dom, String): argument
104 if String == None or String == "" or Dom == None or Dom == "":
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/
DString.c88 IN CHAR16 *String in EfiStrLen() argument
106 for (Length=0; *String; String++, Length++); in EfiStrLen()
113 IN CHAR16 *String in EfiStrSize() argument
129 return ((EfiStrLen (String) + 1) * sizeof (CHAR16)); in EfiStrSize()
135 IN CHAR16 *String, in EfiStrCmp() argument
155 while (*String) { in EfiStrCmp()
156 if (*String != *String2) { in EfiStrCmp()
160 String += 1; in EfiStrCmp()
164 return *String - *String2; in EfiStrCmp()
169 IN CHAR16 *String, in EfiStrnCmp() argument
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/Xml/
DXmlRoutines.py30 def CreateXmlElement(Name, String, NodeList, AttributeList): argument
33 if String != '' and String != None:
34 Element.appendChild(Doc.createTextNode(String))
64 def XmlList(Dom, String): argument
65 if String == None or String == "" or Dom == None or Dom == "":
69 if String[0] == "/":
70 String = String[1:]
71 TagList = String.split('/')
100 def XmlNode(Dom, String): argument
101 if String == None or String == "" or Dom == None or Dom == "":
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Marvell/Library/ParsePcdLib/
DParsePcdLib.c93 CHAR16 *String in HexStrToUintn() argument
98 if (String == NULL || StrSize(String) == 0) { in HexStrToUintn()
103 while ((*String == L' ') || (*String == L'\t')) { in HexStrToUintn()
104 String++; in HexStrToUintn()
108 while (*String == L'0') { in HexStrToUintn()
109 String++; in HexStrToUintn()
112 if (CharToUpper (*String) != L'X') { in HexStrToUintn()
117 String++; in HexStrToUintn()
119 while (IsHexDigitCharacter (*String)) { in HexStrToUintn()
121 Result += HexCharToUintn (*String); in HexStrToUintn()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/
DUnicodeCollationEng.c265 IN CHAR16 *String, in EngMetaiMatch() argument
282 if (*String != 0) { in EngMetaiMatch()
292 while (*String != 0) { in EngMetaiMatch()
293 if (EngMetaiMatch (This, String, Pattern)) { in EngMetaiMatch()
297 String += 1; in EngMetaiMatch()
300 return EngMetaiMatch (This, String, Pattern); in EngMetaiMatch()
306 if (*String == 0) { in EngMetaiMatch()
310 String += 1; in EngMetaiMatch()
317 CharC = *String; in EngMetaiMatch()
370 String += 1; in EngMetaiMatch()
[all …]
/device/google/cuttlefish_common/guest/monitoring/vsoc_service/java/com/android/google/gce/gceservice/
DBootReporter.java36 private static final String LOG_TAG = "GceBootReporter";
38 private static final String KLOG_OUTPUT = "/dev/kmsg";
39 private static final String KLOG_FORMAT = "<%d>%s: %s\n";
40 private static final String VIRTUAL_DEVICE_BOOT_STARTED = "VIRTUAL_DEVICE_BOOT_STARTED";
41 private static final String VIRTUAL_DEVICE_BOOT_PENDING = "VIRTUAL_DEVICE_BOOT_PENDING";
42 private static final String VIRTUAL_DEVICE_BOOT_COMPLETED = "VIRTUAL_DEVICE_BOOT_COMPLETED";
43 private static final String VIRTUAL_DEVICE_BOOT_FAILED = "VIRTUAL_DEVICE_BOOT_FAILED";
46 private List<String> mMessageList = new ArrayList<String>();
68 reportMessage(String.format("%s: %s", VIRTUAL_DEVICE_BOOT_FAILED, e.getMessage())); in onDependencyFailed()
81 reportMessage(String.format("%s: %s", VIRTUAL_DEVICE_BOOT_PENDING, in onDependencyStraggling()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/EbcDebugger/
DEdbSupportString.c357 IN CHAR16 *String, in StrCmpUnicodeAndAscii() argument
361 while (*String != '\0') { in StrCmpUnicodeAndAscii()
362 if (*String != (CHAR16)*String2) { in StrCmpUnicodeAndAscii()
366 String += 1; in StrCmpUnicodeAndAscii()
370 return (*String - (CHAR16)*String2); in StrCmpUnicodeAndAscii()
388 IN CHAR16 *String, in StriCmp() argument
392 while ((*String != L'\0') && in StriCmp()
393 (UnicodeToUpper (*String) == UnicodeToUpper (*String2))) { in StriCmp()
394 String++; in StriCmp()
398 return UnicodeToUpper (*String) - UnicodeToUpper (*String2); in StriCmp()
[all …]
/device/google/marlin/telephony/ims/src/org/codeaurora/ims/utils/
DQtiImsExtUtils.java40 private static String LOG_TAG = "QtiImsExtUtils";
42 public static final String QTI_IMS_CALL_DEFLECT_NUMBER =
46 public static final String QTI_IMS_DEFLECT_ENABLED = "qti.ims.call_deflect";
55 public static final String QTI_IMS_CALL_RAT_EXTRA_KEY = "CallRadioTech";
69 public static final String QTI_IMS_TRANSFER_EXTRA_KEY = "transferType";
81 public static String getCallDeflectNumber(ContentResolver contentResolver) { in getCallDeflectNumber()
82 String deflectcall = android.provider.Settings.Global.getString(contentResolver, in getCallDeflectNumber()
94 public static void setCallDeflectNumber(ContentResolver contentResolver, String value) { in setCallDeflectNumber()
95 String deflectNum = value; in setCallDeflectNumber()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
DReset.c41 CONST CHAR16 *String; in ShellCommandRunReset() local
120 String = ShellCommandLineGetValue(Package, L"-w"); in ShellCommandRunReset()
121 if (String != NULL) { in ShellCommandRunReset()
122 gRT->ResetSystem(EfiResetWarm, EFI_SUCCESS, StrSize(String), (VOID*)String); in ShellCommandRunReset()
132 String = ShellCommandLineGetValue(Package, L"-s"); in ShellCommandRunReset()
133 …DEBUG_CODE(ShellPrintEx(-1,-1,L"Reset with %s (%d bytes)", String, String!=NULL?StrSize(String):0)… in ShellCommandRunReset()
134 if (String != NULL) { in ShellCommandRunReset()
135 gRT->ResetSystem(EfiResetShutdown, EFI_SUCCESS, StrSize(String), (VOID*)String); in ShellCommandRunReset()
144 String = ShellCommandLineGetValue(Package, L"-c"); in ShellCommandRunReset()
145 if (String != NULL) { in ShellCommandRunReset()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DNetwork.c21 IN CHAR8 *String, in ParseIp() argument
25 Address->v4.Addr[0] = (UINT8)AsciiStrDecimalToUintn (String); in ParseIp()
26 String = AsciiStrStr(String, ".") + 1; in ParseIp()
27 Address->v4.Addr[1] = (UINT8)AsciiStrDecimalToUintn (String); in ParseIp()
28 String = AsciiStrStr(String, ".") + 1; in ParseIp()
29 Address->v4.Addr[2] = (UINT8)AsciiStrDecimalToUintn (String); in ParseIp()
30 String = AsciiStrStr(String, ".") + 1; in ParseIp()
31 Address->v4.Addr[3] = (UINT8)AsciiStrDecimalToUintn (String); in ParseIp()
/device/google/marlin/telephony/ims/src/org/codeaurora/ims/
DQtiCallConstants.java67 public static final String CALL_SUBSTATE_EXTRA_KEY = "CallSubstate";
70 public static final String CALL_ENCRYPTION_EXTRA_KEY = "CallEncryption";
73 public static final String EXTRAS_KEY_CALL_FAIL_EXTRA_CODE = "CallFailExtraCode";
91 public static final String IMS_TO_CS_RETRY_ENABLED = "qti.settings.cs_retry";
102 public static final String EXTRA_CALL_DOMAIN =
131 public static final String ORIENTATION_MODE_EXTRA_KEY = "OrientationMode";
135 public static final String LOW_BATTERY_EXTRA_KEY = "LowBattery";
177 public static final String SESSION_MODIFICATION_CAUSE_EXTRA_KEY = "SessionModificationCause";
/device/linaro/bootloader/edk2/MdePkg/Library/UefiLib/
DConsole.c270 IN CONST CHAR16 *String in UnicodeStringDisplayLength() argument
276 if (String == NULL) { in UnicodeStringDisplayLength()
281 while (*String != 0) { in UnicodeStringDisplayLength()
282 Width = GetGlyphWidth (*String); in UnicodeStringDisplayLength()
288 String++; in UnicodeStringDisplayLength()
313 IN CHAR16 *String, in UefiLibGetStringWidth() argument
323 if (String == NULL) { in UefiLibGetStringWidth()
335 …for (;(String[Index] != NARROW_CHAR) && (String[Index] != WIDE_CHAR) && (String[Index] != 0); Inde… in UefiLibGetStringWidth()
346 if (String[Index] == 0) { in UefiLibGetStringWidth()
359 if (String[Index] == NARROW_CHAR) { in UefiLibGetStringWidth()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DString.py46 def GetSplitValueList(String, SplitTag=DataType.TAB_VALUE_SPLIT, MaxSplit= -1): argument
47 return map(lambda l: l.strip(), String.split(SplitTag, MaxSplit))
74 def GenDefines(String, Arch, Defines): argument
75 if String.find(DataType.TAB_DEFINE + ' ') > -1:
76 List = String.replace(DataType.TAB_DEFINE + ' ', '').\
167 def ReplaceMacro(String, MacroDefinitions=None, SelfReplacement=False, Line=None, FileName=None, Fl… argument
168 LastString = String
175 MacroUsed = gMACRO_PATTERN.findall(String)
178 QuotedStringList = ReQuotedString.split(String)
200 String = String.replace("$(%s)" % Macro, '')
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/
DConfigKeywordHandler.c38 IN EFI_STRING String, in ExtractDevicePath() argument
56 if (String == NULL) { in ExtractDevicePath()
65 if (*String == L'&') { in ExtractDevicePath()
66 String ++; in ExtractDevicePath()
72 if (StrnCmp (String, L"PATH=", StrLen (L"PATH=")) != 0) { in ExtractDevicePath()
73 if (StrnCmp (String, L"KEYWORD=", StrLen (L"KEYWORD=")) != 0) { in ExtractDevicePath()
80 *NextString = String; in ExtractDevicePath()
88 String += StrLen (L"PATH="); in ExtractDevicePath()
89 if (*String == 0) { in ExtractDevicePath()
92 PathHdr = String; in ExtractDevicePath()
[all …]
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DUnicodeCollation.c198 IN OUT CHAR16 *String in FatStrUpr() argument
201 ASSERT (StrSize (String) != 0); in FatStrUpr()
204 mUnicodeCollationInterface->StrUpr (mUnicodeCollationInterface, String); in FatStrUpr()
217 IN OUT CHAR16 *String in FatStrLwr() argument
220 ASSERT (StrSize (String) != 0); in FatStrLwr()
223 mUnicodeCollationInterface->StrLwr (mUnicodeCollationInterface, String); in FatStrLwr()
241 OUT CHAR16 *String in FatFatToStr() argument
245 ASSERT (String != NULL); in FatFatToStr()
246 ASSERT (((UINTN) String & 0x01) == 0); in FatFatToStr()
249 mUnicodeCollationInterface->FatToStr (mUnicodeCollationInterface, FatSize, Fat, String); in FatFatToStr()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/
DEfiUiLib.h31 OUT CHAR16 *String,
52 OUT CHAR16 *String,
73 OUT CHAR16 *String,
95 OUT CHAR16 *String,
119 OUT CHAR16 *String,
143 IN CHAR16 *String
208 IN CHAR16 *String,
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfAsBuiltProcess.py26 from Library.String import GetSplitValueList
44 def GetLibInstanceInfo(String, WorkSpace, LineNo, CurrentInfFileName): argument
49 OrignalString = String
50 String = String.strip()
51 if not String:
56 String = GetHelpStringByRemoveHashKey(String)
57 String = String.strip()
68 GuidMatchedObj = RegFormatGuidPattern.search(String)
70 if String.upper().startswith('GUID') and GuidMatchedObj and 'Version' in String:
71 VersionStr = String[String.upper().find('VERSION') + 8:]
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiHiiLib/
DHiiString.c61 IN CONST EFI_STRING String, in HiiSetString() argument
71 ASSERT (String != NULL); in HiiSetString()
121 … Status = gHiiString->NewString (gHiiString, HiiHandle, &StringId, Language, NULL, String, NULL); in HiiSetString()
123 Status = gHiiString->SetString (gHiiString, HiiHandle, StringId, Language, String, NULL); in HiiSetString()
233 EFI_STRING String; in HiiGetString() local
247 String = NULL; in HiiGetString()
311 String = AllocateZeroPool (StringSize); in HiiGetString()
312 if (String == NULL) { in HiiGetString()
324 String, in HiiGetString()
332 FreePool (String); in HiiGetString()
[all …]
/device/sample/apps/tv/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/
DPartnerReceiver.java40 private static final String ACTION_PARTNER_CUSTOMIZATION =
43 private static final String EXTRA_ROW_WRAPPING_CUTOFF =
46 private static final String PARTNER_GROUP = "partner_row_entry";
47 …private static final String BLACKLIST_PACKAGE = "com.google.android.leanbacklauncher.replacespacka…
49 private static final String TED_PKG_NAME = "com.ted.android.tv";
50 private static final String PLAY_MOVIES_PKG_NAME = "com.google.android.videos";
70 String action = intent.getAction(); in onReceive()
81 private void postNotification(String pkgName) { in postNotification()
111 int titleId, int backupTitleId, String pkgName) { in postNotification()
138 private Intent getBackupIntent(String pkgName) { in getBackupIntent()
[all …]

12345678910>>...20