Searched refs:element (Results 1 - 15 of 15) sorted by relevance

/gem5/ext/googletest/googletest/test/
H A Dgtest_xml_test_utils.py83 'attribute numbers differ in element %s:\nExpected: %r\nActual: %r' % (
91 'expected attribute %s not found in element %s' %
95 ' values of attribute %s in element %s differ: %s vs %s' %
103 'number of child elements differ in element ' + actual_node.tagName)
106 '<%s> is not in <%s> (in element %s)' %
117 def _GetChildren(self, element):
119 Fetches all of the child nodes of element, a DOM Element object.
125 "detail". An exception is raised if any element other than the above
131 for child in element.childNodes:
134 'Encountered unknown element <
[all...]
/gem5/src/cpu/testers/traffic_gen/
H A Dtrace_gen.cc79 TraceGen::InputStream::read(TraceElement& element) argument
83 element.cmd = pkt_msg.cmd();
84 element.addr = pkt_msg.addr();
85 element.blocksize = pkt_msg.size();
86 element.tick = pkt_msg.tick();
87 element.flags = pkt_msg.has_flags() ? pkt_msg.flags() : 0;
127 // read the first element in the file and set the complete flag
138 // read the next element and set the complete flag
142 // always have a valid element here
H A Dtrace_gen.hh89 * Check validity of this element.
91 * @return if this element is valid
98 * Make this element invalid.
140 * Attempt to read a trace element from the stream,
144 * @param element Trace element to populate
145 * @return True if an element could be read successfully
147 bool read(TraceElement& element);
189 /** Store the current and next element in the trace */
/gem5/ext/googletest/googletest/samples/
H A Dsample3-inl.h42 // The element type must support copy constructor.
43 template <typename E> // E is the element type
46 // QueueNode is a node in a Queue, which consists of an element of
48 template <typename E> // E is the element type
53 // Gets the element in this node.
54 const E& element() const { return element_; } function in class:QueueNode
61 // Creates a node with a given element value. The next pointer is
73 template <typename E> // E is the element type.
104 // Gets the first element of the queue, or NULL if the queue is empty.
108 // Gets the last element o
116 Enqueue(const E& element) argument
143 E* element = new E(old_head->element()); local
[all...]
H A Dsample3_unittest.cc97 // Creates a new queue, where each element is twice as big as the
107 EXPECT_EQ(2 * n1->element(), n2->element());
/gem5/ext/systemc/src/tlm_utils/
H A Dpeq_with_cb_and_phase.h41 struct element struct in class:tlm_utils::time_ordered_list
43 struct element *next;
47 element(PAYLOAD& p, sc_core::sc_time t, sc_dt::uint64 d): p(p),t(t),d(d) {} function in struct:tlm_utils::time_ordered_list::element
48 element(){} function in struct:tlm_utils::time_ordered_list::element
51 element *nill;
52 element *empties;
53 element *list;
57 : nill(new element()),
67 struct element *e=empties->next;
82 empties=new struct element();
[all...]
/gem5/src/systemc/ext/tlm_utils/
H A Dpeq_with_cb_and_phase.h39 struct element struct in class:tlm_utils::time_ordered_list
41 struct element *next;
45 element(PAYLOAD &p, sc_core::sc_time t, sc_dt::uint64 d) : function in struct:tlm_utils::time_ordered_list::element
48 element() {} function in struct:tlm_utils::time_ordered_list::element
51 element *nill;
52 element *empties;
53 element *list;
56 time_ordered_list() : nill(new element()), empties(NULL),
64 struct element *e = empties->next;
83 empties = new struct element();
[all...]
/gem5/src/cpu/trace/
H A Dtrace_cpu.cc524 // location of the element following the erased element
1080 // try sending current element
1099 "element.\n");
1101 // Read next element into currElement, currElement gets cleared so save the
1288 TraceCPU::ElasticDataGen::InputStream::read(GraphNode* element) argument
1293 element->seqNum = pkt_msg.seq_num();
1294 element->type = pkt_msg.type();
1296 element->compDelay = pkt_msg.comp_delay() * timeMultiplier;
1299 element
1495 read(TraceElement* element) argument
[all...]
H A Dtrace_cpu.hh372 * Check validity of this element.
374 * @return if this element is valid
381 * Make this element invalid.
417 * Attempt to read a trace element from the stream,
421 * @param element Trace element to populate
422 * @return True if an element could be read successfully
424 bool read(TraceElement* element);
534 /** Store an element read from the trace to send as the next packet. */
675 * Write out element i
[all...]
/gem5/ext/libelf/
H A Delf_queue.h43 * added to the list after an existing element or at the head of the list.
54 * to the list after an existing element, at the head of the list, or at the
63 * so that an arbitrary element can be removed without a need to
65 * or after an existing element or at the head of the list. A list
70 * linked so that an arbitrary element can be removed without a need to
72 * after an existing element, at the head of the list, or at the end of
102 /* Store the last 2 places the queue element or head was altered */
139 struct type *slh_first; /* first element */ \
147 struct type *sle_next; /* next element */ \
211 struct type *stqh_first;/* first element */ \
588 struct quehead *element = (struct quehead *)a, local
600 struct quehead *element = (struct quehead *)a; local
[all...]
/gem5/src/mem/ruby/common/
H A DNetDest.hh77 bool isElement(MachineID element) const;
90 // get element for a index
H A DSet.hh177 bool isElement(NodeID element) const { return bits.test(element); }
197 panic("No smallest element of an empty set.");
H A DNetDest.cc149 panic("No smallest element of an empty set.");
163 panic("No smallest element of given MachineType.");
241 NetDest::isElement(MachineID element) const
243 return ((m_bits[vecIndex(element)])).isElement(bitIndex(element.num));
/gem5/ext/ply/ply/
H A Dyacc.py1924 element = stack.pop()
1925 while element != x:
1928 element = stack.pop()
2000 # id(obj) instead of element-wise comparison.
/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc4165 // different element types.
4405 "element #0 is equal to 1,\n"
4406 "element #1 is equal to 2",
4409 "element #0 isn't equal to 1, or\n"
4410 "element #1 isn't equal to 2",
4416 EXPECT_EQ("which is { 1, 2 } when sorted, whose element #0 doesn't match",
4784 // unified element type in this case.
4823 // The element with value '3' matches nothing: fail fast.
4884 EXPECT_THAT(listener.str(), Eq("which has 1 element"));
4918 "element #
4940 EMString(int element, int matcher) argument
[all...]

Completed in 55 milliseconds