Searched refs:value (Results 176 - 200 of 497) sorted by relevance

1234567891011>>

/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_signed_bitref.inc42 // Proxy class for sc_signed bit selection (r-value only).
68 // Proxy class for sc_signed bit selection (r-value and l-value).
125 bool value = 1 & ((low_i < 64) ? (src >> low_i) : (src >> 63));
126 m_obj_p->set(low_i, value);
147 bool value = 1 & ((low_i < 64) ? (src >> low_i) : 0);
148 m_obj_p->set(low_i, value);
H A Dsc_unsigned_bitref.inc42 // Proxy class for sc_unsigned bit selection (r-value only).
68 // Proxy class for sc_unsigned bit selection (r-value and l-value).
125 bool value = 1 & ((low_i < 64) ? (src >> low_i) : (src >> 63));
126 m_obj_p->set(low_i, value);
147 bool value = ((low_i < 64) ? (src >> low_i)&1 : 0);
148 m_obj_p->set(low_i, value);
/gem5/util/tlm/src/
H A Dsc_peq.hh94 Tick nextEventTick = sc_core::sc_time_stamp().value() + delay.value();
/gem5/ext/pybind11/tests/
H A Dpybind11_tests.h35 int value() const { return i; } function in class:UserType
42 /// Like UserType, but increments `value` on copy for quick reference vs. copy tests
47 IncType(const IncType &other) : IncType(other.value() + 1) { }
H A Dtest_eval.cpp68 local["call_test2"] = py::cpp_function([&](int value) { val_out = value; });
H A Dtest_class.py16 assert msg(excinfo.value) == "m.class_.NoConstructor: No constructor defined!"
36 Get value using a method
38 assert doc(UserType.value) == "Get/set value using a property"
92 assert msg(excinfo.value) == """
101 assert "No constructor defined!" in str(excinfo.value)
130 'holder type while its base ".*MismatchBase1" does', str(excinfo.value))
135 'while its base ".*MismatchBase2" does not', str(excinfo.value))
263 assert msg(excinfo.value) == '''
274 assert str(exc_info.value)
[all...]
H A Dtest_constants_and_functions.cpp38 const auto value = static_cast<std::string>(bytes); local
39 for (size_t i = 0; i < value.length(); ++i) {
40 ret += std::to_string(static_cast<int>(value[i])) + " ";
102 .value("EFirstEntry", EFirstEntry)
103 .value("ESecondEntry", ESecondEntry)
H A Dtest_smart_ptr.py111 assert o.value == 23
120 assert o.value == 23
129 assert o.value == 23
141 assert o.value == 5
158 assert "Unable to cast from non-held to held instance" in str(excinfo.value)
194 assert "Unable to cast from non-held to held instance" in str(excinfo.value)
264 a.value = 42
265 assert a.value == 42
276 "default-holder instance" in str(excinfo.value)
280 """#187: issue involving std::shared_ptr<> return value polic
[all...]
H A Dtest_stl.py58 assert d == {"key": "value"}
95 assert z[0].value == 7 and z[1].value == 42
101 a temporary. In case the return value is a container of user-defined types, the policy
105 assert [x.value for x in moved_out_list] == [0, 1, 2]
176 m.stl_pass_by_pointer() # default value is `nullptr`
177 assert msg(excinfo.value) == """
186 assert msg(excinfo.value) == """
208 assert expected_message in str(excinfo.value)
212 assert expected_message in str(excinfo.value)
[all...]
/gem5/src/systemc/channel/
H A Dsc_signal_resolved.cc96 m_new_val = merge_table[m_new_val.value()][input.second.value()];
98 // Ask the signal to update it's value.
/gem5/src/systemc/dt/int/
H A Dsc_signed_bitref.inc42 // Proxy class for sc_signed bit selection (r-value only).
68 // Proxy class for sc_signed bit selection (r-value and l-value).
126 bool value = 1 & ((low_i < 64) ? (src >> low_i) : (src >> 63));
127 m_obj_p->set(low_i, value);
151 bool value = 1 & ((low_i < 64) ? (src >> low_i) : 0);
152 m_obj_p->set(low_i, value);
H A Dsc_unsigned_bitref.inc42 // Proxy class for sc_unsigned bit selection (r-value only).
68 // Proxy class for sc_unsigned bit selection (r-value and l-value).
126 bool value = 1 & ((low_i < 64) ? (src >> low_i) : (src >> 63));
127 m_obj_p->set(low_i, value);
151 bool value = ((low_i < 64) ? (src >> low_i) & 1 : 0);
152 m_obj_p->set(low_i, value);
/gem5/src/systemc/ext/core/
H A Dsc_time.hh67 sc_dt::uint64 value() const;
123 sc_dt::uint64 value() const;
/gem5/src/dev/arm/
H A Dvio_mmio.hh98 void write(Addr offset, uint32_t value);
101 void setInterrupts(uint32_t value);
H A Dgic_v3_cpu_interface.cc116 RegVal value = isa->readMiscRegNoEffect(misc_reg); local
180 value = ich_vmcr_el2.VENG0;
191 value = readBankedMiscReg(MISCREG_ICC_IGRPEN1_EL1);
198 value = ich_vmcr_el2.VENG1;
212 value = igrp_el3;
231 // If the current priority mask value is in the range of
232 // 0x00-0x7F a read access returns the value 0x0
235 // If the current priority mask value is in the range of
237 // the current value
242 value
2431 uint64_t value = 0; local
[all...]
/gem5/ext/googletest/googletest/test/
H A Dgtest-param-test_test.cc75 // Prints a value to a string.
82 ::std::string PrintValue(const T& value) { argument
84 stream << value; local
97 ::std::string PrintValue(const tuple<T1, T2>& value) { argument
99 stream << "(" << get<0>(value) << ", " << get<1>(value) << ")";
104 ::std::string PrintValue(const tuple<T1, T2, T3>& value) { argument
106 stream << "(" << get<0>(value) << ", " << get<1>(value)
107 << ", "<< get<2>(value) << ")";
113 PrintValue( const tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>& value) argument
283 const std::string& value() const { return value_; } function in class:DogAdder
317 int value() const { return value_; } function in class:IntWrapper
907 CustomStruct(int value) argument
936 int value = info.param + sum; local
969 Unstreamable(int value) argument
[all...]
H A Dgtest_list_tests_unittest_.cc77 // A group of value-parameterized tests.
83 const std::string& value() const { return value_; } function in class:MyType
91 *os << x.value();
/gem5/src/mem/slicc/
H A Dutil.py45 def __setitem__(self, item, value):
46 self.pairs[item] = value
/gem5/src/python/pybind11/
H A Dcore.cc105 .value("Running", DrainState::Running)
106 .value("Draining", DrainState::Draining)
107 .value("Drained", DrainState::Drained)
231 .value("PANIC", Logger::PANIC)
232 .value("FATAL", Logger::FATAL)
233 .value("WARN", Logger::WARN)
234 .value("INFO", Logger::INFO)
235 .value("HACK", Logger::HACK)
/gem5/src/systemc/tlm_bridge/
H A Dsc_peq.hh94 Tick nextEventTick = sc_core::sc_time_stamp().value() + delay.value();
/gem5/src/base/filters/
H A Dmulti_bit_sel_bloom_filter.cc78 uint64_t value = bits(addr, std::numeric_limits<Addr>::digits - 1, local
86 if (value & (1 << bit)) {
/gem5/ext/pybind11/include/pybind11/detail/
H A Dinit.h21 value = reinterpret_cast<value_and_holder *>(h.ptr());
26 operator value_and_holder &() { return *value; }
30 value_and_holder *value = nullptr; member in class:type_caster
60 template <typename Class, typename... Args, detail::enable_if_t<std::is_constructible<Class, Args...>::value, int> = 0>
62 template <typename Class, typename... Args, detail::enable_if_t<!std::is_constructible<Class, Args...>::value, int> = 0>
86 static_assert(!std::is_same<Class, Class>::value /* always false */,
88 "holder, or value");
101 // moved away leftover, if the alias construction works, or the value itself if we
111 v_h.type->dealloc(v_h); // Destroys the moved-out holder remains, resets value ptr to null
144 // return-by-value versio
[all...]
/gem5/system/alpha/console/
H A Dprintf.c60 * prints value in radix, in a field width width, with fill
68 PutNumber(long value, int radix, int width, char fill) argument
90 if (value < 0) {
92 value = -value;
107 uvalue = value;
/gem5/util/systemc/gem5_within_systemc/
H A Dsc_module.cc118 Tick systemc_time = sc_core::sc_time_stamp().value();
152 Tick systemc_time = sc_core::sc_time_stamp().value();
213 if (wait_exit_time > sc_core::sc_time_stamp().value()) {
215 wait_exit_time = sc_core::sc_time_stamp().value();
232 Tick systemc_time = sc_core::sc_time_stamp().value();
/gem5/src/arch/
H A Dmicro_asm.py227 t.lineno += t.value.count('\n')
232 t.value = unescapeParamsRE.sub(unescapeParams, t.value)
242 t.type = reserved_map.get(t.value, 'ID')
253 t.type = reserved_map.get(t.value, 'ID')
270 t.lineno += t.value.count('\n')
276 t.lineno += t.value.count('\n')
283 t.lineno += t.value.count('\n')
301 error(t.lineno, "illegal character '%s'" % t.value[0])
477 # *token*, not a grammar symbol (hence the need to use t.value)
[all...]

Completed in 28 milliseconds

1234567891011>>