Home
last modified time | relevance | path

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

123456789

/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 …]
Dmem_map_test.cc157 ASSERT_TRUE(error_msg.empty()); in TEST_F()
166 ASSERT_TRUE(error_msg.empty()); in TEST_F()
194 ASSERT_TRUE(error_msg.empty()); in TEST_F()
213 ASSERT_TRUE(error_msg.empty()); in TEST_F()
233 ASSERT_TRUE(error_msg.empty()); in TEST_F()
244 ASSERT_TRUE(error_msg.empty()); in TEST_F()
255 ASSERT_TRUE(!error_msg.empty()); in TEST_F()
295 ASSERT_TRUE(error_msg.empty()); in TEST_F()
313 ASSERT_FALSE(error_msg.empty()); in TEST_F()
329 ASSERT_FALSE(error_msg.empty()); in TEST_F()
[all …]
Dzip_archive_test.cc37 ASSERT_TRUE(error_msg.empty()); in TEST_F()
40 ASSERT_TRUE(error_msg.empty()); in TEST_F()
48 ASSERT_TRUE(error_msg.empty()); in TEST_F()
Dprebuilt_tools_test.cc44 if (tools_dir.empty()) { in TEST_F()
56 if (tools_dir.empty()) { in TEST_F()
/art/profman/
Dprofman.cc275 if (!profile_files_.empty() && !profile_files_fd_.empty()) { in ParseArgs()
278 if (!reference_profile_file_.empty() && FdIsValid(reference_profile_file_fd_)) { in ParseArgs()
282 if (!apk_files_.empty() && !apks_fd_.empty()) { in ParseArgs()
289 if (profile_files_.empty() && profile_files_fd_.empty()) { in ProcessProfiles()
292 if (reference_profile_file_.empty() && !FdIsValid(reference_profile_file_fd_)) { in ProcessProfiles()
295 if ((!profile_files_.empty() && FdIsValid(reference_profile_file_fd_)) || in ProcessProfiles()
296 (!profile_files_fd_.empty() && !FdIsValid(reference_profile_file_fd_))) { in ProcessProfiles()
301 if (profile_files_.empty()) { in ProcessProfiles()
314 bool use_apk_fd_list = !apks_fd_.empty(); in OpenApkFilesFromLocations()
318 } else if (!apk_files_.empty()) { in OpenApkFilesFromLocations()
[all …]
/art/compiler/linker/arm/
Drelative_patcher_arm_base.cc91 return !offsets_.empty(); in HasReservedOffset()
151 if (!unprocessed_method_call_patches_.empty()) { in ReserveSpaceEnd()
167 if (thunks_.empty()) { in WriteThunks()
181 while (!pending_thunks_.empty() && in WriteThunks()
202 DCHECK(pending_thunks_.empty() || pending_thunks_.front()->GetPendingOffset() > aligned_offset); in WriteThunks()
231 if (unreserved_thunks_.empty() || in ReserveSpaceInternal()
239 if (unreserved_thunks_.empty() || in ReserveSpaceInternal()
251 DCHECK(!unprocessed_method_call_patches_.empty()); in ReserveSpaceInternal()
264 CHECK(unreserved_thunks_.empty() || in ReserveSpaceInternal()
396 DCHECK(!unreserved_thunks_.empty()); in ResolveMethodCalls()
[all …]
/art/runtime/base/
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.cc72 ASSERT_EQ(input.empty(), taref.empty()); in TEST()
104 ASSERT_EQ(input.empty(), taref.empty()); in TEST()
147 ASSERT_EQ(input.empty(), taref.empty()); in TEST()
191 ASSERT_EQ(cinput.empty(), ctaref.empty()); in TEST()
Darray_ref.h128 bool empty() const { return size() == 0u; } in empty() function
143 DCHECK(!empty()); in front()
148 DCHECK(!empty()); in front()
153 DCHECK(!empty()); in back()
158 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()
/art/compiler/debug/dwarf/
Ddwarf_test.h67 if (!debug_info_data_.empty()) { in Objdump()
70 if (!debug_abbrev_data_.empty()) { in Objdump()
73 if (!debug_str_data_.empty()) { in Objdump()
76 if (!debug_line_data_.empty()) { in Objdump()
79 if (!debug_frame_data_.empty()) { in Objdump()
Ddebug_abbrev_writer.h52 DCHECK(current_abbrev_.empty()); in StartAbbrev()
67 DCHECK(!current_abbrev_.empty()); in EndAbbrev()
/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/runtime/arch/
Dinstruction_set_features_test.cc47 if (!dex2oat_isa_variant.empty()) {
75 if (!dex2oat_isa_variant.empty()) {
80 if (!dex2oat_isa_features.empty()) {
123 ASSERT_TRUE(error_msg.empty());
/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/dex2oat/
Ddex2oat.cc773 compiler_options_->boot_image_ = !image_filenames_.empty(); in ProcessOptions()
774 compiler_options_->app_image_ = app_image_fd_ != -1 || !app_image_file_name_.empty(); in ProcessOptions()
780 if (oat_filenames_.empty() && oat_fd_ == -1) { in ProcessOptions()
784 if (input_vdex_fd_ != -1 && !input_vdex_.empty()) { in ProcessOptions()
788 if (output_vdex_fd_ != -1 && !output_vdex_.empty()) { in ProcessOptions()
792 if (!oat_filenames_.empty() && oat_fd_ != -1) { in ProcessOptions()
801 if (!parser_options->oat_symbols.empty() && oat_fd_ != -1) { in ProcessOptions()
805 if (!parser_options->oat_symbols.empty() && is_host_) { in ProcessOptions()
809 if (output_vdex_fd_ != -1 && !image_filenames_.empty()) { in ProcessOptions()
813 if (oat_fd_ != -1 && !image_filenames_.empty()) { in ProcessOptions()
[all …]
/art/compiler/optimizing/
Dpretty_printer.h44 if (!inputs.empty()) { in PrintPostInstruction()
77 if (!predecessors.empty()) { in VisitBasicBlock()
86 if (!successors.empty()) { in VisitBasicBlock()
Dlinear_order.cc85 DCHECK(linear_order->empty()); in LinearizeGraph()
123 } while (!worklist.empty()); in LinearizeGraph()
/art/compiler/utils/
Dtest_dex_file_builder.h39 CHECK(dex_file_data_.empty()); in AddString()
45 CHECK(dex_file_data_.empty()); in AddType()
52 CHECK(dex_file_data_.empty()); in AddField()
62 CHECK(dex_file_data_.empty()); in AddMethod()
83 CHECK(dex_file_data_.empty()); in Build()
110 header->string_ids_off_ = strings_.empty() ? 0u : string_ids_offset; in Build()
119 header->type_ids_off_ = types_.empty() ? 0u : type_ids_offset; in Build()
135 header->proto_ids_off_ = protos_.empty() ? 0u : proto_ids_offset; in Build()
144 header->field_ids_off_ = fields_.empty() ? 0u : field_ids_offset; in Build()
153 header->method_ids_off_ = methods_.empty() ? 0u : method_ids_offset; in Build()
/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/compiler/dex/
Dverified_method.cc104 DCHECK(safe_cast_set_->empty() || safe_cast_set_->back() < dex_pc); in GenerateSafeCastSet()
109 DCHECK(safe_cast_set_ == nullptr || !safe_cast_set_->empty()); in GenerateSafeCastSet()
/art/dexlayout/
Ddexdiag_test.cc65 EXPECT_TRUE(!default_location.empty()); in OpenOatAndVdexFiles()
67 EXPECT_TRUE(!oat_location.empty()); in OpenOatAndVdexFiles()
/art/runtime/gc/collector/
Dpartial_mark_sweep.cc29 : MarkSweep(heap, is_concurrent, name_prefix.empty() ? "partial " : name_prefix) { in PartialMarkSweep()
/art/compiler/debug/
Delf_debug_writer.cc56 if (compilation_units.empty() || source_file != last_source_file) { in WriteDebugInfo()
71 if (!compilation_units.empty()) { in WriteDebugInfo()
81 if (!compilation_units.empty()) { in WriteDebugInfo()
/art/compiler/driver/
Ddex_compilation_unit.cc45 if (symbol_.empty()) { in GetSymbol()

123456789