/gem5/src/systemc/tests/systemc/misc/v1.0/dash0/ |
H A D | pulse.cpp | 69 int ip = int(dp); local 71 ip = ip + ((dp - ip) >= double(0.5) ? 1 : 0); 73 return ip;
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash1/ |
H A D | pulse.cpp | 65 int ip = int(dp); local 67 ip = ip + ((dp - ip) >= double(0.5) ? 1 : 0); 69 return ip;
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash2/ |
H A D | pulse.cpp | 65 int ip = int(dp); local 67 ip = ip + ((dp - ip) >= double(0.5) ? 1 : 0); 69 return ip;
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash3/ |
H A D | pulse.cpp | 65 int ip = int(dp); local 67 ip = ip + ((dp - ip) >= double(0.5) ? 1 : 0); 69 return ip;
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash4/ |
H A D | pulse.cpp | 65 int ip = int(dp); local 67 ip = ip + ((dp - ip) >= double(0.5) ? 1 : 0); 69 return ip;
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash5/ |
H A D | pulse.cpp | 65 int ip = int(dp); local 67 ip = ip + ((dp - ip) >= double(0.5) ? 1 : 0); 69 return ip;
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash6/ |
H A D | pulse.cpp | 65 int ip = int(dp); local 67 ip = ip + ((dp - ip) >= double(0.5) ? 1 : 0); 69 return ip;
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash7/ |
H A D | pulse.cpp | 65 int ip = int(dp); local 67 ip = ip + ((dp - ip) >= double(0.5) ? 1 : 0); 69 return ip;
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash8/ |
H A D | pulse.cpp | 65 int ip = int(dp); local 67 ip = ip + ((dp - ip) >= double(0.5) ? 1 : 0); 69 return ip;
|
/gem5/src/systemc/tests/systemc/misc/v1.0/dash9/ |
H A D | pulse.cpp | 65 int ip = int(dp); local 67 ip = ip + ((dp - ip) >= double(0.5) ? 1 : 0); 69 return ip;
|
/gem5/src/arch/riscv/ |
H A D | interrupts.hh | 58 std::bitset<NumInterruptTypes> ip; member in class:RiscvISA::Interrupts 70 Interrupts(Params * p) : SimObject(p), cpu(nullptr), ip(0), ie(0) {} 88 bool checkInterrupt(int num) const { return ip[num] && ie[num]; } 91 return (ip & ie & globalMask(tc)).any(); 111 ip[int_num] = true; 118 ip[int_num] = false; 125 ip = 0; 128 uint64_t readIP() const { return (uint64_t)ip.to_ulong(); } 130 void setIP(const uint64_t& val) { ip = val; } 136 SERIALIZE_SCALAR(ip [all...] |
H A D | pra_constants.hh | 187 SubBitUnion(ip, 15, 8) 196 EndSubBitUnion(ip);
|
/gem5/src/base/ |
H A D | inet.cc | 151 return left.ip() == right.ip(); 157 uint32_t ip = ia.ip(); local 159 (uint8_t)(ip >> 24), (uint8_t)(ip >> 16), 160 (uint8_t)(ip >> 8), (uint8_t)(ip >> 0)); 175 return (left.ip() == right.ip()) 215 __tu_cksum(const IpPtr &ip) argument [all...] |
H A D | inet.hh | 59 #include "dnet/ip.h" 204 uint32_t ip() const { return _ip; } function in struct:Net::IpAddress 680 uint16_t __tu_cksum(const IpPtr &ip);
|
/gem5/src/python/m5/util/ |
H A D | convert.py | 202 raise ValueError('invalid ip address %s' % value) 206 raise ValueError('invalid ip address %s' % value) 215 (ip, netmask) = value.split('/') 216 ip = toIpAddress(ip) 221 return (ip, int(netmask)) 225 return (ip, 0) 230 return (ip, i + 1) 239 (ip, port) = value.split(':') 240 ip [all...] |
/gem5/src/arch/mips/ |
H A D | interrupts.cc | 48 return cause.ip; 54 cause.ip = val; 124 if (status.im && cause.ip) 140 (unsigned)status.im, (unsigned)cause.ip);
|
H A D | pra_constants.hh | 187 SubBitUnion(ip, 15, 8) 196 EndSubBitUnion(ip);
|
/gem5/src/systemc/tests/systemc/examples/trie/ |
H A D | trie.cpp | 34 // ip routing algorithm that is proposed in: 76 // do the ip lookup to next hop 109 lc::lookup(sc_uint<32> ip) argument 124 addr = addr + extract(ip, pos, branch); 139 if( (ip_prefix&mask) == (ip&mask)){ 224 unsigned int ip; member in struct:stimuli 282 * apply some ip's and see what 289 data.write(S[i].ip); 293 cout << S[i].ip << " should be hop " << S[i].hop
|
/gem5/src/dev/net/ |
H A D | i8254xGBe.cc | 1371 IpPtr ip(pktPtr); 1374 if (ip || ip6) { 1375 if (ip) { 1377 ip->id()); 1379 ip_id = ip->id(); 1384 if (ip && igbe->regs.rxcsum.ipofld()) { 1387 csum = htole(cksum(ip)); 1389 if (cksum(ip) != 0) { 1395 TcpPtr tcp = ip ? TcpPtr(ip) [all...] |
H A D | ns_gige.cc | 1172 IpPtr ip(rxPacket); 1173 if (ip) { 1174 DPRINTF(Ethernet, "ID is %d\n", ip->id()); 1175 TcpPtr tcp(ip); 1221 IpPtr ip(rxPacket); 1222 if (extstsEnable && ip) { 1225 if (cksum(ip) != 0) { 1229 TcpPtr tcp(ip); 1230 UdpPtr udp(ip); 1369 IpPtr ip(txFif [all...] |
H A D | sinic.cc | 838 IpPtr ip(vnic->rxIndex->packet); 839 if (ip) { 840 DPRINTF(Ethernet, "ID is %d\n", ip->id()); 843 if (cksum(ip) != 0) { 847 TcpPtr tcp(ip); 848 UdpPtr udp(ip); 1007 IpPtr ip(packet); 1008 if (ip) { 1009 DPRINTF(Ethernet, "ID is %d\n", ip->id()); 1010 TcpPtr tcp(ip); [all...] |
H A D | i8254xGBe_defs.hh | 263 inline bool ip(TxDesc *d) { assert(isContext(d)); return bits(d->d2, 25,25); } function in namespace:iGbReg::TxdOp 726 ADD_FIELD32(ipaddrfltr,22,1); // ip address filtering
|
/gem5/src/python/m5/ |
H A D | params.py | 1019 self.ip = value.ip 1022 self.ip = convert.toIpAddress(value) 1024 self.ip = long(value) 1032 tup = [(self.ip >> i) & 0xff for i in (24, 16, 8, 0)] 1037 return self.ip == other.ip 1040 return self.ip == convert.toIpAddress(other) 1044 return self.ip == other 1050 if self.ip < [all...] |
/gem5/ext/dnet/ |
H A D | ip.h | 2 * ip.h 8 * $Id: ip.h,v 1.23 2003/03/16 17:39:17 dugsong Exp $ 236 * Option types (opt_type) - http://www.iana.org/assignments/ip-parameters 418 char *ip_ntop(const ip_addr_t *ip, char *dst, size_t len); 420 char *ip_ntoa(const ip_addr_t *ip);
|
/gem5/ext/googletest/googlemock/test/ |
H A D | gmock-matchers_test.cc | 4576 const int* ip = a; local 4578 SCOPED_TRACE(ip - a); 4579 EXPECT_EQ(*ip++, *it++);
|