Searched refs:length (Results 26 - 50 of 167) sorted by relevance

1234567

/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dscfx_other_defs.h80 for( int i = 0; i < length(); ++ i )
96 for( int i = 0; i < length(); ++ i )
112 for( int i = 0; i < length(); ++ i )
128 for( int i = 0; i < length(); ++ i )
151 for( int i = 0; i < length(); ++ i )
167 for( int i = 0; i < length(); ++ i )
183 for( int i = 0; i < length(); ++ i )
199 for( int i = 0; i < length(); ++ i )
H A Dscfx_string.h87 int length() const;
149 scfx_string::length() const function in class:sc_dt::scfx_string
/gem5/src/dev/net/
H A Detherdump.cc64 uint32_t snaplen; // max length saved portion of each pkt
71 uint32_t caplen; // length of portion present
72 uint32_t len; // length this packet (off wire)
99 pkthdr.caplen = std::min(packet->length, maxlen);
100 pkthdr.len = packet->length;
H A Detherswitch.cc79 assert(ptr->length);
81 _size += ptr->length;
87 std::prev(fifo.end())->packet->length);
89 _size -= std::prev(fifo.end())->packet->length;
94 warn("EtherSwitch: Packet length (%d) exceeds the maximum storage "
95 "capacity of port fifo (%d)", ptr->length, _maxsize);
114 assert(_size >= fifo.begin()->packet->length);
116 _size -= fifo.begin()->packet->length;
192 DPRINTF(Ethernet, "packet sent: len=%d\n", outputFifo.front()->length);
H A Dethertap.cc176 DPRINTF(Ethernet, "EtherTap sim->real len=%d\n", packet->length);
177 DDUMP(EthernetData, packet->data, packet->length);
179 bool success = sendReal(packet->data, packet->length);
191 packet->length = len;
195 DPRINTF(Ethernet, "EtherTap real->sim len=%d\n", packet->length);
196 DDUMP(EthernetData, packet->data, packet->length);
364 // If there's not enough data for the frame length, wait for more.
H A Di8254xGBe.cc486 regs.mdic.data(0x180); // some random length
1246 bytesCopied = packet->length;
1248 packet->length, igbe->regs.rctl.descSize());
1249 assert(packet->length < igbe->regs.rctl.descSize());
1251 packet->length, &pktEvent, packet->data,
1256 bytesCopied = packet->length;
1260 packet->length, igbe->regs.srrctl(), buf_len);
1261 assert(packet->length < buf_len);
1263 packet->length, &pktEvent, packet->data,
1267 desc->adv_wb.pkt_len = htole((uint16_t)(pktPtr->length));
[all...]
/gem5/src/base/
H A Dframebuffer.cc110 fb += conv.length;
119 fb += conv.length;
H A Dpngwriter.cc63 * @param length number of bytes being written
66 writePng(png_structp pngPtr, png_bytep data, png_size_t length) argument
74 // Write length bytes to data
75 strmPtr->write(reinterpret_cast<const char *>(data), length); local
H A Dpixel.hh84 * stored in a word of configurable length (up to 32 bits). Individual
129 PixelConverter(unsigned length,
162 * Read a word of a given length and endianness from memory.
165 * length of a color word. Note that some of the bytes may be
173 * Write a word of a given length and endianness to memory.
181 unsigned length; member in class:PixelConverter
184 * padding). This could be less than length * 8 if the pixel value
/gem5/src/systemc/ext/dt/fx/
H A Dscfx_string.hh85 int length() const;
135 inline int scfx_string::length() const { return m_len; } function in class:sc_dt::scfx_string
/gem5/ext/systemc/src/sysc/qt/md/
H A Dpowerpc_mach.h306 #define PPC_ROUND_STACK(length) \
307 (((length)+PPC_STACK_INCR-1) & ~(PPC_STACK_INCR-1))
H A Dpowerpc_sys5.h273 #define PPC_ROUND_STACK(length) \
274 (((length)+PPC_STACK_INCR-1) & ~(PPC_STACK_INCR-1))
/gem5/ext/systemc/src/sysc/datatypes/bit/
H A Dsc_bv_base.h111 { init( a.back_cast().length() ); base_type::assign_( a ); }
119 { init( a.length() ); base_type::assign_( a ); }
123 { init( a.length() ); base_type::assign_( a ); }
127 { init( a.length() ); base_type::assign_( a ); }
131 { init( a.length() ); base_type::assign_( a ); }
230 int length() const function in class:sc_dt::sc_bv_base
260 int m_len; // length in bits
H A Dsc_lv_base.cpp74 // check the length
100 int s_len = s.length() - 1;
122 init( s.length() - 1 );
H A Dsc_proxy.h108 // Vector types that are not derived from sc_proxy must have a length()
762 // sc_uint_base, sc_signed, or sc_unsigned, must have a length()
774 int len_x = x.length();
775 int len_a = a.length();
793 int len_x = x.length();
794 int len_a = a.length();
812 int len_x = x.length();
813 int len_a = a.length();
830 int len_x = x.length();
831 int len_a = a.length();
[all...]
/gem5/src/systemc/ext/dt/bit/
H A Dsc_proxy.hh111 // Vector types that are not derived from sc_proxy must have a length()
650 // sc_uint_base, sc_signed, or sc_unsigned, must have a length()
661 int len_x = x.length();
662 int len_a = a.length();
680 int len_x = x.length();
681 int len_a = a.length();
698 int len_x = x.length();
699 int len_a = a.length();
716 int len_x = x.length();
717 int len_a = a.length();
[all...]
/gem5/src/gpu-compute/
H A Dshader.cc76 Shader::mmap(int length) argument
81 // round up length to the next page
82 length = roundUp(length, TheISA::PageBytes);
89 start = mem_state->getMmapEnd() - length;
94 mem_state->setMmapEnd(start + length);
101 DPRINTF(HSAIL,"Shader::mmap start= %#x, %#x\n", start, length);
103 proc->allocateMem(start, length);
/gem5/src/arch/x86/bios/
H A Dsmbios.cc82 uint8_t length = getLength(); local
83 proxy.writeBlob(addr + 1, &length, 1);
88 return length + getStringLength();
111 proxy.writeBlob(addr + offset, it->c_str(), it->length() + 1);
112 offset += it->length() + 1;
125 size += it->length() + 1;
137 if (newString.length() == 0)
257 // Then the length of the structure table which we'll find later
/gem5/ext/mcpat/cacti/
H A Darbiter.cc51 NTtr = 10 * technology / 2; /*Transmission gate's nmos tr. length*/
52 PTtr = 20 * technology / 2; /* pmos tr. length*/
115 Arbiter::Cw3(double length) { argument
116 Wire wc(g_ip->wt, length, 1, 3, 3);
117 double temp = (wc.wire_cap(length, true));
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_string.h124 // returns length of the string (excluding trailing \0)
126 int length() const;
161 int last_char = length()-1;
170 int f_len = (int)temp.fmt_length(); // length of format field
183 sc_string_old& remove(unsigned index, unsigned length);
/gem5/src/systemc/dt/bit/
H A Dsc_bv_base.cc76 // check the length
99 int s_len = s.length() - 1;
124 init(s.length() - 1);
194 // worst case length = n * 4
224 int n = s.length();
H A Dsc_lv_base.cc92 // check the length
118 int s_len = s.length() - 1;
138 init(s.length() - 1);
/gem5/ext/googletest/googletest/test/
H A Dgtest_xml_test_utils.py82 expected_attributes.length, actual_attributes.length,
86 for i in range(expected_attributes.length):
/gem5/tests/gem5/
H A Dsuite.py48 length=constants.supported_lengths[0],
108 tags = [isa, opt, length]
/gem5/ext/mcpat/
H A Dinterconnect.h77 double length; member in class:Interconnect

Completed in 43 milliseconds

1234567