Home
last modified time | relevance | path

Searched refs:NULL (Results 1 – 25 of 3449) sorted by relevance

12345678910>>...138

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiHandleParsingLib/
DUefiHandleParsingLib.c20 EFI_HANDLE mHandleParsingHiiHandle = NULL;
21 HANDLE_INDEX_LIST mHandleList = {{{NULL,NULL},0,0},0};
38 RetVal = NULL; in ConvertMemoryType()
41 …case EfiReservedMemoryType: StrnCatGrow(&RetVal, NULL, L"EfiReservedMemoryType", 0); … in ConvertMemoryType()
42 …case EfiLoaderCode: StrnCatGrow(&RetVal, NULL, L"EfiLoaderCode", 0); … in ConvertMemoryType()
43 …case EfiLoaderData: StrnCatGrow(&RetVal, NULL, L"EfiLoaderData", 0); … in ConvertMemoryType()
44 …case EfiBootServicesCode: StrnCatGrow(&RetVal, NULL, L"EfiBootServicesCode", 0); … in ConvertMemoryType()
45 …case EfiBootServicesData: StrnCatGrow(&RetVal, NULL, L"EfiBootServicesData", 0); … in ConvertMemoryType()
46 …case EfiRuntimeServicesCode: StrnCatGrow(&RetVal, NULL, L"EfiRuntimeServicesCode", 0); … in ConvertMemoryType()
47 …case EfiRuntimeServicesData: StrnCatGrow(&RetVal, NULL, L"EfiRuntimeServicesData", 0); … in ConvertMemoryType()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/DxeMain/
DDxeProtocolNotify.c28 { &gEfiSecurityArchProtocolGuid, (VOID **)&gSecurity, NULL, NULL, FALSE },
29 { &gEfiCpuArchProtocolGuid, (VOID **)&gCpu, NULL, NULL, FALSE },
30 { &gEfiMetronomeArchProtocolGuid, (VOID **)&gMetronome, NULL, NULL, FALSE },
31 { &gEfiTimerArchProtocolGuid, (VOID **)&gTimer, NULL, NULL, FALSE },
32 { &gEfiBdsArchProtocolGuid, (VOID **)&gBds, NULL, NULL, FALSE },
33 { &gEfiWatchdogTimerArchProtocolGuid, (VOID **)&gWatchdogTimer, NULL, NULL, FALSE },
34 { &gEfiRuntimeArchProtocolGuid, (VOID **)&gRuntime, NULL, NULL, FALSE },
35 { &gEfiVariableArchProtocolGuid, (VOID **)NULL, NULL, NULL, FALSE },
36 { &gEfiVariableWriteArchProtocolGuid, (VOID **)NULL, NULL, NULL, FALSE },
37 { &gEfiCapsuleArchProtocolGuid, (VOID **)NULL, NULL, NULL, FALSE },
[all …]
/device/lge/bullhead/sensorhal/
Dsensorlist.cpp96 { NULL, NULL }
114 { NULL, NULL }
132 { NULL, NULL }
150 { NULL, NULL }
168 { NULL, NULL }
186 { NULL, NULL }
204 { NULL, NULL }
222 { NULL, NULL }
240 { NULL, NULL }
258 { NULL, NULL }
[all …]
/device/huawei/angler/sensorhal/
Dsensorlist.cpp96 { NULL, NULL }
114 { NULL, NULL }
132 { NULL, NULL }
150 { NULL, NULL }
168 { NULL, NULL }
186 { NULL, NULL }
204 { NULL, NULL }
222 { NULL, NULL }
240 { NULL, NULL }
258 { NULL, NULL }
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dglobals.c49 char *StdMsgName = NULL;
155 NULL /* must be present */
175 NULL /* must be present */
195 NULL,
203 NULL,
217 NULL,
225 NULL,
236 NULL,
244 NULL,
286 char *CurPredName=NULL; /* MR11 */
[all …]
/device/google/marlin/sensorhal/
Dsensorlist.cpp123 { NULL, NULL }
141 { NULL, NULL }
159 { NULL, NULL }
177 { NULL, NULL }
195 { NULL, NULL }
213 { NULL, NULL }
231 { NULL, NULL }
249 { NULL, NULL }
267 { NULL, NULL }
285 { NULL, NULL }
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_codecsmodule.c55 return NULL; in codec_register()
72 return NULL; in codec_lookup()
90 const char *encoding = NULL; in codec_encode()
91 const char *errors = NULL; in codec_encode()
95 return NULL; in codec_encode()
98 if (encoding == NULL) in codec_encode()
101 if (encoding == NULL) { in codec_encode()
103 return NULL; in codec_encode()
124 const char *encoding = NULL; in codec_decode()
125 const char *errors = NULL; in codec_decode()
[all …]
D_testcapimodule.c31 return NULL; in raiseTestError()
49 return (PyObject*)NULL; in sizeof_error()
83 if (list == (PyObject*)NULL) in test_list_api()
84 return (PyObject*)NULL; in test_list_api()
88 if (anint == (PyObject*)NULL) { in test_list_api()
90 return (PyObject*)NULL; in test_list_api()
98 return (PyObject*)NULL; in test_list_api()
107 return (PyObject*)NULL; in test_list_api()
125 if (dict == NULL) in test_dict_inner()
140 if (o == NULL) in test_dict_inner()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_codecsmodule.c55 return NULL; in codec_register()
72 return NULL; in codec_lookup()
90 const char *encoding = NULL; in codec_encode()
91 const char *errors = NULL; in codec_encode()
95 return NULL; in codec_encode()
98 if (encoding == NULL) in codec_encode()
101 if (encoding == NULL) { in codec_encode()
103 return NULL; in codec_encode()
124 const char *encoding = NULL; in codec_decode()
125 const char *errors = NULL; in codec_decode()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/UefiLib/
DUefiDriverModel.c52 ASSERT (DriverBinding != NULL); in EfiLibInstallDriverBinding()
63 NULL in EfiLibInstallDriverBinding()
114 ASSERT (DriverBinding != NULL); in EfiLibInstallAllDriverProtocols()
122 if (DriverDiagnostics == NULL || FeaturePcdGet(PcdDriverDiagnosticsDisable)) { in EfiLibInstallAllDriverProtocols()
123 if (DriverConfiguration == NULL) { in EfiLibInstallAllDriverProtocols()
124 if (ComponentName == NULL || FeaturePcdGet(PcdComponentNameDisable)) { in EfiLibInstallAllDriverProtocols()
128 NULL in EfiLibInstallAllDriverProtocols()
135 NULL in EfiLibInstallAllDriverProtocols()
139 if (ComponentName == NULL || FeaturePcdGet(PcdComponentNameDisable)) { in EfiLibInstallAllDriverProtocols()
144 NULL in EfiLibInstallAllDriverProtocols()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/FrameworkUefiLib/
DUefiDriverModel.c52 ASSERT (DriverBinding != NULL); in EfiLibInstallDriverBinding()
63 NULL in EfiLibInstallDriverBinding()
114 ASSERT (DriverBinding != NULL); in EfiLibInstallAllDriverProtocols()
122 if (DriverDiagnostics == NULL || FeaturePcdGet(PcdDriverDiagnosticsDisable)) { in EfiLibInstallAllDriverProtocols()
123 if (DriverConfiguration == NULL) { in EfiLibInstallAllDriverProtocols()
124 if (ComponentName == NULL || FeaturePcdGet(PcdComponentNameDisable)) { in EfiLibInstallAllDriverProtocols()
128 NULL in EfiLibInstallAllDriverProtocols()
135 NULL in EfiLibInstallAllDriverProtocols()
139 if (ComponentName == NULL || FeaturePcdGet(PcdComponentNameDisable)) { in EfiLibInstallAllDriverProtocols()
144 NULL in EfiLibInstallAllDriverProtocols()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
Dimport.c90 static PyObject *extensions = NULL;
98 struct filedescr * _PyImport_Filetab = NULL;
132 for (scan = _PyImport_DynLoadFiletab; scan->suffix != NULL; ++scan) in _PyImport_Init()
135 for (scan = _PyImport_StandardFiletab; scan->suffix != NULL; ++scan) in _PyImport_Init()
138 if (filetab == NULL) in _PyImport_Init()
146 filetab[countD + countS].suffix = NULL; in _PyImport_Init()
152 for (; filetab->suffix != NULL; filetab++) { in _PyImport_Init()
174 PyObject *v, *path_hooks = NULL, *zimpimport; in _PyImportHooks_Init()
186 if (v == NULL) in _PyImportHooks_Init()
193 if (v == NULL) in _PyImportHooks_Init()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dimport.c90 static PyObject *extensions = NULL;
98 struct filedescr * _PyImport_Filetab = NULL;
132 for (scan = _PyImport_DynLoadFiletab; scan->suffix != NULL; ++scan) in _PyImport_Init()
135 for (scan = _PyImport_StandardFiletab; scan->suffix != NULL; ++scan) in _PyImport_Init()
138 if (filetab == NULL) in _PyImport_Init()
146 filetab[countD + countS].suffix = NULL; in _PyImport_Init()
152 for (; filetab->suffix != NULL; filetab++) { in _PyImport_Init()
174 PyObject *v, *path_hooks = NULL, *zimpimport; in _PyImportHooks_Init()
186 if (v == NULL) in _PyImportHooks_Init()
193 if (v == NULL) in _PyImportHooks_Init()
[all …]
Dbltinmodule.c25 const char *Py_FileSystemDefaultEncoding = NULL; /* use default */
41 PyObject *globals = NULL; in builtin___import__()
42 PyObject *locals = NULL; in builtin___import__()
43 PyObject *fromlist = NULL; in builtin___import__()
48 return NULL; in builtin___import__()
87 if (it == NULL) in builtin_all()
88 return NULL; in builtin_all()
93 if (item == NULL) in builtin_all()
99 return NULL; in builtin_all()
111 return NULL; in builtin_all()
[all …]
D_warnings.c26 if (result == NULL) in check_matched()
41 static PyObject *warnings_str = NULL; in get_warnings_attr()
46 if (warnings_str == NULL) { in get_warnings_attr()
48 if (warnings_str == NULL) in get_warnings_attr()
49 return NULL; in get_warnings_attr()
55 return NULL; in get_warnings_attr()
59 return NULL; in get_warnings_attr()
70 if (registry == NULL) { in get_once_registry()
72 return NULL; in get_once_registry()
87 if (default_action == NULL) { in get_default_action()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenAprioriFile/
DGenAprioriFile.c117 AprioriFptr = NULL; in main()
118 BinFptr = NULL; in main()
130 if ((AprioriFptr = fopen (mGlobals.AprioriFileName, "r")) == NULL) { in main()
131 Error (NULL, 0, 0, mGlobals.AprioriFileName, "failed to open file for reading"); in main()
139 if ((BinFptr = fopen (mGlobals.OutputFileName, "rb")) == NULL) { in main()
141 DebugMsg (NULL, 0, 0, "Creating new apriori file -- no existing file", NULL); in main()
150 while (fgets (Line, sizeof (Line), AprioriFptr) != NULL) { in main()
160 … DebugMsg (NULL, 0, 0, "failed to read GUID from input text file -- creating new file", NULL); in main()
170 … DebugMsg (NULL, 0, 0, "failed to read GUID from input binary file -- creating new file", NULL); in main()
178 DebugMsg (NULL, 0, 0, "GUID comparison failed -- creating new file", NULL); in main()
[all …]
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
DCryptPkcs7Verify.c89 if (*WrapData == NULL) { in WrapPkcs7Data()
171 if ((X509Stack == NULL) || (Cert == NULL) || (CertSize == NULL)) { in X509PopCertificate()
179 if (X509Cert == NULL) { in X509PopCertificate()
183 Buffer = NULL; in X509PopCertificate()
186 if (CertBio == NULL) { in X509PopCertificate()
201 if (Buffer == NULL) { in X509PopCertificate()
219 if (!Status && (Buffer != NULL)) { in X509PopCertificate()
277 if ((P7Data == NULL) || (CertStack == NULL) || (StackLength == NULL) || in Pkcs7GetSigners()
278 (TrustedCert == NULL) || (CertLength == NULL) || (P7Length > INT_MAX)) { in Pkcs7GetSigners()
288 Pkcs7 = NULL; in Pkcs7GetSigners()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dbltinmodule.c25 const char *Py_FileSystemDefaultEncoding = NULL; /* use default */
41 PyObject *globals = NULL; in builtin___import__()
42 PyObject *locals = NULL; in builtin___import__()
43 PyObject *fromlist = NULL; in builtin___import__()
48 return NULL; in builtin___import__()
91 if (it == NULL) in builtin_all()
92 return NULL; in builtin_all()
97 if (item == NULL) in builtin_all()
103 return NULL; in builtin_all()
115 return NULL; in builtin_all()
[all …]
Dimport.c90 static PyObject *extensions = NULL;
98 struct filedescr * _PyImport_Filetab = NULL;
160 for (scan = _PyImport_DynLoadFiletab; scan->suffix != NULL; ++scan) in _PyImport_Init()
163 for (scan = _PyImport_StandardFiletab; scan->suffix != NULL; ++scan) in _PyImport_Init()
166 if (filetab == NULL) in _PyImport_Init()
174 filetab[countD + countS].suffix = NULL; in _PyImport_Init()
180 for (; filetab->suffix != NULL; filetab++) { in _PyImport_Init()
202 PyObject *v, *path_hooks = NULL, *zimpimport; in _PyImportHooks_Init()
214 if (v == NULL) in _PyImportHooks_Init()
221 if (v == NULL) in _PyImportHooks_Init()
[all …]
D_warnings.c26 if (result == NULL) in check_matched()
41 static PyObject *warnings_str = NULL; in get_warnings_attr()
46 if (warnings_str == NULL) { in get_warnings_attr()
48 if (warnings_str == NULL) in get_warnings_attr()
49 return NULL; in get_warnings_attr()
55 return NULL; in get_warnings_attr()
59 return NULL; in get_warnings_attr()
70 if (registry == NULL) { in get_once_registry()
72 return NULL; in get_once_registry()
87 if (default_action == NULL) { in get_default_action()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/
DEventLogInfo.c36 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_ACCESS_METHOD), gShellDebug1H… in DisplaySELAccessMethod()
44 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_ONE_EIGHT_BIT), gShellDebug1H… in DisplaySELAccessMethod()
48 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_TWO_EIGHT_BITS), gShellDebug1… in DisplaySELAccessMethod()
52 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_ONE_SIXTEEN_BIT), gShellDebug… in DisplaySELAccessMethod()
56 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_MEM_MAPPED_PHYS), gShellDebug… in DisplaySELAccessMethod()
60 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_AVAIL_VIA_GENERAL), gShellDeb… in DisplaySELAccessMethod()
65 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_AVAIL_FOR_FUTURE_ASSIGN), gSh… in DisplaySELAccessMethod()
67 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_BIOS_VENDOR_OEM), gShellDebug… in DisplaySELAccessMethod()
88 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_LOG_STATUS), gShellDebug1HiiH… in DisplaySELLogStatus()
95 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_LOG_AREA_VALID), gShellDebug1… in DisplaySELLogStatus()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShellParametersProtocol.c59 return (NULL); in FindEndOfParameter()
98 if (Walker == NULL in GetNextParameter()
99 ||*Walker == NULL in GetNextParameter()
100 ||TempParameter == NULL in GetNextParameter()
101 ||*TempParameter == NULL in GetNextParameter()
119 *Walker = NULL; in GetNextParameter()
126 if (NextDelim == NULL){ in GetNextParameter()
128 *Walker = NULL; in GetNextParameter()
214 ASSERT(Argc != NULL); in ParseCommandLineToArgs()
215 ASSERT(Argv != NULL); in ParseCommandLineToArgs()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dclassobject.c17 (PyType_HasFeature(t, Py_TPFLAGS_HAVE_CLASS) ? (t)->tp_descr_get : NULL)
34 if (docstr == NULL) { in PyClass_New()
36 if (docstr == NULL) in PyClass_New()
37 return NULL; in PyClass_New()
39 if (modstr == NULL) { in PyClass_New()
41 if (modstr == NULL) in PyClass_New()
42 return NULL; in PyClass_New()
44 if (namestr == NULL) { in PyClass_New()
46 if (namestr == NULL) in PyClass_New()
47 return NULL; in PyClass_New()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dclassobject.c17 (PyType_HasFeature(t, Py_TPFLAGS_HAVE_CLASS) ? (t)->tp_descr_get : NULL)
34 if (docstr == NULL) { in PyClass_New()
36 if (docstr == NULL) in PyClass_New()
37 return NULL; in PyClass_New()
39 if (modstr == NULL) { in PyClass_New()
41 if (modstr == NULL) in PyClass_New()
42 return NULL; in PyClass_New()
44 if (namestr == NULL) { in PyClass_New()
46 if (namestr == NULL) in PyClass_New()
47 return NULL; in PyClass_New()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
DCd.c46 ProblemParam = NULL; in ShellCommandRunCd()
48 Drive = NULL; in ShellCommandRunCd()
65 if (Status == EFI_VOLUME_CORRUPTED && ProblemParam != NULL) { in ShellCommandRunCd()
66 …ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_GEN_PROBLEM), gShellLevel2HiiHandle, L"cd", Proble… in ShellCommandRunCd()
79 } else if (ShellCommandLineGetRawValue(Package, 2) != NULL) { in ShellCommandRunCd()
80 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_GEN_TOO_MANY), gShellLevel2HiiHandle, L"cd"); in ShellCommandRunCd()
90 if (Param1 == NULL) { in ShellCommandRunCd()
94 Directory = ShellGetCurrentDir(NULL); in ShellCommandRunCd()
95 if (Directory != NULL) { in ShellCommandRunCd()
96 … ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_CD_PRINT), gShellLevel2HiiHandle, Directory); in ShellCommandRunCd()
[all …]

12345678910>>...138