Home
last modified time | relevance | path

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

12345678910>>...18

/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()
473 IN CONST CHAR16 *String, in StrStr() argument
484 ASSERT (StrSize (String) != 0); in StrStr()
488 return (CHAR16 *) String; in StrStr()
491 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/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/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
DReset.c40 CONST CHAR16 *String; in ShellCommandRunReset() local
83 String = ShellCommandLineGetValue(Package, L"-w"); in ShellCommandRunReset()
84 if (String != NULL) { in ShellCommandRunReset()
85 gRT->ResetSystem(EfiResetWarm, EFI_SUCCESS, StrSize(String), (VOID*)String); in ShellCommandRunReset()
95 String = ShellCommandLineGetValue(Package, L"-s"); in ShellCommandRunReset()
96 …DEBUG_CODE(ShellPrintEx(-1,-1,L"Reset with %s (%d bytes)", String, String!=NULL?StrSize(String):0)… in ShellCommandRunReset()
97 if (String != NULL) { in ShellCommandRunReset()
98 gRT->ResetSystem(EfiResetShutdown, EFI_SUCCESS, StrSize(String), (VOID*)String); in ShellCommandRunReset()
107 String = ShellCommandLineGetValue(Package, L"-c"); in ShellCommandRunReset()
108 if (String != NULL) { in ShellCommandRunReset()
[all …]
/device/google/dragon/crash_collector/src/com/android/crashreportprovider/
DCrashReportProvider.java38 public static final String ACTION_CRASH_REPORT_ADDED =
43 public final String COLUMN_NAME = "name";
44 private final String[] DEFAULT_PROJECTION = { COLUMN_NAME };
52 public void onEvent(int event, String path) { in onCreate()
66 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
67 String sortOrder) { in query()
81 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
85 List<String> segments = uri.getPathSegments(); in openFile()
94 public String getType(Uri uri) { in getType()
99 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
[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/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/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/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/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/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/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 …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/
DUefiIfrString.c417 OUT EFI_STRING *String in GetStringFromHandle() argument
440 if (String == NULL) { in GetStringFromHandle()
445 *String = EfiLibAllocateZeroPool (StringSize); in GetStringFromHandle()
446 if (*String == NULL) { in GetStringFromHandle()
450 Status = IfrLibGetString (HiiHandle, StringId, *String, &StringSize); in GetStringFromHandle()
452 gBS->FreePool (*String); in GetStringFromHandle()
453 *String = EfiLibAllocateZeroPool (StringSize); in GetStringFromHandle()
454 if (*String == NULL) { in GetStringFromHandle()
457 Status = IfrLibGetString (HiiHandle, StringId, *String, &StringSize); in GetStringFromHandle()
467 OUT EFI_STRING *String in GetStringFromToken() argument
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DeviceManagerLib/
DDeviceManager.c120 CHAR16 *String; in GetMacAddressString() local
124 String = NULL; in GetMacAddressString()
137 String = AllocateZeroPool (BufferLen); in GetMacAddressString()
138 if (String == NULL) { in GetMacAddressString()
142 *PBuffer = String; in GetMacAddressString()
143 StrCpyS(String, BufferLen / sizeof (CHAR16), L"MAC:"); in GetMacAddressString()
144 String += 4; in GetMacAddressString()
151 String += UnicodeValueToString (String, PREFIX_ZERO | RADIX_HEX, *(HwAddress++), 2); in GetMacAddressString()
153 *String++ = L':'; in GetMacAddressString()
170 *String++ = L'\\'; in GetMacAddressString()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/
DMiscSubclassDriverEntryPoint.c56 EFI_STRING String;
57 String = NULL;
85 String = AllocateZeroPool (StringSize);
86 if (String == NULL) {
98 String,
106 FreePool (String);
107 String = NULL;
111 return String;

12345678910>>...18