/art/runtime/arch/x86_64/ |
D | asm_support_x86_64.S | 31 #define RAW_VAR(name,index) $index argument 32 #define VAR(name,index) SYMBOL($index) argument 33 #define PLT_VAR(name, index) PLT_SYMBOL($index) argument 34 #define REG_VAR(name,index) %$index argument 35 #define CALL_MACRO(name,index) $index argument 54 #define RAW_VAR(name,index) name& argument 55 #define VAR(name,index) name& argument 56 #define PLT_VAR(name, index) name&@PLT argument 57 #define REG_VAR(name,index) %name argument 58 #define CALL_MACRO(name,index) name& argument [all …]
|
/art/runtime/arch/arm/ |
D | asm_support_arm.S | 35 .macro RUNTIME_CURRENT name, num, rDest, rTemp 40 ldr \rDest, .Lgot_\name\()_\num @ Load offset of the GOT. 41 ldr \rTemp, .Lruntime_instance_\name\()_\num @ Load GOT offset of Runtime::instance_. 42 .Lload_got_\name\()_\num\(): 51 .macro DEF_ENTRY thumb_or_arm, name argument 53 .type \name, #function 54 .hidden \name // Hide this as a global symbol, so we do not incur plt calls. 55 .global \name 58 \name: 68 RUNTIME_CURRENT \name, 1, \rDest, \rTemp [all …]
|
/art/runtime/arch/mips64/ |
D | asm_support_mips64.S | 32 .macro ENTRY name argument 33 .type \name, %function 34 .global \name 37 \name: 41 .cpsetup $t9, $t8, \name 45 .L\name\()_gp_set: 49 .macro ENTRY_NO_GP name argument 50 .type \name, %function 51 .global \name 54 \name: [all …]
|
/art/runtime/arch/x86/ |
D | asm_support_x86.S | 33 #define RAW_VAR(name,index) $index argument 34 #define VAR(name,index) SYMBOL($index) argument 35 #define PLT_VAR(name, index) SYMBOL($index) argument 36 #define REG_VAR(name,index) %$index argument 37 #define CALL_MACRO(name,index) $index argument 58 #define RAW_VAR(name,index) name& argument 59 #define VAR(name,index) name& argument 60 #define PLT_VAR(name, index) name&@PLT argument 61 #define REG_VAR(name,index) %name argument 62 #define CALL_MACRO(name,index) name& argument [all …]
|
/art/runtime/ |
D | os_linux.cc | 30 File* OS::OpenFileForReading(const char* name) { in OpenFileForReading() argument 31 return OpenFileWithFlags(name, O_RDONLY); in OpenFileForReading() 34 File* OS::OpenFileReadWrite(const char* name) { in OpenFileReadWrite() argument 35 return OpenFileWithFlags(name, O_RDWR); in OpenFileReadWrite() 38 File* OS::CreateEmptyFile(const char* name) { in CreateEmptyFile() argument 39 return OpenFileWithFlags(name, O_RDWR | O_CREAT | O_TRUNC); in CreateEmptyFile() 42 File* OS::OpenFileWithFlags(const char* name, int flags) { in OpenFileWithFlags() argument 43 CHECK(name != nullptr); in OpenFileWithFlags() 45 if (!file->Open(name, flags, 0666)) { in OpenFileWithFlags() 51 bool OS::FileExists(const char* name) { in FileExists() argument [all …]
|
D | os.h | 33 static File* OpenFileForReading(const char* name); 36 static File* OpenFileReadWrite(const char* name); 39 static File* CreateEmptyFile(const char* name); 42 static File* OpenFileWithFlags(const char* name, int flags); 45 static bool FileExists(const char* name); 48 static bool DirectoryExists(const char* name);
|
D | zip_archive.cc | 55 std::string name(entry_filename); in ExtractToMemMap() local 56 name += " extracted in memory from "; in ExtractToMemMap() 57 name += zip_filename; in ExtractToMemMap() 58 std::unique_ptr<MemMap> map(MemMap::MapAnonymous(name.c_str(), in ExtractToMemMap() 122 ZipEntry* ZipArchive::Find(const char* name, std::string* error_msg) const { in Find() argument 123 DCHECK(name != nullptr); in Find() 127 const int32_t error = FindEntry(handle_, ZipEntryName(name), zip_entry.get()); in Find()
|
/art/runtime/arch/arm64/ |
D | asm_support_arm64.S | 39 .macro ENTRY name argument 40 .type \name, #function 41 .hidden \name // Hide this as a global symbol, so we do not incur plt calls. 42 .global \name 45 \name: 49 .macro END name argument 51 .size \name, .-\name 54 .macro UNIMPLEMENTED name argument 55 ENTRY \name 57 END \name
|
/art/runtime/arch/mips/ |
D | asm_support_mips.S | 30 .macro ENTRY name argument 31 .type \name, %function 32 .global \name 35 \name: 42 .L\name\()_gp_set: 46 .macro ENTRY_NO_GP name argument 47 .type \name, %function 48 .global \name 51 \name: 57 .macro END name argument [all …]
|
/art/test/121-modifiers/src/ |
D | Main.java | 110 String name = f.getName(); in check() local 115 throw new RuntimeException("Unexpected field bits: " + name); in check() 117 if (name.equals("I")) { in check() 121 int bitmask = getFieldMask(name); in check() 130 String name = m.getName(); in check() local 135 throw new RuntimeException("Unexpected method bits: " + name); in check() 138 int bitmask = getMethodMask(name); in check() 145 private static int getFieldMask(String name) { in getFieldMask() argument 146 int index = name.indexOf("Field"); in getFieldMask() 148 String shortS = name.substring(0, index); in getFieldMask() [all …]
|
/art/test/138-duplicate-classes-check2/src/ |
D | FancyLoader.java | 69 protected Class<?> findClass(String name) throws ClassNotFoundException in findClass() argument 72 return findClassDalvik(name); in findClass() 74 return findClassNonDalvik(name); in findClass() 81 private Class<?> findClassDalvik(String name) in findClassDalvik() argument 122 meth.invoke(mDexFile, name, this); in findClassDalvik() 136 private Class<?> findClassNonDalvik(String name) in findClassNonDalvik() argument 139 String pathName = CLASS_PATH + name + ".class"; in findClassNonDalvik() 169 return defineClass(name, fileData, 0, fileData.length); in findClassNonDalvik() 185 protected Class<?> loadClass(String name, boolean resolve) in loadClass() argument 196 res = findLoadedClass(name); in loadClass() [all …]
|
/art/test/068-classloader/src/ |
D | FancyLoader.java | 68 protected Class<?> findClass(String name) throws ClassNotFoundException in findClass() argument 71 return findClassDalvik(name); in findClass() 73 return findClassNonDalvik(name); in findClass() 80 private Class<?> findClassDalvik(String name) in findClassDalvik() argument 121 meth.invoke(mDexFile, name, this); in findClassDalvik() 135 private Class<?> findClassNonDalvik(String name) in findClassNonDalvik() argument 138 String pathName = CLASS_PATH + name + ".class"; in findClassNonDalvik() 168 return defineClass(name, fileData, 0, fileData.length); in findClassNonDalvik() 184 protected Class<?> loadClass(String name, boolean resolve) in loadClass() argument 195 res = findLoadedClass(name); in loadClass() [all …]
|
/art/test/138-duplicate-classes-check/src/ |
D | FancyLoader.java | 69 protected Class<?> findClass(String name) throws ClassNotFoundException in findClass() argument 72 return findClassDalvik(name); in findClass() 74 return findClassNonDalvik(name); in findClass() 81 private Class<?> findClassDalvik(String name) in findClassDalvik() argument 122 meth.invoke(mDexFile, name, this); in findClassDalvik() 136 private Class<?> findClassNonDalvik(String name) in findClassNonDalvik() argument 139 String pathName = CLASS_PATH + name + ".class"; in findClassNonDalvik() 169 return defineClass(name, fileData, 0, fileData.length); in findClassNonDalvik() 185 protected Class<?> loadClass(String name, boolean resolve) in loadClass() argument 196 res = findLoadedClass(name); in loadClass() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_entrypoints_enum.h | 29 #define ENTRYPOINT_ENUM(name, rettype, ...) kQuick ## name, argument 43 #define ENTRYPOINT_ENUM(name, rettype, ...) case kQuick ## name : \ in GetThreadOffset() argument 44 return QUICK_ENTRYPOINT_OFFSET(pointer_size, p ## name); in GetThreadOffset() 58 #define ENTRYPOINT_ENUM(name, ...) \ argument 59 template <> inline void CheckEntrypointTypes<kQuick ## name, __VA_ARGS__>() {}; // NOLINT [readabi…
|
/art/tools/dexfuzz/src/dexfuzz/ |
D | Timer.java | 28 private String name; field in Timer 44 public Timer(String name) { in Timer() argument 45 this.name = name; in Timer() 68 listener.handleTiming(name, ((float)elapsedTime) / 1000.0f); in printTime()
|
/art/test/ |
D | Android.run-test.mk | 200 define name-to-var 529 $(foreach target, $(TARGET_TYPES), $(eval ART_RUN_TEST_$(call name-to-var,$(target))_RULES :=)) 532 $(eval ART_RUN_TEST_$(call name-to-var,$(target))_$(call name-to-var,$(prebuild))_RULES :=))) 535 $(eval ART_RUN_TEST_$(call name-to-var,$(target))_$(call name-to-var,$(compiler))_RULES :=))) 538 $(eval ART_RUN_TEST_$(call name-to-var,$(target))_$(call name-to-var,$(relocate))_RULES :=))) 541 $(eval ART_RUN_TEST_$(call name-to-var,$(target))_$(call name-to-var,$(trace))_RULES :=))) 544 $(eval ART_RUN_TEST_$(call name-to-var,$(target))_$(call name-to-var,$(gc))_RULES :=))) 547 $(eval ART_RUN_TEST_$(call name-to-var,$(target))_$(call name-to-var,$(jni))_RULES :=))) 550 $(eval ART_RUN_TEST_$(call name-to-var,$(target))_$(call name-to-var,$(image))_RULES :=))) 553 $(eval ART_RUN_TEST_$(call name-to-var,$(target))_$(call name-to-var,$(test))_RULES :=))) [all …]
|
/art/test/115-native-bridge/ |
D | expected.txt | 8 name:booleanMethod, signature:(ZZZZZZZZZZ)Z, shorty:ZZZZZZZZZZZ. 9 name:byteMethod, signature:(BBBBBBBBBB)B, shorty:BBBBBBBBBBB. 10 name:charMethod, signature:(CCCCCCCCCC)C, shorty:CCCCCCCCCCC. 11 name:shortMethod, signature:(SSSSSSSSSS)S, shorty:SSSSSSSSSSS. 12 name:testCallStaticVoidMethodOnSubClassNative, signature:()V, shorty:V. 13 name:testFindClassOnAttachedNativeThread, signature:()V, shorty:V. 14 name:testFindFieldOnAttachedNativeThreadNative, signature:()V, shorty:V. 15 name:testGetMirandaMethodNative, signature:()Ljava/lang/reflect/Method;, shorty:L. 16 name:testNewStringObject, signature:()V, shorty:V. 17 name:testSignal, signature:()I, shorty:I. [all …]
|
/art/test/098-ddmc/ |
D | expected.txt | 2 …m start of message: 15 number of class name strings: 0 number of method name strings: 0 number of … 14 …m start of message: 15 number of class name strings: 0 number of method name strings: 0 number of … 23 …m start of message: 15 number of class name strings: 0 number of method name strings: 0 number of …
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | OpcodeInfo.java | 28 public final String name; field in OpcodeInfo 35 public OpcodeInfo(Opcode opcode, String name, int opcodeValue, AbstractFormat fmt) { in OpcodeInfo() argument 37 this.name = name; in OpcodeInfo()
|
/art/tools/ |
D | checker.py | 134 def startTest(name): argument 136 Logger.log(name + "... ", newLine=False) 184 def __init__(self, variant, name, pattern): argument 186 self.name = name 206 name = varElem[2:-2] 207 return CheckElement(CheckElement.Variant.VarRef, name, None) 210 name = varElem[2:colonPos] 212 return CheckElement(CheckElement.Variant.VarDef, name, body) 297 return re.escape(varState[linePart.name]) 299 Logger.testFailed("Use of undefined variable \"" + linePart.name + "\"", [all …]
|
/art/runtime/gc/accounting/ |
D | bitmap.cc | 43 MemMap* Bitmap::AllocateMemMap(const std::string& name, size_t num_bits) { in AllocateMemMap() argument 47 std::unique_ptr<MemMap> mem_map(MemMap::MapAnonymous(name.c_str(), nullptr, bitmap_size, in AllocateMemMap() 51 LOG(ERROR) << "Failed to allocate bitmap " << name << ": " << error_msg; in AllocateMemMap() 57 Bitmap* Bitmap::Create(const std::string& name, size_t num_bits) { in Create() argument 58 auto* const mem_map = AllocateMemMap(name, num_bits); in Create() 79 const std::string& name, uintptr_t cover_begin, uintptr_t cover_end) { in Create() argument 83 auto* const mem_map = Bitmap::AllocateMemMap(name, num_bits); in Create()
|
/art/runtime/native/ |
D | java_lang_VMClassLoader.cc | 33 ScopedUtfChars name(env, javaName); in VMClassLoader_findLoadedClass() local 34 if (name.c_str() == nullptr) { in VMClassLoader_findLoadedClass() 38 std::string descriptor(DotToDescriptor(name.c_str())); in VMClassLoader_findLoadedClass() 77 ScopedUtfChars name(env, javaName); in VMClassLoader_getBootClassPathResource() local 78 if (name.c_str() == nullptr) { in VMClassLoader_getBootClassPathResource() 98 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(name.c_str(), &error_msg)); in VMClassLoader_getBootClassPathResource() 104 StringAppendF(&url, "jar:file://%s!/%s", location.c_str(), name.c_str()); in VMClassLoader_getBootClassPathResource()
|
/art/runtime/mirror/ |
D | class.cc | 162 String* name = h_this->GetName(); in ComputeName() local 163 if (name != nullptr) { in ComputeName() 164 return name; in ComputeName() 186 name = String::AllocFromModifiedUtf8(self, c_name); in ComputeName() 190 name = String::AllocFromModifiedUtf8(self, DescriptorToDot(descriptor).c_str()); in ComputeName() 192 h_this->SetName(name); in ComputeName() 193 return name; in ComputeName() 348 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const StringPiece& signature, in FindInterfaceMethod() argument 351 ArtMethod* method = FindDeclaredVirtualMethod(name, signature, pointer_size); in FindInterfaceMethod() 359 method = iftable->GetInterface(i)->FindDeclaredVirtualMethod(name, signature, pointer_size); in FindInterfaceMethod() [all …]
|
/art/compiler/utils/ |
D | test_dex_file_builder.h | 50 const std::string& name) { in AddField() argument 54 AddString(name); in AddField() 55 FieldKey key = { class_descriptor, type, name }; in AddField() 60 const std::string& name) { in AddMethod() argument 63 AddString(name); in AddMethod() 75 class_descriptor, name, proto in AddMethod() 201 Write32(raw_offset + 4u, GetStringIdx(entry.first.name)); in Build() 210 Write32(raw_offset + 4u, GetStringIdx(entry.first.name)); in Build() 235 const std::string& name) { in GetFieldIdx() argument 236 FieldKey key = { class_descriptor, type, name }; in GetFieldIdx() [all …]
|
/art/compiler/optimizing/ |
D | graph_visualizer.cc | 46 void StartTag(const char* name) { in StartTag() argument 48 output_ << "begin_" << name << std::endl; in StartTag() 52 void EndTag(const char* name) { in EndTag() argument 55 output_ << "end_" << name << std::endl; in EndTag() 58 void PrintProperty(const char* name, const char* property) { in PrintProperty() argument 60 output_ << name << " \"" << property << "\"" << std::endl; in PrintProperty() 63 void PrintProperty(const char* name, const char* property, int id) { in PrintProperty() argument 65 output_ << name << " \"" << property << id << "\"" << std::endl; in PrintProperty() 68 void PrintEmptyProperty(const char* name) { in PrintEmptyProperty() argument 70 output_ << name << std::endl; in PrintEmptyProperty() [all …]
|