Searched refs:NULL (Results 76 - 100 of 528) sorted by relevance

1234567891011>>

/gem5/tests/test-progs/gpu-hello/src/
H A Dgpu-hello.cpp79 if (msg == NULL) {
105 cl_platform_id platform = NULL;
106 status = clGetPlatformIDs(0, NULL, &numPlatforms);
114 status = clGetPlatformIDs(numPlatforms, platforms, NULL);
122 sizeof(pbuff), pbuff, NULL);
135 if (NULL == platform) {
136 printf("NULL platform found so Exiting Application.\n");
143 context = clCreateContextFromType(cps, CL_DEVICE_TYPE_GPU, NULL, NULL,
152 status = clGetContextInfo(context, CL_CONTEXT_DEVICES, 0, NULL,
[all...]
/gem5/src/base/
H A Dtrie.hh64 parent(NULL)
66 kids[0] = NULL;
67 kids[1] = NULL;
76 kids[1] = NULL;
81 kids[0] = NULL;
110 Trie() : head(0, 0, NULL)
158 * @return The first Handle matching this key, or NULL if none was found.
173 node = NULL;
176 return NULL;
190 // We use NULL valu
[all...]
/gem5/ext/mcpat/
H A DxmlParser.h279 static XMLNode parseString(XMLCSTR lpXMLString, XMLCSTR tag = NULL,
280 XMLResults *pResults = NULL);
293 static XMLNode parseFile(XMLCSTR filename, XMLCSTR tag = NULL,
294 XMLResults *pResults = NULL);
307 static XMLNode openFileHelper(XMLCSTR filename, XMLCSTR tag = NULL);
328 XMLSTR createXMLString(int nFormat = 1, int *pnSize = NULL) const;
336 const char *encoding = NULL,
354 XMLNode getChildNode(XMLCSTR name, int *i=NULL) const; ///< return next child node with specific name (return an empty node if failing)
358 XMLCSTR attributeValue=NULL,
359 int *i=NULL) cons
[all...]
H A DxmlParser.cc135 { NULL , 0, NULL }
153 { NULL , 0, '\0' }
253 // Check for UNICODE NULL chars
260 return (char)IsTextUnicode((CONST LPVOID)b, l, NULL);
271 i = (int)MultiByteToWideChar(CP_UTF8, 0, s, -1, NULL, 0);
273 i = (int)MultiByteToWideChar(CP_ACP , MB_PRECOMPOSED, s, -1, NULL, 0);
276 return NULL;
316 NULL, // buffer for new string
318 NULL, // defaul
[all...]
/gem5/ext/dsent/model/
H A DModelGen.cc218 return NULL;
220 return NULL;
275 return NULL;
277 return NULL;
292 return NULL;
294 return NULL;
309 return NULL;
311 return NULL;
/gem5/ext/dsent/model/timing_graph/
H A DElectricalDriver.cc77 return (getModel() == NULL) || (getModel()->hasMaxDrivingStrength());
86 return (getModel() == NULL) || (getModel()->hasMinDrivingStrength());
H A DElectricalTimingTree.cc72 ElectricalTimingNode* node_for_timing_opt = NULL;
82 if(node_for_timing_opt == NULL || iteration > max_iterations || crit_path_iteration > max_iterations_single_crit_path)
95 if (node_for_timing_opt == NULL || iteration > max_iterations || crit_path_iteration > max_iterations_single_crit_path)
174 if (node_ == NULL)
199 if (node_ == NULL)
200 return NULL;
206 ElectricalTimingNode* worst = NULL;
/gem5/ext/libelf/
H A Delf_end.c42 if (e == NULL || e->e_activations == 0)
79 if ((e = e->e_parent) != NULL)
H A Delf_next.c40 if (e == NULL)
43 if ((parent = e->e_parent) == NULL) {
H A Delf_rand.c38 if (ar == NULL || ar->e_kind != ELF_K_AR ||
H A Dlibelf_extended.c40 if ((s = STAILQ_FIRST(&e->e_u.e_elf.e_scn)) != NULL)
52 if ((scn = _libelf_getscn0(e)) == NULL)
82 if ((scn = _libelf_getscn0(e)) == NULL)
111 if ((scn = _libelf_getscn0(e)) == NULL)
H A Delf_queue.h143 { NULL }
153 #define SLIST_EMPTY(head) ((head)->slh_first == NULL)
169 ((var) = *(varp)) != NULL; \
173 SLIST_FIRST((head)) = NULL; \
216 { NULL, &(head).stqh_first }
234 #define STAILQ_EMPTY(head) ((head)->stqh_first == NULL)
250 STAILQ_FIRST((head)) = NULL; \
255 if ((STAILQ_NEXT((elm), field) = STAILQ_NEXT((tqelm), field)) == NULL)\
261 if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) \
267 STAILQ_NEXT((elm), field) = NULL; \
[all...]
H A Dlibelf_ehdr.c59 if ((scn = _libelf_allocate_scn(e, (size_t) 0)) == NULL)
109 if (e == NULL || e->e_kind != ELF_K_ELF) {
111 return (NULL);
116 return (NULL);
121 return (NULL);
132 if (ehdr != NULL) /* already have a translated ehdr */
140 return (NULL);
147 if ((ehdr = calloc((size_t) 1, msz)) == NULL) {
149 return (NULL);
190 return (NULL);
[all...]
/gem5/src/mem/ruby/system/
H A DCacheRecorder.cc47 : m_uncompressed_trace(NULL),
62 if (m_uncompressed_trace != NULL) {
75 if (m_uncompressed_trace != NULL) {
77 m_uncompressed_trace = NULL;
95 assert(m_sequencer_ptr != NULL);
140 assert(m_sequencer_ptr != NULL);
181 if (new_buf == NULL) {
197 m_records[i] = NULL;
H A DRubySystem.cc61 m_cache_recorder(NULL)
107 Sequencer* sequencer_ptr = NULL;
111 if (sequencer_ptr == NULL) {
116 assert(sequencer_ptr != NULL);
119 if (sequencer_map[cntrl] == NULL) {
125 if (m_cache_recorder != NULL) {
141 makeCacheRecorder(NULL, 0, getBlockSizeBytes());
220 if (compressedMemory == NULL)
247 if (m_cache_recorder == NULL) {
269 m_cache_recorder = NULL;
[all...]
/gem5/ext/googletest/googletest/test/
H A Dgtest_premature_exit_test.cc59 // Normalize NULL to "" for ease of handling.
60 if (premature_exit_file_path_ == NULL) {
117 if (filepath != NULL && *filepath != '\0') {
/gem5/ext/fputils/tests/
H A Dtest_helper.c125 test_status("ok", test, NULL, NULL);
131 test_status("not ok", test, NULL, NULL);
/gem5/ext/nomali/tests/
H A Dtest_helpers.c115 test_status("ok", test, NULL, NULL);
121 test_status("not ok", test, NULL, NULL);
/gem5/src/arch/riscv/bare_metal/
H A Dsystem.cc39 if (bootloader == NULL) {
/gem5/ext/googletest/googletest/samples/
H A Dsample8_unittest.cc54 precalc_impl_(force_on_the_fly ? NULL :
63 if (precalc_impl_ != NULL && n < max_precalculated_)
71 if (precalc_impl_ != NULL && p < max_precalculated_)
110 table_ = NULL;
/gem5/src/sim/
H A Dmain.cc50 Py_DecodeLocale(argv[0], NULL),
/gem5/src/systemc/core/
H A Dsc_main_fiber.hh43 char **_argv = NULL;
/gem5/src/base/loader/
H A Ddtb_object.cc50 return NULL;
64 data.fileImage = NULL;
68 bss.fileImage = NULL;
79 fileData = NULL;
82 fileData = NULL;
/gem5/src/mem/ruby/profiler/
H A DStoreTrace.cc39 Histogram* StoreTrace::s_store_count_ptr = NULL;
40 Histogram* StoreTrace::s_store_first_to_stolen_ptr = NULL;
41 Histogram* StoreTrace::s_store_last_to_stolen_ptr = NULL;
42 Histogram* StoreTrace::s_store_first_to_last_ptr = NULL;
145 assert(s_store_first_to_stolen_ptr != NULL);
/gem5/ext/dsent/model/optical_graph/
H A DOpticalGraph.cc147 return traceWavelength(wavelength, node_, NULL, NULL, 0.0);
164 ASSERT(laser_ == NULL, "[Error] " + getInstanceName() + " -> Multiple " +
172 ASSERT(laser_ != NULL, "[Error] " + getInstanceName() + " -> Wavelength reaches a " +
174 ASSERT(modulator_ == NULL, "[Error] " + getInstanceName() + " -> Two modulators are driving" +
182 ASSERT(laser_ != NULL, "[Error] " + getInstanceName() + " -> Wavelength reaches a " +
184 ASSERT(modulator_ != NULL, "[Error] " + getInstanceName() + " -> Wavelength reaches a " +

Completed in 43 milliseconds

1234567891011>>