Home
last modified time | relevance | path

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

12345678910>>...143

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiHandleParsingLib/
DUefiHandleParsingLib.c20 EFI_HANDLE mHandleParsingHiiHandle = NULL;
21 HANDLE_INDEX_LIST mHandleList = {{{NULL,NULL},0,0},0};
37 RetVal = NULL; in ConvertMemoryType()
40 …case EfiReservedMemoryType: StrnCatGrow(&RetVal, NULL, L"EfiReservedMemoryType", 0); … in ConvertMemoryType()
41 …case EfiLoaderCode: StrnCatGrow(&RetVal, NULL, L"EfiLoaderCode", 0); … in ConvertMemoryType()
42 …case EfiLoaderData: StrnCatGrow(&RetVal, NULL, L"EfiLoaderData", 0); … in ConvertMemoryType()
43 …case EfiBootServicesCode: StrnCatGrow(&RetVal, NULL, L"EfiBootServicesCode", 0); … in ConvertMemoryType()
44 …case EfiBootServicesData: StrnCatGrow(&RetVal, NULL, L"EfiBootServicesData", 0); … in ConvertMemoryType()
45 …case EfiRuntimeServicesCode: StrnCatGrow(&RetVal, NULL, L"EfiRuntimeServicesCode", 0); … in ConvertMemoryType()
46 …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/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/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/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/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/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/hikey/sensorhal/
Dsensorlist_argonkey.cpp124 { NULL, NULL }
143 { NULL, NULL }
161 { NULL, NULL }
179 { NULL, NULL }
197 { NULL, NULL }
215 { NULL, NULL }
233 { NULL, NULL }
251 { NULL, NULL }
269 { NULL, NULL }
287 { NULL, NULL }
[all …]
Dsensorlist_neonkey.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/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/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/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/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/
DEventLogInfo.c35 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_ACCESS_METHOD), gShellDebug1H… in DisplaySELAccessMethod()
43 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_ONE_EIGHT_BIT), gShellDebug1H… in DisplaySELAccessMethod()
47 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_TWO_EIGHT_BITS), gShellDebug1… in DisplaySELAccessMethod()
51 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_ONE_SIXTEEN_BIT), gShellDebug… in DisplaySELAccessMethod()
55 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_MEM_MAPPED_PHYS), gShellDebug… in DisplaySELAccessMethod()
59 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_AVAIL_VIA_GENERAL), gShellDeb… in DisplaySELAccessMethod()
64 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_AVAIL_FOR_FUTURE_ASSIGN), gSh… in DisplaySELAccessMethod()
66 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_BIOS_VENDOR_OEM), gShellDebug… in DisplaySELAccessMethod()
86 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_LOG_STATUS), gShellDebug1HiiH… in DisplaySELLogStatus()
93 …ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_EVENTLOGINFO_LOG_AREA_VALID), gShellDebug1… in DisplaySELLogStatus()
[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/BaseTools/Source/C/VfrCompile/
DVfrCompiler.cpp71 mOptions.VfrFileName = NULL; in OptionInitialization()
72 mOptions.RecordListFile = NULL; in OptionInitialization()
75 mOptions.PkgOutputFileName = NULL; in OptionInitialization()
76 mOptions.COutputFileName = NULL; in OptionInitialization()
77 mOptions.OutputDirectory = NULL; in OptionInitialization()
78 mOptions.PreprocessorOutputFileName = NULL; in OptionInitialization()
79 mOptions.VfrBaseFileName = NULL; in OptionInitialization()
80 mOptions.IncludePaths = NULL; in OptionInitialization()
82 mOptions.CPreprocessorOptions = NULL; in OptionInitialization()
111 DebugError (NULL, 0, 1001, "Missing option", "-i missing path argument"); in OptionInitialization()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShellParametersProtocol.c59 return (NULL); in FindEndOfParameter()
97 if (Walker == NULL in GetNextParameter()
98 ||*Walker == NULL in GetNextParameter()
99 ||TempParameter == NULL in GetNextParameter()
100 ||*TempParameter == NULL in GetNextParameter()
118 *Walker = NULL; in GetNextParameter()
125 if (NextDelim == NULL){ in GetNextParameter()
127 *Walker = NULL; in GetNextParameter()
212 ASSERT(Argc != NULL); in ParseCommandLineToArgs()
213 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/generic/opengl-transport/host/commands/emugen/
DParser_unittest.cpp50 { "const", false, NULL, "Missing type name" }, in TEST()
51 { "const const", false, NULL, "Missing type name" }, in TEST()
52 { "foo", true, "foo", NULL }, in TEST()
53 { "void", true, "void", NULL }, in TEST()
54 { "const foo", true, "const foo", NULL }, in TEST()
55 { "foo *", true, "foo*", NULL }, in TEST()
56 { "char foo", true, "char foo", NULL }, in TEST()
57 { "\tunsigned \t int\n", true, "unsigned int", NULL }, in TEST()
58 { "const * char", false, NULL, "Unexpected '*' before type name" }, in TEST()
59 { "const char * ", true, "const char*", NULL }, in TEST()
[all …]

12345678910>>...143