Home
last modified time | relevance | path

Searched refs:int_type (Results 1 – 25 of 116) sorted by relevance

12345

/llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.capacity/
H A Dshrink_to_fit.explicit_instantiation.sh.cpp28 typedef int int_type; typedef
43 static int_type not_eof(const int_type&) { return 0; } in not_eof()
44 static char_type to_char_type(const int_type&) { return char_type(); } in to_char_type()
45 static int_type to_int_type(const char_type&) { return int_type(); } in to_int_type()
46 static bool eq_int_type(const int_type&, const int_type&) { return false; } in eq_int_type()
47 static int_type eof() { return int_type(); } in eof()
/llvm-project-15.0.7/libcxx/include/__string/
H A Dchar_traits.h43 typedef int int_type; typedef
70 static inline _LIBCPP_CONSTEXPR int_type not_eof(int_type __c) _NOEXCEPT in not_eof()
75 {return int_type(__c);} in to_int_type()
79 {return int_type(EOF);} in eof()
192 typedef int int_type;
243 static inline _LIBCPP_CONSTEXPR int_type not_eof(int_type __c) _NOEXCEPT
344 static inline _LIBCPP_CONSTEXPR int_type not_eof(int_type __c) _NOEXCEPT
462 static inline constexpr int_type not_eof(int_type __c) noexcept
468 static inline constexpr bool eq_int_type(int_type __c1, int_type __c2) noexcept
561 static inline _LIBCPP_CONSTEXPR int_type not_eof(int_type __c) _NOEXCEPT
[all …]
/llvm-project-15.0.7/libcxx/test/std/strings/basic.string.hash/
H A Dchar_type_hash.fail.cpp25 typedef int int_type; typedef
45 static inline int_type not_eof(int_type __c) { in not_eof()
48 static inline char_type to_char_type(int_type __c) { return char_type(__c); } in to_char_type()
49 static inline int_type to_int_type(char_type __c) { return int_type(__c); } in to_int_type()
50 static inline bool eq_int_type(int_type __c1, int_type __c2) { in eq_int_type()
53 static inline int_type eof() { return int_type(EOF); } in eof()
/llvm-project-15.0.7/libcxx/test/std/strings/string.view/string.view.hash/
H A Dchar_type.hash.fail.cpp25 typedef int int_type; typedef
45 static inline int_type not_eof(int_type __c) { in not_eof()
48 static inline char_type to_char_type(int_type __c) { return char_type(__c); } in to_char_type()
49 static inline int_type to_int_type(char_type __c) { return int_type(__c); } in to_int_type()
50 static inline bool eq_int_type(int_type __c1, int_type __c2) { in eq_int_type()
53 static inline int_type eof() { return int_type(EOF); } in eof()
/llvm-project-15.0.7/libcxx/include/
H A Dstreambuf26 typedef typename traits_type::int_type int_type;
47 int_type snextc();
48 int_type sbumpc();
49 int_type sgetc();
54 int_type sungetc();
99 virtual int_type pbackfail(int_type c = traits_type::eof());
103 virtual int_type overflow (int_type c = traits_type::eof());
133 typedef typename traits_type::int_type int_type;
291 virtual int_type pbackfail(int_type __c = traits_type::eof());
295 virtual int_type overflow(int_type __c = traits_type::eof());
[all …]
H A D__std_stream40 typedef typename traits_type::int_type int_type;
48 virtual int_type underflow();
49 virtual int_type uflow();
50 virtual int_type pbackfail(int_type __c = traits_type::eof());
59 int_type __last_consumed_;
66 int_type __getchar(bool __consume);
91 typename __stdinbuf<_CharT>::int_type
98 typename __stdinbuf<_CharT>::int_type
105 typename __stdinbuf<_CharT>::int_type
228 typedef typename traits_type::int_type int_type;
[all …]
H A Dsstream23 typedef typename traits_type::int_type int_type;
47 virtual int_type pbackfail(int_type c = traits_type::eof());
48 virtual int_type overflow (int_type c = traits_type::eof());
70 typedef typename traits_type::int_type int_type;
109 typedef typename traits_type::int_type int_type;
148 typedef typename traits_type::int_type int_type;
210 typedef typename traits_type::int_type int_type;
254 virtual int_type pbackfail(int_type __c = traits_type::eof());
631 typedef typename traits_type::int_type int_type;
711 typedef typename traits_type::int_type int_type;
[all …]
H A Dstrstream45 virtual int_type overflow (int_type c = EOF);
46 virtual int_type pbackfail(int_type c = EOF);
47 virtual int_type underflow();
108 typedef char_traits<char>::int_type int_type;
179 virtual int_type overflow (int_type __c = EOF);
180 virtual int_type pbackfail(int_type __c = EOF);
181 virtual int_type underflow();
352 typedef char_traits<char>::int_type int_type;
H A Distream24 typedef typename traits_type::int_type int_type;
62 int_type get();
73 int_type peek();
128 typedef typename traits_type::int_type int_type;
187 typedef typename traits_type::int_type int_type;
249 int_type get();
253 int_type __ch = get();
278 int_type peek();
748 int_type __r = traits_type::eof();
1011 int_type __r = traits_type::eof();
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Platform/NetBSD/
H A DPlatformNetBSD.cpp214 CompilerType int_type = ast->GetBasicType(eBasicTypeInt); in GetSiginfoType() local
221 CompilerType &pid_type = int_type; in GetSiginfoType()
224 CompilerType &lwpid_type = int_type; in GetSiginfoType()
257 ast->AddFieldToRecordType(ksiginfo_type, "_signo", int_type, in GetSiginfoType()
259 ast->AddFieldToRecordType(ksiginfo_type, "_code", int_type, in GetSiginfoType()
261 ast->AddFieldToRecordType(ksiginfo_type, "_errno", int_type, in GetSiginfoType()
302 {"_trap", int_type}, in GetSiginfoType()
303 {"_trap2", int_type}, in GetSiginfoType()
313 {"_fd", int_type}, in GetSiginfoType()
321 {"_sysnum", int_type}, in GetSiginfoType()
[all …]
/llvm-project-15.0.7/libcxx/test/support/
H A Dconstexpr_char_traits.h22 typedef int int_type; typedef
43 static TEST_CONSTEXPR int_type not_eof(int_type __c) TEST_NOEXCEPT in not_eof()
46 static TEST_CONSTEXPR char_type to_char_type(int_type __c) TEST_NOEXCEPT in to_char_type()
49 static TEST_CONSTEXPR int_type to_int_type(char_type __c) TEST_NOEXCEPT in to_int_type()
50 {return int_type(__c);} in to_int_type()
52 static TEST_CONSTEXPR bool eq_int_type(int_type __c1, int_type __c2) TEST_NOEXCEPT in eq_int_type()
55 static TEST_CONSTEXPR int_type eof() TEST_NOEXCEPT in eof()
56 {return int_type(EOF);} in eof()
/llvm-project-15.0.7/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/
H A Dpbackfail.pass.cpp26 typedef typename base::int_type int_type; typedef
34 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} in pbackfail()
45 typename test_buf<char>::int_type pbackResult = f.pbackfail('a'); in main()
58 typename test_buf<char>::int_type pbackResult = f.pbackfail('a'); in main()
H A Dunderflow.pass.cpp31 typedef typename base::int_type int_type; typedef
38 virtual int_type underflow() {return base::underflow();} in underflow()
125 assert(f.sbumpc() == static_cast<Traits::int_type>(-1)); in main()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/FreeBSD/
H A DPlatformFreeBSD.cpp195 CompilerType int_type = ast->GetBasicType(eBasicTypeInt); in GetSiginfoType() local
201 CompilerType &pid_type = int_type; in GetSiginfoType()
208 ast->AddFieldToRecordType(sigval_type, "sival_int", int_type, in GetSiginfoType()
219 ast->AddFieldToRecordType(siginfo_type, "si_signo", int_type, in GetSiginfoType()
221 ast->AddFieldToRecordType(siginfo_type, "si_errno", int_type, in GetSiginfoType()
223 ast->AddFieldToRecordType(siginfo_type, "si_code", int_type, in GetSiginfoType()
229 ast->AddFieldToRecordType(siginfo_type, "si_status", int_type, in GetSiginfoType()
246 {"_trapno", int_type}, in GetSiginfoType()
254 {"_timerid", int_type}, in GetSiginfoType()
255 {"_overrun", int_type}, in GetSiginfoType()
[all …]
/llvm-project-15.0.7/libcxx/src/
H A Dstrstream.cpp155 strstreambuf::int_type
156 strstreambuf::overflow(int_type __c) in overflow()
159 return int_type(0); in overflow()
163 return int_type(EOF); in overflow()
174 return int_type(EOF); in overflow()
196 return int_type(static_cast<unsigned char>(__c)); in overflow()
199 strstreambuf::int_type
200 strstreambuf::pbackfail(int_type __c) in pbackfail()
207 return int_type(0); in pbackfail()
223 strstreambuf::int_type
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Platform/Linux/
H A DPlatformLinux.cpp334 CompilerType int_type = ast->GetBasicType(eBasicTypeInt); in GetSiginfoType() local
341 CompilerType &pid_type = int_type; in GetSiginfoType()
350 ast->AddFieldToRecordType(sigval_type, "sival_int", int_type, in GetSiginfoType()
376 ast->AddFieldToRecordType(siginfo_type, "si_signo", int_type, in GetSiginfoType()
380 ast->AddFieldToRecordType(siginfo_type, "si_errno", int_type, in GetSiginfoType()
382 ast->AddFieldToRecordType(siginfo_type, "si_code", int_type, in GetSiginfoType()
385 ast->AddFieldToRecordType(siginfo_type, "si_code", int_type, in GetSiginfoType()
393 ast->AddFieldToRecordType(siginfo_type, "__pad0", int_type, in GetSiginfoType()
415 {"si_tid", int_type}, in GetSiginfoType()
458 {"si_fd", int_type}, in GetSiginfoType()
[all …]
/llvm-project-15.0.7/lldb/test/API/lang/cpp/complete-type-check/
H A DTestCppIsTypeComplete.py72 int_type = self.target().FindFirstType("int")
73 self.assertTrue(int_type.IsValid())
74 self.assertTrue(int_type.IsTypeComplete())
77 int_ref_type = int_type.GetReferenceType()
82 int_ptr_type = int_type.GetReferenceType()
/llvm-project-15.0.7/libcxx/test/std/input.output/stream.buffers/streambuf/
H A Dtypes.pass.cpp31 …static_assert((std::is_same<std::streambuf::int_type, std::char_traits<char>::int_type>::value), "… in main()
38 …static_assert((std::is_same<std::wstreambuf::int_type, std::char_traits<wchar_t>::int_type>::value… in main()
/llvm-project-15.0.7/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
H A Dpbackfail.pass.cpp35 typedef base::int_type int_type; typedef
45 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} in pbackfail()
H A Doverflow.pass.cpp33 typedef base::int_type int_type; typedef
43 virtual int_type overflow(int_type c = traits_type::eof()) {return base::overflow(c);} in overflow()
H A Dunderflow.pass.cpp35 typedef base::int_type int_type; typedef
45 virtual int_type underflow() {return base::underflow();} in underflow()
/llvm-project-15.0.7/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/
H A Dfailed.pass.cpp23 typedef typename std::basic_streambuf<Char,Traits>::int_type int_type; typedef
27 int_type sputc(char_type) { return Traits::eof(); } in sputc()
/llvm-project-15.0.7/libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/
H A Dtypes.pass.cpp53 static_assert((std::is_same<I1::int_type, I1::traits_type::int_type>::value), ""); in main()
75 static_assert((std::is_same<I2::int_type, I2::traits_type::int_type>::value), ""); in main()
/llvm-project-15.0.7/mlir/test/python/dialects/
H A Dfunc.py50 int_type = IntegerType.get_signless(32)
51 vec_type = VectorType.get([2, 2], int_type)
54 DenseElementsAttr.get_splat(vec_type, IntegerAttr.get(int_type, 42)))
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Ddefault-arguments-ast-print.cpp7 using int_type = int; typedef
9 int Foo<int_type, double>::method1() { in method1()

12345