Searched refs:value (Results 151 - 175 of 497) sorted by relevance

1234567891011>>

/gem5/util/
H A Ddiff_config.pl113 # Otherwise, the value is unique.
227 my $value = $field[1];
228 chomp $value;
229 $config_ref->{$sectionName}{$fieldName} = $value;
/gem5/src/python/m5/util/
H A Dattrdict.py40 def __setattr__(self, attr, value):
42 return super(attrdict, self).__setattr__(attr, value)
43 return self.__setitem__(attr, value)
/gem5/src/dev/arm/
H A Dgpu_nomali.cc209 uint32_t value; local
212 nomali_reg_read(nomali, &value, reg),
216 reg, value);
218 return value;
223 NoMaliGpu::writeReg(nomali_addr_t reg, uint32_t value) argument
226 reg, value);
229 nomali_reg_write(nomali, reg, value),
236 uint32_t value; local
239 nomali_reg_read_raw(nomali, &value, reg),
242 return value;
247 writeRegRaw(nomali_addr_t reg, uint32_t value) argument
[all...]
H A Dgpu_nomali.hh81 void writeReg(nomali_addr_t reg, uint32_t value);
86 void writeRegRaw(nomali_addr_t reg, uint32_t value);
/gem5/ext/googletest/googletest/test/
H A Dgtest_color_test.py47 def SetEnvVar(env_var, value):
48 """Sets the env variable to 'value'; unsets it when 'value' is None."""
50 if value is not None:
51 os.environ[env_var] = value
H A Dgtest_throw_on_failure_test.py58 def SetEnvVar(env_var, value):
59 """Sets an environment variable to a given value; unsets it when the
60 given value is None.
64 if value is not None:
65 os.environ[env_var] = value
88 env_var_value: value of the GTEST_BREAK_ON_FAILURE environment
90 flag_value: value of the --gtest_break_on_failure flag;
H A Dgtest_xml_output_unittest_.cc126 void ExternalUtilityThatCallsRecordProperty(const std::string& key, int value) { argument
127 testing::Test::RecordProperty(key, value);
131 const std::string& value) {
132 testing::Test::RecordProperty(key, value);
143 // Verifies that the test parameter value is output in the 'value_param'
144 // XML attribute for value-parameterized tests.
130 ExternalUtilityThatCallsRecordProperty(const std::string& key, const std::string& value) argument
/gem5/src/cpu/
H A Dtiming_expr.hh103 uint64_t value; member in class:TimingExprLiteral
107 value(params->value)
110 uint64_t eval(TimingExprEvalContext &context) { return value; }
H A Dinst_res.hh81 static_assert(std::is_integral<T>::value ^
82 std::is_floating_point<T>::value,
84 if (std::is_integral<T>::value) {
86 } else if (std::is_floating_point<T>::value) {
/gem5/ext/ply/example/ansic/
H A Dclex.py59 t.lexer.lineno += t.value.count("\n")
128 t.type = reserved_map.get(t.value,"ID")
146 t.lexer.lineno += t.value.count('\n')
154 print("Illegal character %s" % repr(t.value[0]))
/gem5/ext/ply/test/
H A Dyacc_inf.py50 print("Syntax error at '%s'" % t.value)
/gem5/util/stats/
H A Doutput.py44 elif printmode != 'F' and value > 1e6:
50 value = self.info.get(job, self.stat)
51 if value is None:
54 if not isinstance(value, list):
55 value = [ value ]
58 for i,val in enumerate(value):
60 value[i] = 1 / val
62 valstring = ', '.join([ valformat % val for val in value ])
/gem5/util/cpt_upgraders/
H A Darm-ccregs.py14 for (item,value) in cpt.items(sec):
H A Darm-hdlcd-upgrade.py84 for key, value in options.items():
85 cpt.set(sec, key, value)
/gem5/src/systemc/tests/systemc/misc/stars/star111004/
H A Dstar111004.cpp64 // value = false;
69 while (value) wait();
70 value = true;
75 /*if (!value) {
79 value = false;
84 return value;
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest-message.h106 // Streams a value (either a pointer or not) to this object.
108 inline Message& operator <<(const T& value) { argument
109 StreamHelper(typename internal::is_pointer<T>::type(), value);
113 // Streams a non-pointer value to this object.
135 // Streams a pointer value to this object.
215 const T& value) {
219 *ss_ << value;
238 // Converts a streamable value to an std::string. A NULL pointer is
239 // converted to "(null)". When the input value is a ::string,
214 StreamHelper(internal::false_type , const T& value) argument
/gem5/ext/pybind11/include/pybind11/
H A Deigen.h99 // matching strides, or a dimension size of 1 (in which case the stride value is irrelevant)
134 static constexpr EigenIndex inner_stride = if_zero<StrideType::InnerStrideAtCompileTime, 1>::value,
136 vector ? size : row_major ? cols : rows>::value;
163 // is used, we want the (single) numpy stride value.
189 static constexpr bool show_writeable = is_eigen_dense_map<Type>::value && is_eigen_mutable_map<Type>::value;
190 static constexpr bool show_order = is_eigen_dense_map<Type>::value;
236 return eigen_array_cast<props>(src, parent, !std::is_const<Type>::value);
243 template <typename props, typename Type, typename = enable_if_t<is_eigen_dense_plain<Type>::value>>
252 struct type_caster<Type, enable_if_t<is_eigen_dense_plain<Type>::value>> {
353 Type value; member in struct:type_caster
[all...]
/gem5/src/systemc/utils/
H A Dvcd.cc144 VcdTraceScope::addValue(const std::string &name, VcdTraceValBase *value) argument
148 values.emplace_back(name, value);
154 it->second->addValue(name.substr(pos + 1), value);
165 VcdTraceValBase *value = p.second; local
167 int w = value->width();
179 value->vcdType(), w, value->vcdName(), clean_name);
182 value->vcdType(), w, value->vcdName(), clean_name, w - 1);
333 printVal(os, this->value()
[all...]
/gem5/src/systemc/core/
H A Dsc_time.cc117 sc_time::value() const function in class:sc_core::sc_time
236 SC_REPORT_ERROR(SC_ID_TIME_CONVERSION_FAILED_, "invalid value given");
249 return sc_time::from_value(a.value() + b.value());
255 return sc_time::from_value(a.value() - b.value());
261 volatile double tmp = static_cast<double>(t.value()) * d + 0.5;
268 volatile double tmp = d * static_cast<double>(t.value()) + 0.5;
275 volatile double tmp = static_cast<double>(t.value()) / d + 0.5;
298 SC_REPORT_ERROR(SC_ID_SET_TIME_RESOLUTION_, "value no
438 sc_dt::uint64 sc_time_tuple::value() const { return _value; } function in class:sc_core::sc_time_tuple
[all...]
/gem5/ext/pybind11/include/pybind11/detail/
H A Dinternals.h26 # define PYBIND11_TLS_REPLACE_VALUE(key, value) PyThread_tss_set((key), (value))
35 # define PYBIND11_TLS_REPLACE_VALUE(key, value) \
38 PyThread_set_key_value((key), (value)); \
43 # define PYBIND11_TLS_REPLACE_VALUE(key, value) \
44 PyThread_set_key_value((key), (value))
85 size_t value = std::hash<const void *>()(v.first); local
86 value ^= std::hash<const void *>()(v.second) + 0x9e3779b9 + (value<<6) + (value>>
[all...]
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-actions.h70 // default-constructed T value. BuiltInDefaultValueGetter<T,
89 // BuiltInDefaultValue<T>::Get() returns the "built-in" default value
93 // default-constructed T value if T is default constructible. For any
94 // other type T, the built-in default T value is undefined, and the
100 // This function returns true iff type T has a built-in default value.
102 return ::std::is_default_constructible<T>::value;
107 T, ::std::is_default_constructible<T>::value>::Get();
111 // This function returns true iff type T has a built-in default value.
124 // default value for T and const T.
143 #define GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_(type, value) \
250 FixedValueProducer(T value) argument
505 ByMoveWrapper(T value) argument
539 ReturnAction(R value) argument
575 Impl(const linked_ptr<R>& value) argument
705 ReturnRefOfCopyAction(const T& value) argument
729 Impl(const T& value) argument
760 AssignAction(T1* ptr, T2 value) argument
808 SetArgumentPointeeAction(const A& value) argument
965 T& value = ref; local
1061 Return(R value) argument
[all...]
/gem5/util/cxx_config/
H A Dstats.cc82 << scalar->value() << '\n';
84 Stats::VResult results = vector->value();
/gem5/src/gpu-compute/
H A Dvector_register_state.hh77 write(unsigned int regIdx, T value, int threadId=0) { argument
86 *p0 = value;
/gem5/src/mem/ruby/profiler/
H A DAccessTraceForAddress.cc98 AccessTraceForAddress::addSample(int value) argument
104 m_histogram_ptr->add(value);
/gem5/ext/systemc/src/sysc/communication/
H A Dsc_signal_resolved.cpp55 // resolves sc_dt::sc_logic values and returns the resolved value
70 sc_dt::sc_logic_value_t res = values_[0].value();
72 res = sc_logic_resolution_tbl[res][values_[i].value()];
84 // write the new value

Completed in 30 milliseconds

1234567891011>>