/aosp_15_r20/external/pdfium/core/fxcrt/ |
H A D | bytestring_unittest.cpp | 253 ByteString empty_string(""); in TEST() local 254 EXPECT_TRUE(empty_string == empty_string); in TEST() 255 EXPECT_TRUE(empty_string == null_string); in TEST() 256 EXPECT_TRUE(null_string == empty_string); in TEST() 262 EXPECT_TRUE(deleted_string == empty_string); in TEST() 264 EXPECT_TRUE(empty_string == deleted_string); in TEST() 269 EXPECT_FALSE(byte_string == empty_string); in TEST() 272 EXPECT_FALSE(empty_string == byte_string); in TEST() 297 EXPECT_TRUE(empty_string == null_string_c); in TEST() 298 EXPECT_TRUE(empty_string == empty_string_c); in TEST() [all …]
|
H A D | widestring_unittest.cpp | 244 WideString empty_string(L""); in TEST() local 245 EXPECT_TRUE(empty_string == empty_string); in TEST() 246 EXPECT_TRUE(empty_string == null_string); in TEST() 247 EXPECT_TRUE(null_string == empty_string); in TEST() 253 EXPECT_TRUE(deleted_string == empty_string); in TEST() 255 EXPECT_TRUE(null_string == empty_string); in TEST() 260 EXPECT_FALSE(wide_string == empty_string); in TEST() 263 EXPECT_FALSE(empty_string == wide_string); in TEST() 288 EXPECT_TRUE(empty_string == null_string_c); in TEST() 289 EXPECT_TRUE(empty_string == empty_string_c); in TEST() [all …]
|
/aosp_15_r20/external/flatbuffers/tests/more_defaults/ |
H A D | more_defaults_generated.rs | 52 if let Some(x) = args.empty_string { builder.add_empty_string(x); } in create() 67 let empty_string = { in unpack() localVariable 68 let x = self.empty_string(); in unpack() 86 empty_string, in unpack() 102 pub fn empty_string(&self) -> &'a str { in empty_string() method 139 pub empty_string: Option<flatbuffers::WIPOffset<&'a str>>, field 150 empty_string: None, in default() 172 pub fn add_empty_string(&mut self, empty_string: flatbuffers::WIPOffset<&'b str>) { in add_empty_string() 173 …lf.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(MoreDefaults::VT_EMPTY_STRING, empty_string); in add_empty_string() 207 ds.field("empty_string", &self.empty_string()); in fmt() [all …]
|
/aosp_15_r20/external/llvm-libc/test/src/string/ |
H A D | StrchrTest.h | 79 const char empty_string[] = ""; in emptyStringShouldOnlyMatchNullTerminator() local 80 ASSERT_EQ(static_cast<const char *>(Func(empty_string, '\0')), in emptyStringShouldOnlyMatchNullTerminator() 81 empty_string); in emptyStringShouldOnlyMatchNullTerminator() 155 const char empty_string[] = ""; in emptyStringShouldOnlyMatchNullTerminator() local 156 ASSERT_EQ(static_cast<const char *>(Func(empty_string, '\0')), in emptyStringShouldOnlyMatchNullTerminator() 157 empty_string); in emptyStringShouldOnlyMatchNullTerminator()
|
H A D | memrchr_test.cpp | 92 const char *empty_string = ""; in TEST() local 94 ASSERT_STREQ(call_memrchr(empty_string, '\0', size), ""); in TEST() 96 ASSERT_STREQ(call_memrchr(empty_string, 'A', size), nullptr); in TEST() 97 ASSERT_STREQ(call_memrchr(empty_string, '9', size), nullptr); in TEST() 98 ASSERT_STREQ(call_memrchr(empty_string, '?', size), nullptr); in TEST()
|
H A D | memchr_test.cpp | 99 const char *empty_string = ""; in TEST() local 101 ASSERT_STREQ(call_memchr(empty_string, '\0', size), ""); in TEST() 103 ASSERT_STREQ(call_memchr(empty_string, 'A', size), nullptr); in TEST() 104 ASSERT_STREQ(call_memchr(empty_string, '9', size), nullptr); in TEST() 105 ASSERT_STREQ(call_memchr(empty_string, '?', size), nullptr); in TEST()
|
/aosp_15_r20/external/tink/cc/subtle/ |
H A D | aes_eax_boringssl_test.cc | 198 std::string empty_string(""); in TEST() local 202 auto pt = cipher->Decrypt(ciphertext, empty_string); in TEST() 215 auto ct = cipher->Encrypt(empty_string, empty_string); in TEST() 217 pt = cipher->Decrypt(ct.value(), empty_string); in TEST() 223 pt = cipher->Decrypt(ct.value(), empty_string); in TEST() 229 pt = cipher->Decrypt(ct.value(), empty_string); in TEST() 235 pt = cipher->Decrypt(ct.value(), empty_string); in TEST()
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/alloc/tests/ |
H A D | string.rs | 754 let mut empty_string: String = String::new(); in test_try_reserve() localVariable 757 if let Err(CapacityOverflow) = empty_string.try_reserve(MAX_CAP).map_err(|e| e.kind()) { in test_try_reserve() 761 if let Err(CapacityOverflow) = empty_string.try_reserve(MAX_CAP).map_err(|e| e.kind()) { in test_try_reserve() 767 empty_string.try_reserve(MAX_CAP + 1).map_err(|e| e.kind()), in test_try_reserve() 774 empty_string.try_reserve(MAX_USIZE).map_err(|e| e.kind()), in test_try_reserve() 817 let mut empty_string: String = String::new(); in test_try_reserve_exact() localVariable 819 if let Err(CapacityOverflow) = empty_string.try_reserve_exact(MAX_CAP).map_err(|e| e.kind()) in test_try_reserve_exact() 823 if let Err(CapacityOverflow) = empty_string.try_reserve_exact(MAX_CAP).map_err(|e| e.kind()) in test_try_reserve_exact() 829 empty_string.try_reserve_exact(MAX_CAP + 1).map_err(|e| e.kind()), in test_try_reserve_exact() 835 empty_string.try_reserve_exact(MAX_USIZE).map_err(|e| e.kind()), in test_try_reserve_exact()
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/alloc/tests/ |
H A D | string.rs | 754 let mut empty_string: String = String::new(); in test_try_reserve() localVariable 757 if let Err(CapacityOverflow) = empty_string.try_reserve(MAX_CAP).map_err(|e| e.kind()) { in test_try_reserve() 761 if let Err(CapacityOverflow) = empty_string.try_reserve(MAX_CAP).map_err(|e| e.kind()) { in test_try_reserve() 767 empty_string.try_reserve(MAX_CAP + 1).map_err(|e| e.kind()), in test_try_reserve() 774 empty_string.try_reserve(MAX_USIZE).map_err(|e| e.kind()), in test_try_reserve() 817 let mut empty_string: String = String::new(); in test_try_reserve_exact() localVariable 819 if let Err(CapacityOverflow) = empty_string.try_reserve_exact(MAX_CAP).map_err(|e| e.kind()) in test_try_reserve_exact() 823 if let Err(CapacityOverflow) = empty_string.try_reserve_exact(MAX_CAP).map_err(|e| e.kind()) in test_try_reserve_exact() 829 empty_string.try_reserve_exact(MAX_CAP + 1).map_err(|e| e.kind()), in test_try_reserve_exact() 835 empty_string.try_reserve_exact(MAX_USIZE).map_err(|e| e.kind()), in test_try_reserve_exact()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/alloc/tests/ |
H A D | string.rs | 754 let mut empty_string: String = String::new(); in test_try_reserve() localVariable 757 if let Err(CapacityOverflow) = empty_string.try_reserve(MAX_CAP).map_err(|e| e.kind()) { in test_try_reserve() 761 if let Err(CapacityOverflow) = empty_string.try_reserve(MAX_CAP).map_err(|e| e.kind()) { in test_try_reserve() 767 empty_string.try_reserve(MAX_CAP + 1).map_err(|e| e.kind()), in test_try_reserve() 774 empty_string.try_reserve(MAX_USIZE).map_err(|e| e.kind()), in test_try_reserve() 817 let mut empty_string: String = String::new(); in test_try_reserve_exact() localVariable 819 if let Err(CapacityOverflow) = empty_string.try_reserve_exact(MAX_CAP).map_err(|e| e.kind()) in test_try_reserve_exact() 823 if let Err(CapacityOverflow) = empty_string.try_reserve_exact(MAX_CAP).map_err(|e| e.kind()) in test_try_reserve_exact() 829 empty_string.try_reserve_exact(MAX_CAP + 1).map_err(|e| e.kind()), in test_try_reserve_exact() 835 empty_string.try_reserve_exact(MAX_USIZE).map_err(|e| e.kind()), in test_try_reserve_exact()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/alloc/tests/ |
H A D | string.rs | 754 let mut empty_string: String = String::new(); in test_try_reserve() localVariable 757 if let Err(CapacityOverflow) = empty_string.try_reserve(MAX_CAP).map_err(|e| e.kind()) { in test_try_reserve() 761 if let Err(CapacityOverflow) = empty_string.try_reserve(MAX_CAP).map_err(|e| e.kind()) { in test_try_reserve() 767 empty_string.try_reserve(MAX_CAP + 1).map_err(|e| e.kind()), in test_try_reserve() 774 empty_string.try_reserve(MAX_USIZE).map_err(|e| e.kind()), in test_try_reserve() 817 let mut empty_string: String = String::new(); in test_try_reserve_exact() localVariable 819 if let Err(CapacityOverflow) = empty_string.try_reserve_exact(MAX_CAP).map_err(|e| e.kind()) in test_try_reserve_exact() 823 if let Err(CapacityOverflow) = empty_string.try_reserve_exact(MAX_CAP).map_err(|e| e.kind()) in test_try_reserve_exact() 829 empty_string.try_reserve_exact(MAX_CAP + 1).map_err(|e| e.kind()), in test_try_reserve_exact() 835 empty_string.try_reserve_exact(MAX_USIZE).map_err(|e| e.kind()), in test_try_reserve_exact()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/alloc/tests/ |
H A D | string.rs | 754 let mut empty_string: String = String::new(); in test_try_reserve() localVariable 757 if let Err(CapacityOverflow) = empty_string.try_reserve(MAX_CAP).map_err(|e| e.kind()) { in test_try_reserve() 761 if let Err(CapacityOverflow) = empty_string.try_reserve(MAX_CAP).map_err(|e| e.kind()) { in test_try_reserve() 767 empty_string.try_reserve(MAX_CAP + 1).map_err(|e| e.kind()), in test_try_reserve() 774 empty_string.try_reserve(MAX_USIZE).map_err(|e| e.kind()), in test_try_reserve() 817 let mut empty_string: String = String::new(); in test_try_reserve_exact() localVariable 819 if let Err(CapacityOverflow) = empty_string.try_reserve_exact(MAX_CAP).map_err(|e| e.kind()) in test_try_reserve_exact() 823 if let Err(CapacityOverflow) = empty_string.try_reserve_exact(MAX_CAP).map_err(|e| e.kind()) in test_try_reserve_exact() 829 empty_string.try_reserve_exact(MAX_CAP + 1).map_err(|e| e.kind()), in test_try_reserve_exact() 835 empty_string.try_reserve_exact(MAX_USIZE).map_err(|e| e.kind()), in test_try_reserve_exact()
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/date_time/include/boost/date_time/local_time/ |
D | posix_time_zone.hpp | 252 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()
|
/aosp_15_r20/external/cronet/base/win/ |
H A D | hstring_reference_unittest.cc | 34 const HStringReference empty_string(kEmptyString); in TEST() local 35 EXPECT_EQ(empty_string.Get(), nullptr); in TEST() 36 VerifyHSTRINGEquals(empty_string.Get(), kEmptyString); in TEST()
|
/aosp_15_r20/external/pytorch/torch/csrc/autograd/ |
H A D | python_anomaly_mode.cpp | 97 THPObjectPtr empty_string(PyUnicode_FromString("")); in _print_stack() local 98 if (!empty_string) { in _print_stack() 104 THPObjectPtr msg(PyUnicode_Join(empty_string, stack)); in _print_stack()
|
/aosp_15_r20/external/deqp/external/openglcts/modules/gles31/ |
H A D | es31cArrayOfArraysTests.cpp | 167 static const std::string empty_string = ""; variable 451 …const std::string *cs = &empty_string; … 460 …this->execute_positive_test(empty_string, empty_string, empty_string, empty_string, empty_string, … 467 …this->execute_positive_test(*vs, empty_string, empty_string, SOURCE, *fs, *cs, DELETE, GPU5); … 470 …this->execute_positive_test(*vs, SOURCE, *tes, empty_string, *fs, *cs, DELETE, GPU5); … 473 …this->execute_positive_test(*vs, *tcs, SOURCE, empty_string, *fs, *cs, DELETE, GPU5); … 3741 … this->execute_positive_test(empty_string, empty_string, empty_string, empty_string, empty_string, in execute_dispatch_test() 3834 const std::string &compute_shader_source = empty_string; in execute_draw_test() 4651 … this->execute_positive_test(empty_string, empty_string, empty_string, empty_string, empty_string, in execute_dispatch_test() 4745 const std::string &compute_shader_source = empty_string; in execute_draw_test() [all …]
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/nftw/ |
H A D | lib64.c | 247 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()
|
H A D | lib.c | 247 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()
|
/aosp_15_r20/external/google-breakpad/src/common/linux/ |
H A D | synth_elf_unittest.cc | 74 ASSERT_TRUE(table.empty_string.IsKnownConstant()); in TEST_F() 75 EXPECT_EQ(0U, table.empty_string.Value()); in TEST_F() 117 EXPECT_EQ(0U, table.empty_string.Value()); in TEST_F() 118 EXPECT_EQ(table.empty_string.Value(), l3.Value()); in TEST_F()
|
H A D | synth_elf.h | 68 empty_string = Add(""); in Section() 86 Label empty_string; variable
|
/aosp_15_r20/external/webrtc/rtc_base/ |
H A D | string_utils_unittest.cc | 26 char empty_string[] = ""; in TEST() local 27 EXPECT_TRUE(ToUtf16(empty_string, 0u).empty()); in TEST()
|
/aosp_15_r20/external/flatbuffers/tests/rust_usage_test/tests/ |
H A D | more_defaults_test.rs | 18 empty_string: "".to_string(), in object_defaults() 33 assert_eq!(m.empty_string(), ""); in nonpresent_values()
|
/aosp_15_r20/external/cronet/third_party/re2/src/re2/ |
H A D | re2.cc | 76 std::string empty_string; member 82 static inline std::string* empty_string() { in empty_string() function 83 return &reinterpret_cast<EmptyStorage*>(empty_storage)->empty_string; in empty_string() 210 error_ = empty_string(); in Init() 211 error_arg_ = empty_string(); in Init() 302 if (error_arg_ != empty_string()) in ~RE2() 304 if (error_ != empty_string()) in ~RE2()
|
/aosp_15_r20/external/eigen/unsupported/test/ |
H A D | cxx11_tensor_io.cpp | 47 std::string empty_string; in test_output_1d() local 48 VERIFY_IS_EQUAL(std::string(empty_os.str()), empty_string); in test_output_1d()
|
/aosp_15_r20/external/ot-br-posix/third_party/Simple-web-server/repo/ |
H A D | status_code.hpp | 169 static std::string empty_string; in status_code() local 170 return empty_string; in status_code()
|