Searched refs:value (Results 251 - 275 of 497) sorted by relevance

<<11121314151617181920

/gem5/src/gpu-compute/
H A Dvector_register_file.cc101 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 Dgtest-tuple_test.cc52 // 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 Dgtest_test_utils.py65 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 Dfdthelper.py101 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 Dterminal.cc314 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 Di82094aa.cc135 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 Dparser.py87 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 DGardenSnake.py78 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 Dstatistics.hh122 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 Dresult.py62 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 Drunner.py54 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 Darm_cpu.cc137 // 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 Dgeneric_timer.hh80 /// 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 Ddma_device.hh366 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 Dhdf5.cc131 // 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 Dtest_pytypes.py17 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 Dtest_stl_binders.cpp34 explicit E_nc(int i) : value{i} {}
40 int value; member in class:E_nc
77 .def_readwrite("value", &E_nc::value);
H A Dtest_sequences_and_iterators.py134 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 Decoff_object.cc126 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 Dsc_bv_base.hh221 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 Dgmock-more-actions.h175 // 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 Dperfevent.cc139 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 Dlist_changes.py72 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 Ddsp.hh98 // 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 Dgtest-port.h169 // 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...]

Completed in 51 milliseconds

<<11121314151617181920