Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 8754) sorted by relevance

12345678910>>...351

/external/libcxx/test/std/containers/views/span.obs/
Dempty.pass.cpp30 static_assert( noexcept(std::span<int> ().empty()), ""); in main()
31 static_assert( noexcept(std::span<int, 0>().empty()), ""); in main()
34 static_assert( std::span<int>().empty(), ""); in main()
35 static_assert( std::span<long>().empty(), ""); in main()
36 static_assert( std::span<double>().empty(), ""); in main()
37 static_assert( std::span<A>().empty(), ""); in main()
38 static_assert( std::span<std::string>().empty(), ""); in main()
40 static_assert( std::span<int, 0>().empty(), ""); in main()
41 static_assert( std::span<long, 0>().empty(), ""); in main()
42 static_assert( std::span<double, 0>().empty(), ""); in main()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/views/views.span/span.obs/
Dempty.pass.cpp28 static_assert( noexcept(std::span<int> ().empty()), ""); in main()
29 static_assert( noexcept(std::span<int, 0>().empty()), ""); in main()
32 static_assert( std::span<int>().empty(), ""); in main()
33 static_assert( std::span<long>().empty(), ""); in main()
34 static_assert( std::span<double>().empty(), ""); in main()
35 static_assert( std::span<A>().empty(), ""); in main()
36 static_assert( std::span<std::string>().empty(), ""); in main()
38 static_assert( std::span<int, 0>().empty(), ""); in main()
39 static_assert( std::span<long, 0>().empty(), ""); in main()
40 static_assert( std::span<double, 0>().empty(), ""); in main()
[all …]
/external/rust/crates/anes/tests/parser/
Dkey.rs9 Sequence::Key(KeyCode::F(1), KeyModifiers::empty()), in esc_o_f_keys()
11 Sequence::Key(KeyCode::F(2), KeyModifiers::empty()), in esc_o_f_keys()
13 Sequence::Key(KeyCode::F(3), KeyModifiers::empty()), in esc_o_f_keys()
15 Sequence::Key(KeyCode::F(4), KeyModifiers::empty()), in esc_o_f_keys()
23 Sequence::Key(KeyCode::Up, KeyModifiers::empty()), in csi_key_codes()
25 Sequence::Key(KeyCode::Down, KeyModifiers::empty()), in csi_key_codes()
27 Sequence::Key(KeyCode::Right, KeyModifiers::empty()), in csi_key_codes()
29 Sequence::Key(KeyCode::Left, KeyModifiers::empty()), in csi_key_codes()
31 Sequence::Key(KeyCode::Home, KeyModifiers::empty()), in csi_key_codes()
33 Sequence::Key(KeyCode::End, KeyModifiers::empty()), in csi_key_codes()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/toolchains/bazel_0.26.0_rbe_windows/
DBUILD26 name = "empty",
46 all_files = ":empty",
47 ar_files = ":empty",
48 as_files = ":empty",
49 compiler_files = ":empty",
50 dwp_files = ":empty",
51 linker_files = ":empty",
52 objcopy_files = ":empty",
53 strip_files = ":empty",
82 all_files = ":empty",
[all …]
/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS1IntervalTest.java75 S1Interval empty = S1Interval.empty(); in testBasic() local
76 assertTrue(empty.isValid() && empty.isEmpty() && !empty.isFull()); in testBasic()
77 assertTrue(empty.isInverted()); in testBasic()
100 assertTrue(empty.getLength() < 0); in testBasic()
104 assertTrue(empty.complement().isFull()); in testBasic()
116 assertTrue(!empty.contains(0) && !empty.contains(S2.M_PI) && !empty.contains(-S2.M_PI)); in testBasic()
117 assertTrue(!empty.interiorContains(S2.M_PI) && !empty.interiorContains(-S2.M_PI)); in testBasic()
142 testIntervalOps(empty, empty, "TTFF", empty, empty); in testBasic()
143 testIntervalOps(empty, full, "FFFF", full, empty); in testBasic()
144 testIntervalOps(empty, zero, "FFFF", zero, empty); in testBasic()
[all …]
/external/llvm/test/CodeGen/PowerPC/
Demptystruct.ll3 ; This tests correct handling of empty aggregate parameters and return values.
4 ; An empty parameter passed by value does not consume a protocol register or
5 ; a parameter save area doubleword. An empty parameter passed by reference
6 ; is treated as any other pointer parameter. An empty aggregate return value
15 %struct.empty = type {}
17 define void @callee(%struct.empty* noalias sret %agg.result, %struct.empty* byval %a1, %struct.empt…
19 %a2.addr = alloca %struct.empty*, align 8
20 store %struct.empty* %a2, %struct.empty** %a2.addr, align 8
21 %0 = load %struct.empty*, %struct.empty** %a2.addr, align 8
22 %1 = bitcast %struct.empty* %agg.result to i8*
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.access/
Dempty.pass.cpp20 using RangeEmptyT = decltype(std::ranges::empty);
37 static_assert(!std::ranges::empty(array_of_incomplete));
38 static_assert(!std::ranges::empty(std::move(array_of_incomplete)));
39 static_assert(!std::ranges::empty(std::as_const(array_of_incomplete)));
40 static_assert(!std::ranges::empty(static_cast<const Incomplete(&&)[42]>(array_of_incomplete)));
49 bool empty();
54 constexpr bool empty() const { return true; } in empty() function
56 friend bool empty(const HasMemberAndFunction&) { return false; } in empty() function
60 BadReturnType empty() { return {}; } in empty() function
68 constexpr BoolConvertible empty() noexcept { return {}; } in empty() function
[all …]
/external/mesa3d/src/compiler/glsl/glcpp/tests/
D068-accidental-pasting.c1 #define empty macro
2 <empty<
3 <empty=
4 >empty>
5 >empty=
6 =empty=
7 !empty=
8 &empty&
9 |empty|
10 +empty+
[all …]
/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp140 EXPECT_FALSE(M->getFunction("func")->empty()); in TEST()
168 EXPECT_TRUE(F->empty()); in TEST()
169 EXPECT_TRUE(G->empty()); in TEST()
170 EXPECT_TRUE(H->empty()); in TEST()
171 EXPECT_TRUE(J->empty()); in TEST()
176 EXPECT_TRUE(F->empty()); in TEST()
177 EXPECT_TRUE(G->empty()); in TEST()
178 EXPECT_FALSE(H->empty()); in TEST()
179 EXPECT_TRUE(J->empty()); in TEST()
184 EXPECT_TRUE(F->empty()); in TEST()
[all …]
/external/rust/crates/vulkano/src/pipeline/graphics_pipeline/
Dtests.rs45 ShaderInterface::empty(), in create()
46 ShaderInterface::empty(), in create()
47 PipelineLayoutDesc::empty(), in create()
59 ShaderInterface::empty(), in create()
60 ShaderInterface::empty(), in create()
61 PipelineLayoutDesc::empty(), in create()
95 ShaderInterface::empty(), in bad_primitive_restart()
96 ShaderInterface::empty(), in bad_primitive_restart()
97 PipelineLayoutDesc::empty(), in bad_primitive_restart()
112 ShaderInterface::empty(), in bad_primitive_restart()
[all …]
/external/rust/crates/der-parser/tests/
Dder_parser.rs19 let empty = &b""[..]; in test_der_bool() localVariable
22 assert_eq!(parse_der_bool(&[0x01, 0x01, 0x00]), Ok((empty, b_false))); in test_der_bool()
23 assert_eq!(parse_der_bool(&[0x01, 0x01, 0xff]), Ok((empty, b_true))); in test_der_bool()
32 let empty = &b""[..]; in test_der_int() localVariable
35 assert_eq!(parse_der_integer(&bytes), Ok((empty, expected))); in test_der_int()
54 let empty = &b""[..]; in test_der_bitstring_primitive() localVariable
63 assert_eq!(parse_der_bitstring(bytes), Ok((empty, expected))); in test_der_bitstring_primitive()
102 let empty = &b""[..]; in test_der_octetstring_primitive() localVariable
105 assert_eq!(parse_der_octetstring(&bytes), Ok((empty, expected))); in test_der_octetstring_primitive()
110 let empty = &b""[..]; in test_der_null() localVariable
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.empty/
Dempty_view.pass.cpp25 std::ranges::empty_view<T> empty; in testType() local
27 assert(empty.begin() == nullptr); in testType()
28 assert(empty.end() == nullptr); in testType()
29 assert(empty.data() == nullptr); in testType()
30 assert(empty.size() == 0); in testType()
31 assert(empty.empty() == true); in testType()
33 assert(std::ranges::begin(empty) == nullptr); in testType()
34 assert(std::ranges::end(empty) == nullptr); in testType()
35 assert(std::ranges::data(empty) == nullptr); in testType()
36 assert(std::ranges::size(empty) == 0); in testType()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/sequences/vector/vector.capacity/
Dempty.pass.cpp25 ASSERT_NOEXCEPT(c.empty()); in tests()
26 assert(c.empty()); in tests()
28 assert(!c.empty()); in tests()
30 assert(c.empty()); in tests()
36 ASSERT_NOEXCEPT(c.empty()); in tests()
37 assert(c.empty()); in tests()
39 assert(!c.empty()); in tests()
41 assert(c.empty()); in tests()
46 ASSERT_NOEXCEPT(c.empty()); in tests()
47 assert(c.empty()); in tests()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DExpression.java569 return Optional.empty(); in toAnnotationExpr()
574 return Optional.empty(); in toArrayAccessExpr()
579 return Optional.empty(); in toArrayCreationExpr()
584 return Optional.empty(); in toArrayInitializerExpr()
589 return Optional.empty(); in toAssignExpr()
594 return Optional.empty(); in toBinaryExpr()
599 return Optional.empty(); in toBooleanLiteralExpr()
604 return Optional.empty(); in toCastExpr()
609 return Optional.empty(); in toCharLiteralExpr()
614 return Optional.empty(); in toClassExpr()
[all …]
/external/curl/tests/unit/
Dunit1620.c46 struct Curl_easy *empty; variable
53 rc = Curl_open(&empty);
58 rc = Curl_connect(empty, &async, &protocol_connect);
62 fail_unless(empty->magic == CURLEASY_MAGIC_NUMBER,
66 rc = Curl_connect(empty, &async, &protocol_connect);
70 rc = Curl_init_userdefined(empty);
73 rc = Curl_init_do(empty, empty->conn);
81 Curl_freeset(empty);
83 fail_unless(empty->set.str[i] == NULL,
87 Curl_free_request_state(empty);
[all …]
/external/pdfium/core/fxcrt/
Dbytestring_unittest.cpp142 ByteString empty; in TEST() local
156 EXPECT_FALSE(empty < empty); in TEST()
160 EXPECT_FALSE(c_null < empty); in TEST()
161 EXPECT_FALSE(c_empty < empty); in TEST()
165 EXPECT_FALSE(empty < c_null); in TEST()
166 EXPECT_FALSE(empty < c_empty); in TEST()
170 EXPECT_FALSE(empty < v_empty); in TEST()
175 EXPECT_TRUE(empty < a); in TEST()
176 EXPECT_FALSE(a < empty); in TEST()
179 EXPECT_FALSE(c_a < empty); in TEST()
[all …]
Dwidestring_unittest.cpp135 WideString empty; in TEST() local
152 EXPECT_FALSE(empty < empty); in TEST()
156 EXPECT_FALSE(c_null < empty); in TEST()
157 EXPECT_FALSE(c_empty < empty); in TEST()
161 EXPECT_FALSE(empty < c_null); in TEST()
162 EXPECT_FALSE(empty < c_empty); in TEST()
166 EXPECT_FALSE(empty < v_empty); in TEST()
171 EXPECT_TRUE(empty < a); in TEST()
172 EXPECT_FALSE(a < empty); in TEST()
175 EXPECT_FALSE(c_a < empty); in TEST()
[all …]
/external/smali/smalidea/testData/
DInvalidMethod2.txt4 <empty list>
6 <empty list>
11 <empty list>
23 <empty list>
27 <empty list>
33 <empty list>
35 <empty list>
37 <empty list>
40 <empty list>
43 <empty list>
[all …]
DInvalidMethod3.txt4 <empty list>
6 <empty list>
9 <empty list>
13 <empty list>
19 <empty list>
29 <empty list>
33 <empty list>
39 <empty list>
50 <empty list>
54 <empty list>
[all …]
/external/vulkan-validation-layers/layers/generated/
Dvk_enum_string_helper.h1467 if( !ret.empty()) ret.append("|"); in string_VkFormatFeatureFlags()
1473 …if( ret.empty()) ret.append(string_VkFormatFeatureFlagBits(static_cast<VkFormatFeatureFlagBits>(0)… in string_VkFormatFeatureFlags()
1542 if( !ret.empty()) ret.append("|"); in string_VkImageUsageFlags()
1548 if( ret.empty()) ret.append(string_VkImageUsageFlagBits(static_cast<VkImageUsageFlagBits>(0))); in string_VkImageUsageFlags()
1597 if( !ret.empty()) ret.append("|"); in string_VkImageCreateFlags()
1603 … if( ret.empty()) ret.append(string_VkImageCreateFlagBits(static_cast<VkImageCreateFlagBits>(0))); in string_VkImageCreateFlags()
1636 if( !ret.empty()) ret.append("|"); in string_VkSampleCountFlags()
1642 … if( ret.empty()) ret.append(string_VkSampleCountFlagBits(static_cast<VkSampleCountFlagBits>(0))); in string_VkSampleCountFlags()
1690 if( !ret.empty()) ret.append("|"); in string_VkQueueFlags()
1696 if( ret.empty()) ret.append(string_VkQueueFlagBits(static_cast<VkQueueFlagBits>(0))); in string_VkQueueFlags()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/language.support/support.srcloc/
Dgeneral.pass.cpp36 constexpr std::source_location empty; variable
37 static_assert(empty.line() == 0);
38 static_assert(empty.column() == 0);
39 static_assert(empty.file_name()[0] == '\0');
40 static_assert(empty.function_name()[0] == '\0');
42 ASSERT_NOEXCEPT(empty.line());
43 ASSERT_NOEXCEPT(empty.column());
44 ASSERT_NOEXCEPT(empty.file_name());
45 ASSERT_NOEXCEPT(empty.function_name());
46 std::same_as<std::uint_least32_t> auto line = empty.line();
[all …]
/external/cronet/net/data/cache_tests/list_loop2/
Dcontents.txt40 empty sz 1: 1
41 empty sz 2: 0
42 empty sz 3: 0
43 empty sz 4: 255
59 empty sz 1: 0
60 empty sz 2: 0
61 empty sz 3: 1
62 empty sz 4: 254
78 empty sz 1: 0
79 empty sz 2: 0
[all …]
/external/jackson-annotations/src/test/java/com/fasterxml/jackson/annotation/
DFormatTest.java12 private final JsonFormat.Value EMPTY = JsonFormat.Value.empty();
18 JsonFormat.Value empty = JsonFormat.Value.empty(); in testEmptyInstanceDefaults() local
20 assertNull(empty.getFeature(f)); in testEmptyInstanceDefaults()
22 assertFalse(empty.hasLocale()); in testEmptyInstanceDefaults()
23 assertFalse(empty.hasPattern()); in testEmptyInstanceDefaults()
24 assertFalse(empty.hasShape()); in testEmptyInstanceDefaults()
25 assertFalse(empty.hasTimeZone()); in testEmptyInstanceDefaults()
26 assertFalse(empty.hasLenient()); in testEmptyInstanceDefaults()
28 assertFalse(empty.isLenient()); in testEmptyInstanceDefaults()
152 JsonFormat.Value empty = JsonFormat.Value.empty(); in testLeniency() local
[all …]
/external/llvm/test/CodeGen/X86/
Dcpus.ll10 …x86_64-unknown-unknown -mcpu=nocona 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
11 …=x86_64-unknown-unknown -mcpu=core2 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
12 …x86_64-unknown-unknown -mcpu=penryn 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
13 …86_64-unknown-unknown -mcpu=nehalem 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
14 …6_64-unknown-unknown -mcpu=westmere 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
15 …4-unknown-unknown -mcpu=sandybridge 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
16 …_64-unknown-unknown -mcpu=ivybridge 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
17 …86_64-unknown-unknown -mcpu=haswell 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
18 …_64-unknown-unknown -mcpu=broadwell 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
19 …86_64-unknown-unknown -mcpu=bonnell 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR --allow-empty
[all …]
/external/tensorflow/tensorflow/lite/java/ovic/src/testdata/
Dcoco_labels.txt12 empty
26 empty
29 empty
30 empty
45 empty
66 empty
68 empty
69 empty
71 empty
83 empty
[all …]

12345678910>>...351