Searched defs:name (Results 1 - 25 of 117) sorted by relevance

12345

/art/runtime/base/
H A Dsystrace.h29 explicit ScopedTrace(const char* name) { argument
30 ATRACE_BEGIN(name);
33 explicit ScopedTrace(const std::string& name) : ScopedTrace(name.c_str()) {} argument
/art/runtime/
H A Dcompiler_filter_test.cc23 static void TestCompilerFilterName(CompilerFilter::Filter filter, std::string name) { argument
25 EXPECT_TRUE(CompilerFilter::ParseCompilerFilter(name.c_str(), &parsed));
28 EXPECT_EQ(name, CompilerFilter::NameOfFilter(filter));
H A Dos_linux.cc30 File* OS::OpenFileForReading(const char* name) { argument
31 return OpenFileWithFlags(name, O_RDONLY);
34 File* OS::OpenFileReadWrite(const char* name) { argument
35 return OpenFileWithFlags(name, O_RDWR);
38 static File* CreateEmptyFile(const char* name, int extra_flags) { argument
41 unlink(name);
43 return OS::OpenFileWithFlags(name, O_CREAT | extra_flags);
46 File* OS::CreateEmptyFile(const char* name) { argument
47 return art::CreateEmptyFile(name, O_RDWR | O_TRUNC);
50 File* OS::CreateEmptyFileWriteOnly(const char* name) { argument
54 OpenFileWithFlags(const char* name, int flags) argument
63 FileExists(const char* name) argument
72 DirectoryExists(const char* name) argument
[all...]
/art/runtime/gc/accounting/
H A Dmod_union_table-inl.h31 explicit ModUnionTableToZygoteAllocspace(const std::string& name, argument
34 : ModUnionTableReferenceCache(name, heap, space) {}
H A Dbitmap.cc44 MemMap* Bitmap::AllocateMemMap(const std::string& name, size_t num_bits) { argument
48 std::unique_ptr<MemMap> mem_map(MemMap::MapAnonymous(name.c_str(), nullptr, bitmap_size,
52 LOG(ERROR) << "Failed to allocate bitmap " << name << ": " << error_msg;
58 Bitmap* Bitmap::Create(const std::string& name, size_t num_bits) { argument
59 auto* const mem_map = AllocateMemMap(name, num_bits);
80 const std::string& name, uintptr_t cover_begin, uintptr_t cover_end) {
84 auto* const mem_map = Bitmap::AllocateMemMap(name, num_bits);
79 Create( const std::string& name, uintptr_t cover_begin, uintptr_t cover_end) argument
H A Dremembered_set.h50 explicit RememberedSet(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
51 : name_(name), heap_(heap), space_(space) {}
/art/runtime/gc/space/
H A Ddlmalloc_space_random_test.cc25 MallocSpace* CreateDlMallocSpace(const std::string& name, size_t initial_size, size_t growth_limit, argument
27 return DlMallocSpace::Create(name, initial_size, growth_limit, capacity, requested_begin, false);
H A Ddlmalloc_space_static_test.cc25 MallocSpace* CreateDlMallocSpace(const std::string& name, size_t initial_size, size_t growth_limit, argument
27 return DlMallocSpace::Create(name, initial_size, growth_limit, capacity, requested_begin, false);
H A Drosalloc_space_random_test.cc23 MallocSpace* CreateRosAllocSpace(const std::string& name, size_t initial_size, size_t growth_limit, argument
25 return RosAllocSpace::Create(name, initial_size, growth_limit, capacity, requested_begin,
H A Drosalloc_space_static_test.cc23 MallocSpace* CreateRosAllocSpace(const std::string& name, size_t initial_size, size_t growth_limit, argument
25 return RosAllocSpace::Create(name, initial_size, growth_limit, capacity, requested_begin,
/art/test/083-compiler-regressions/src/
H A DZeroTests.java29 private static void longTest(String name, boolean divide) throws Exception { argument
36 throw new AssertionError(name + " failed to throw");
38 System.out.println(name + " passes");
/art/test/141-class-unload/src-ex/
H A DIntHolder.java34 public static void loadLibrary(String name) { argument
35 System.loadLibrary(name);
/art/test/550-checker-regression-wide-store/src/
H A DMain.java24 private static int runTestCase(String name, long arg) throws Exception { argument
26 Method m = c.getMethod(name, long.class);
/art/tools/ahat/test/
H A DTestDump.java65 public Object getDumpedThing(String name) { argument
73 return InstanceUtils.getField(stuff, name);
/art/tools/dexfuzz/src/dexfuzz/
H A DTimer.java26 * The name of the timer, the phase of the program it is intended to time.
28 private String name; field in class:Timer
42 * Initialise a new timer with the provided name.
44 public Timer(String name) { argument
45 this.name = name;
68 listener.handleTiming(name, ((float)elapsedTime) / 1000.0f);
/art/tools/dexfuzz/src/dexfuzz/rawdex/
H A DOpcodeInfo.java28 public final String name; field in class:OpcodeInfo
35 public OpcodeInfo(Opcode opcode, String name, int opcodeValue, AbstractFormat fmt) { argument
37 this.name = name;
/art/runtime/native/
H A Djava_lang_reflect_Proxy.cc29 static jclass Proxy_generateProxy(JNIEnv* env, jclass, jstring name, jobjectArray interfaces, argument
34 soa, name, interfaces, loader, methods, throws));
/art/test/068-classloader/src/
H A DFancyLoader.java63 * Finds the class with the specified binary name.
68 protected Class<?> findClass(String name) throws ClassNotFoundException argument
71 return findClassDalvik(name);
73 return findClassNonDalvik(name);
78 * Finds the class with the specified binary name, from a DEX file.
80 private Class<?> findClassDalvik(String name) argument
121 meth.invoke(mDexFile, name, this);
133 * Finds the class with the specified binary name, from .class files.
135 private Class<?> findClassNonDalvik(String name) argument
138 String pathName = CLASS_PATH + name
184 loadClass(String name, boolean resolve) argument
[all...]
/art/test/121-modifiers/src/
H A DMain.java110 String name = f.getName();
115 throw new RuntimeException("Unexpected field bits: " + name);
117 if (name.equals("I")) {
120 // Check the name, see that the corresponding bit is set.
121 int bitmask = getFieldMask(name);
130 String name = m.getName();
135 throw new RuntimeException("Unexpected method bits: " + name);
137 // Check the name, see that the corresponding bit is set.
138 int bitmask = getMethodMask(name);
145 private static int getFieldMask(String name) { argument
174 getMethodMask(String name) argument
[all...]
/art/test/138-duplicate-classes-check2/src/
H A DFancyLoader.java64 * Finds the class with the specified binary name.
69 protected Class<?> findClass(String name) throws ClassNotFoundException argument
72 return findClassDalvik(name);
74 return findClassNonDalvik(name);
79 * Finds the class with the specified binary name, from a DEX file.
81 private Class<?> findClassDalvik(String name) argument
122 meth.invoke(mDexFile, name, this);
134 * Finds the class with the specified binary name, from .class files.
136 private Class<?> findClassNonDalvik(String name) argument
139 String pathName = CLASS_PATH + name
185 loadClass(String name, boolean resolve) argument
[all...]
/art/test/612-jit-dex-cache/src/
H A DMain.java30 protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException { argument
31 if (!name.startsWith("java.")) {
33 return findClass(name);
38 return super.loadClass(name, resolve);
/art/tools/ahat/src/
H A DQuery.java30 // Map from parameter name to value. If the same parameter appears multiple
52 * Return the value of a query parameter with the given name.
53 * If there is no query parameter with that name, returns the default value.
54 * If there are multiple query parameters with that name, the value of the
58 public String get(String name, String defaultValue) { argument
59 String value = mParams.get(name);
64 * Return the long value of a query parameter with the given name.
66 public long getLong(String name, long defaultValue) { argument
67 String value = get(name, null);
72 * Return the int value of a query parameter with the given name
74 getInt(String name, int defaultValue) argument
86 with(String name, String value) argument
108 with(String name, long value) argument
[all...]
/art/compiler/debug/dwarf/
H A Ddebug_abbrev_writer.h59 void AddAbbrevAttribute(Attribute name, Form type) { argument
60 EncodeUnsignedLeb128(&current_abbrev_, name);
/art/compiler/debug/
H A Delf_symtab_writer.h72 std::string name = PrettyMethod(info.dex_method_index, *info.dex_file, with_signature); local
74 name += " [DEDUPED]";
76 // If we write method names without signature, we might see the same name multiple times.
77 name_offset = (name == last_name ? last_name_offset : strtab->Write(name));
78 last_name = std::move(name);
/art/test/086-null-super/src/
H A DMain.java65 * Finds the class with the specified binary name, from DEX_FILE.
69 private Class<?> findDexClass(String name) argument
91 meth.invoke(mDexFile, name, this);
108 * Return null if the class's name is SUPERCLASS_NAME;
111 public Class<?> loadClass(String name, boolean resolve) argument
114 if (SUPERCLASS_NAME.equals(name)) {
118 return super.loadClass(name, resolve);

Completed in 605 milliseconds

12345