/gem5/src/base/ |
H A D | sat_counter.hh | 65 * will be used as a counter value when it is in fact used as the number 69 * @param initial_val Starting value for the counter. 78 "Saturating counter's Initial value exceeds max value."); 192 operator+=(const int& value) argument 194 if (maxVal - this->counter >= value) { 195 this->counter += value; 204 operator-=(const int& value) argument 206 if (this->counter > value) { 207 this->counter -= value; [all...] |
H A D | coroutine.hh | 72 std::is_same<Arg, void>::value, Empty, std::stack<Arg>>::type; 75 std::is_same<Ret, void>::value, Empty, std::stack<Ret>>::type; 94 * and return a value to the caller. 97 * a value (Ret != void) 102 !std::is_same<T, void>::value, T>::type param) 113 * return a value (Ret = void) 116 typename std::enable_if<std::is_same<T, void>::value, 127 * The coroutine blocks, waiting for the value, unless it is already 129 * and coroutine won't execute until a value is pushed 135 typename std::enable_if<!std::is_same<T, void>::value, [all...] |
/gem5/ext/nomali/lib/ |
H A D | jobcontrol.hh | 53 void writeReg(RegAddr idx, uint32_t value) override; 56 void writeRegRaw(RegAddr idx, uint32_t value) override;
|
H A D | mmu.hh | 51 void writeReg(RegAddr idx, uint32_t value) override; 54 void writeRegRaw(RegAddr idx, uint32_t value) override;
|
H A D | gpu.cc | 55 GPU::writeReg(RegAddr addr, uint32_t value) argument 60 block->writeReg(getBlockReg(addr), value); local 72 GPU::writeRegRaw(RegAddr addr, uint32_t value) argument 77 block->writeRegRaw(getBlockReg(addr), value); local
|
H A D | addrspace.cc | 59 AddrSpace::writeReg(RegAddr addr, uint32_t value) argument 61 switch (addr.value) { 63 asCommand(value); 72 GPUBlock::writeReg(addr, value);
|
/gem5/ext/nomali/tests/ |
H A D | nomali_test_mmu.c | 28 value == 0) 40 uint32_t value; local
|
H A D | nomali_test_helpers.h | 48 uint32_t value; \ 50 nomali_reg_read(handle, &value, (reg))); \
|
/gem5/ext/pybind11/tests/ |
H A D | test_methods_and_attributes.cpp | 3 __str__, argument and return value conventions 22 ExampleMandA(int value) : value(value) { print_created(this, value); } argument 23 ExampleMandA(const ExampleMandA &e) : value(e.value) { print_copy_created(this); } 24 ExampleMandA(ExampleMandA &&e) : value(e.value) { print_move_created(this); } 28 return "ExampleMandA[value 72 int value = 0; member in class:ExampleMandA 76 int value = 1; member in struct:TestProperties 88 int value = 99; member in struct:TestPropertiesOverride [all...] |
H A D | test_pickling.cpp | 16 Pickleable(const std::string &value) : m_value(value) { } argument 17 const std::string &value() const { return m_value; } function in class:Pickleable 36 .def("value", &Pickleable::value) 45 return py::make_tuple(p.value(), p.extra1(), p.extra2()); 62 return py::make_tuple(p.value(), p.extra1(), p.extra2()); 79 PickleableWithDict(const std::string &value) : value(value) { } argument 81 std::string value; member in class:PickleableWithDict [all...] |
H A D | test_factory_constructors.cpp | 19 TestFactory1() : value("(empty)") { print_default_created(this); } 20 TestFactory1(int v) : value(std::to_string(v)) { print_created(this, value); } 21 TestFactory1(std::string v) : value(std::move(v)) { print_created(this, value); } 27 std::string value; member in class:TestFactory1 33 TestFactory2() : value("(empty2)") { print_default_created(this); } 34 TestFactory2(int v) : value(std::to_string(v)) { print_created(this, value); } 35 TestFactory2(std::string v) : value(st 39 std::string value; member in class:TestFactory2 52 std::string value; member in class:TestFactory3 71 int value; member in class:TestFactory6 96 int value; member in class:TestFactory7 [all...] |
H A D | test_pickling.py | 19 assert p2.value() == p.value() 34 assert p2.value == p.value
|
/gem5/src/arch/arm/kvm/ |
H A D | armv8_cpu.cc | 142 const uint64_t value(tc->readMiscReg(ri.idx)); 143 DPRINTF(KvmContext, " %s := 0x%x\n", ri.name, value); 144 setOneReg(ri.kvm, value); 234 const uint64_t value(tc->readMiscReg(ri.idx)); 235 DPRINTF(KvmContext, " %s := 0x%x\n", ri.name, value); 236 setOneReg(ri.kvm, value); 240 const uint64_t value(tc->readIntReg(INTREG_X0 + i)); 241 DPRINTF(KvmContext, " X%i := 0x%x\n", i, value); 242 setOneReg(kvmXReg(i), value); local 246 const uint64_t value(t 262 uint64_t value; local [all...] |
/gem5/src/dev/arm/ |
H A D | generic_timer.cc | 129 if (value() >= _counterLimit) { 136 curTick() + (_counterLimit - value()) * period); 151 setCompareValue(value() + sext<32>(val)); 161 if (_counterLimit >= value()) { 180 ArchTimer::value() const function in class:ArchTimer 182 return _systemCounter.value() - _offset; 453 return core.physNS.value(); 459 return core.virt.value(); 520 RegVal value = parent.readMiscReg(reg, cpu); local 521 DPRINTF(Timer, "Reading %s as 0x%x\n", miscRegName[reg], value); 572 uint64_t value; local 661 ctrlWrite(Addr addr, size_t size, uint64_t value) argument 788 timerWrite(Addr addr, size_t size, uint64_t value) argument [all...] |
/gem5/src/python/m5/ |
H A D | SimObject.py | 125 def public_value(key, value): 127 isinstance(value, (FunctionType, MethodType, ModuleType, 289 code(' const std::string &value, const Flags flags)${end_of_decl}') 305 'value', 'this->%s' % param.name, 'ret =') 563 def _set_param(cls, name, value, param): 566 hr_value = value 567 value = param.convert(value) 570 (e, cls.__name__, name, value) 573 cls._values[name] = value [all...] |
/gem5/ext/systemc/src/sysc/datatypes/misc/ |
H A D | sc_concatref.h | 56 // Andy Goodrich: fixed the code that assigns the value of a string to 67 // mirror those of sc_unsigned. For instance, an sc_unsigned minus a value 68 // returns an sc_signed result, whereas an sc_concatref minus a value was 70 // minus a value return an sc_signed result. 238 const sc_unsigned& value() const function in class:sc_dt::sc_concatref 276 { return value().to_double(); } 279 { target = value(); } 282 { target = value(); } 290 { return value(); } 295 { return value(); } [all...] |
/gem5/src/systemc/ext/dt/misc/ |
H A D | sc_concatref.hh | 56 // Andy Goodrich: fixed the code that assigns the value of a string to 67 // mirror those of sc_unsigned. For instance, an sc_unsigned minus a value 68 // returns an sc_signed result, whereas an sc_concatref minus a value was 70 // minus a value return an sc_signed result. 249 value() const function in class:sc_dt::sc_concatref 274 double to_double() const { return value().to_double(); } 276 void to_sc_signed(sc_signed &target) const { target = value(); } 278 void to_sc_unsigned(sc_unsigned &target) const { target = value(); } 283 operator const sc_unsigned & () const { return value(); } 286 sc_unsigned operator + () const { return value(); } [all...] |
/gem5/src/mem/slicc/ast/ |
H A D | PairListAST.py | 37 self[pair_ast.key] = pair_ast.value
|
/gem5/ext/drampower/src/ |
H A D | Parameter.h | 48 const std::string& value); 90 std::string value; member in class:Data::Parameter 94 int value); 97 const std::string& value);
|
/gem5/src/gpu-compute/ |
H A D | condition_register_state.hh | 71 write(int regIdx, int threadId, T value) argument 73 c_reg[regIdx][threadId] = (bool)(value & 0x01); 77 markReg(int regIdx, uint8_t value) argument 79 busy.at(regIdx) = value;
|
/gem5/src/systemc/ext/core/ |
H A D | sc_attr.hh | 62 sc_attr_base(_name), value(t) 65 sc_attr_base(other.name()), value(other.value) 68 T value; member in class:sc_core::sc_attribute
|
/gem5/ext/googletest/googlemock/src/ |
H A D | gmock.cc | 54 // format "--gmock_flag=value". When def_optional is true, the 55 // "=value" part can be omitted. 57 // Returns the value of the flag, or NULL if the parsing failed. 72 // When def_optional is true, it's OK to not have a "=value" part. 87 // "--gmock_flag=value". 89 // On success, stores the value of the flag in *value, and returns 90 // true. On failure, returns false without changing *value. 92 bool* value) { 93 // Gets the value o 91 ParseGoogleMockBoolFlag(const char* str, const char* flag, bool* value) argument 110 ParseGoogleMockStringFlag(const char* str, const char* flag, String* value) argument [all...] |
/gem5/src/unittest/ |
H A D | genini.py | 51 value = 'True' variable 54 value = arg[offset+1:] variable 55 os.environ[name] = value 56 m5_build_env[name] = value
|
/gem5/ext/ply/example/yply/ |
H A D | ylex.py | 36 t.value = t.lexer.lexdata[t.lexpos+2:] 45 t.lexer.lineno += t.value.count('\n') 51 t.lexer.lineno += t.value.count("\n") 85 t.value = t.lexer.lexdata[t.lexer.codestart:t.lexpos+1] 87 t.lexer.lineno += t.value.count('\n') 98 print "%d: Illegal character '%s'" % (t.lexer.lineno, t.value[0]) 99 print t.value
|
/gem5/ext/ply/example/newclasscalc/ |
H A D | calc.py | 83 t.value = int(t.value) 85 print("Integer value too large %s" % t.value) 86 t.value = 0 87 #print "parsed number %s" % repr(t.value) 94 t.lexer.lineno += t.value.count("\n") 97 print("Illegal character '%s'" % t.value[0]) 154 print("Syntax error at '%s'" % p.value)
|