/art/runtime/ |
H A D | os_linux.cc | 42 File* OS::OpenFileWithFlags(const char* name, int flags) { argument 45 if (!file->Open(name, flags, 0666)) {
|
H A D | zip_archive.cc | 78 int flags = fcntl(fd, F_GETFD); local 79 if (flags == -1) { 83 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); 85 PLOG(WARNING) << "fcntl(" << fd << ", F_SETFD, " << flags << ") failed"; local
|
H A D | mem_map.h | 70 static MemMap* MapFile(size_t byte_count, int prot, int flags, int fd, off_t start, argument 72 return MapFileAtAddress(NULL, byte_count, prot, flags, fd, start, false, filename, error_msg); 83 static MemMap* MapFileAtAddress(byte* addr, size_t byte_count, int prot, int flags, int fd,
|
H A D | runtime_linux.cc | 239 void DumpX86Flags(std::ostream& os, uint32_t flags) { argument 241 if ((flags & (1 << 0)) != 0) { 244 if ((flags & (1 << 2)) != 0) { 247 if ((flags & (1 << 4)) != 0) { 250 if ((flags & (1 << 6)) != 0) { 253 if ((flags & (1 << 7)) != 0) { 256 if ((flags & (1 << 8)) != 0) { 259 if ((flags & (1 << 9)) != 0) { 262 if ((flags & (1 << 10)) != 0) { 265 if ((flags [all...] |
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 | intern_table.cc | 56 void InternTable::VisitRoots(RootCallback* callback, void* arg, VisitRootFlags flags) { argument 58 if ((flags & kVisitRootFlagAllRoots) != 0) { 60 } else if ((flags & kVisitRootFlagNewRoots) != 0) { 74 if ((flags & kVisitRootFlagClearRootLog) != 0) { 77 if ((flags & kVisitRootFlagStartLoggingNewRoots) != 0) { 79 } else if ((flags & kVisitRootFlagStopLoggingNewRoots) != 0) {
|
H A D | mem_map.cc | 55 (it->flags & PROT_READ) ? 'r' : '-', 56 (it->flags & PROT_WRITE) ? 'w' : '-', 57 (it->flags & PROT_EXEC) ? 'x' : '-', it->name.c_str()); 246 int flags = MAP_PRIVATE | MAP_ANONYMOUS; local 270 flags = MAP_PRIVATE; 331 actual = mmap(reinterpret_cast<void*>(ptr), page_aligned_byte_count, prot, flags, fd.get(), 354 actual = mmap(expected_ptr, page_aligned_byte_count, prot, flags, fd.get(), 0); 361 flags |= MAP_32BIT; 365 void* actual = mmap(expected_ptr, page_aligned_byte_count, prot, flags, fd.get(), 0); 374 expected_ptr, page_aligned_byte_count, prot, flags, f 386 MapFileAtAddress(byte* expected_ptr, size_t byte_count, int prot, int flags, int fd, off_t start, bool reuse, const char* filename, std::string* error_msg) argument 527 int flags = MAP_PRIVATE | MAP_FIXED; local 535 int flags = MAP_PRIVATE | MAP_ANONYMOUS; local [all...] |
H A D | runtime.cc | 551 // Start the JDWP thread. If the command-line debugger flags specified "suspend=y", 755 // Change the implicit checks flags based on runtime architecture. 1149 void Runtime::VisitConcurrentRoots(RootCallback* callback, void* arg, VisitRootFlags flags) { argument 1150 intern_table_->VisitRoots(callback, arg, flags); 1151 class_linker_->VisitRoots(callback, arg, flags); 1152 if ((flags & kVisitRootFlagNewRoots) == 0) { 1187 void Runtime::VisitRoots(RootCallback* callback, void* arg, VisitRootFlags flags) { argument 1189 VisitConcurrentRoots(callback, arg, flags);
|
/art/test/099-vmdebug/src/ |
H A D | Main.java | 120 public static void startMethodTracing(String filename, int bufferSize, int flags, argument 122 startMethodTracingMethod.invoke(null, filename, bufferSize, flags, samplingEnabled,
|
/art/runtime/jdwp/ |
H A D | jdwp_request.cc | 34 int8_t flags = Read1(); local 35 if ((flags & kJDWPFlagReply) != 0) {
|
/art/compiler/dex/ |
H A D | mir_analysis.cc | 909 uint32_t flags = analysis_attributes_[mir->dalvikInsn.opcode]; local 911 if ((flags & AN_BRANCH) == 0) { 912 computational_block &= ((flags & AN_COMPUTATIONAL) != 0); 916 if ((flags & AN_MATH) != 0) { 920 if ((flags & AN_FP) != 0) { 923 if ((flags & AN_ARRAYOP) != 0) { 926 if ((flags & AN_HEAVYWEIGHT) != 0) { 929 if ((flags & AN_SWITCH) != 0) {
|
H A D | mir_dataflow.cc | 29 * TODO - many optimization flags are incomplete - they will only limit the 1088 int flags = Instruction::FlagsOf(mir->dalvikInsn.opcode); local 1090 if ((flags & Instruction::kInvoke) != 0 && (mir->optimization_flags & MIR_INLINED) == 0) {
|
H A D | mir_field_info.h | 75 MirFieldInfo(uint16_t field_idx, uint16_t flags) argument 77 flags_(flags),
|
H A D | mir_method_info.h | 66 MirMethodInfo(uint16_t method_idx, uint16_t flags) argument 68 flags_(flags),
|
H A D | vreg_analysis.cc | 254 int flags = MIR::DecodedInstruction::IsPseudoMirOp(opcode) ? local 256 if ((flags & Instruction::kInvoke) &&
|
/art/compiler/dex/quick/ |
H A D | mir_to_lir-inl.h | 59 DCHECK(!insn->flags.use_def_invalid); 167 lir->flags.fixup = kFixupLabel; 172 uint64_t flags = GetTargetInstFlags(opcode); local 174 if (flags & NEEDS_FIXUP) { 176 lir->flags.fixup = kFixupLabel; 180 lir->flags.size = GetInsnSize(lir); 181 estimated_native_code_size_ += lir->flags.size; 187 if (flags & (IS_LOAD | IS_STORE)) { 189 if (flags & IS_LOAD) { 195 if (flags [all...] |
/art/runtime/base/unix_file/ |
H A D | fd_file.cc | 86 bool FdFile::Open(const std::string& path, int flags) { argument 87 return Open(path, flags, 0640); 90 bool FdFile::Open(const std::string& path, int flags, mode_t mode) { argument 92 fd_ = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode)); 98 if (kCheckSafeUsage && (flags & (O_RDWR | O_CREAT | O_WRONLY)) != 0) {
|
/art/runtime/quick/ |
H A D | inline_method_analyser.h | 134 InlineMethodFlags flags; member in struct:art::InlineMethod
|
/art/runtime/native/ |
H A D | dalvik_system_VMDebug.cc | 78 static void VMDebug_startMethodTracingDdmsImpl(JNIEnv*, jclass, jint bufferSize, jint flags, argument 80 Trace::Start("[DDMS]", -1, bufferSize, flags, true, samplingEnabled, intervalUs); 84 jobject javaFd, jint bufferSize, jint flags, 104 Trace::Start(traceFilename.c_str(), fd, bufferSize, flags, false, samplingEnabled, intervalUs); 108 jint bufferSize, jint flags, 114 Trace::Start(traceFilename.c_str(), -1, bufferSize, flags, false, samplingEnabled, intervalUs); 169 static void VMDebug_printLoadedClasses(JNIEnv* env, jclass, jint flags) { argument 171 return Runtime::Current()->GetClassLinker()->DumpAllClasses(flags); 83 VMDebug_startMethodTracingFd(JNIEnv* env, jclass, jstring javaTraceFilename, jobject javaFd, jint bufferSize, jint flags, jboolean samplingEnabled, jint intervalUs) argument 107 VMDebug_startMethodTracingFilename(JNIEnv* env, jclass, jstring javaTraceFilename, jint bufferSize, jint flags, jboolean samplingEnabled, jint intervalUs) argument
|
/art/compiler/dex/quick/arm/ |
H A D | target_arm.cc | 162 void ArmMir2Lir::SetupTargetResourceMasks(LIR* lir, uint64_t flags, argument 165 DCHECK(!lir->flags.use_def_invalid); 169 // These flags are somewhat uncommon - bypass if we can. 170 if ((flags & (REG_DEF_SP | REG_USE_SP | REG_DEF_LIST0 | REG_DEF_LIST1 | 173 if (flags & REG_DEF_SP) { 177 if (flags & REG_USE_SP) { 181 if (flags & REG_DEF_LIST0) { 185 if (flags & REG_DEF_LIST1) { 189 if (flags & REG_DEF_FPCS_LIST0) { 193 if (flags [all...] |
/art/compiler/dex/quick/mips/ |
H A D | target_mips.cc | 146 void MipsMir2Lir::SetupTargetResourceMasks(LIR* lir, uint64_t flags, argument 149 DCHECK(!lir->flags.use_def_invalid); 152 if (flags & REG_DEF_SP) { 156 if (flags & REG_USE_SP) { 160 if (flags & REG_DEF_LR) { 164 if (flags & REG_DEF_HI) { 168 if (flags & REG_DEF_LO) { 172 if (flags & REG_USE_HI) { 176 if (flags & REG_USE_LO) { 313 DECODE_ALIAS_INFO_REG(mips_lir->flags [all...] |
/art/compiler/ |
H A D | elf_writer_quick.h | 58 ElfSectionBuilder(const std::string& sec_name, Elf32_Word type, Elf32_Word flags, argument 64 section_.sh_flags = flags; 123 ElfRawSectionBuilder(const std::string& sec_name, Elf32_Word type, Elf32_Word flags, argument 126 : ElfSectionBuilder(sec_name, type, flags, link, info, align, entsize) {} 141 Elf32_Word type, Elf32_Word flags) 142 : ElfSectionBuilder(sec_name, type, flags, NULL, 0, kPageSize, 0), 140 ElfOatSectionBuilder(const std::string& sec_name, Elf32_Word size, Elf32_Word offset, Elf32_Word type, Elf32_Word flags) argument
|
/art/runtime/mirror/ |
H A D | class.h | 247 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); local 248 SetAccessFlags(flags | kAccClassIsFinalizable); 323 // Read access flags without using getter as whether something is a proxy can be check in 542 // Can this class access a member in the provided class with the provided member access flags? 646 void DumpClass(std::ostream& os, int flags) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 1134 // Access flags; low 16 bits are defined by VM spec.
|
H A D | class.cc | 201 void Class::DumpClass(std::ostream& os, int flags) { argument 202 if ((flags & kDumpClassFullDetail) == 0) { 204 if ((flags & kDumpClassClassLoader) != 0) { 207 if ((flags & kDumpClassInitialized) != 0) {
|
/art/compiler/dex/quick/arm64/ |
H A D | target_arm64.cc | 166 void Arm64Mir2Lir::SetupTargetResourceMasks(LIR* lir, uint64_t flags, argument 169 DCHECK(!lir->flags.use_def_invalid); 172 // These flags are somewhat uncommon - bypass if we can. 173 if ((flags & (REG_DEF_SP | REG_USE_SP | REG_DEF_LR)) != 0) { 174 if (flags & REG_DEF_SP) { 178 if (flags & REG_USE_SP) { 182 if (flags & REG_DEF_LR) { 547 DECODE_ALIAS_INFO_REG(arm_lir->flags.alias_info), 548 DECODE_ALIAS_INFO_WIDE(arm_lir->flags.alias_info) ? "(+1)" : ""); 776 return Arm64Mir2Lir::EncodingMap[UNWIDE(opcode)].flags; [all...] |