Home
last modified time | relevance | path

Searched refs:empty_string (Results 1 – 25 of 39) sorted by relevance

12

/third_party/boost/libs/metaparse/test/
Dstring.cpp74 typedef metaparse::string<> empty_string; in BOOST_AUTO_TEST_CASE() typedef
80 BOOST_REQUIRE_EQUAL(std::string(), c_str<empty_string>::type::value); in BOOST_AUTO_TEST_CASE()
87 BOOST_MPL_ASSERT_NOT((equal_to<hello, empty_string>)); in BOOST_AUTO_TEST_CASE()
122 BOOST_MPL_ASSERT((equal_to<empty_string, clear<hello>::type>)); in BOOST_AUTO_TEST_CASE()
126 BOOST_MPL_ASSERT((empty<empty_string>::type)); in BOOST_AUTO_TEST_CASE()
132 equal_to<begin<empty_string>::type, end<empty_string>::type> in BOOST_AUTO_TEST_CASE()
159 BOOST_MPL_ASSERT((equal<BOOST_METAPARSE_STRING(""), empty_string>)); in BOOST_AUTO_TEST_CASE()
Dempty_string.cpp6 #define BOOST_TEST_MODULE empty_string
21 using boost::metaparse::v1::impl::empty_string; in BOOST_AUTO_TEST_CASE()
25 BOOST_REQUIRE_EQUAL(string(), empty_string<>::value); in BOOST_AUTO_TEST_CASE()
/third_party/cJSON/tests/
Dparse_with_opts.c41 const char empty_string[] = ""; in parse_with_opts_should_handle_empty_strings() local
44 TEST_ASSERT_NULL(cJSON_ParseWithOpts(empty_string, NULL, false)); in parse_with_opts_should_handle_empty_strings()
45 TEST_ASSERT_EQUAL_PTR(empty_string, cJSON_GetErrorPtr()); in parse_with_opts_should_handle_empty_strings()
47 TEST_ASSERT_NULL(cJSON_ParseWithOpts(empty_string, &error_pointer, false)); in parse_with_opts_should_handle_empty_strings()
48 TEST_ASSERT_EQUAL_PTR(empty_string, error_pointer); in parse_with_opts_should_handle_empty_strings()
49 TEST_ASSERT_EQUAL_PTR(empty_string, cJSON_GetErrorPtr()); in parse_with_opts_should_handle_empty_strings()
/third_party/flatbuffers/tests/
Dmore_defaults_generated.rs130 if let Some(x) = args.empty_string { builder.add_empty_string(x); } in create()
145 let empty_string = { in unpack() localVariable
146 let x = self.empty_string(); in unpack()
164 empty_string, in unpack()
186 pub fn empty_string(&self) -> &'a str { in empty_string() method
223 pub empty_string: Option<flatbuffers::WIPOffset<&'a str>>, field
234 empty_string: None, in default()
255 pub fn add_empty_string(&mut self, empty_string: flatbuffers::WIPOffset<&'b str>) { in add_empty_string()
256 …lf.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(MoreDefaults::VT_EMPTY_STRING, empty_string); in add_empty_string()
290 ds.field("empty_string", &self.empty_string()); in fmt()
[all …]
Dmore_defaults.fbs8 empty_string: string = "";
/third_party/boost/boost/metaparse/v1/cpp98/impl/
Dempty_string.hpp18 struct empty_string struct
20 typedef empty_string type; argument
26 const char empty_string<Ignore>::value[1] = {0};
/third_party/boost/boost/metaparse/v1/cpp11/impl/
Dempty_string.hpp18 struct empty_string struct
20 typedef empty_string type; argument
26 constexpr char empty_string<Ignore>::value[1];
/third_party/gn/src/gn/
Dargs.cc382 Value empty_string(nullptr, std::string()); in SetSystemVarsLocked() local
386 dest->SetValue(variables::kTargetOs, empty_string, nullptr); in SetSystemVarsLocked()
387 dest->SetValue(variables::kCurrentOs, empty_string, nullptr); in SetSystemVarsLocked()
391 dest->SetValue(variables::kTargetCpu, empty_string, nullptr); in SetSystemVarsLocked()
392 dest->SetValue(variables::kCurrentCpu, empty_string, nullptr); in SetSystemVarsLocked()
397 declared_arguments[variables::kCurrentOs] = empty_string; in SetSystemVarsLocked()
398 declared_arguments[variables::kTargetOs] = empty_string; in SetSystemVarsLocked()
400 declared_arguments[variables::kCurrentCpu] = empty_string; in SetSystemVarsLocked()
401 declared_arguments[variables::kTargetCpu] = empty_string; in SetSystemVarsLocked()
/third_party/flatbuffers/tests/rust_usage_test/tests/
Dmore_defaults_test.rs13 empty_string: "".to_string(), in object_defaults()
28 assert_eq!(m.empty_string(), ""); in nonpresent_values()
/third_party/elfio/elfio/
Delfio_strings.hpp66 char empty_string = '\0'; in add_string() local
67 string_section->append_data( &empty_string, 1 ); in add_string()
/third_party/boost/boost/date_time/local_time/
Dposix_time_zone.hpp252 const char_type empty_string[2] = {'\0'}; in calc_zone() local
253 stringstream_type ss(empty_string); in calc_zone()
262 ss.str(empty_string); in calc_zone()
271 ss.str(empty_string); in calc_zone()
290 ss.str(empty_string); in calc_zone()
299 ss.str(empty_string); in calc_zone()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross_parsed_ir.cpp302 return empty_string; in get_name()
311 return empty_string; in get_member_name()
315 return empty_string; in get_member_name()
642 return empty_string; in get_decoration_string()
647 return empty_string; in get_decoration_string()
655 return empty_string; in get_decoration_string()
813 return empty_string; in get_member_decoration_string()
823 return empty_string; in get_member_decoration_string()
827 return empty_string; in get_member_decoration_string()
Dspirv_cross_parsed_ir.hpp214 return empty_string; in get_empty_string()
242 std::string empty_string; member in SPIRV_CROSS_NAMESPACE::ParsedIR
/third_party/ltp/testcases/kernel/syscalls/nftw/
Dlib.c247 char *empty_string; in test_ENOENT_empty() local
249 empty_string = ""; in test_ENOENT_empty()
258 if ((s2 = (*callback) (empty_string)) == expected) { in test_ENOENT_empty()
Dlib64.c247 char *empty_string; in test_ENOENT_empty() local
249 empty_string = ""; in test_ENOENT_empty()
258 if ((s2 = (*callback) (empty_string)) == expected) { in test_ENOENT_empty()
/third_party/ffmpeg/libavformat/
Dwsddec.c37 static int empty_string(const char *buf, unsigned size) in empty_string() function
86 if (empty_string(buf, size)) { in get_metadata()
/third_party/python/Include/internal/
Dpycore_interp.h57 PyObject *empty_string; member
68 PyObject *empty_string; member
/third_party/boost/boost/locale/
Dformat.hpp86 CharType empty_string[1]={0}; in void_write() local
87 output<<empty_string; in void_write()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cArrayOfArraysTests.cpp167 static const std::string empty_string = ""; variable
431 const std::string* cs = &empty_string; \
442 vs = &empty_string; \
443 tcs = &empty_string; \
444 tes = &empty_string; \
445 gs = &empty_string; \
446 fs = &empty_string; \
3659 this->execute_positive_test(empty_string, empty_string, empty_string, empty_string, empty_string, in execute_dispatch_test()
3752 const std::string& compute_shader_source = empty_string; in execute_draw_test()
4572 this->execute_positive_test(empty_string, empty_string, empty_string, empty_string, empty_string, in execute_dispatch_test()
[all …]
/third_party/boost/boost/metaparse/v1/cpp11/
Dstring.hpp201 boost::metaparse::v1::impl::empty_string<>
/third_party/re2/util/
Dpcre.cc103 static const std::string empty_string; variable
112 error_ = &empty_string; in Init()
154 if (error_ != &empty_string) delete error_; in ~PCRE()
188 if (error_ == &empty_string) error_ = new std::string(error); in Compile()
/third_party/boost/boost/metaparse/v1/cpp98/
Dstring.hpp220 boost::metaparse::v1::impl::empty_string<>
/third_party/re2/re2/
Dre2.cc59 static const std::string* empty_string; variable
170 empty_string = new std::string; in Init()
182 error_ = empty_string; in Init()
257 if (error_ != empty_string) in ~RE2()
/third_party/boost/libs/program_options/src/
Doptions_description.cpp177 static std::string empty_string(""); in long_name() local
178 return m_long_names.empty() ? empty_string : *m_long_names.begin(); in long_name()
/third_party/abseil-cpp/absl/status/
Dstatus.cc188 static std::string* empty_string = new std::string(); in EmptyString() local
189 return empty_string; in EmptyString()

12