/gem5/src/gpu-compute/ |
H A D | vector_register_file.cc | 101 VectorRegisterFile::preMarkReg(int regIdx, uint32_t operandSize, uint8_t value) argument 103 nxtBusy.at(regIdx) = value; 106 nxtBusy.at((regIdx + 1) % numRegs()) = value; 111 VectorRegisterFile::markReg(int regIdx, uint32_t operandSize, uint8_t value) argument 113 busy.at(regIdx) = value; 116 busy.at((regIdx + 1) % numRegs()) = value;
|
/gem5/ext/googletest/googletest/test/ |
H A D | gtest-tuple_test.cc | 52 // Tests that tuple_size<T>::value gives the number of fields in tuple 55 EXPECT_EQ(0, +tuple_size<tuple<> >::value); 56 EXPECT_EQ(1, +tuple_size<tuple<void*> >::value); 57 EXPECT_EQ(1, +tuple_size<tuple<char> >::value); 58 EXPECT_EQ(1, +(tuple_size<tuple<tuple<int, double> > >::value)); 59 EXPECT_EQ(2, +(tuple_size<tuple<int&, const char> >::value)); 60 EXPECT_EQ(3, +(tuple_size<tuple<char*, void, const bool&> >::value)); 71 // Tests comparing two tuples with the same value.
|
H A D | gtest_test_utils.py | 65 def SetEnvVar(env_var, value): 66 """Sets/unsets an environment variable to a given value.""" 68 if value is not None: 69 environ[env_var] = value 79 # Initially maps a flag to its default value. After 80 # _ParseAndStripGTestFlags() is called, maps a flag to its actual value. 97 # The environment variable overrides the default value. 116 """Returns the value of the given flag.""" 191 exit_code: the result value of os.system(command).
|
/gem5/src/python/m5/util/ |
H A D | fdthelper.py | 101 or any value that is castable to a string. If the phandle doesn't exist 121 def int_to_cells(self, value, cells): 124 value = long(value) 126 if (value >> (32 * cells)) != 0: 127 fatal("Value %d doesn't fit in %d cells" % (value, cells)) 129 return [(value >> 32*(x-1)) & 0xFFFFFFFF for x in range(cells, 0, -1)] 132 """Format an integer type according to the address_cells value of this 137 """Format an integer type according to the cpu_cells value of this 142 """Format an integer type according to the size_cells value o [all...] |
/gem5/src/dev/serial/ |
H A D | terminal.cc | 314 uint64_t value; local 317 value = RECEIVE_SUCCESS | readData(); 319 value |= MORE_PENDING; 321 value = RECEIVE_NONE; 324 DPRINTF(TerminalVerbose, "console_in: return: %#x\n", value); 326 return value;
|
/gem5/src/dev/x86/ |
H A D | i82094aa.cc | 135 X86ISA::I82094AA::writeReg(uint8_t offset, uint32_t value) argument 138 id = bits(value, 31, 24); 142 arbId = bits(value, 31, 24); 146 redirTable[index].topDW = value; 149 redirTable[index].bottomDW = value; 156 "Wrote %#x to I/O APIC register %#x .\n", value, offset);
|
/gem5/src/mem/slicc/ |
H A D | parser.py | 87 t.lexer.lineno += t.value.count('\n') 95 t.lexer.lineno += len(t.value) 176 if t.value == 'true': 178 t.value = True 181 if t.value == 'false': 183 t.value = False 187 t.type = self.reserved.get(t.value, 'IDENT') 193 t.value = float(t.value) 201 t.value [all...] |
/gem5/ext/ply/example/GardenSnake/ |
H A D | GardenSnake.py | 78 t.value = decimal.Decimal(t.value) 83 t.value=t.value[1:-1].decode("string-escape") # .swapcase() # for fun 108 t.type = RESERVED.get(t.value, "NAME") 130 t.lexer.lineno += len(t.value) 148 raise SyntaxError("Unknown symbol %r" % (t.value[0],)) 149 print "Skipping", repr(t.value[0]) 210 tok.value = None 245 depth = len(token.value) [all...] |
/gem5/src/base/ |
H A D | statistics.hh | 122 Counter value() const { return this->s.value(); } function in class:Stats::ScalarInfoProxy 140 value() const function in class:Stats::VectorInfoProxy 142 this->s.value(cvec); 214 * @return true if this stat has a value and satisfies its 497 /** The statistic value. */ 513 * The the stat to the given value. 514 * @param val The new value. 518 * Increment the stat by the given value. 519 * @param val The new value [all...] |
/gem5/ext/testlib/ |
H A D | result.py | 62 return self._metadata.result.value != state.Result.Passed 103 helper.append_dictlist(results, test.result.value, test) 136 helper.append_dictlist(results, test.result.value, test) 196 def __init__(self, name, value): 198 self.value = value 202 xml.sax.saxutils.quoteattr(self.value)))
|
H A D | runner.py | 54 if result.value == Result.Errored: 55 return Result(result.value, result.reason) 56 elif result.value == Result.Failed: 58 elif result.value == result.Skipped: 100 testable.result = Result(self.testable.result.value, reason)
|
/gem5/src/arch/arm/kvm/ |
H A D | arm_cpu.cc | 137 // same value on both the host and the guest. We need to keep a list 326 // Just set the return value using the KVM API instead of messing 437 /* Mask away the value field from multiplexed registers, we assume 471 uint32_t value(getOneRegU32(ri->id)); 472 inform("%s: 0x%x\n", ri->name, value); 478 uint32_t value(getOneRegU32(ri->id)); 479 inform("%s: 0x%x\n", miscRegName[ri->idx], value); 531 uint32_t value(getOneRegU32(id)); 542 name, value, m5_e); 552 REG_OPC2(id), isInvariantReg(id), name, value); [all...] |
/gem5/src/dev/arm/ |
H A D | generic_timer.hh | 80 /// Returns the current value of the physical counter. 81 uint64_t value() const function in class:SystemCounter 134 /// Programmed limit value for the upcounter ({CNTP/CNTHP/CNTV}_CVAL). 145 /// Called when the upcounter reaches the programmed value. 166 uint32_t timerValue() const { return _counterLimit - value(); } 177 /// Returns the value of the counter which this timer relies on. 178 uint64_t value() const; 312 void ctrlWrite(Addr addr, size_t size, uint64_t value); 315 void timerWrite(Addr addr, size_t size, uint64_t value);
|
/gem5/src/dev/ |
H A D | dma_device.hh | 366 bool tryGet(T &value) { 367 return tryGet(static_cast<T *>(&value), sizeof(T)); 382 T value; 383 get(static_cast<uint8_t *>(&value), sizeof(T)); 384 return value;
|
/gem5/src/base/stats/ |
H A D | hdf5.cc | 131 // Since this stat is a scalar, we need 1-dimensional value in the 297 const std::string &value) 299 H5::StrType type(H5::PredType::C_S1, value.length() + 1); 303 attribute.write(type, value.c_str()); 307 Hdf5::addMetaData(H5::DataSet &loc, const char *name, double value) argument 313 attribute.write(H5::PredType::NATIVE_DOUBLE, &value); 296 addMetaData(H5::DataSet &loc, const char *name, const std::string &value) argument
|
/gem5/ext/pybind11/tests/ |
H A D | test_pytypes.py | 17 Entry at position 0: value 52 assert d == {"key": "value"} 58 key: key, value=value 59 key: key2, value=value2 231 assert str(excinfo.value) == "make_tuple(): unable to convert " + ( 240 def __init__(self, value): 241 self.value = value 244 return self.value [all...] |
H A D | test_stl_binders.cpp | 34 explicit E_nc(int i) : value{i} {} 40 int value; member in class:E_nc 77 .def_readwrite("value", &E_nc::value);
|
H A D | test_sequences_and_iterators.py | 134 assert "object is not iterable" in str(excinfo.value) 138 assert "incompatible function arguments" in str(excinfo.value) 145 assert str(excinfo.value) == "py::iterator::advance() should propagate errors"
|
/gem5/src/base/loader/ |
H A D | ecoff_object.cc | 126 symtab->insert(entry->value, ext_strings + entry->iss); 160 symtab->insert(entry[j].value, strings + entry[j].iss); 167 symtab->insert(entry->value, local_strings + entry->iss);
|
/gem5/src/systemc/ext/dt/bit/ |
H A D | sc_bv_base.hh | 221 void set_bit(int i, value_type value); 255 sc_bv_base::set_bit(int i, value_type value) argument 261 m_data[wi] &= value << bi | ~mask;
|
/gem5/ext/googletest/googlemock/include/gmock/ |
H A D | gmock-more-actions.h | 175 // Action SaveArgPointee<k>(pointer) saves the value pointed to 183 // Action SetArgReferee<k>(value) assigns 'value' to the variable 187 AND_1_VALUE_PARAMS(value)) { 190 // error on the next line, you are using SetArgReferee<k>(value) in 192 GTEST_COMPILE_ASSERT_(internal::is_reference<argk_type>::value, 194 ::testing::get<k>(args) = value; 221 // This action returns the value pointed to by 'pointer'. 225 // to throw the given exception. Any copyable value can be thrown.
|
/gem5/src/cpu/kvm/ |
H A D | perfevent.cc | 139 uint64_t value; local 141 read(&value, sizeof(uint64_t)); 142 return value; 178 " The default value was changed to 2 in kernel 4.6\n" 179 " A value greater than 1 prevents gem5 from making\n"
|
/gem5/util/maint/ |
H A D | list_changes.py | 72 Returns: { tag, [ value, ... ] } 80 key, value = m.group(1), m.group(2) 82 tags[key].append(value) 84 tags[key] = [ value ]
|
/gem5/src/arch/mips/ |
H A D | dsp.hh | 98 // number of bits per value 100 // log2(bits per value) 133 int32_t bitrev(int32_t value); 134 uint64_t dspSaturate(uint64_t value, int32_t fmt, int32_t sign, 136 uint64_t checkOverflow(uint64_t value, int32_t fmt, int32_t sign, 138 uint64_t signExtend(uint64_t value, int32_t signpos); 139 uint64_t addHalfLsb(uint64_t value, int32_t lsbpos); 198 void writeDSPControl(uint32_t *dspctl, uint32_t value, uint32_t mask);
|
/gem5/ext/googletest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 169 // GTEST_HAS_COMBINE - the Combine() function (for value-parameterized 172 // GTEST_HAS_PARAM_TEST - value-parameterized tests 254 // GetEnv() - gets the value of an environment variable. 324 // value for __cplusplus, and recent versions of clang, gcc, and 799 // value-parameterized tests. 813 // value-parameterized tests are enabled. The implementation doesn't 1088 enum { value = true }; enumerator in enum:testing::internal::StaticAssertTypeEqHelper::__anon28 1689 // we assume that 0 is an invalid value for thread IDs. 1727 // Base class for ValueHolder<T>. Allows a caller to hold and delete a value 1738 // Creates a new ValueHolder<T> object holding a default value passe 1849 ThreadLocal(const T& value) argument 1857 set(const T& value) argument 1865 ValueHolder(const T& value) argument 1905 InstanceValueHolderFactory(const T& value) argument 2034 ThreadLocal(const T& value) argument 2050 set(const T& value) argument 2057 ValueHolder(const T& value) argument 2109 InstanceValueHolderFactory(const T& value) argument 2165 ThreadLocal(const T& value) argument 2169 set(const T& value) argument 2205 static const bool value = bool_value; member in struct:testing::internal::bool_constant 2207 template <bool bool_value> const bool bool_constant<bool_value>::value; member in class:testing::internal::bool_constant [all...] |