Home
last modified time | relevance | path

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

12345678910>>...29

/art/libartbase/base/
Dos_linux.cc32 File* OS::OpenFileForReading(const char* name) { in OpenFileForReading() argument
33 return OpenFileWithFlags(name, O_RDONLY); in OpenFileForReading()
36 File* OS::OpenFileReadWrite(const char* name) { in OpenFileReadWrite() argument
37 return OpenFileWithFlags(name, O_RDWR); in OpenFileReadWrite()
40 static File* CreateEmptyFile(const char* name, int extra_flags) { in CreateEmptyFile() argument
43 unlink(name); in CreateEmptyFile()
45 return OS::OpenFileWithFlags(name, O_CREAT | extra_flags); in CreateEmptyFile()
48 File* OS::CreateEmptyFile(const char* name) { in CreateEmptyFile() argument
49 return art::CreateEmptyFile(name, O_RDWR | O_TRUNC); in CreateEmptyFile()
52 File* OS::CreateEmptyFileWriteOnly(const char* name) { in CreateEmptyFileWriteOnly() argument
[all …]
Dos.h35 static File* OpenFileForReading(const char* name);
38 static File* OpenFileReadWrite(const char* name);
42 static File* CreateEmptyFile(const char* name);
46 static File* CreateEmptyFileWriteOnly(const char* name);
49 static File* OpenFileWithFlags(const char* name, int flags, bool auto_flush = true);
52 static bool FileExists(const char* name, bool check_file_type = true);
55 static bool DirectoryExists(const char* name);
58 static int64_t GetFileSizeBytes(const char* name);
Dsystrace.h38 inline void ATraceBegin(const char* name) { in ATraceBegin() argument
39 PaletteTraceBegin(name); in ATraceBegin()
46 inline void ATraceIntegerValue(const char* name, int32_t value) { in ATraceIntegerValue() argument
47 PaletteTraceIntegerValue(name, value); in ATraceIntegerValue()
52 explicit ScopedTrace(const char* name) { in ScopedTrace() argument
53 ATraceBegin(name); in ScopedTrace()
62 explicit ScopedTrace(const std::string& name) : ScopedTrace(name.c_str()) {} in ScopedTrace() argument
/art/runtime/arch/x86/
Dasm_support_x86.S34 #define RAW_VAR(name) \name argument
35 #define VAR(name) \name argument
36 #define CALLVAR(name) SYMBOL(\name) argument
37 #define PLT_VAR(name) \name@PLT argument
38 #define REG_VAR(name) %\name argument
39 #define CALL_MACRO(name) \name argument
48 #define RAW_VAR(name) name& argument
49 #define VAR(name) name& argument
50 #define CALLVAR(name) SYMBOL(name&) argument
51 #define PLT_VAR(name) name&@PLT argument
[all …]
/art/tools/luci/config/
Dluci-notify.cfg5 # Please keep this list sorted by name.
8 name: "art-team+chromium-buildbot"
19 name: "angler-armv7-debug"
23 name: "angler-armv7-non-gen-cc"
27 name: "angler-armv7-ndebug"
31 name: "angler-armv8-debug"
35 name: "angler-armv8-non-gen-cc"
39 name: "angler-armv8-ndebug"
43 name: "aosp-builder-cc"
47 name: "aosp-builder-cms"
[all …]
Dcr-buildbucket.cfg7 # Please keep this list sorted by bucket name.
9 name: "ci"
29 name: "luci.art.ci"
48 name: "art"
54 name: "angler-armv7-debug"
57 name: "angler-armv7-non-gen-cc"
60 name: "angler-armv7-ndebug"
63 name: "angler-armv8-debug"
66 name: "angler-armv8-non-gen-cc"
69 name: "angler-armv8-ndebug"
[all …]
Dluci-milo.cfg5 name: "ART LUCI Console"
12 name: "buildbucket/luci.art.ci/angler-armv7-debug"
17 name: "buildbucket/luci.art.ci/angler-armv7-non-gen-cc"
22 name: "buildbucket/luci.art.ci/angler-armv7-ndebug"
27 name: "buildbucket/luci.art.ci/angler-armv8-debug"
32 name: "buildbucket/luci.art.ci/angler-armv8-non-gen-cc"
37 name: "buildbucket/luci.art.ci/angler-armv8-ndebug"
42 name: "buildbucket/luci.art.ci/aosp-builder-cc"
47 name: "buildbucket/luci.art.ci/aosp-builder-cms"
52 name: "buildbucket/luci.art.ci/bullhead-armv7-gcstress-ndebug"
[all …]
/art/test/626-const-class-linking/src/
DMisbehavingLoader.java26 protected Class<?> findClass(String name) throws ClassNotFoundException in findClass() argument
28 if (name.equals("Helper1") || name.equals("Helper2")) { in findClass()
29 return super.findClass(name); in findClass()
30 } else if (name.equals("Test")) { in findClass()
33 return super.findClass(name); in findClass()
36 protected Class<?> loadClass(String name, boolean resolve) in loadClass() argument
39 if (name.equals("Helper1") || name.equals("Helper2")) { in loadClass()
40 return super.loadClass(name, resolve); in loadClass()
41 } else if (name.equals("Test")) { in loadClass()
45 return super.loadClass(name, resolve); in loadClass()
DRacyLoader.java39 protected Class<?> findClass(String name) throws ClassNotFoundException in findClass() argument
41 if (name.equals("Test") || name.equals("Test3")) { in findClass()
42 throw new Error("Unexpected RacyLoader.findClass(\"" + name + "\")"); in findClass()
44 return super.findClass(name); in findClass()
47 protected Class<?> loadClass(String name, boolean resolve) in loadClass() argument
50 if (name.equals("Test") || name.equals("Test3")) { in loadClass()
52 Class<?> result = defining_loaders[my_index & 1].loadClass(name, resolve); in loadClass()
56 return super.loadClass(name, resolve); in loadClass()
DDelegatingLoader.java29 protected Class<?> findClass(String name) throws ClassNotFoundException in findClass() argument
31 if (name.equals("Test")) { in findClass()
34 return super.findClass(name); in findClass()
37 protected Class<?> loadClass(String name, boolean resolve) in loadClass() argument
40 if (name.equals("Test")) { in loadClass()
41 return defining_loader.loadClass(name, resolve); in loadClass()
43 return super.loadClass(name, resolve); in loadClass()
DDefiningLoader.java75 protected Class<?> findClass(String name) throws ClassNotFoundException in findClass() argument
78 return findClassDalvik(name); in findClass()
80 return findClassNonDalvik(name); in findClass()
87 private Class<?> findClassDalvik(String name) in findClassDalvik() argument
127 meth.invoke(mDexFile, name, this); in findClassDalvik()
141 private Class<?> findClassNonDalvik(String name) in findClassNonDalvik() argument
144 String[] pathNames = { CLASS_PATH1 + name + ".class", CLASS_PATH2 + name + ".class" }; in findClassNonDalvik()
180 return defineClass(name, fileData, 0, fileData.length); in findClassNonDalvik()
196 synchronized protected Class<?> loadClass(String name, boolean resolve) in loadClass() argument
207 res = findLoadedClass(name); in loadClass()
[all …]
/art/test/674-hiddenapi/src-ex/
DChildClass.java87 configMessage = "parentDomain=" + parentDomain.name() + ", childDomain=" + childDomain.name() in runTest()
141 String suffix = (isStatic ? "Static" : "") + hiddenness.name(); in runTest()
146 String baseName = visibility.name() + suffix; in runTest()
158 String name = "method" + visibility.name() + "Default" + hiddenness.name(); in runTest() local
159 checkMethod(ParentInterface.class, name, /*isStatic*/ false, visibility, expected, in runTest()
171 checkNullaryConstructor(Class.forName("NullaryConstructor" + hiddenness.name()), expected); in runTest()
184 private static void checkMemberCallback(Class<?> klass, String name, in checkMemberCallback() argument
192 klass.getField(name); in checkMemberCallback()
194 klass.getMethod(name); in checkMemberCallback()
198 klass.getDeclaredField(name); in checkMemberCallback()
[all …]
DReflection.java25 public static boolean canDiscoverWithGetDeclaredField(Class<?> klass, String name) { in canDiscoverWithGetDeclaredField() argument
27 klass.getDeclaredField(name); in canDiscoverWithGetDeclaredField()
34 public static boolean canDiscoverWithGetDeclaredFields(Class<?> klass, String name) { in canDiscoverWithGetDeclaredFields() argument
36 if (f.getName().equals(name)) { in canDiscoverWithGetDeclaredFields()
43 public static boolean canDiscoverWithGetField(Class<?> klass, String name) { in canDiscoverWithGetField() argument
45 klass.getField(name); in canDiscoverWithGetField()
52 public static boolean canDiscoverWithGetFields(Class<?> klass, String name) { in canDiscoverWithGetFields() argument
54 if (f.getName().equals(name)) { in canDiscoverWithGetFields()
61 public static boolean canGetField(Class<?> klass, String name) { in canGetField() argument
63 Field f = klass.getDeclaredField(name); in canGetField()
[all …]
/art/test/dexdump/
Dvalues.txt46 name : 'mB0'
51 name : 'mB1'
56 name : 'mB2'
61 name : 'mB3'
66 name : 'mC0'
71 name : 'mC1'
76 name : 'mC2'
81 name : 'mC3'
86 name : 'mC4'
91 name : 'mC5'
[all …]
/art/runtime/arch/x86_64/
Dasm_support_x86_64.S33 #define RAW_VAR(name) \name argument
34 #define VAR(name) \name argument
35 #define CALLVAR(name) SYMBOL(\name) argument
36 #define PLT_VAR(name) \name@PLT argument
37 #define REG_VAR(name) %\name argument
38 #define CALL_MACRO(name) \name argument
47 #define RAW_VAR(name) name& argument
48 #define VAR(name) name& argument
49 #define CALLVAR(name) SYMBOL(name&) argument
50 #define PLT_VAR(name) name&@PLT argument
[all …]
/art/runtime/interpreter/mterp/common/
Dgen_setup.py36 def write_opcode(num, name, write_method): argument
38 opnum, opcode = str(num), name
41 write_line(".L_{1}: /* {0:#04x} */".format(num, name))
53 def add_helper(write_helper, name = None): argument
54 if name == None:
55 name = "mterp_" + opcode + "_helper"
59 helper_start(name)
61 helper_end(name)
63 generated_helpers[name] = out.read()
65 return name
[all …]
/art/runtime/arch/arm/
Dasm_support_arm.S42 .macro RUNTIME_CURRENT name, num, rDest
47 ldr \rDest, .Lruntime_instance_\name\()_\num @ Load GOT_PREL offset of Runtime::instance_.
48 .Lload_got_\name\()_\num\():
57 .macro DEF_ENTRY thumb_or_arm, name, alignment
64 .type \name, #function
65 .hidden \name // Hide this as a global symbol, so we do not incur plt calls.
66 .global \name
73 \name:
83 RUNTIME_CURRENT \name, 1, \rDest
86 RUNTIME_CURRENT \name, 2, \rDest
[all …]
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DDiffedFieldValue.java29 public final String name; field in DiffedFieldValue
82 return new DiffedFieldValue(current.name, in matched()
96 return new DiffedFieldValue(current.name, current.type, current.value, null, Status.ADDED); in added()
106 return new DiffedFieldValue(baseline.name, baseline.type, null, baseline.value, Status.DELETED); in deleted()
109 private DiffedFieldValue(String name, Type type, Value current, Value baseline, Status status) { in DiffedFieldValue() argument
110 this.name = name; in DiffedFieldValue()
118 return Objects.hash(name, type, current, baseline, status); in hashCode()
125 return name.equals(other.name) in equals()
138 return "(" + name + " " + type + " +" + current + ")"; in toString()
141 return "(" + name + " " + type + " " + current + " " + baseline + ")"; in toString()
[all …]
/art/test/121-modifiers/src2/
DMain.java102 String name = f.getName(); in check() local
107 throw new RuntimeException("Unexpected field bits: " + name); in check()
109 if (name.equals("I")) { in check()
113 int bitmask = getFieldMask(name); in check()
122 String name = m.getName(); in check() local
127 throw new RuntimeException("Unexpected method bits: " + name); in check()
130 int bitmask = getMethodMask(name); in check()
137 private static int getFieldMask(String name) { in getFieldMask() argument
138 int index = name.indexOf("Field"); in getFieldMask()
140 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
120 meth.invoke(mDexFile, name, this); in findClassDalvik()
134 private Class<?> findClassNonDalvik(String name) in findClassNonDalvik() argument
137 String pathName = CLASS_PATH + name + ".class"; in findClassNonDalvik()
167 return defineClass(name, fileData, 0, fileData.length); in findClassNonDalvik()
183 protected Class<?> loadClass(String name, boolean resolve) in loadClass() argument
194 res = findLoadedClass(name); in loadClass()
[all …]
/art/tools/checker/file_format/c1visualizer/
Dstruct.py27 def findPass(self, name): argument
29 if entry.name == name:
40 def __init__(self, parent, name, body, startLineNo): argument
42 self.name = name
46 if not self.name:
59 and self.name == other.name \
/art/test/647-jni-get-field-id/src/
DDefiningLoader.java75 protected Class<?> findClass(String name) throws ClassNotFoundException in findClass() argument
78 return findClassDalvik(name); in findClass()
80 return findClassNonDalvik(name); in findClass()
87 private Class<?> findClassDalvik(String name) in findClassDalvik() argument
127 meth.invoke(mDexFile, name, this); in findClassDalvik()
141 private Class<?> findClassNonDalvik(String name) in findClassNonDalvik() argument
144 String[] pathNames = { CLASS_PATH1 + name + ".class", CLASS_PATH2 + name + ".class" }; in findClassNonDalvik()
180 return defineClass(name, fileData, 0, fileData.length); in findClassNonDalvik()
196 synchronized protected Class<?> loadClass(String name, boolean resolve) in loadClass() argument
207 res = findLoadedClass(name); in loadClass()
[all …]
/art/libnativeloader/
Dnative_loader_namespace.cpp50 Result<NativeLoaderNamespace> NativeLoaderNamespace::GetExportedNamespace(const std::string& name, in GetExportedNamespace() argument
53 auto raw = android_get_exported_namespace(name.c_str()); in GetExportedNamespace()
55 return NativeLoaderNamespace(name, raw); in GetExportedNamespace()
58 auto raw = NativeBridgeGetExportedNamespace(name.c_str()); in GetExportedNamespace()
60 return NativeLoaderNamespace(name, raw); in GetExportedNamespace()
63 return Errorf("namespace {} does not exist or exported", name); in GetExportedNamespace()
86 const std::string& name, const std::string& search_paths, const std::string& permitted_paths, in Create() argument
123 android_create_namespace(name.c_str(), nullptr, search_paths.c_str(), type, in Create()
126 return NativeLoaderNamespace(name, raw); in Create()
130 name.c_str(), nullptr, search_paths.c_str(), type, permitted_paths.c_str(), in Create()
[all …]
/art/test/ti-agent/
Dcommon_helper.cc58 std::string name; in GetJavaValueByType() local
66 name = "java/lang/Boolean"; in GetJavaValueByType()
69 name = "java/lang/Byte"; in GetJavaValueByType()
72 name = "java/lang/Character"; in GetJavaValueByType()
75 name = "java/lang/Short"; in GetJavaValueByType()
78 name = "java/lang/Integer"; in GetJavaValueByType()
81 name = "java/lang/Long"; in GetJavaValueByType()
84 name = "java/lang/Float"; in GetJavaValueByType()
87 name = "java/lang/Double"; in GetJavaValueByType()
94 oss << "(" << type << ")L" << name << ";"; in GetJavaValueByType()
[all …]
/art/test/510-checker-try-catch/smali/
DBuilder.smali24 ## CHECK: name "B0"
30 ## CHECK: name "<<BTry1:B\d+>>"
35 ## CHECK: name "<<BAdd:B\d+>>"
40 ## CHECK: name "<<BTry2:B\d+>>"
46 ## CHECK: name "<<BAfterTry2:B\d+>>"
51 ## CHECK: name "<<BReturn>>"
56 ## CHECK: name "<<BCatch1>>"
62 ## CHECK: name "<<BCatch2>>"
68 ## CHECK: name "<<BCatch3>>"
74 ## CHECK: name "<<BEnterTry1>>"
[all …]

12345678910>>...29