Home
last modified time | relevance | path

Searched refs:is_empty (Results 1 – 25 of 170) sorted by relevance

1234567

/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/
Dis_empty.pass.cpp33 ASSERT_NOT_NOEXCEPT(is_empty(p, ec)); in TEST_CASE()
34 ASSERT_NOT_NOEXCEPT(is_empty(p)); in TEST_CASE()
41 TEST_CHECK(is_empty(p, ec) == false); in TEST_CASE()
43 TEST_CHECK_THROW(filesystem_error, is_empty(p)); in TEST_CASE()
48 TEST_CHECK(!is_empty(StaticEnv::Dir)); in TEST_CASE()
49 TEST_CHECK(!is_empty(StaticEnv::SymlinkToDir)); in TEST_CASE()
55 TEST_CHECK(is_empty(env.test_root)); in TEST_CASE()
57 TEST_CHECK(!is_empty(env.test_root)); in TEST_CASE()
62 TEST_CHECK(is_empty(StaticEnv::EmptyFile)); in TEST_CASE()
63 TEST_CHECK(!is_empty(StaticEnv::NonEmptyFile)); in TEST_CASE()
[all …]
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_empty.pass.cpp28 static_assert( std::is_empty<T>::value, ""); in test_is_empty()
29 static_assert( std::is_empty<const T>::value, ""); in test_is_empty()
30 static_assert( std::is_empty<volatile T>::value, ""); in test_is_empty()
31 static_assert( std::is_empty<const volatile T>::value, ""); in test_is_empty()
43 static_assert(!std::is_empty<T>::value, ""); in test_is_not_empty()
44 static_assert(!std::is_empty<const T>::value, ""); in test_is_not_empty()
45 static_assert(!std::is_empty<volatile T>::value, ""); in test_is_not_empty()
46 static_assert(!std::is_empty<const volatile T>::value, ""); in test_is_not_empty()
/external/tensorflow/tensorflow/core/framework/
Dvariant.h155 : value_(other.is_empty() ? std::unique_ptr<ValueInterface>() in Variant()
180 bool is_empty() const { return value_ == nullptr; } in is_empty() function
191 if (is_empty()) { in TypeId()
207 if (is_empty() || (TTypeIndex != TypeId())) return nullptr; in get()
216 if (is_empty() || (TTypeIndex != TypeId())) return nullptr; in get()
227 if (is_empty()) { in TypeName()
235 if (!is_empty()) { in Encode()
245 if (!is_empty()) { in Encode()
250 if (!is_empty()) { in Decode()
Dvariant.cc27 if (!is_empty()) { in Decode()
35 if (is_empty()) { in get()
43 if (is_empty()) { in get()
92 if (variant_array[i].is_empty()) { in DecodeVariantList()
/external/mesa3d/src/compiler/glsl/tests/
Dopt_add_neg_to_sub_test.cpp81 ASSERT_FALSE(instructions.is_empty()); in TEST_F()
85 EXPECT_TRUE(instructions.is_empty()); in TEST_F()
114 ASSERT_FALSE(instructions.is_empty()); in TEST_F()
118 EXPECT_TRUE(instructions.is_empty()); in TEST_F()
147 ASSERT_FALSE(instructions.is_empty()); in TEST_F()
151 EXPECT_TRUE(instructions.is_empty()); in TEST_F()
180 ASSERT_FALSE(instructions.is_empty()); in TEST_F()
184 EXPECT_TRUE(instructions.is_empty()); in TEST_F()
Dlower_int64_test.cpp149 ASSERT_FALSE(instructions->is_empty()); in check_instructions()
159 ASSERT_FALSE(instructions->is_empty()); in check_instructions()
168 ASSERT_FALSE(instructions->is_empty()); in check_instructions()
174 ASSERT_FALSE(instructions->is_empty()); in check_instructions()
186 EXPECT_TRUE(instructions->is_empty()); in check_instructions()
427 ASSERT_FALSE(instructions.is_empty()); in TEST_F()
434 ASSERT_FALSE(instructions.is_empty()); in TEST_F()
/external/libchrome/base/
Dunguessable_token.h58 DCHECK(!is_empty()); in GetHighForSerialization()
64 DCHECK(!is_empty()); in GetLowForSerialization()
68 bool is_empty() const { return high_ == 0 && low_ == 0; } in is_empty() function
73 explicit operator bool() const { return !is_empty(); }
/external/google-fruit/include/fruit/impl/
Dfruit-config.h25 …(std::is_trivially_copyable<T>::value || (std::is_empty<T>::value && std::is_trivially_copy_constr…
32 …(__is_trivially_copyable(T) || (std::is_empty<T>::value && std::is_trivially_copy_constructible<T>…
41 …(__has_trivial_copy(T) || (std::is_empty<T>::value && std::is_trivially_copy_constructible<T>::val…
49 …(std::is_trivially_copyable<T>::value || (std::is_empty<T>::value && std::is_trivially_copy_constr…
/external/v8/src/
Dsplay-tree-inl.h26 if (is_empty()) { in Insert()
65 if (is_empty()) in FindInternal()
92 if (is_empty()) in FindGreatestLessThan()
116 if (is_empty()) in FindLeastGreaterThan()
139 if (is_empty()) in FindGreatest()
150 if (is_empty()) in FindLeast()
211 if (is_empty()) in Splay()
/external/mesa3d/src/compiler/glsl/
Dopt_flatten_nested_if_blocks.cpp90 if (ir->then_instructions.is_empty() || !ir->else_instructions.is_empty()) in visit_leave()
95 !inner->else_instructions.is_empty()) in visit_leave()
Dopt_if_simplification.cpp75 if (ir->then_instructions.is_empty() && in visit_leave()
76 ir->else_instructions.is_empty()) { in visit_leave()
119 if (ir->then_instructions.is_empty()) { in visit_leave()
Dir_function_detect_recursion.cpp255 if (f->callers.is_empty() || f->callees.is_empty()) { in remove_unlinked_functions()
256 while (!f->callers.is_empty()) { in remove_unlinked_functions()
261 while (!f->callees.is_empty()) { in remove_unlinked_functions()
Dopt_dead_code.cpp92 if (!entry->assign_list.is_empty()) { in do_dead_code()
101 while (!entry->assign_list.is_empty()) { in do_dead_code()
120 if (entry->assign_list.is_empty()) { in do_dead_code()
Dopt_conditional_discard.cpp67 if (ir->then_instructions.is_empty() || in visit_leave()
70 !ir->else_instructions.is_empty()) in visit_leave()
/external/libchrome/ui/gfx/range/
Drange_unittest.cc30 EXPECT_TRUE(r1.Intersect(r2).is_empty()); in TestContainsAndIntersects()
33 EXPECT_TRUE(r2.Intersect(r1).is_empty()); in TestContainsAndIntersects()
58 EXPECT_TRUE(r.is_empty()); in TYPED_TEST()
70 EXPECT_FALSE(r.is_empty()); in TYPED_TEST()
82 EXPECT_FALSE(r.is_empty()); in TYPED_TEST()
94 EXPECT_TRUE(r.is_empty()); in TYPED_TEST()
106 EXPECT_TRUE(r.is_empty()); in TYPED_TEST()
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/
Dis_empty.cpp23 | rxo::is_empty() in __anon5739343d0102()
65 .is_empty() in __anon5739343d0202()
107 .is_empty() in __anon5739343d0302()
148 .is_empty() in __anon5739343d0402()
/external/v8/src/parsing/
Dfunc-name-inferrer.h53 bool IsOpen() const { return !entries_stack_.is_empty(); } in IsOpen()
71 if (IsOpen() && !funcs_to_infer_.is_empty()) { in RemoveLastFunction()
81 if (!funcs_to_infer_.is_empty()) { in Infer()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-switch_if_empty.hpp65 mutable bool is_empty; member
71 , is_empty(true) in switch_if_empty_observer()
76 is_empty = false; in on_next()
83 if(!is_empty) { in on_completed()
/external/harfbuzz_ng/src/
Dhb-set.hh62 bool is_empty () const in is_empty() function
239 bool is_empty () const in is_empty() function
243 if (!pages[i].is_empty ()) in is_empty()
395 if (page_at (a).is_empty ()) { a++; continue; } in is_equal()
396 if (other->page_at (b).is_empty ()) { b++; continue; } in is_equal()
404 if (!page_at (a).is_empty ()) { return false; } in is_equal()
406 if (!other->page_at (b).is_empty ()) { return false; } in is_equal()
656 if (!page_at (i).is_empty ()) in get_min()
664 if (!page_at (i).is_empty ()) in get_max()
/external/clang/test/Lexer/
Dhas_feature_type_traits.cpp68 #if __has_feature(is_empty)
69 int is_empty();
/external/tensorflow/tensorflow/contrib/ignite/kernels/igfs/
Digfs_extended_tcp_client.cc56 bool is_empty = false; in ReadNullableString() local
57 TF_RETURN_IF_ERROR(ReadBool(&is_empty)); in ReadNullableString()
59 if (!is_empty) { in ReadNullableString()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/
D5-1.c27 int is_empty(sigset_t * set) in is_empty() function
75 if (is_empty(&mask) != 1) { in main()
/external/strace/tests-m32/
Ds390_sthyi.c172 is_empty(unsigned char *ptr, size_t size) in is_empty() function
277 if (hdr_size > 32 && !is_empty(cur + 32, hdr_size - 32)) { in print_hypervisor_header()
453 if (hdr_size > 56 && !is_empty(cur + 56, hdr_size - 56)) { in print_guest_header()
546 if (hdr_size > 44 && !is_empty(buf + 44, hdr_size - 44)) { in print_sthyi()
607 if (hdr_size > 60 && !is_empty(cur + 60, hdr_size - 60)) { in print_sthyi()
709 if (hdr_size > 56 && !is_empty(cur + 56, hdr_size - 56)) { in print_sthyi()
/external/strace/tests-mx32/
Ds390_sthyi.c172 is_empty(unsigned char *ptr, size_t size) in is_empty() function
277 if (hdr_size > 32 && !is_empty(cur + 32, hdr_size - 32)) { in print_hypervisor_header()
453 if (hdr_size > 56 && !is_empty(cur + 56, hdr_size - 56)) { in print_guest_header()
546 if (hdr_size > 44 && !is_empty(buf + 44, hdr_size - 44)) { in print_sthyi()
607 if (hdr_size > 60 && !is_empty(cur + 60, hdr_size - 60)) { in print_sthyi()
709 if (hdr_size > 56 && !is_empty(cur + 56, hdr_size - 56)) { in print_sthyi()
/external/strace/tests/
Ds390_sthyi.c172 is_empty(unsigned char *ptr, size_t size) in is_empty() function
277 if (hdr_size > 32 && !is_empty(cur + 32, hdr_size - 32)) { in print_hypervisor_header()
453 if (hdr_size > 56 && !is_empty(cur + 56, hdr_size - 56)) { in print_guest_header()
546 if (hdr_size > 44 && !is_empty(buf + 44, hdr_size - 44)) { in print_sthyi()
607 if (hdr_size > 60 && !is_empty(cur + 60, hdr_size - 60)) { in print_sthyi()
709 if (hdr_size > 56 && !is_empty(cur + 56, hdr_size - 56)) { in print_sthyi()

1234567