Searched refs:_s (Results 1 - 14 of 14) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_pytypes.cpp | 27 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 D | pybind11_tests.cpp | 82 .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 D | test_numpy_vectorize.cpp | 15 py::print("my_func(x:int={}, y:float={:.0f}, z:float={:.0f})"_s.format(x, y, z));
|
H A D | test_builtin_casters.cpp | 156 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 D | constructor_stats.h | 233 py::str format_ptrs(T *p) { return "{:#x}"_s.format(reinterpret_cast<std::uintptr_t>(p)); }
|
H A D | test_virtual_functions.cpp | 25 "ExampleVirt::run(state={}, value={}, str1={}, str2={})"_s.format(state, value, get_string1(), *get_string2()));
|
/gem5/ext/libelf/ |
H A D | _libelf.h | 163 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 D | libelf_ehdr.c | 46 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 D | libelf_phdr.c | 45 void (*xlator)(char *_d, char *_s, size_t _c, int _swap);
|
H A D | elf_data.c | 45 void (*xlate)(char *_d, char *_s, size_t _c, int _swap);
|
H A D | elf_scn.c | 50 void (*xlator)(char *_d, char *_s, size_t _c, int _swap);
|
/gem5/util/term/ |
H A D | term.c | 258 atomicio(ssize_t (*f) (), int fd, void *_s, size_t n) argument 260 char *s = _s;
|
/gem5/src/gpu-compute/ |
H A D | gpu_dyn_inst.hh | 90 AtomicOpCAS(T _c, T _s, ComputeUnit *compute_unit) argument 91 : c(_c), s(_s), computeUnit(compute_unit) { }
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | pytypes.h | 950 inline str operator"" _s(const char *s, size_t size) { return {s, size}; } function in namespace:literals
|
Completed in 34 milliseconds