Searched refs:format (Results 51 - 75 of 89) sorted by relevance

1234

/gem5/ext/dsent/libutil/
H A DString.h39 static String format(const String& format_, ...);
40 static String format(const String& format_, va_list args_);
/gem5/util/plot_dram/
H A DPlotPowerStates.py111 The function outputs eps format images for the following plots
162 # Example format:
172 # Example format:
184 # Example format:
224 plt.savefig(idlePlotName(plot_dir), format='eps')
288 plt.savefig(plot_name, format='eps', bbox_inches='tight')
/gem5/ext/googletest/googletest/src/
H A Dgtest-printers.cc220 const CharFormat format = PrintAsCharLiteralTo<UnsignedChar>(c, os); local
233 if (format == kHexEscape || (1 <= c && c <= 9)) {
/gem5/ext/testlib/
H A Dmain.py259 .format(len(test_schedule.suites)), bold=True)
260 log.test_log.message("Results will be stored in {}".format(
H A Dhandlers.py96 format.
238 strings.append(outcome_fmt.format(count=count,
246 string = ' Results:' + string + ' in {:.2} seconds '.format(
/gem5/ext/dsent/model/electrical/router/
H A DRouter.cc422 createNet(String::format("Crossbar_Sel%d_%d", i, j));
445 assignVirtualFanout(String::format("Crossbar_Sel%d_%d", i, j), "Crossbar_Sel_DFF_Out");
446 portConnect(crossbar, String::format("Sel%d_%d", i, j), String::format("Crossbar_Sel%d_%d", i, j));
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_string.h146 static sc_string_old to_string(const char* format, ...);
153 // TODO: if the type of the argument is incompatible with format
170 int f_len = (int)temp.fmt_length(); // length of format field
/gem5/configs/common/
H A DFileSystemConfig.py110 one_cpu = one_cpu.format(proc = i, num_cpus = len(cpus),
/gem5/ext/pybind11/tests/
H A Dtest_callbacks.py16 return "func3({})".format(a)
H A Dtest_builtin_casters.cpp156 m.def("complex_cast", [](float x) { return "{}"_s.format(x); });
157 m.def("complex_cast", [](std::complex<float> x) { return "({}, {})"_s.format(x.real(), x.imag()); });
H A Dtest_pytypes.py97 assert doc(m.bytes_from_str) == "bytes_from_str() -> {}".format(
225 py::print + str.format = this
H A Dconftest.py240 print(" {}: {}".format(type(e).__name__, e))
H A Dtest_factory_constructors.cpp289 NoisyAlloc(int i) { py::print(py::str("NoisyAlloc(int {})").format(i)); }
290 NoisyAlloc(double d) { py::print(py::str("NoisyAlloc(double {})").format(d)); }
H A Dtest_numpy_array.cpp144 return py::str("<DtypeCheck numpy={} pybind11={}>").format(
154 return py::str("<DtypeSizeCheck name='{}' size_cpp={} size_numpy={} dtype={}>").format(
H A Dtest_numpy_array.py21 print("NOTE: typenum mismatch for {}: {} != {}".format(
102 assert str(excinfo.value) == 'index dimension mismatch: {} (ndim = 2)'.format(dim)
H A Dconstructor_stats.h233 py::str format_ptrs(T *p) { return "{:#x}"_s.format(reinterpret_cast<std::uintptr_t>(p)); }
H A Dtest_builtin_casters.py43 return "Character code point not in range({0:#x})".format(r)
/gem5/src/base/
H A Dcprintf_formats.hh49 enum { none, string, integer, character, floating } format; member in struct:cp::Format
67 format = none;
253 { out << "<bad arg type for char format>"; }
322 { out << "<bad arg type for float format>"; }
H A Dtime.hh197 std::string date(const std::string &format = "") const;
/gem5/ext/pybind11/include/pybind11/
H A Dstl_bind.h364 // Provide the buffer interface for vectors if we have data() and we have a format for it
369 struct vector_has_data_and_format<Vector, enable_if_t<std::is_same<decltype(format_descriptor<typename Vector::value_type>::format(), std::declval<Vector>().data()), typename Vector::value_type*>::value>> : std::true_type {};
377 static_assert(vector_has_data_and_format<Vector>::value, "There is not an appropriate format descriptor for this vector");
380 format_descriptor<T>::format();
383 return buffer_info(v.data(), static_cast<ssize_t>(sizeof(T)), format_descriptor<T>::format(), 1, {v.size()}, {sizeof(T)});
391 throw type_error("Format mismatch (Python: " + info.format + " C++: " + format_descriptor<T>::format() + ")");
/gem5/ext/systemc/src/sysc/tracing/
H A Dsc_trace.h381 void tprintf( sc_trace_file* tf, const char* format, ... );
/gem5/tests/
H A Dtests.py65 parser.add_argument("--format", choices=formatters, default="text",
66 help="Output format")
78 formatter = formatters[args.format]
220 The 'text' format is a verbose output format that provides
224 The 'summary' format provides outputs the results of one test
228 The 'junit' format is primarily intended for use with CI
230 status. Similar to the text format, it includes detailed
236 The 'pickle' format stores the raw results in a format tha
[all...]
/gem5/src/python/m5/stats/
H A D__init__.py138 """Output stats in text format.
156 """Output stats in HDF5 format.
158 The HDF5 file format is a structured binary file format. It has
165 * File format can be used to store frame buffers together with
168 There are some drawbacks compared to the default text format:
193 Stat visitors are specified using URLs on the following format:
194 format://path[?param=value[;param=value]]
261 _bind_obj("{}{}".format(name, idx), obj)
/gem5/src/systemc/tests/
H A Dverify.py207 r'(In process: [\w.]* @ .*\n)?').format(tag, tag[0], num)
368 print('Passed: {passed:4} - Failed: {failed:4}'.format(
/gem5/ext/pybind11/include/pybind11/detail/
H A Dclass.h489 view->format = const_cast<char *>(info->format.c_str());

Completed in 43 milliseconds

1234