Home
last modified time | relevance | path

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

1234567891011

/art/runtime/
Dcha_test.cc39 ASSERT_TRUE(cha.GetDependents(METHOD1).empty()); in TEST_F()
40 ASSERT_TRUE(cha.GetDependents(METHOD2).empty()); in TEST_F()
41 ASSERT_TRUE(cha.GetDependents(METHOD3).empty()); in TEST_F()
44 ASSERT_TRUE(cha.GetDependents(METHOD2).empty()); in TEST_F()
45 ASSERT_TRUE(cha.GetDependents(METHOD3).empty()); in TEST_F()
52 ASSERT_TRUE(cha.GetDependents(METHOD2).empty()); in TEST_F()
53 ASSERT_TRUE(cha.GetDependents(METHOD3).empty()); in TEST_F()
64 ASSERT_TRUE(cha.GetDependents(METHOD2).empty()); in TEST_F()
65 ASSERT_TRUE(cha.GetDependents(METHOD3).empty()); in TEST_F()
72 ASSERT_TRUE(cha.GetDependents(METHOD3).empty()); in TEST_F()
[all …]
Dprebuilt_tools_test.cc44 if (tools_dir.empty()) { in TEST_F()
56 if (tools_dir.empty()) { in TEST_F()
/art/profman/
Dprofman.cc325 if (!profile_files_.empty() && !profile_files_fd_.empty()) { in ParseArgs()
328 if (!reference_profile_file_.empty() && FdIsValid(reference_profile_file_fd_)) { in ParseArgs()
332 if (!apk_files_.empty() && !apks_fd_.empty()) { in ParseArgs()
355 if (profile_files_.empty() && profile_files_fd_.empty()) { in ProcessProfiles()
358 if (reference_profile_file_.empty() && !FdIsValid(reference_profile_file_fd_)) { in ProcessProfiles()
361 if ((!profile_files_.empty() && FdIsValid(reference_profile_file_fd_)) || in ProcessProfiles()
362 (!profile_files_fd_.empty() && !FdIsValid(reference_profile_file_fd_))) { in ProcessProfiles()
377 if (profile_filter_keys.empty()) { in ProcessProfiles()
389 if (profile_files_.empty()) { in ProcessProfiles()
426 bool use_apk_fd_list = !apks_fd_.empty(); in OpenApkFilesFromLocations()
[all …]
/art/libdexfile/external/
Ddex_file_supp_test.cc59 EXPECT_TRUE(std::string_view(s).empty()); in TEST()
65 EXPECT_TRUE(std::string_view(s1).empty()); in TEST()
72 EXPECT_TRUE(std::string_view(s2).empty()); in TEST()
74 EXPECT_TRUE(std::string_view(s1).empty()); in TEST()
114 EXPECT_TRUE(error_msg.empty()); in TEST()
122 EXPECT_TRUE(error_msg.empty()); in TEST()
129 EXPECT_TRUE(error_msg.empty()); in GetTestDexData()
146 EXPECT_FALSE(error_msg.empty()); in TEST()
158 EXPECT_FALSE(error_msg.empty()); in TEST()
169 EXPECT_TRUE(error_msg.empty()); in TEST()
[all …]
/art/compiler/debug/
Ddebug_info.h39 return compiled_methods.empty() && dex_files.empty(); in Empty()
/art/libartbase/base/
Dzip_archive_test.cc38 ASSERT_TRUE(error_msg.empty()); in TEST_F()
41 ASSERT_TRUE(error_msg.empty()); in TEST_F()
49 ASSERT_TRUE(error_msg.empty()); in TEST_F()
Dmem_map_test.cc333 ASSERT_FALSE(error_msg.empty()); in TEST_F()
342 ASSERT_TRUE(error_msg.empty()); in TEST_F()
369 ASSERT_FALSE(error_msg.empty()); in TEST_F()
378 ASSERT_TRUE(error_msg.empty()); in TEST_F()
397 ASSERT_TRUE(error_msg.empty()); in TEST_F()
424 ASSERT_TRUE(error_msg.empty()); in TEST_F()
433 ASSERT_TRUE(error_msg.empty()); in TEST_F()
445 ASSERT_TRUE(!error_msg.empty()); in TEST_F()
481 ASSERT_TRUE(error_msg.empty()); in TEST_F()
497 ASSERT_TRUE(error_msg.empty()); in TEST_F()
[all …]
Darray_slice.h74 bool empty() const { return size() == 0u; } in empty() function
89 DCHECK(!empty()); in front()
94 DCHECK(!empty()); in front()
99 DCHECK(!empty()); in back()
104 DCHECK(!empty()); in back()
Dtransform_array_ref_test.cc71 ASSERT_EQ(input.empty(), taref.empty()); in TEST()
103 ASSERT_EQ(input.empty(), taref.empty()); in TEST()
146 ASSERT_EQ(input.empty(), taref.empty()); in TEST()
190 ASSERT_EQ(cinput.empty(), ctaref.empty()); in TEST()
Darray_ref.h134 bool empty() const { return size() == 0u; } in empty() function
149 DCHECK(!empty()); in front()
154 DCHECK(!empty()); in front()
159 DCHECK(!empty()); in back()
164 DCHECK(!empty()); in back()
Ddchecked_vector.h113 using Base::empty;
132 reference front() { DCHECK(!empty()); return Base::front(); } in front()
133 const_reference front() const { DCHECK(!empty()); return Base::front(); } in front()
134 reference back() { DCHECK(!empty()); return Base::back(); } in back()
135 const_reference back() const { DCHECK(!empty()); return Base::back(); } in back()
144 void pop_back() { DCHECK(!empty()); Base::pop_back(); } in pop_back()
Dhash_set_test.cc38 return item.empty(); in IsEmpty()
71 ASSERT_TRUE(hash_set.empty()); in TEST_F()
78 ASSERT_TRUE(hash_set.empty()); in TEST_F()
240 ASSERT_TRUE(hash_set.empty()); in TEST_F()
241 ASSERT_TRUE(std_set.empty()); in TEST_F()
267 return pair.first.empty(); in IsEmpty()
288 return item.empty(); in IsEmpty()
/art/compiler/debug/dwarf/
Ddwarf_test.h69 if (!debug_info_data_.empty()) { in Objdump()
72 if (!debug_abbrev_data_.empty()) { in Objdump()
75 if (!debug_str_data_.empty()) { in Objdump()
78 if (!debug_line_data_.empty()) { in Objdump()
81 if (!debug_frame_data_.empty()) { in Objdump()
/art/test/530-checker-loops1/src/
DMain.java728 int[] empty = { }; in main() local
732 expectEquals(0, linear(empty)); in main()
734 expectEquals(0, linearDown(empty)); in main()
736 expectEquals(0, linearObscure(empty)); in main()
738 expectEquals(0, linearVeryObscure(empty)); in main()
740 expectEquals(0, hiddenStride(empty)); in main()
742 expectEquals(0, linearWhile(empty)); in main()
744 expectEquals(0, linearThreeWayPhi(empty)); in main()
746 expectEquals(0, linearFourWayPhi(empty)); in main()
748 expectEquals(0, wrapAroundThenLinear(empty)); in main()
[all …]
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.cc99 return !offsets_.empty(); in HasReservedOffset()
179 if (!unprocessed_method_call_patches_.empty()) { in ReserveSpaceEnd()
195 if (thunks_.empty()) { in WriteThunks()
209 while (!pending_thunks_.empty() && in WriteThunks()
230 DCHECK(pending_thunks_.empty() || pending_thunks_.front()->GetPendingOffset() > aligned_offset); in WriteThunks()
302 if (unreserved_thunks_.empty() || in ReserveSpaceInternal()
310 if (unreserved_thunks_.empty() || in ReserveSpaceInternal()
322 DCHECK(!unprocessed_method_call_patches_.empty()); in ReserveSpaceInternal()
335 CHECK(unreserved_thunks_.empty() || in ReserveSpaceInternal()
467 DCHECK(!unreserved_thunks_.empty()); in ResolveMethodCalls()
[all …]
/art/runtime/arch/
Dinstruction_set_features_test.cc49 if (!dex2oat_isa_variant.empty()) {
77 if (!dex2oat_isa_variant.empty()) {
82 if (!dex2oat_isa_features.empty()) {
125 ASSERT_TRUE(error_msg.empty());
262 EXPECT_TRUE(error_msg.empty()) << error_msg;
301 EXPECT_TRUE(error_msg.empty()) << error_msg;
/art/dex2oat/
Ddex2oat.cc767 if (!image_filenames_.empty()) { in ProcessOptions()
774 if (app_image_fd_ != -1 || !app_image_file_name_.empty()) { in ProcessOptions()
781 if (oat_filenames_.empty() && oat_fd_ == -1) { in ProcessOptions()
785 if (input_vdex_fd_ != -1 && !input_vdex_.empty()) { in ProcessOptions()
789 if (output_vdex_fd_ != -1 && !output_vdex_.empty()) { in ProcessOptions()
793 if (!oat_filenames_.empty() && oat_fd_ != -1) { in ProcessOptions()
802 if (!parser_options->oat_symbols.empty() && oat_fd_ != -1) { in ProcessOptions()
806 if (!parser_options->oat_symbols.empty() && is_host_) { in ProcessOptions()
810 if (output_vdex_fd_ != -1 && !image_filenames_.empty()) { in ProcessOptions()
814 if (oat_fd_ != -1 && !image_filenames_.empty()) { in ProcessOptions()
[all …]
/art/test/098-ddmc/
Dexpected.txt1 Confirm empty
2 empty=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: …
12 Disable and confirm back to empty
/art/compiler/optimizing/
Dpretty_printer.h44 if (!inputs.empty()) { in PrintPostInstruction()
77 if (!predecessors.empty()) { in VisitBasicBlock()
86 if (!successors.empty()) { in VisitBasicBlock()
/art/libdexfile/dex/
Dtest_dex_file_builder.h42 CHECK(dex_file_data_.empty()); in AddString()
48 CHECK(dex_file_data_.empty()); in AddType()
55 CHECK(dex_file_data_.empty()); in AddField()
65 CHECK(dex_file_data_.empty()); in AddMethod()
86 CHECK(dex_file_data_.empty()); in Build()
113 header->string_ids_off_ = strings_.empty() ? 0u : string_ids_offset; in Build()
122 header->type_ids_off_ = types_.empty() ? 0u : type_ids_offset; in Build()
138 header->proto_ids_off_ = protos_.empty() ? 0u : proto_ids_offset; in Build()
147 header->field_ids_off_ = fields_.empty() ? 0u : field_ids_offset; in Build()
156 header->method_ids_off_ = methods_.empty() ? 0u : method_ids_offset; in Build()
/art/libelffile/dwarf/
Ddebug_abbrev_writer.h52 DCHECK(current_abbrev_.empty()); in StartAbbrev()
67 DCHECK(!current_abbrev_.empty()); in EndAbbrev()
/art/runtime/gc/space/
Dimage_space_test.cc153 EXPECT_FALSE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F()
158 EXPECT_FALSE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F()
163 EXPECT_FALSE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F()
205 EXPECT_TRUE(Runtime::Current()->GetHeap()->GetBootImageSpaces().empty()); in TEST_F()
/art/compiler/dex/
Dverified_method.cc102 DCHECK(safe_cast_set_->empty() || safe_cast_set_->back() < dex_pc); in GenerateSafeCastSet()
107 DCHECK(safe_cast_set_ == nullptr || !safe_cast_set_->empty()); in GenerateSafeCastSet()
/art/test/080-oom-fragmentation/
Dinfo.txt1 Test that the allocator can go from a full heap to an empty one and is able to allocate a large
/art/runtime/verifier/
Dmethod_verifier-inl.h42 return !failure_messages_.empty(); in HasFailures()

1234567891011