/gem5/tests/test-progs/gpu-hello/src/ |
H A D | gpu-hello.cpp | 79 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 D | trie.hh | 64 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 D | xmlParser.h | 279 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 D | xmlParser.cc | 135 { 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 D | ModelGen.cc | 218 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 D | ElectricalDriver.cc | 77 return (getModel() == NULL) || (getModel()->hasMaxDrivingStrength()); 86 return (getModel() == NULL) || (getModel()->hasMinDrivingStrength());
|
H A D | ElectricalTimingTree.cc | 72 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 D | elf_end.c | 42 if (e == NULL || e->e_activations == 0) 79 if ((e = e->e_parent) != NULL)
|
H A D | elf_next.c | 40 if (e == NULL) 43 if ((parent = e->e_parent) == NULL) {
|
H A D | elf_rand.c | 38 if (ar == NULL || ar->e_kind != ELF_K_AR ||
|
H A D | libelf_extended.c | 40 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 D | elf_queue.h | 143 { 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 D | libelf_ehdr.c | 59 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 D | CacheRecorder.cc | 47 : 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 D | RubySystem.cc | 61 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 D | gtest_premature_exit_test.cc | 59 // 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 D | test_helper.c | 125 test_status("ok", test, NULL, NULL); 131 test_status("not ok", test, NULL, NULL);
|
/gem5/ext/nomali/tests/ |
H A D | test_helpers.c | 115 test_status("ok", test, NULL, NULL); 121 test_status("not ok", test, NULL, NULL);
|
/gem5/src/arch/riscv/bare_metal/ |
H A D | system.cc | 39 if (bootloader == NULL) {
|
/gem5/ext/googletest/googletest/samples/ |
H A D | sample8_unittest.cc | 54 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 D | main.cc | 50 Py_DecodeLocale(argv[0], NULL),
|
/gem5/src/systemc/core/ |
H A D | sc_main_fiber.hh | 43 char **_argv = NULL;
|
/gem5/src/base/loader/ |
H A D | dtb_object.cc | 50 return NULL; 64 data.fileImage = NULL; 68 bss.fileImage = NULL; 79 fileData = NULL; 82 fileData = NULL;
|
/gem5/src/mem/ruby/profiler/ |
H A D | StoreTrace.cc | 39 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 D | OpticalGraph.cc | 147 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 " +
|