Home
last modified time | relevance | path

Searched refs:is_string (Results 1 – 25 of 71) sorted by relevance

123

/third_party/json/doc/examples/
Dis_string.cpp21 std::cout << j_null.is_string() << '\n'; in main()
22 std::cout << j_boolean.is_string() << '\n'; in main()
23 std::cout << j_number_integer.is_string() << '\n'; in main()
24 std::cout << j_number_unsigned_integer.is_string() << '\n'; in main()
25 std::cout << j_number_float.is_string() << '\n'; in main()
26 std::cout << j_object.is_string() << '\n'; in main()
27 std::cout << j_array.is_string() << '\n'; in main()
28 std::cout << j_string.is_string() << '\n'; in main()
29 std::cout << j_binary.is_string() << '\n'; in main()
/third_party/boost/boost/convert/detail/
Dis_string.hpp14 template<typename T, bool is_range_class> struct is_string : std::false_type {}; struct
16 template<typename T> struct is_string<T*, false> struct
20 template <typename T, std::size_t N> struct is_string<T [N], false> struct
24 template<typename T> struct is_string<T, /*is_range_class=*/true> struct
29 template<typename T> struct is_string : detail::is_string< struct
/third_party/boost/boost/spirit/home/support/
Dstring_traits.hpp48 struct is_string : mpl::false_ {}; struct
51 struct is_string<T const> : is_string<T> {}; struct
54 struct is_string<char const*> : mpl::true_ {}; struct
57 struct is_string<wchar_t const*> : mpl::true_ {}; struct
60 struct is_string<char*> : mpl::true_ {}; struct
63 struct is_string<wchar_t*> : mpl::true_ {}; struct
66 struct is_string<char[N]> : mpl::true_ {}; struct
69 struct is_string<wchar_t[N]> : mpl::true_ {}; struct
72 struct is_string<char const[N]> : mpl::true_ {}; struct
75 struct is_string<wchar_t const[N]> : mpl::true_ {}; struct
[all …]
/third_party/grpc/src/php/tests/unit_tests/
DCallCredentials2Test.php54 $this->assertTrue(is_string($context->service_url));
55 $this->assertTrue(is_string($context->method_name));
124 $this->assertTrue(is_string($context->service_url));
125 $this->assertTrue(is_string($context->method_name));
156 $this->assertTrue(is_string($context->service_url));
157 $this->assertTrue(is_string($context->method_name));
DCallCredentialsTest.php60 $this->assertTrue(is_string($context->service_url));
61 $this->assertTrue(is_string($context->method_name));
/third_party/json/test/src/
Dunit-inspection.cpp55 CHECK(!j.is_string());
73 CHECK(!j.is_string());
91 CHECK(!j.is_string());
109 CHECK(!j.is_string());
127 CHECK(j.is_string());
145 CHECK(!j.is_string());
163 CHECK(!j.is_string());
181 CHECK(!j.is_string());
199 CHECK(!j.is_string());
217 CHECK(!j.is_string());
Dunit-algorithms.cpp58 return value.is_string() && value.get<std::string>() == "foo"; in __anon6eb5060e0302()
213 return v.is_string(); in __anon6eb5060e0f02()
216 CHECK(!it[2].is_string());
/third_party/grpc/third_party/upb/third_party/lunit/
Dlunit.lua148 local is_string = is_string
391 if not is_string(name) then
446 orig_assert( is_string(m._NAME) )
493 if is_string(key) and is_function(value) and string_lower(key) == name then
513 if is_string(key) and is_function(value) then
528 orig_assert( is_string(tcname) )
529 orig_assert( is_string(testname) )
653 if not is_string(arg) then
659 if not is_string(filename) then
/third_party/boost/boost/spirit/home/lex/lexer/
Dstring_token_def.hpp34 , typename enable_if<traits::is_string<T> >::type>
43 : traits::is_string<A0> {};
51 : traits::is_string<A0> {};
128 , typename enable_if<traits::is_string<T> >::type>
/third_party/grpc/src/php/tests/generated_code/
DAbstractGeneratedCodeTest.php52 $this->assertTrue(is_string(self::$client->getTarget()));
200 $this->assertTrue(is_string($call->getPeer()));
247 $this->assertTrue(is_string($call->getPeer()));
259 $this->assertTrue(is_string($call->getPeer()));
273 $this->assertTrue(is_string($call->getPeer()));
287 $this->assertTrue(is_string($call->getPeer()));
/third_party/boost/libs/yap/doc/
Duser_macros_snippets.cpp222 struct is_string : std::false_type {}; struct
225 struct is_string<std::string> : std::true_type {}; struct
229 BOOST_YAP_USER_UDT_UDT_BINARY_OPERATOR(logical_or, ::user_expr, is_vector, is_string)
233 BOOST_YAP_USER_UDT_UDT_BINARY_OPERATOR(logical_and, ::user_expr, is_string, is_string)
/third_party/boost/boost/spirit/home/qi/string/
Dlit.hpp48 , typename enable_if<traits::is_string<T> >::type> // enables strings
56 > : traits::is_string<A0> {};
69 , typename enable_if<traits::is_string<A0> >::type>
185 , typename enable_if<traits::is_string<T> >::type>
222 , typename enable_if<traits::is_string<A0> >::type>
/third_party/boost/boost/spirit/home/karma/string/
Dlit.hpp53 , typename enable_if<traits::is_string<T> >::type> // enables string literals
61 > : traits::is_string<A0> {};
74 , typename enable_if<traits::is_string<A0> >::type>
239 , typename enable_if<traits::is_string<T> >::type>
306 , typename enable_if<traits::is_string<A0> >::type>
/third_party/boost/boost/spirit/home/support/nonterminal/
Dexpand_arg.hpp35 mpl::or_<is_scalar<T>, traits::is_string<T> >
76 return call(x, mpl::or_<is_scalar<T>, traits::is_string<T> >()); in operator ()()
/third_party/boost/libs/convert/test/
Dsfinae.cpp150 BOOST_TEST(boost::cnv::is_string<direction>::value == false); in main()
151 BOOST_TEST(boost::cnv::is_string<std::string>::value == true); in main()
152 BOOST_TEST(boost::cnv::is_string<std::wstring>::value == true); in main()
153 BOOST_TEST(boost::cnv::is_string<my_string>::value == true); in main()
154 BOOST_TEST(boost::cnv::is_string<int>::value == false); in main()
/third_party/boost/boost/iostreams/filter/
Dtest.hpp63 BOOST_IOSTREAMS_BOOL_TRAIT_DEF(is_string, std::basic_string, 3)
180 is_string<Source1>() ); in test_input_filter()
224 is_string<Source1>() ); in test_output_filter()
314 return test_filter_pair(out, in, data, is_string<Source>()); in test_filter_pair()
/third_party/boost/boost/spirit/home/lex/qi/
Dstate_switcher.hpp36 > : traits::is_string<A0> {};
48 > : traits::is_string<A0> {};
225 , Modifiers, typename enable_if<traits::is_string<State> >::type>
/third_party/uboot/u-boot-2020.01/tools/dtoc/
Dfdt.py51 is_string = True
56 is_string = False
60 is_string = False
63 is_string = False
64 if is_string:
/third_party/cef/tools/yapf/yapf/yapflib/
Dformat_decision_state.py199 if (current.is_name or current.is_string) and previous.value == ',':
220 elif current.is_string:
222 while tok and tok.is_string:
559 if (previous and previous.is_string and current.is_string and
609 is_multiline_string = current.is_string and '\n' in current.value
651 while tok.is_string:
Dunwrapped_line.py181 return tok.is_keyword or tok.is_name or tok.is_number or tok.is_string
236 if left.is_string:
337 if (cur_token.is_string and prev_token.is_string and
/third_party/libsnd/Octave/
Dsndfile.cc71 if ((nargin != 1) || !args (0) .is_string () || nargout < 1 || nargout > 3)
147 if (nargin != 4 || !args (0).is_string () || !args (1).is_real_matrix ()
148 || !args (2).is_real_scalar () || !args (3).is_string ()
/third_party/gn/src/gn/
Dfunction_rebase_path_unittest.cc25 bool is_string = result.type() == Value::STRING; in RebaseOne() local
26 EXPECT_TRUE(is_string); in RebaseOne()
/third_party/boost/boost/spirit/home/qi/detail/
Dassign_to.hpp324 typedef typename traits::is_string<T>::type is_string; in call() typedef
326 call(val, attr, is_container(), is_string()); in call()
/third_party/boost/boost/spirit/home/karma/auto/
Dmeta_create.hpp147 , mpl::not_<traits::is_string<T> >
154 , typename enable_if<traits::is_string<T> >::type>
/third_party/grpc/src/php/tests/MemoryLeakTest/
DMemoryLeakTest.php64 assert(is_string($target) == true);

123