Home
last modified time | relevance | path

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

1234567

/art/runtime/arch/arm/
Dasm_support_arm.S33 .macro ENTRY name argument
35 .type \name, #function
36 .hidden \name // Hide this as a global symbol, so we do not incur plt calls.
37 .global \name
40 \name:
45 .macro ENTRY_NO_HIDE name argument
47 .type \name, #function
48 .global \name
51 \name:
57 .macro ARM_ENTRY name argument
[all …]
/art/runtime/arch/x86_64/
Dasm_support_x86_64.S31 #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/x86/
Dasm_support_x86.S31 #define RAW_VAR(name,index) $index argument
32 #define VAR(name,index) SYMBOL($index) argument
33 #define PLT_VAR(name, index) 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/arm64/
Dasm_support_arm64.S45 .macro ENTRY name argument
46 .type \name, #function
47 .hidden \name // Hide this as a global symbol, so we do not incur plt calls.
48 .global \name
51 \name:
55 .macro ENTRY_NO_HIDE name argument
56 .type \name, #function
57 .global \name
60 \name:
64 .macro END name argument
[all …]
/art/runtime/
Dos_linux.cc30 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 != NULL); in OpenFileWithFlags()
45 if (!file->Open(name, flags, 0666)) { in OpenFileWithFlags()
51 bool OS::FileExists(const char* name) { in FileExists() argument
[all …]
Dos.h33 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);
Dzip_archive.cc55 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()
121 ZipEntry* ZipArchive::Find(const char* name, std::string* error_msg) const { in Find() argument
122 DCHECK(name != nullptr); in Find()
126 const int32_t error = FindEntry(handle_, name, zip_entry.get()); in Find()
Dthread_pool.cc28 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker() argument
31 name_(name) { in ThreadPoolWorker()
33 stack_.reset(MemMap::MapAnonymous(name.c_str(), nullptr, stack_size, PROT_READ | PROT_WRITE, in ThreadPoolWorker()
77 ThreadPool::ThreadPool(const char* name, size_t num_threads) in ThreadPool() argument
78 : name_(name), in ThreadPool()
92 const std::string name = StringPrintf("%s worker thread %zu", name_.c_str(), GetThreadCount()); in ThreadPool() local
93 threads_.push_back(new ThreadPoolWorker(this, name, ThreadPoolWorker::kDefaultStackSize)); in ThreadPool()
202 WorkStealingWorker::WorkStealingWorker(ThreadPool* thread_pool, const std::string& name, in WorkStealingWorker() argument
204 : ThreadPoolWorker(thread_pool, name, stack_size), task_(NULL) {} in WorkStealingWorker()
277 WorkStealingThreadPool::WorkStealingThreadPool(const char* name, size_t num_threads) in WorkStealingThreadPool() argument
[all …]
/art/runtime/arch/mips/
Dasm_support_mips.S31 .macro ENTRY name argument
32 .type \name, %function
33 .global \name
35 \name:
41 .macro END name argument
43 .size \name, .-\name
51 .macro UNIMPLEMENTED name argument
52 ENTRY \name
55 END \name
/art/compiler/llvm/
Dmd_builder.cc80 std::string name; in GetTBAAMemoryJType() local
83 case kTBAAHeapArray: sty_mapped_index = 0; name = "HeapArray "; break; in GetTBAAMemoryJType()
84 case kTBAAHeapInstance: sty_mapped_index = 1; name = "HeapInstance "; break; in GetTBAAMemoryJType()
85 case kTBAAHeapStatic: sty_mapped_index = 2; name = "HeapStatic "; break; in GetTBAAMemoryJType()
97 case kBoolean: name += "Boolean"; break; in GetTBAAMemoryJType()
98 case kByte: name += "Byte"; break; in GetTBAAMemoryJType()
99 case kChar: name += "Char"; break; in GetTBAAMemoryJType()
100 case kShort: name += "Short"; break; in GetTBAAMemoryJType()
101 case kInt: name += "Int"; break; in GetTBAAMemoryJType()
102 case kLong: name += "Long"; break; in GetTBAAMemoryJType()
[all …]
/art/test/121-modifiers/src/
DMain.java110 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/068-classloader/src/
DFancyLoader.java68 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/098-ddmc/
Dexpected.txt2 …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/compiler/optimizing/
Dgraph_visualizer.cc41 void StartTag(const char* name) { in StartTag() argument
43 output_ << "begin_" << name << std::endl; in StartTag()
47 void EndTag(const char* name) { in EndTag() argument
50 output_ << "end_" << name << std::endl; in EndTag()
53 void PrintProperty(const char* name, const char* property) { in PrintProperty() argument
55 output_ << name << " \"" << property << "\"" << std::endl; in PrintProperty()
58 void PrintProperty(const char* name, const char* property, int id) { in PrintProperty() argument
60 output_ << name << " \"" << property << id << "\"" << std::endl; in PrintProperty()
63 void PrintEmptyProperty(const char* name) { in PrintEmptyProperty() argument
65 output_ << name << std::endl; in PrintEmptyProperty()
[all …]
/art/compiler/dex/
Dpass_me.h69 explicit PassME(const char* name, DataFlowAnalysisMode type = kAllNodes,
71 : Pass(name), traversal_type_(type), flags_(flags), dump_cfg_folder_(dump) { in Pass() argument
74 PassME(const char* name, DataFlowAnalysisMode type, const char* dump) in PassME() argument
75 : Pass(name), traversal_type_(type), flags_(0), dump_cfg_folder_(dump) { in PassME()
78 PassME(const char* name, const char* dump) in PassME() argument
79 : Pass(name), traversal_type_(kAllNodes), flags_(0), dump_cfg_folder_(dump) { in PassME()
/art/test/115-native-bridge/
Dexpected.txt8 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:testZeroLengthByteBuffers, signature:()V, shorty:V.
Dnativebridge.cc31 const char* name; member
38 static NativeBridgeMethod* find_native_bridge_method(const char *name);
65 NativeBridgeMethod* nb_method = find_native_bridge_method(methods[i].name); in trampoline_JNI_OnLoad()
69 mid = env->GetStaticMethodID(klass, methods[i].name, nb_method->signature); in trampoline_JNI_OnLoad()
71 mid = env->GetMethodID(klass, methods[i].name, nb_method->signature); in trampoline_JNI_OnLoad()
77 methods[i].name, nb_method->signature, shorty); in trampoline_JNI_OnLoad()
196 static NativeBridgeMethod* find_native_bridge_method(const char *name) { in find_native_bridge_method() argument
197 const char* pname = name; in find_native_bridge_method()
198 if (strncmp(name, "Java_Main_", 10) == 0) { in find_native_bridge_method()
203 if (strcmp(pname, gNativeBridgeMethods[i].name) == 0) { in find_native_bridge_method()
[all …]
/art/runtime/entrypoints/quick/
Dquick_entrypoints_enum.h28 #define ENTRYPOINT_ENUM(name, rettype, ...) kQuick ## name, argument
42 #define ENTRYPOINT_ENUM(name, rettype, ...) case kQuick ## name : \ in GetThreadOffset() argument
43 return QUICK_ENTRYPOINT_OFFSET(pointer_size, p ## name); in GetThreadOffset()
/art/runtime/mirror/
Dclass.cc167 String* name = h_this->GetName(); in ComputeName() local
168 if (name != nullptr) { in ComputeName()
169 return name; in ComputeName()
191 name = String::AllocFromModifiedUtf8(self, c_name); in ComputeName()
195 name = String::AllocFromModifiedUtf8(self, DescriptorToDot(descriptor).c_str()); in ComputeName()
197 h_this->SetName(name); in ComputeName()
198 return name; in ComputeName()
361 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const StringPiece& signature) { in FindInterfaceMethod() argument
363 ArtMethod* method = FindDeclaredVirtualMethod(name, signature); in FindInterfaceMethod()
371 method = iftable->GetInterface(i)->FindDeclaredVirtualMethod(name, signature); in FindInterfaceMethod()
[all …]
/art/runtime/native/
Djava_lang_VMClassLoader.cc30 ScopedUtfChars name(env, javaName); in VMClassLoader_findLoadedClass() local
31 if (name.c_str() == nullptr) { in VMClassLoader_findLoadedClass()
35 std::string descriptor(DotToDescriptor(name.c_str())); in VMClassLoader_findLoadedClass()
73 ScopedUtfChars name(env, javaName); in VMClassLoader_getBootClassPathResource() local
74 if (name.c_str() == nullptr) { in VMClassLoader_getBootClassPathResource()
93 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find(name.c_str(), &error_msg)); in VMClassLoader_getBootClassPathResource()
99 StringAppendF(&url, "jar:file://%s!/%s", location.c_str(), name.c_str()); in VMClassLoader_getBootClassPathResource()
/art/runtime/gc/space/
Ddlmalloc_space.cc38 DlMallocSpace::DlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin, in DlMallocSpace() argument
42 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects, in DlMallocSpace()
48 DlMallocSpace* DlMallocSpace::CreateFromMemMap(MemMap* mem_map, const std::string& name, in CreateFromMemMap() argument
55 LOG(ERROR) << "Failed to initialize mspace for alloc space (" << name << ")"; in CreateFromMemMap()
62 CHECK_MEMORY_CALL(mprotect, (end, capacity - starting_size, PROT_NONE), name); in CreateFromMemMap()
69 name, mem_map, mspace, begin, end, begin + capacity, growth_limit, initial_size, in CreateFromMemMap()
72 return new DlMallocSpace(name, mem_map, mspace, begin, end, begin + capacity, growth_limit, in CreateFromMemMap()
77 DlMallocSpace* DlMallocSpace::Create(const std::string& name, size_t initial_size, in Create() argument
83 LOG(INFO) << "DlMallocSpace::Create entering " << name in Create()
95 MemMap* mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity, in Create()
[all …]
/art/runtime/gc/accounting/
Dmod_union_table.h56 explicit ModUnionTable(const std::string& name, Heap* heap, space::ContinuousSpace* space) in ModUnionTable() argument
57 : name_(name), in ModUnionTable()
100 explicit ModUnionTableReferenceCache(const std::string& name, Heap* heap, in ModUnionTableReferenceCache() argument
102 : ModUnionTable(name, heap, space) {} in ModUnionTableReferenceCache()
136 …explicit ModUnionTableCardCache(const std::string& name, Heap* heap, space::ContinuousSpace* space) in ModUnionTableCardCache() argument
137 : ModUnionTable(name, heap, space) {} in ModUnionTableCardCache()
/art/test/086-null-super/src/
DMain.java69 private Class<?> findDexClass(String name) in findDexClass() argument
91 meth.invoke(mDexFile, name, this); in findDexClass()
111 public Class<?> loadClass(String name, boolean resolve) in loadClass() argument
114 if (SUPERCLASS_NAME.equals(name)) { in loadClass()
118 return super.loadClass(name, resolve); in loadClass()
/art/test/087-gc-after-link/src/
DMain.java69 private Class<?> findDexClass(String name) in findDexClass() argument
93 meth.invoke(dexFile, name, this); in findDexClass()
120 public Class<?> loadClass(String name, boolean resolve) in loadClass() argument
123 if (SUPERCLASS_NAME.equals(name)) { in loadClass()
127 return super.loadClass(name, resolve); in loadClass()
/art/test/083-compiler-regressions/src/
DZeroTests.java29 private static void longTest(String name, boolean divide) throws Exception { in longTest() argument
36 throw new AssertionError(name + " failed to throw"); in longTest()
38 System.out.println(name + " passes"); in longTest()

1234567