Home
last modified time | relevance | path

Searched refs:fpos (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/libcxx/include/__ios/
H A Dfpos.h23 class _LIBCPP_TEMPLATE_VIS fpos {
29 _LIBCPP_HIDE_FROM_ABI fpos(streamoff __off = streamoff()) : __st_(), __off_(__off) {} in __st_()
36 _LIBCPP_HIDE_FROM_ABI fpos& operator+=(streamoff __off) {
41 _LIBCPP_HIDE_FROM_ABI fpos operator+(streamoff __off) const {
42 fpos __t(*this);
47 _LIBCPP_HIDE_FROM_ABI fpos& operator-=(streamoff __off) {
52 _LIBCPP_HIDE_FROM_ABI fpos operator-(streamoff __off) const {
53 fpos __t(*this);
61 streamoff operator-(const fpos<_StateT>& __x, const fpos<_StateT>& __y) {
67 bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) {
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/
H A Dfpos.pass.cpp32 static_assert(std::is_default_constructible <std::fpos<T> >::value, ""); in test_traits()
33 static_assert(std::is_copy_constructible <std::fpos<T> >::value, ""); in test_traits()
34 static_assert(std::is_copy_assignable <std::fpos<T> >::value, ""); in test_traits()
35 static_assert(std::is_destructible <std::fpos<T> >::value, ""); in test_traits()
36 static_assert(is_equality_comparable <std::fpos<T> >::value, ""); in test_traits()
39 std::is_trivially_copy_constructible<std::fpos<T> >::value, ""); in test_traits()
41 std::is_trivially_copy_assignable<std::fpos<T> >::value, ""); in test_traits()
43 std::is_trivially_destructible<std::fpos<T> >::value, ""); in test_traits()
H A Dctor_int.pass.cpp22 typedef std::fpos<std::mbstate_t> P; in main()
H A Deq_int.pass.cpp22 typedef std::fpos<std::mbstate_t> P; in main()
H A Doffset.pass.cpp22 typedef std::fpos<std::mbstate_t> P; in main()
H A Ddifference.pass.cpp22 typedef std::fpos<std::mbstate_t> P; in main()
H A Dsubtraction.pass.cpp22 typedef std::fpos<std::mbstate_t> P; in main()
H A Daddition.pass.cpp22 typedef std::fpos<std::mbstate_t> P; in main()
/llvm-project-15.0.7/libcxx/include/
H A Diosfwd86 template <class state> class fpos;
87 using streampos = fpos<char_traits<char>::state_type>;
88 using wstreampos = fpos<char_traits<wchar_t>::state_type>;
89 using u8streampos = fpos<char_traits<char8_t>::state_type>; // C++20
90 using u16streampos = fpos<char_traits<char16_t>::state_type>;
91 using u32streampos = fpos<char_traits<char32_t>::state_type>;
230 typedef fpos<mbstate_t> streampos;
231 typedef fpos<mbstate_t> wstreampos;
233 typedef fpos<mbstate_t> u8streampos;
235 typedef fpos<mbstate_t> u16streampos;
[all …]
H A Dstring20 class fpos
25 fpos(streamoff = streamoff());
32 fpos& operator+=(streamoff);
33 fpos operator+ (streamoff) const;
34 fpos& operator-=(streamoff);
35 fpos operator- (streamoff) const;
38 template <class stateT> streamoff operator-(const fpos<stateT>& x, const fpos<stateT>& y);
40 template <class stateT> bool operator==(const fpos<stateT>& x, const fpos<stateT>& y);
41 template <class stateT> bool operator!=(const fpos<stateT>& x, const fpos<stateT>& y);
529 #include <__ios/fpos.h>
H A Dios23 template <class stateT> class fpos;
220 #include <__ios/fpos.h>
H A DCMakeLists.txt338 __ios/fpos.h
H A Dmodule.modulemap.in728 module fpos { private header "__ios/fpos.h" }
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dstdio_h.pass.cpp107 fpos_t fpos = fpos_t(); in main() local
113 ((void)fpos); // Prevent unused warning in main()
174 static_assert((std::is_same<decltype(fgetpos(fp, &fpos)), int>::value), ""); in main()
178 static_assert((std::is_same<decltype(fsetpos(fp, &fpos)), int>::value), ""); in main()
/llvm-project-15.0.7/libcxx/test/std/input.output/file.streams/c.files/
H A Dcstdio.pass.cpp87 std::fpos_t fpos = std::fpos_t(); in main() local
93 ((void)fpos); // Prevent unused warning in main()
130 static_assert((std::is_same<decltype(std::fgetpos(fp, &fpos)), int>::value), ""); in main()
134 static_assert((std::is_same<decltype(std::fsetpos(fp, &fpos)), int>::value), ""); in main()
/llvm-project-15.0.7/libcxx/test/std/input.output/iostreams.base/fpos/fpos.members/
H A Dstate.pass.cpp22 std::fpos<int> f; in main()
/llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.capacity/
H A Dshrink_to_fit.explicit_instantiation.sh.cpp32 typedef std::fpos<state_type> pos_type;
/llvm-project-15.0.7/libcxx/test/std/input.output/iostream.forward/
H A Diosfwd.pass.cpp160 test<std::fpos<std::mbstate_t>*>(); in main()
/llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn399 "__ios/fpos.h",
/llvm-project-15.0.7/libcxx/docs/Status/
H A DCxx20Papers.csv40 "`P0759R1 <https://wg21.link/P0759R1>`__","LWG","fpos Requirements","Rapperswil","|Complete|","11.0"
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DStdSymbolMap.inc373 SYMBOL(fpos, std::, <ios>)