Searched refs:_s (Results 1 - 14 of 14) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_pytypes.cpp27 py::print("list item {}: {}"_s.format(index++, item));
53 py::print("key: {}, value={}"_s.format(item.first, item.second));
74 auto s1 = "{} + {} = {}"_s.format(1, 2, 3);
75 auto s2 = "{a} + {b} = {c}"_s.format("a"_a=1, "b"_a=2, "c"_a=3);
94 py::print("destructing capsule: {}"_s.format((size_t) ptr));
102 py::print("destructing capsule ({}, '{}')"_s.format(
108 py::print("created capsule ({}, '{}')"_s.format((size_t) contents, capsule.name()));
124 d["operator[object]"] = o.attr("d")["operator[object]"_s];
132 d["missing_attr_ptr"] = "raised"_s;
137 d["missing_attr_chain"] = "raised"_s;
[all...]
H A Dpybind11_tests.cpp82 .def("__repr__", [](const UserType& u) { return "UserType({})"_s.format(u.value()); });
87 .def("__repr__", [](const IncType& u) { return "IncType({})"_s.format(u.value()); });
H A Dtest_numpy_vectorize.cpp15 py::print("my_func(x:int={}, y:float={:.0f}, z:float={:.0f})"_s.format(x, y, z));
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 Dconstructor_stats.h233 py::str format_ptrs(T *p) { return "{:#x}"_s.format(reinterpret_cast<std::uintptr_t>(p)); }
H A Dtest_virtual_functions.cpp25 "ExampleVirt::run(state={}, value={}, str1={}, str2={})"_s.format(state, value, get_string1(), *get_string2()));
/gem5/ext/libelf/
H A D_libelf.h163 Elf_Data *_libelf_allocate_data(Elf_Scn *_s);
185 Elf_Scn *_libelf_release_scn(Elf_Scn *_s);
190 Elf_Data *_libelf_xlate(Elf_Data *_d, const Elf_Data *_s,
H A Dlibelf_ehdr.c46 void (*xlator)(char *_d, char *_s, size_t _c, int _swap);
105 void (*xlator)(char *_d, char *_s, size_t _c, int _swap);
H A Dlibelf_phdr.c45 void (*xlator)(char *_d, char *_s, size_t _c, int _swap);
H A Delf_data.c45 void (*xlate)(char *_d, char *_s, size_t _c, int _swap);
H A Delf_scn.c50 void (*xlator)(char *_d, char *_s, size_t _c, int _swap);
/gem5/util/term/
H A Dterm.c258 atomicio(ssize_t (*f) (), int fd, void *_s, size_t n) argument
260 char *s = _s;
/gem5/src/gpu-compute/
H A Dgpu_dyn_inst.hh90 AtomicOpCAS(T _c, T _s, ComputeUnit *compute_unit) argument
91 : c(_c), s(_s), computeUnit(compute_unit) { }
/gem5/ext/pybind11/include/pybind11/
H A Dpytypes.h950 inline str operator"" _s(const char *s, size_t size) { return {s, size}; } function in namespace:literals

Completed in 34 milliseconds