Home
last modified time | relevance | path

Searched refs:string_type (Results 1 – 25 of 178) sorted by relevance

12345678

/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dresize_uninitialized.h34 template <typename string_type, typename = void>
37 static void Resize(string_type* s, size_t new_size) { s->resize(new_size); } in Resize()
41 template <typename string_type>
43 string_type, absl::void_t<decltype(std::declval<string_type&>()
46 static void Resize(string_type* s, size_t new_size) {
56 template <typename string_type>
57 inline constexpr bool STLStringSupportsNontrashingResize(string_type*) {
58 return ResizeUninitializedTraits<string_type>::HasMember::value;
65 template <typename string_type, typename = void>
66 inline void STLStringResizeUninitialized(string_type* s, size_t new_size) {
[all …]
/external/abseil-cpp/absl/strings/internal/
Dresize_uninitialized.h33 template <typename string_type, typename = void>
36 static void Resize(string_type* s, size_t new_size) { s->resize(new_size); } in Resize()
40 template <typename string_type>
42 string_type, absl::void_t<decltype(std::declval<string_type&>()
45 static void Resize(string_type* s, size_t new_size) {
55 template <typename string_type>
56 inline constexpr bool STLStringSupportsNontrashingResize(string_type*) {
57 return ResizeUninitializedTraits<string_type>::HasMember::value;
64 template <typename string_type, typename = void>
65 inline void STLStringResizeUninitialized(string_type* s, size_t new_size) {
[all …]
/external/openscreen/third_party/abseil/src/absl/strings/internal/
Dresize_uninitialized.h33 template <typename string_type, typename = void>
36 static void Resize(string_type* s, size_t new_size) { s->resize(new_size); } in Resize()
40 template <typename string_type>
42 string_type, absl::void_t<decltype(std::declval<string_type&>()
45 static void Resize(string_type* s, size_t new_size) {
55 template <typename string_type>
56 inline constexpr bool STLStringSupportsNontrashingResize(string_type*) {
57 return ResizeUninitializedTraits<string_type>::HasMember::value;
64 template <typename string_type, typename = void>
65 inline void STLStringResizeUninitialized(string_type* s, size_t new_size) {
[all …]
/external/libtextclassifier/abseil-cpp/absl/strings/internal/
Dresize_uninitialized.h33 template <typename string_type, typename = void>
36 static void Resize(string_type* s, size_t new_size) { s->resize(new_size); } in Resize()
40 template <typename string_type>
42 string_type, absl::void_t<decltype(std::declval<string_type&>()
45 static void Resize(string_type* s, size_t new_size) {
55 template <typename string_type>
56 inline constexpr bool STLStringSupportsNontrashingResize(string_type*) {
57 return ResizeUninitializedTraits<string_type>::HasMember::value;
64 template <typename string_type, typename = void>
65 inline void STLStringResizeUninitialized(string_type* s, size_t new_size) {
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Dresize_uninitialized.h33 template <typename string_type, typename = void>
36 static void Resize(string_type* s, size_t new_size) { s->resize(new_size); } in Resize()
40 template <typename string_type>
42 string_type, absl::void_t<decltype(std::declval<string_type&>()
45 static void Resize(string_type* s, size_t new_size) {
55 template <typename string_type>
56 inline constexpr bool STLStringSupportsNontrashingResize(string_type*) {
57 return ResizeUninitializedTraits<string_type>::HasMember::value;
64 template <typename string_type, typename = void>
65 inline void STLStringResizeUninitialized(string_type* s, size_t new_size) {
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/
Dresize_uninitialized.h33 template <typename string_type, typename = void>
36 static void Resize(string_type* s, size_t new_size) { s->resize(new_size); } in Resize()
40 template <typename string_type>
42 string_type, absl::void_t<decltype(std::declval<string_type&>()
45 static void Resize(string_type* s, size_t new_size) {
55 template <typename string_type>
56 inline constexpr bool STLStringSupportsNontrashingResize(string_type*) {
57 return ResizeUninitializedTraits<string_type>::HasMember::value;
64 template <typename string_type, typename = void>
65 inline void STLStringResizeUninitialized(string_type* s, size_t new_size) {
[all …]
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/
Doperator_string.pass.cpp29 using string_type = path::string_type; in main() typedef
32 fs::path::string_type pathstr_value(value_str.begin(), value_str.end()); in main()
35 static_assert(std::is_convertible<path, string_type>::value, ""); in main()
36 static_assert(std::is_constructible<string_type, path>::value, ""); in main()
37 ASSERT_SAME_TYPE(string_type, decltype(p.operator string_type())); in main()
38 ASSERT_NOT_NOEXCEPT(p.operator string_type()); in main()
43 string_type s = p; in main()
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/
Doperator_string.pass.cpp30 using string_type = path::string_type; in main() typedef
34 static_assert(std::is_convertible<path, string_type>::value, ""); in main()
35 static_assert(std::is_constructible<string_type, path>::value, ""); in main()
36 ASSERT_SAME_TYPE(string_type, decltype(p.operator string_type())); in main()
37 ASSERT_NOT_NOEXCEPT(p.operator string_type()); in main()
42 string_type s = p; in main()
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/
Drelative.pass.cpp34 TEST_CHECK(output == fs::path::string_type(fs::current_path())); in TEST_CASE()
40 TEST_CHECK(output == fs::path::string_type(fs::current_path())); in TEST_CASE()
47 TEST_CHECK(output == fs::path::string_type(static_env.File)); in TEST_CASE()
54 TEST_CHECK(output == fs::path::string_type(static_env.Dir)); in TEST_CASE()
61 TEST_CHECK(output == fs::path::string_type(static_env.Dir)); in TEST_CASE()
68 TEST_CHECK(output == fs::path::string_type(static_env.Dir / "dir2")); in TEST_CASE()
77 TEST_CHECK(output == fs::path::string_type(static_env.Dir / "dir2")); in TEST_CASE()
84 TEST_CHECK(output == fs::path::string_type(static_env.Dir / "dir2/DNE/")); in TEST_CASE()
91 TEST_CHECK(output == fs::path::string_type(static_env.Dir2)); in TEST_CASE()
98 TEST_CHECK(output == fs::path::string_type(static_env.Dir2 / "")); in TEST_CASE()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dtensor_cord.cc70 template <typename string_type, typename = void>
73 static void Resize(string_type* s, size_t new_size) { s->resize(new_size); } in Resize()
77 template <typename string_type>
79 string_type, absl::void_t<decltype(std::declval<string_type&>()
82 static void Resize(string_type* s, size_t new_size) { in Resize()
/external/llvm-project/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/
Dsync.pass.cpp24 typedef std::basic_string<CharT> string_type; typedef
27 string_type str_;
31 testbuf(const string_type& str) in testbuf()
58 typedef std::basic_string<CharT> string_type; typedef
61 string_type str_;
65 throwing_testbuf(const string_type& str) in throwing_testbuf()
Dtellg.pass.cpp22 typedef std::basic_string<CharT> string_type; typedef
25 string_type str_;
29 testbuf(const string_type& str) in testbuf()
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/
Dsync.pass.cpp23 typedef std::basic_string<CharT> string_type; typedef
26 string_type str_;
30 testbuf(const string_type& str) in testbuf()
Dtellg.pass.cpp21 typedef std::basic_string<CharT> string_type; typedef
24 string_type str_;
28 testbuf(const string_type& str) in testbuf()
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.rvalue/
Drvalue.pass.cpp26 typedef std::basic_string<CharT> string_type; typedef
29 string_type str_;
33 testbuf(const string_type& str) in testbuf()
/external/libcxx/include/
Dsstream202 typedef basic_string<char_type, traits_type, allocator_type> string_type;
206 string_type __str_;
215 explicit basic_stringbuf(const string_type& __s,
226 string_type str() const;
227 void str(const string_type& __s);
249 basic_stringbuf<_CharT, _Traits, _Allocator>::basic_stringbuf(const string_type& __s,
445 return string_type(this->pbase(), __hm_, __str_.get_allocator());
448 return string_type(this->eback(), this->egptr(), __str_.get_allocator());
449 return string_type(__str_.get_allocator());
454 basic_stringbuf<_CharT, _Traits, _Allocator>::str(const string_type& __s)
[all …]
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/
Dunsigned_char.pass.cpp22 typedef std::basic_string<CharT> string_type; typedef
25 string_type str_;
29 testbuf(const string_type& str) in testbuf()
Dsigned_char.pass.cpp22 typedef std::basic_string<CharT> string_type; typedef
25 string_type str_;
29 testbuf(const string_type& str) in testbuf()
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/
Dbool.pass.cpp24 typedef std::basic_string<CharT> string_type; typedef
27 string_type str_;
31 testbuf(const string_type& str) in testbuf()
Dunsigned_long_long.pass.cpp24 typedef std::basic_string<CharT> string_type; typedef
27 string_type str_;
31 testbuf(const string_type& str) in testbuf()
Dlong.pass.cpp24 typedef std::basic_string<CharT> string_type; typedef
27 string_type str_;
31 testbuf(const string_type& str) in testbuf()
Ddouble.pass.cpp24 typedef std::basic_string<CharT> string_type; typedef
27 string_type str_;
31 testbuf(const string_type& str) in testbuf()
Dfloat.pass.cpp24 typedef std::basic_string<CharT> string_type; typedef
27 string_type str_;
31 testbuf(const string_type& str) in testbuf()
Dunsigned_short.pass.cpp24 typedef std::basic_string<CharT> string_type; typedef
27 string_type str_;
31 testbuf(const string_type& str) in testbuf()
/external/llvm-project/libcxx/test/std/input.output/iostream.format/ext.manip/
Dget_money.pass.cpp26 typedef std::basic_string<CharT> string_type; typedef
29 string_type str_;
33 testbuf(const string_type& str) in testbuf()

12345678