Home
last modified time | relevance | path

Searched refs:my_string (Results 1 – 25 of 28) sorted by relevance

12

/third_party/boost/libs/serialization/test/
Dtest_helper_support.cpp34 class my_string:public std::string class
39 my_string(){} in my_string() function in my_string
40 my_string(const super & str): super(str){} in my_string() function in my_string
41 my_string & operator=(const super& rhs) { in operator =()
49 typedef std::vector<my_string> table;
53 BOOST_SERIALIZATION_SPLIT_FREE(my_string)
59 void save(Archive & ar, const my_string & str, const unsigned int /* version */) in save()
61 void (* const idx)(Archive &, const my_string &, const unsigned int) = & save; in save()
80 void load(Archive & ar, my_string & str, const unsigned int /* version */) in load()
82 void (* const idx)(Archive &, my_string &, const unsigned int) = & load; in load()
[all …]
Dtest_p_helper.cpp44 class my_string:public std::string class
49 my_string(){} in my_string() function in my_string
50 my_string(const super & str): super(str){} in my_string() function in my_string
51 my_string & operator=(const super& rhs) { in operator =()
59 typedef std::vector<my_string> table;
63 BOOST_SERIALIZATION_SPLIT_FREE(my_string)
69 void save(Archive & ar, const my_string & str, const unsigned int /* version */) in save()
71 void (* const idx)(Archive &, const my_string &, const unsigned int) = & save; in save()
90 void load(Archive & ar, my_string & str, const unsigned int /* version */) in load()
92 void (* const idx)(Archive &, my_string &, const unsigned int) = & load; in load()
[all …]
Dtest__helper.cpp44 class my_string:public std::string class
49 my_string(){} in my_string() function in my_string
50 my_string(const super & str): super(str){} in my_string() function in my_string
51 my_string & operator=(const super& rhs) { in operator =()
59 typedef std::vector<my_string> table;
63 BOOST_SERIALIZATION_SPLIT_FREE(my_string)
69 void save(Archive & ar, const my_string & str, const unsigned int /* version */) in save()
71 void (* const idx)(Archive &, const my_string &, const unsigned int) = & save; in save()
90 void load(Archive & ar, my_string & str, const unsigned int /* version */) in load()
92 void (* const idx)(Archive &, my_string &, const unsigned int) = & load; in load()
[all …]
/third_party/boost/libs/range/test/
Dstring.cpp144 char my_string[] = "another_string"; in check_char() local
176 BOOST_CHECK_EQUAL( str_begin( my_string ), my_string ); in check_char()
177 range_iterator<char_array_t>::type str_end2 = str_begin( my_string ) + str_size(my_string); in check_char()
178 range_iterator<char_array_t>::type str_end3 = str_end(my_string); in check_char()
180 BOOST_CHECK_EQUAL( str_empty( my_string ), (my_string == 0 || my_string[0] == char()) ); in check_char()
181 BOOST_CHECK_EQUAL( str_size( my_string ), my_string_length ); in check_char()
182 …BOOST_CHECK_EQUAL( str_size( my_string ), static_cast<diff_t>(std::char_traits<char>::length(my_st… in check_char()
188 BOOST_CHECK( find_mutable( my_string, to_search ) != str_end(my_string) ); in check_char()
189 BOOST_CHECK( find_const( my_string, to_search ) != str_end(my_string) ); in check_char()
194 BOOST_CHECK( find_const( as_array( my_string ), to_search ) != str_end(my_string) ); in check_char()
[all …]
/third_party/boost/libs/convert/test/
Dtest.hpp113 struct my_string struct
115 typedef my_string this_type; argument
120 my_string (); argument
121 my_string (const_iterator, const_iterator =0);
135 my_string::my_string() in my_string() argument
141 my_string::my_string(const_iterator beg, const_iterator end) in my_string() function in my_string
150 my_string&
151 my_string::operator=(char const* str) in operator =()
158 inline bool operator==(char const* s1, my_string const& s2) { return strcmp(s1, s2.c_str()) == 0; } in operator ==()
159 inline bool operator==(my_string const& s1, char const* s2) { return strcmp(s2, s1.c_str()) == 0; } in operator ==()
Dspirit_converter.cpp37 my_string const my_stri (c_stri, c_stri + strlen(c_stri)); in main()
38 my_string const my_strd (c_strd, c_strd + strlen(c_strd)); in main()
Dstream_converter.cpp340 my_string my_str("123"); in test_user_str()
346 BOOST_TEST(convert<my_string>( 99.999, cnv).value_or("bad") == "100.00"); in test_user_str()
347 BOOST_TEST(convert<my_string>( 99.949, cnv).value_or("bad") == "99.95"); in test_user_str()
348 BOOST_TEST(convert<my_string>(-99.949, cnv).value_or("bad") == "-99.95"); in test_user_str()
Dprepare.hpp20 typedef boost::array<my_string, 18> strings; //C1
Dperformance.cpp303 local::to_str< my_string, int>(boost::cnv::strtol())); in main()
306 local::to_str< my_string, int>(boost::cnv::spirit())); in main()
309 local::to_str< my_string, int>(boost::cnv::cstream())); in main()
Dstrtol_converter.cpp362 BOOST_TEST( "12" == convert<my_string>(12, cnv).value()); in test_user_string()
363 BOOST_TEST("0.95" == convert<my_string>(0.95, cnv(arg::precision = 2)).value()); in test_user_string()
Dsfinae.cpp153 BOOST_TEST(boost::cnv::is_string<my_string>::value == true); in main()
/third_party/boost/libs/lexical_cast/test/
Dlexical_cast_test.cpp481 typedef std::basic_string<char, my_traits<char> > my_string; in test_traits() typedef
483 my_string const s("s"); in test_traits()
485 BOOST_CHECK(boost::lexical_cast<my_string>(s) == s); in test_traits()
486 BOOST_CHECK(boost::lexical_cast<my_string>(-1) == "-1"); in test_traits()
491 typedef std::basic_string<wchar_t, my_traits<wchar_t> > my_string; in test_wtraits() typedef
493 my_string const s(L"s"); in test_wtraits()
495 BOOST_CHECK(boost::lexical_cast<my_string>(s) == s); in test_wtraits()
511 > my_string; in test_allocator() typedef
513 my_string s("s"); in test_allocator()
516 BOOST_CHECK(boost::lexical_cast<my_string>(s) == s); in test_allocator()
[all …]
Dlexical_cast_no_locale_test.cpp126 struct my_string { struct
127 friend std::ostream &operator<<(std::ostream& sout, my_string const&/* st*/) { in operator <<()
134 my_string st; in test_empty_5()
Dlexical_cast_empty_input_test.cpp132 struct my_string { struct
133 friend std::ostream &operator<<(std::ostream& sout, my_string const&/* st*/) { in operator <<()
140 my_string st; in test_empty_zero_terminated_string()
/third_party/boost/libs/interprocess/test/
Dvectorstream_test.cpp26 typedef basic_string<char> my_string; typedef
27 typedef basic_vectorstream<my_string > my_stringstream_t;
30 template class basic_vectorstream<my_string>;
/third_party/boost/libs/type_index/examples/
Duser_defined_typeinfo.hpp27 typedef std::string my_string; typedef
48 template <> struct typenum<my_string>{ enum {value = 4}; };
/third_party/protobuf/src/google/protobuf/
Dunittest.proto571 optional string my_string = 11; field
596 optional string my_string = 1; field
607 optional string my_string = 1; field
609 optional string my_string = 1; field
/third_party/protobuf/csharp/protos/
Dunittest.proto561 optional string my_string = 11; field
586 optional string my_string = 1; field
597 optional string my_string = 1; field
599 optional string my_string = 1; field
Dunittest_proto3.proto238 string my_string = 11; field
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dtest_util.py331 message.my_string = 'foo'
352 message.my_string = 'foo' # Field 11.
/third_party/protobuf/python/google/protobuf/internal/
Dtext_format_test.py1053 message.my_string = 'str'
1062 test_ext_orderings2].my_string = 'ext_str2'
1065 test_ext_orderings1].my_string = 'ext_str1'
1069 test_ext_orderings3].my_string = 'ext_str3'
Dtest_util.py372 message.my_string = 'foo'
393 message.my_string = 'foo' # Field 11.
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/protos/src/google/protobuf/
Dunittest_proto3.proto247 string my_string = 11; field
/third_party/boost/libs/mpi/doc/
Dpython.qbk115 mpi.all_reduce(my_string, lambda x,y: x + y)
/third_party/protobuf/python/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Dunittest.proto478 optional string my_string = 11; field

12