/art/libartbase/ |
D | Android.bp | 23 "base/allocator.cc", 24 "base/arena_allocator.cc", 25 "base/arena_bit_vector.cc", 26 "base/bit_vector.cc", 27 "base/enums.cc", 28 "base/file_magic.cc", 29 "base/file_utils.cc", 30 "base/hex_dump.cc", 31 "base/hiddenapi_flags.cc", 32 "base/logging.cc", [all …]
|
/art/test/1953-pop-frame/ |
D | expected.txt | 2 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 3 result is StandardTestObject { cnt: 2 } base-call count: 1 5 Single call with PopFrame on SynchronizedFunctionTestObject { cnt: 0 } base-call-count: 0 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 8 Single call with PopFrame on SynchronizedTestObject { cnt: 0 } base-call-count: 0 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 11 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 12 result is StandardTestObject { cnt: 2 } base-call count: 1 14 Single call with PopFrame on FieldBasedTestObject { cnt: 0, TARGET_FIELD: 0 } base-call-count: 0 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 [all …]
|
/art/test/1954-pop-frame-jit/ |
D | expected.txt | 2 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 3 result is StandardTestObject { cnt: 2 } base-call count: 1 5 Single call with PopFrame on SynchronizedFunctionTestObject { cnt: 0 } base-call-count: 0 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 8 Single call with PopFrame on SynchronizedTestObject { cnt: 0 } base-call-count: 0 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 11 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 12 result is StandardTestObject { cnt: 2 } base-call count: 1 14 Single call with PopFrame on FieldBasedTestObject { cnt: 0, TARGET_FIELD: 0 } base-call-count: 0 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 [all …]
|
/art/test/1955-pop-frame-jit-called/ |
D | expected.txt | 2 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 3 result is StandardTestObject { cnt: 2 } base-call count: 1 5 Single call with PopFrame on SynchronizedFunctionTestObject { cnt: 0 } base-call-count: 0 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 8 Single call with PopFrame on SynchronizedTestObject { cnt: 0 } base-call-count: 0 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 11 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 12 result is StandardTestObject { cnt: 2 } base-call count: 1 14 Single call with PopFrame on FieldBasedTestObject { cnt: 0, TARGET_FIELD: 0 } base-call-count: 0 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 [all …]
|
/art/test/1956-pop-frame-jit-calling/ |
D | expected.txt | 2 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 3 result is StandardTestObject { cnt: 2 } base-call count: 1 5 Single call with PopFrame on SynchronizedFunctionTestObject { cnt: 0 } base-call-count: 0 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 8 Single call with PopFrame on SynchronizedTestObject { cnt: 0 } base-call-count: 0 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 11 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 12 result is StandardTestObject { cnt: 2 } base-call count: 1 14 Single call with PopFrame on FieldBasedTestObject { cnt: 0, TARGET_FIELD: 0 } base-call-count: 0 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 [all …]
|
/art/runtime/arch/arm64/ |
D | asm_support_arm64.S | 106 .macro SAVE_TWO_REGS_BASE base, reg1, reg2, offset 107 stp \reg1, \reg2, [\base, #(\offset)] 116 .macro RESTORE_TWO_REGS_BASE base, reg1, reg2, offset 117 ldp \reg1, \reg2, [\base, #(\offset)] 201 .macro SETUP_SAVE_REFS_AND_ARGS_FRAME_INTERNAL base argument 209 stp d0, d1, [\base, #16] 210 stp d2, d3, [\base, #32] 211 stp d4, d5, [\base, #48] 212 stp d6, d7, [\base, #64] 215 SAVE_TWO_REGS_BASE \base, x1, x2, 80 [all …]
|
/art/libartbase/base/ |
D | transform_array_ref.h | 70 TransformArrayRef(const ArrayRef<OtherBT>& base, Function fn) in TransformArrayRef() argument 71 : data_(base, fn) { } in TransformArrayRef() 76 : TransformArrayRef(other.base(), other.GetFunction()) { } in TransformArrayRef() 85 return *this = TransformArrayRef(other.base(), other.GetFunction()); 92 iterator begin() { return MakeIterator(base().begin()); } in begin() 93 const_iterator begin() const { return MakeIterator(base().cbegin()); } in begin() 94 const_iterator cbegin() const { return MakeIterator(base().cbegin()); } in cbegin() 95 iterator end() { return MakeIterator(base().end()); } in end() 96 const_iterator end() const { MakeIterator(base().cend()); } in end() 97 const_iterator cend() const { return MakeIterator(base().cend()); } in cend() [all …]
|
D | transform_iterator.h | 61 TransformIterator(BaseIterator base, Function fn) in TransformIterator() argument 62 : data_(base, fn) { } in TransformIterator() 66 : data_(other.base(), other.GetFunction()) { in TransformIterator() 96 return GetFunction()(*base()); 104 return GetFunction()(base()[n]); 112 return TransformIterator(base() + n, GetFunction()); 120 return TransformIterator(base() - n, GetFunction()); 128 return base() - other.base(); 132 BaseIterator base() const { in base() function 145 Data(BaseIterator base, Function fn) : Function(fn), base_(base) { } in Data() [all …]
|
D | logging.h | 29 using ::android::base::LogSeverity; 30 using ::android::base::ScopedLogSeverity; 95 android::base::LogSeverity severity, 104 bool PrintFileToLog(const std::string& file_name, android::base::LogSeverity level); 120 ::android::base::LogSeverity severity, in VlogMessage() 125 msg_.emplace<::android::base::LogMessage>(file, line, severity, tag, error); in VlogMessage() 133 return std::get<::android::base::LogMessage>(msg_).stream(); in stream() 138 std::variant<::android::base::LogMessage, std::ostringstream> msg_; 147 ::android::base::INFO, \
|
/art/compiler/utils/arm/ |
D | assembler_arm_vixl.cc | 149 vixl32::Register base, in AdjustLoadStoreOffset() argument 154 ___ Add(temp, base, add_to_base); in AdjustLoadStoreOffset() 158 ___ Add(temp, temp, base); in AdjustLoadStoreOffset() 246 vixl32::Register base, in StoreToOffset() argument 252 CHECK_NE(base.GetCode(), kIpCode); in StoreToOffset() 264 tmp_reg = (base.GetCode() != 5) ? r5 : r6; in StoreToOffset() 266 if (base.GetCode() == kSpCode) { in StoreToOffset() 272 offset = AdjustLoadStoreOffset(GetAllowedStoreOffsetBits(type), tmp_reg, base, offset); in StoreToOffset() 273 base = tmp_reg; in StoreToOffset() 278 ___ Strb(reg, MemOperand(base, offset)); in StoreToOffset() [all …]
|
/art/test/564-checker-negbitwise/src/ |
D | Main.java | 79 public static int $opt$noinline$notAnd(int base, int mask) { in $opt$noinline$notAnd() argument 81 return base & ~mask; in $opt$noinline$notAnd() 129 public static long $opt$noinline$notOr(long base, long mask) { in $opt$noinline$notOr() argument 131 return base | ~mask; in $opt$noinline$notOr() 176 public static int $opt$noinline$notXor(int base, int mask) { in $opt$noinline$notXor() argument 178 return base ^ ~mask; in $opt$noinline$notXor() 268 public static int $opt$noinline$notAndMultipleUses(int base, int mask) { in $opt$noinline$notAndMultipleUses() argument 271 return (tmp & 0x1) + (base & tmp); in $opt$noinline$notAndMultipleUses()
|
/art/runtime/ |
D | runtime_test.cc | 39 android::base::SetLogger(android::base::StderrLogger); in TEST_F() 53 android::base::SetLogger(android::base::StderrLogger); in TEST_F() 66 android::base::SetLogger(android::base::StderrLogger); in TEST_F()
|
D | handle_scope_test.cc | 105 BaseHandleScope* base = &hs; in TEST_F() local 110 EXPECT_TRUE(base->Contains(handles.back().GetReference())); in TEST_F() 111 EXPECT_EQ(hs.NumberOfReferences(), base->NumberOfReferences()); in TEST_F() 114 BaseHandleScope* base = &hs; in TEST_F() local 115 base->VisitRoots(visitor); in TEST_F() 116 EXPECT_LE(visitor.visited.size(), base->NumberOfReferences()); in TEST_F() 117 EXPECT_EQ(visitor.total_visited, base->NumberOfReferences()); in TEST_F() 119 EXPECT_TRUE(base->Contains(ref)); in TEST_F()
|
D | image-inl.h | 53 inline void ImageHeader::VisitPackedArtFields(const Visitor& visitor, uint8_t* base) const { in VisitPackedArtFields() argument 56 auto* array = reinterpret_cast<LengthPrefixedArray<ArtField>*>(base + fields.Offset() + pos); in VisitPackedArtFields() 66 uint8_t* base, in VisitPackedArtMethods() argument 72 auto* array = reinterpret_cast<LengthPrefixedArray<ArtMethod>*>(base + methods.Offset() + pos); in VisitPackedArtMethods() 80 auto* method = reinterpret_cast<ArtMethod*>(base + runtime_methods.Offset() + pos); in VisitPackedArtMethods() 88 uint8_t* base, in VisitPackedImTables() argument 92 ImTable* imt = reinterpret_cast<ImTable*>(base + section.Offset() + pos); in VisitPackedImTables() 106 uint8_t* base, in VisitPackedImtConflictTables() argument 110 auto* table = reinterpret_cast<ImtConflictTable*>(base + section.Offset() + pos); in VisitPackedImtConflictTables()
|
/art/test/017-float/ |
D | expected.txt | 1 base values: d=3.1415926535 f=3.1415927 2 base values: d=3.1415926535 f=3.1415927 3 base values: f=3.1415927 d=3.1415926535
|
/art/libnativeloader/ |
D | public_libraries.cpp | 41 using android::base::ErrnoError; 42 using android::base::Result; 74 static bool debuggable = android::base::GetBoolProperty("ro.debuggable", false); in debuggable() 116 if (!base::ReadFileToString(configFile, &file_content)) { in ReadConfig() 137 if (android::base::ConsumePrefix(&fn, kExtendedPublicLibrariesFilePrefix) && in ReadExtensionLibraries() 138 android::base::ConsumeSuffix(&fn, kExtendedPublicLibrariesFileSuffix)) { in ReadExtensionLibraries() 148 if (android::base::StartsWith(entry.soname, "lib") && in ReadExtensionLibraries() 149 android::base::EndsWith(entry.soname, "." + company_name + ".so")) { in ReadExtensionLibraries() 185 auto vec = base::Split(additional_libs, ":"); in InitDefaultPublicLibraries() 191 return android::base::Join(*sonames, ':'); in InitDefaultPublicLibraries() [all …]
|
/art/compiler/utils/ |
D | assembler_test.h | 201 std::string base = fmt; variable 205 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { 206 base.replace(reg1_index, ConstexprStrLen(REG1_TOKEN), reg1_string); 211 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { 212 base.replace(reg2_index, ConstexprStrLen(REG2_TOKEN), reg2_string); 215 size_t imm_index = base.find(IMM_TOKEN); 220 base.replace(imm_index, ConstexprStrLen(IMM_TOKEN), imm_string); 226 str += base; 257 std::string base = fmt; in RepeatTemplatedRegistersImmBits() local 261 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersImmBits() [all …]
|
/art/compiler/utils/arm64/ |
D | jni_macro_assembler_arm64.cc | 104 XRegister base, in StoreWToOffset() argument 108 ___ Strb(reg_w(source), MEM_OP(reg_x(base), offset)); in StoreWToOffset() 111 ___ Strh(reg_w(source), MEM_OP(reg_x(base), offset)); in StoreWToOffset() 114 ___ Str(reg_w(source), MEM_OP(reg_x(base), offset)); in StoreWToOffset() 121 void Arm64JNIMacroAssembler::StoreToOffset(XRegister source, XRegister base, int32_t offset) { in StoreToOffset() argument 123 ___ Str(reg_x(source), MEM_OP(reg_x(base), offset)); in StoreToOffset() 126 void Arm64JNIMacroAssembler::StoreSToOffset(SRegister source, XRegister base, int32_t offset) { in StoreSToOffset() argument 127 ___ Str(reg_s(source), MEM_OP(reg_x(base), offset)); in StoreSToOffset() 130 void Arm64JNIMacroAssembler::StoreDToOffset(DRegister source, XRegister base, int32_t offset) { in StoreDToOffset() argument 131 ___ Str(reg_d(source), MEM_OP(reg_x(base), offset)); in StoreDToOffset() [all …]
|
D | jni_macro_assembler_arm64.h | 87 ManagedRegister base, 90 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) override; 166 void Jump(ManagedRegister base, Offset offset, ManagedRegister scratch) override; 169 void Call(ManagedRegister base, Offset offset, ManagedRegister scratch) override; 170 void Call(FrameOffset base, Offset offset, ManagedRegister scratch) override; 211 XRegister base, 213 void StoreToOffset(XRegister source, XRegister base, int32_t offset); 214 void StoreSToOffset(SRegister source, XRegister base, int32_t offset); 215 void StoreDToOffset(DRegister source, XRegister base, int32_t offset); 223 XRegister base, [all …]
|
/art/dt_fd_forward/ |
D | dt_fd_forward.h | 125 android::base::unique_fd read_fd_; // GUARDED_BY(state_mutex_); 127 android::base::unique_fd write_fd_; // GUARDED_BY(state_mutex_); 131 android::base::unique_fd write_lock_fd_; // GUARDED_BY(state_mutex_); 134 android::base::unique_fd wakeup_fd_; 137 android::base::unique_fd listen_fd_; 140 android::base::unique_fd close_notify_fd_;
|
/art/adbconnection/ |
D | adbconnection.h | 106 android::base::unique_fd ReadFdFromAdb(); 131 android::base::unique_fd sleep_event_fd_; 137 android::base::unique_fd local_agent_control_sock_; 141 android::base::unique_fd remote_agent_control_sock_; 145 android::base::unique_fd adb_connection_socket_; 150 android::base::unique_fd adb_write_event_fd_;
|
/art/libdexfile/dex/ |
D | dex_file_loader.cc | 60 using android::base::StringPrintf; 110 static DexZipArchive* Open(const uint8_t* base, size_t size, std::string* error_msg) { in Open() argument 112 uint8_t* nonconst_base = const_cast<uint8_t*>(base); in Open() 222 const uint8_t* base, in Open() argument 231 return OpenCommon(base, in Open() 246 const uint8_t* base, in OpenWithDataSection() argument 256 return OpenCommon(base, in OpenWithDataSection() 271 const uint8_t* base, in OpenAll() argument 280 uint32_t magic = *reinterpret_cast<const uint32_t*>(base); in OpenAll() 282 std::unique_ptr<DexZipArchive> zip_archive(DexZipArchive::Open(base, size, error_msg)); in OpenAll() [all …]
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | ObjectHandler.java | 63 AhatInstance base = inst.getBaseline(); in handle() local 96 SizeTable.table(doc, new Column(""), inst != base && !base.isPlaceHolder()); in handle() 97 SizeTable.row(doc, DocString.text("Shallow"), inst.getSize(), base.getSize()); in handle() 99 inst.getTotalRetainedSize(), base.getTotalRetainedSize()); in handle() 116 AhatInstance base = inst.getBaseline(); in printClassInstanceFields() local 117 printFields(doc, query, INSTANCE_FIELDS_ID, inst != base && !base.isPlaceHolder(), in printClassInstanceFields() 119 base.isPlaceHolder() ? null : base.asClassInstance().getInstanceFields()); in printClassInstanceFields() 124 AhatInstance base = array.getBaseline(); in printArrayElements() local 125 boolean diff = array.getBaseline() != array && !base.isPlaceHolder(); in printArrayElements() 137 Value previous = Value.getBaseline(base.asArrayInstance().getValue(i)); in printArrayElements() [all …]
|
D | SizeTable.java | 62 static void row(Doc doc, DocString left, Size size, Size base, DocString... values) { in row() argument 66 vals.add(DocString.delta(false, false, size.getJavaSize(), base.getJavaSize())); in row() 69 size.getRegisteredNativeSize(), base.getRegisteredNativeSize())); in row() 71 vals.add(DocString.delta(false, false, size.getSize(), base.getSize())); in row() 96 static void row(Doc doc, Size size, Size base, DocString... values) { in row() argument 97 row(doc, new DocString(), size, base, values); in row()
|
/art/test/910-methods/src/art/ |
D | Test910.java | 43 Class<?> base = Class.forName(className); in testMethod() local 44 testMethod(base, methodName, types); in testMethod() 47 private static void testMethod(Class<?> base, String methodName, Class<?>... types) in testMethod() argument 49 Method m = base.getDeclaredMethod(methodName, types); in testMethod() 50 testMethod(m, base, true); in testMethod() 53 private static void testMethod(Method m, Class<?> base, boolean printName) { in testMethod() argument 63 if (base != declClass) { in testMethod() 64 throw new RuntimeException("Declaring class not equal: " + base + " vs " + declClass); in testMethod()
|