Searched refs:NULL (Results 51 - 75 of 528) sorted by relevance

1234567891011>>

/gem5/src/cpu/
H A Dexetrace.hh52 const StaticInstPtr _macroStaticInst = NULL)
73 const StaticInstPtr macroStaticInst = NULL)
76 return NULL;
50 ExeTracerRecord(Tick _when, ThreadContext *_thread, const StaticInstPtr _staticInst, TheISA::PCState _pc, const StaticInstPtr _macroStaticInst = NULL) argument
71 getInstRecord(Tick when, ThreadContext *tc, const StaticInstPtr staticInst, TheISA::PCState pc, const StaticInstPtr macroStaticInst = NULL) argument
/gem5/src/mem/ruby/structures/
H A DAbstractReplacementPolicy.cc53 return NULL;
60 if (m_last_ref_ptr != NULL){
62 if (m_last_ref_ptr[i] != NULL){
/gem5/src/systemc/tests/systemc/kernel/sc_main_main/
H A Dsc_main_main.cpp6 strdup("4"), NULL };
29 sc_assert(argv[argc] == NULL);
30 sc_assert(sc_argv()[argc] == NULL);
/gem5/ext/googletest/googletest/samples/
H A Dsample2_unittest.cc52 // Asserts that s.c_string() returns NULL.
56 // If we write NULL instead of
58 // static_cast<const char *>(NULL)
62 // arguments in order to print them when it fails. Since NULL is
64 // int to print it. However, gcc thinks that NULL should be used as
72 EXPECT_STREQ(NULL, s.c_string());
106 // Can we set the MyString to NULL?
107 s.Set(NULL);
108 EXPECT_STREQ(NULL, s.c_string());
H A Dsample3-inl.h62 // set to NULL.
63 explicit QueueNode(const E& an_element) : element_(an_element), next_(NULL) {}
77 Queue() : head_(NULL), last_(NULL), size_(0) {}
91 if (node == NULL) break;
96 head_ = last_ = NULL;
104 // Gets the first element of the queue, or NULL if the queue is empty.
108 // Gets the last element of the queue, or NULL if the queue is empty.
129 // Removes the head of the queue and returns it. Returns NULL if
133 return NULL;
[all...]
H A Dsample3_unittest.cc106 n1 != NULL; n1 = n1->next(), n2 = n2->next() ) {
131 EXPECT_TRUE(n == NULL);
134 ASSERT_TRUE(n != NULL);
140 ASSERT_TRUE(n != NULL);
/gem5/src/cpu/o3/
H A Ddep_graph.hh54 : inst(NULL), next(NULL)
100 { dependGraph[idx].inst = NULL; }
169 prev->inst = NULL;
175 dependGraph[i].inst = NULL;
178 dependGraph[i].next = NULL;
211 // Make sure curr isn't NULL. Because this instruction is being
215 if (curr == NULL) {
227 assert(curr != NULL);
236 curr->inst = NULL;
[all...]
/gem5/src/unittest/
H A Dunittest.cc39 bool _printOnPass = (getenv("PRINT_ON_PASS") != NULL);
44 const char *_case = NULL;
H A Drefcnttest.cc107 // Create an empty Ptr and verify it's data pointer is NULL.
108 setCase("NULL check");
110 EXPECT_EQ(nullCheck.get(), NULL);
140 assignmentTarget = NULL;
146 assignmentSourcePtr = NULL;
148 assignmentTarget = NULL;
165 accessTestPtr = NULL;
166 accessTest = NULL;
174 boolTest = NULL;
/gem5/util/tlm/src/
H A Dsc_ext.cc53 Gem5Extension *result = NULL;
55 sc_assert(result!=NULL);
/gem5/ext/googletest/googletest/test/
H A Dgtest_catch_exceptions_test_.cc55 SehExceptionInConstructorTest() { RaiseException(42, 0, 0, NULL); }
62 ~SehExceptionInDestructorTest() { RaiseException(42, 0, 0, NULL); }
69 static void SetUpTestCase() { RaiseException(42, 0, 0, NULL); }
76 static void TearDownTestCase() { RaiseException(42, 0, 0, NULL); }
83 virtual void SetUp() { RaiseException(42, 0, 0, NULL); }
90 virtual void TearDown() { RaiseException(42, 0, 0, NULL); }
96 RaiseException(42, 0, 0, NULL);
299 fflush(NULL);
H A Dgtest_throw_on_failure_test_.cc40 #include <stdio.h> // for fflush, fprintf, NULL, etc.
49 fflush(NULL);
/gem5/src/mem/qos/
H A DQoSMemCtrl.py57 qos_policy = Param.QoSPolicy(NULL,
62 qos_turnaround_policy = Param.QoSTurnaroundPolicy(NULL,
/gem5/src/systemc/tlm_bridge/
H A Dsc_ext.cc54 Gem5Extension *result = NULL;
56 sc_assert(result != NULL);
/gem5/ext/libelf/
H A Dgelf_sym.c45 if (d == NULL || ndx < 0 || dst == NULL ||
46 (scn = d->d_scn) == NULL ||
47 (e = scn->s_elf) == NULL) {
49 return (NULL);
62 return (NULL);
71 return (NULL);
106 if (d == NULL || ndx < 0 || gs == NULL ||
107 (scn = d->d_scn) == NULL ||
[all...]
H A Delf_cntl.c35 if (e == NULL ||
H A Dgelf_checksum.c48 if (e == NULL ||
H A Dgelf_xlate.c61 if (e != NULL)
65 return (NULL);
71 if (e != NULL)
75 return (NULL);
H A Dgelf_shdr.c55 if (d == NULL) {
57 return (NULL);
60 if ((sh = _libelf_getshdr(s, ELFCLASSNONE)) == NULL)
61 return (NULL);
95 if (s == NULL || scn == NULL || (e = scn->s_elf) == NULL ||
/gem5/src/base/loader/
H A Dobject_file.cc70 fileData = NULL;
195 return NULL;
202 return NULL;
213 uint8_t *file_data = (uint8_t *)mmap(NULL, len, PROT_READ, MAP_SHARED,
218 return NULL;
221 ObjectFile *file_obj = NULL;
224 if ((file_obj = ElfObject::tryFile(fname, len, file_data)) != NULL) {
228 if ((file_obj = EcoffObject::tryFile(fname, len, file_data)) != NULL) {
232 if ((file_obj = AoutObject::tryFile(fname, len, file_data)) != NULL) {
236 if ((file_obj = DtbObject::tryFile(fname, len, file_data)) != NULL) {
[all...]
/gem5/src/mem/ruby/profiler/
H A DAccessTraceForAddress.cc37 m_histogram_ptr = NULL;
46 if (m_histogram_ptr == NULL) {
90 if (m_histogram_ptr == NULL) {
101 if (m_histogram_ptr == NULL) {
/gem5/tests/quick/se/00.hello/
H A Dtest.py31 if root.system.cpu[0].checker != NULL:
/gem5/src/mem/
H A Dport.cc58 : Port(name, _id), _slavePort(NULL), owner(*_owner)
84 if (_slavePort == NULL)
115 : Port(name, id), _masterPort(NULL), defaultBackdoorWarned(false),
127 _masterPort = NULL;
/gem5/src/dev/x86/
H A DI82094AA.py42 external_int_pic = Param.I8259(NULL, "External PIC, if any")
H A DI8259.py47 slave = Param.I8259(NULL, 'Slave I8259, if any')

Completed in 21 milliseconds

1234567891011>>