/art/runtime/gc/collector/ |
H A D | sticky_mark_sweep.cc | 63 void StickyMarkSweep::MarkConcurrentRoots(VisitRootFlags flags) { argument 65 // Visit all runtime roots and clear dirty flags including class loader. This is done to prevent 73 static_cast<VisitRootFlags>(flags | kVisitRootFlagClassLoader));
|
/art/runtime/mirror/ |
H A D | field.h | 117 void SetAccessFlags(uint32_t flags) REQUIRES_SHARED(Locks::mutator_lock_) { 118 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, access_flags_), flags); local
|
H A D | class.h | 218 uint32_t flags = GetAccessFlags(); local 219 SetAccessFlags(flags | kAccSkipHiddenApiChecks); 224 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); local 225 SetAccessFlags(flags | kAccRecursivelyInitialized); 230 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); local 231 SetAccessFlags(flags | kAccHasDefaultMethod); 235 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); local 236 SetAccessFlags(flags | kAccClassIsFinalizable); 288 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); local 289 if ((flags [all...] |
/art/libartbase/base/ |
H A D | os_linux.cc | 56 File* OS::OpenFileWithFlags(const char* name, int flags, bool auto_flush) { argument 58 bool read_only = ((flags & O_ACCMODE) == O_RDONLY); 60 std::unique_ptr<File> file(new File(name, flags, 0666, check_usage));
|
H A D | scoped_flock.cc | 35 /* static */ ScopedFlock LockedFile::Open(const char* filename, int flags, bool block, argument 43 std::unique_ptr<File> file(OS::OpenFileWithFlags(filename, flags, false /* check_usage */));
|
/art/profman/ |
H A D | boot_image_profile.cc | 85 const uint32_t flags = it.GetFieldAccessFlags(); local 86 if ((flags & kAccFinal) == 0) { 95 const uint32_t flags = it.GetMethodAccessFlags(); local 96 if ((flags & kAccNative) != 0) { 101 if ((flags & kAccConstructor) != 0 && (flags & kAccStatic) != 0) {
|
H A D | profile_assistant_test.cc | 89 Hotness::Flag flags = Hotness::kFlagPostStartup; local 92 dex_location2, dex_location_checksum2, i, number_of_methods2, pmi, flags)); 94 dex_location1, dex_location_checksum1, i, number_of_methods1, pmi, flags)); 97 dex_location1, dex_location_checksum1, i, number_of_methods1, pmi, flags)); 99 dex_location2, dex_location_checksum2, i, number_of_methods2, pmi, flags));
|
/art/test/570-checker-osr/src/ |
H A D | DeoptimizationController.java | 92 public static void startMethodTracing(String filename, int bufferSize, int flags, argument 94 startMethodTracingMethod.invoke(null, filename, bufferSize, flags, samplingEnabled,
|
/art/test/802-deoptimization/src/ |
H A D | DeoptimizationController.java | 89 public static void startMethodTracing(String filename, int bufferSize, int flags, argument 91 startMethodTracingMethod.invoke(null, filename, bufferSize, flags, samplingEnabled,
|
/art/libartbase/base/unix_file/ |
H A D | fd_file.h | 44 FdFile(const std::string& path, int flags, bool checkUsage) argument 45 : FdFile(path, flags, 0640, checkUsage) {} 46 FdFile(const std::string& path, int flags, mode_t mode, bool checkUsage); 173 // Opens file 'file_path' using 'flags' and 'mode'. 174 bool Open(const std::string& file_path, int flags); 175 bool Open(const std::string& file_path, int flags, mode_t mode);
|
H A D | fd_file.cc | 57 FdFile::FdFile(const std::string& path, int flags, mode_t mode, bool check_usage) argument 59 Open(path, flags, mode); 132 bool FdFile::Open(const std::string& path, int flags) { argument 133 return Open(path, flags, 0640); 136 bool FdFile::Open(const std::string& path, int flags, mode_t mode) { argument 139 read_only_mode_ = ((flags & O_ACCMODE) == O_RDONLY); 140 fd_ = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode)); 145 if (kCheckSafeUsage && (flags & (O_RDWR | O_CREAT | O_WRONLY)) != 0) {
|
/art/test/545-tracing-and-jit/src/ |
H A D | Main.java | 239 public static void startMethodTracing(String filename, int bufferSize, int flags, argument 241 startMethodTracingMethod.invoke(null, filename, bufferSize, flags, samplingEnabled,
|
/art/runtime/jdwp/ |
H A D | jdwp_request.cc | 35 int8_t flags = Read1(); local 36 if ((flags & kJDWPFlagReply) != 0) {
|
/art/runtime/ |
H A D | mem_map.h | 115 int flags, 124 flags, 144 int flags, 254 int flags, 261 int flags, 113 MapFile(size_t byte_count, int prot, int flags, int fd, off_t start, bool low_4gb, const char* filename, std::string* error_msg) argument
|
H A D | runtime_stats.h | 67 void Clear(int flags) { argument 68 if ((flags & KIND_ALLOCATED_OBJECTS) != 0) { 71 if ((flags & KIND_ALLOCATED_BYTES) != 0) { 74 if ((flags & KIND_FREED_OBJECTS) != 0) { 77 if ((flags & KIND_FREED_BYTES) != 0) { 80 if ((flags & KIND_GC_INVOCATIONS) != 0) { 83 if ((flags & KIND_CLASS_INIT_COUNT) != 0) { 86 if ((flags & KIND_CLASS_INIT_TIME) != 0) {
|
H A D | zip_archive.cc | 211 int flags = fcntl(fd, F_GETFD); local 212 if (flags == -1) { 216 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); 218 PLOG(WARNING) << "fcntl(" << fd << ", F_SETFD, " << flags << ") failed"; local
|
H A D | intern_table.cc | 62 void InternTable::VisitRoots(RootVisitor* visitor, VisitRootFlags flags) { argument 64 if ((flags & kVisitRootFlagAllRoots) != 0) { 66 } else if ((flags & kVisitRootFlagNewRoots) != 0) { 80 if ((flags & kVisitRootFlagClearRootLog) != 0) { 83 if ((flags & kVisitRootFlagStartLoggingNewRoots) != 0) { 85 } else if ((flags & kVisitRootFlagStopLoggingNewRoots) != 0) {
|
/art/test/099-vmdebug/src/ |
H A D | Main.java | 335 public static void startMethodTracing(String filename, int bufferSize, int flags, argument 337 startMethodTracingMethod.invoke(null, filename, bufferSize, flags, samplingEnabled,
|
/art/dexlayout/ |
H A D | dexlayout_test.cc | 347 uint8_t flags = 0u; local 350 flags |= ProfileCompilationInfo::MethodHotness::kFlagHot; 353 flags |= ProfileCompilationInfo::MethodHotness::kFlagStartup; 356 pfi.AddMethodIndex(static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags),
|
/art/runtime/jit/ |
H A D | profile_compilation_info_test.cc | 104 Hotness::Flag flags) { 112 if (!info.AddMethods(profile_methods, flags) || !info.AddClasses(resolved_classes)) { 135 Hotness::Flag flags, 176 if (!info.AddMethods(profile_methods, flags) 100 SaveProfilingInfo( const std::string& filename, const std::vector<ArtMethod*>& methods, const std::set<DexCacheResolvedClasses>& resolved_classes, Hotness::Flag flags) argument 132 SaveProfilingInfoWithFakeInlineCaches( const std::string& filename, const std::vector<ArtMethod*>& methods, Hotness::Flag flags, SafeMap<ArtMethod*, ProfileMethodInfo>* profile_methods_map) argument
|
/art/runtime/native/ |
H A D | dalvik_system_VMDebug.cc | 90 static void VMDebug_startMethodTracingDdmsImpl(JNIEnv*, jclass, jint bufferSize, jint flags, argument 92 Trace::Start("[DDMS]", -1, bufferSize, flags, Trace::TraceOutputMode::kDDMS, 98 jint javaFd, jint bufferSize, jint flags, 121 Trace::Start(traceFilename.c_str(), fd, bufferSize, flags, outputMode, 127 jint bufferSize, jint flags, 133 Trace::Start(traceFilename.c_str(), -1, bufferSize, flags, Trace::TraceOutputMode::kFile, 190 static void VMDebug_printLoadedClasses(JNIEnv* env, jclass, jint flags) { argument 203 DumpClassVisitor visitor(flags); 97 VMDebug_startMethodTracingFd(JNIEnv* env, jclass, jstring javaTraceFilename, jint javaFd, jint bufferSize, jint flags, jboolean samplingEnabled, jint intervalUs, jboolean streamingOutput) argument 126 VMDebug_startMethodTracingFilename(JNIEnv* env, jclass, jstring javaTraceFilename, jint bufferSize, jint flags, jboolean samplingEnabled, jint intervalUs) argument
|
/art/adbconnection/ |
H A D | adbconnection.cc | 274 static bool FlagsSet(int16_t data, int16_t flags) { argument 275 return (data & flags) == flags; 350 // next the flags. (0 for cmd packet because DDMS).
|
/art/libdexfile/dex/ |
H A D | dex_instruction.h | 154 // Old flags. Keeping them around in case we might need them again some day. 211 uint8_t flags; // Set of Flags. member in struct:art::Instruction::InstructionDescriptor 534 // Returns the flags for the given opcode. 536 return kInstructionDescriptors[opcode].flags; 539 // Return the verify flags for the given opcode. 546 return (kInstructionDescriptors[Opcode()].flags & kBranch) != 0; 551 return (kInstructionDescriptors[Opcode()].flags & kUnconditional) != 0; 568 return (kInstructionDescriptors[Opcode()].flags & kSwitch) != 0; 573 return (kInstructionDescriptors[Opcode()].flags & kThrow) != 0; 578 return (kInstructionDescriptors[Opcode()].flags [all...] |
/art/openjdkjvm/ |
H A D | OpenjdkJvm.cc | 74 JNIEXPORT jint JVM_Open(const char* fname, jint flags, jint mode) { argument 80 if (flags & JVM_O_DELETE) { 85 int fd = TEMP_FAILURE_RETRY(open(fname, flags & ~JVM_O_DELETE, mode)); 270 JNIEXPORT jint JVM_Send(jint fd, char* buf, jint nBytes, jint flags) { argument 271 return TEMP_FAILURE_RETRY(send(fd, buf, nBytes, flags));
|
/art/runtime/dex/ |
H A D | dex_file_annotations.cc | 1208 // Extract the parameters' access flags int[]. 1476 bool GetInnerClassFlags(Handle<mirror::Class> klass, uint32_t* flags) { argument 1504 *flags = annotation_value.value_.GetI();
|