Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 85) sorted by relevance

1234

/art/test/117-nopatchoat/
Drun20 flags="${@/--relocate/}"
21 flags="${flags/--no-relocate/}"
22 flags="${flags} --relocate"
28 ${RUN} ${flags} --runtime-option -Xnodex2oat
32 ${RUN} ${flags} --runtime-option -Xdex2oat
36 ${RUN} ${flags}
/art/runtime/
Druntime_stats.h67 void Clear(int flags) { in Clear()
68 if ((flags & KIND_ALLOCATED_OBJECTS) != 0) { in Clear()
71 if ((flags & KIND_ALLOCATED_BYTES) != 0) { in Clear()
74 if ((flags & KIND_FREED_OBJECTS) != 0) { in Clear()
77 if ((flags & KIND_FREED_BYTES) != 0) { in Clear()
80 if ((flags & KIND_GC_INVOCATIONS) != 0) { in Clear()
83 if ((flags & KIND_CLASS_INIT_COUNT) != 0) { in Clear()
86 if ((flags & KIND_CLASS_INIT_TIME) != 0) { in Clear()
Dmem_map.cc55 (it->flags & PROT_READ) ? 'r' : '-', in operator <<()
56 (it->flags & PROT_WRITE) ? 'w' : '-', in operator <<()
57 (it->flags & PROT_EXEC) ? 'x' : '-', it->name.c_str()); in operator <<()
246 int flags = MAP_PRIVATE | MAP_ANONYMOUS; in MapAnonymous() local
270 flags = MAP_PRIVATE; in MapAnonymous()
331 actual = mmap(reinterpret_cast<void*>(ptr), page_aligned_byte_count, prot, flags, fd.get(), in MapAnonymous()
354 actual = mmap(expected_ptr, page_aligned_byte_count, prot, flags, fd.get(), 0); in MapAnonymous()
361 flags |= MAP_32BIT; in MapAnonymous()
365 void* actual = mmap(expected_ptr, page_aligned_byte_count, prot, flags, fd.get(), 0); in MapAnonymous()
374 expected_ptr, page_aligned_byte_count, prot, flags, fd.get(), in MapAnonymous()
[all …]
Druntime_linux.cc239 void DumpX86Flags(std::ostream& os, uint32_t flags) { in DumpX86Flags()
241 if ((flags & (1 << 0)) != 0) { in DumpX86Flags()
244 if ((flags & (1 << 2)) != 0) { in DumpX86Flags()
247 if ((flags & (1 << 4)) != 0) { in DumpX86Flags()
250 if ((flags & (1 << 6)) != 0) { in DumpX86Flags()
253 if ((flags & (1 << 7)) != 0) { in DumpX86Flags()
256 if ((flags & (1 << 8)) != 0) { in DumpX86Flags()
259 if ((flags & (1 << 9)) != 0) { in DumpX86Flags()
262 if ((flags & (1 << 10)) != 0) { in DumpX86Flags()
265 if ((flags & (1 << 11)) != 0) { in DumpX86Flags()
Dthread-inl.h90 if (UNLIKELY((old_state_and_flags.as_struct.flags & kCheckpointRequest) != 0)) { in TransitionFromRunnableToSuspended()
95 DCHECK_EQ((old_state_and_flags.as_struct.flags & kCheckpointRequest), 0); in TransitionFromRunnableToSuspended()
96 new_state_and_flags.as_struct.flags = old_state_and_flags.as_struct.flags; in TransitionFromRunnableToSuspended()
121 if (UNLIKELY((old_state_and_flags.as_struct.flags & kSuspendRequest) != 0)) { in TransitionFromSuspendedToRunnable()
126 while ((old_state_and_flags.as_struct.flags & kSuspendRequest) != 0) { in TransitionFromSuspendedToRunnable()
139 if (LIKELY((old_state_and_flags.as_struct.flags & kSuspendRequest) == 0)) { in TransitionFromSuspendedToRunnable()
Dzip_archive.cc78 int flags = fcntl(fd, F_GETFD); in SetCloseOnExec() local
79 if (flags == -1) { in SetCloseOnExec()
83 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); in SetCloseOnExec()
85 PLOG(WARNING) << "fcntl(" << fd << ", F_SETFD, " << flags << ") failed"; in SetCloseOnExec()
Dos_linux.cc42 File* OS::OpenFileWithFlags(const char* name, int flags) { in OpenFileWithFlags() argument
45 if (!file->Open(name, flags, 0666)) { in OpenFileWithFlags()
Dmem_map.h70 static MemMap* MapFile(size_t byte_count, int prot, int flags, int fd, off_t start, in MapFile() argument
72 return MapFileAtAddress(NULL, byte_count, prot, flags, fd, start, false, filename, error_msg); in MapFile()
83 static MemMap* MapFileAtAddress(byte* addr, size_t byte_count, int prot, int flags, int fd,
Dintern_table.cc56 void InternTable::VisitRoots(RootCallback* callback, void* arg, VisitRootFlags flags) { in VisitRoots() argument
58 if ((flags & kVisitRootFlagAllRoots) != 0) { in VisitRoots()
60 } else if ((flags & kVisitRootFlagNewRoots) != 0) { in VisitRoots()
74 if ((flags & kVisitRootFlagClearRootLog) != 0) { in VisitRoots()
77 if ((flags & kVisitRootFlagStartLoggingNewRoots) != 0) { in VisitRoots()
79 } else if ((flags & kVisitRootFlagStopLoggingNewRoots) != 0) { in VisitRoots()
/art/compiler/dex/quick/
Dmir_to_lir-inl.h59 DCHECK(!insn->flags.use_def_invalid); in RawLIR()
167 lir->flags.fixup = kFixupLabel; in SetupResourceMasks()
172 uint64_t flags = GetTargetInstFlags(opcode); in SetupResourceMasks() local
174 if (flags & NEEDS_FIXUP) { in SetupResourceMasks()
176 lir->flags.fixup = kFixupLabel; in SetupResourceMasks()
180 lir->flags.size = GetInsnSize(lir); in SetupResourceMasks()
181 estimated_native_code_size_ += lir->flags.size; in SetupResourceMasks()
187 if (flags & (IS_LOAD | IS_STORE)) { in SetupResourceMasks()
189 if (flags & IS_LOAD) { in SetupResourceMasks()
195 if (flags & IS_STORE) { in SetupResourceMasks()
[all …]
Dlocal_optimizations.cc39 #define LOAD_STORE_FILTER(flags) ((flags & (IS_QUAD_OP|IS_STORE)) == (IS_QUAD_OP|IS_STORE) || \ argument
40 (flags & (IS_QUAD_OP|IS_LOAD)) == (IS_QUAD_OP|IS_LOAD) || \
41 (flags & REG_USE012) == REG_USE012 || \
42 (flags & REG_DEF01) == REG_DEF01 || \
43 (flags & REG_DEF_LIST0) || \
44 (flags & REG_DEF_LIST1) || \
45 (flags & REG_USE_LIST0) || \
46 (flags & REG_USE_LIST1) || \
47 (flags & REG_DEF_FPCS_LIST0) || \
48 (flags & REG_DEF_FPCS_LIST2) || \
[all …]
Dcodegen_util.cc83 DCHECK(!inst->flags.use_def_invalid); in MarkSafepointPC()
90 DCHECK(!after->flags.use_def_invalid); in MarkSafepointPCAfter()
125 lir->flags.is_nop = true; in NopLIR()
133 DCHECK(!lir->flags.use_def_invalid); in SetMemRefType()
180 lir->flags.alias_info = ENCODE_ALIAS_INFO(reg_id, is64bit); in AnnotateDalvikRegAccess()
253 if (lir->flags.is_nop && !dump_nop) { in DumpLIRInsn()
263 lir->flags.is_nop ? "(nop)" : ""); in DumpLIRInsn()
268 if (lir->u.m.use_mask && (!lir->flags.is_nop || dump_nop)) { in DumpLIRInsn()
271 if (lir->u.m.def_mask && (!lir->flags.is_nop || dump_nop)) { in DumpLIRInsn()
307 if (!lir->flags.is_nop && !IsPseudoLirOp(lir->opcode)) { in UpdateLIROffsets()
[all …]
/art/test/118-noimage-dex2oat/
Drun18 flags="${@/--no-relocate/--relocate}"
26 flags="${flags/--prebuild/}"
33 ${RUN} ${flags} ${BPATH} --runtime-option -Xnoimage-dex2oat --runtime-option -Xnodex2oat
37 ${RUN} ${flags} ${BPATH} --runtime-option -Ximage-dex2oat
41 ${RUN} ${flags} ${BPATH}
/art/test/116-nodex2oat/
Drun18 flags="${@/--prebuild/}"
25 ${RUN} ${flags} --runtime-option -Xnodex2oat
29 ${RUN} ${flags} --runtime-option -Xdex2oat
33 ${RUN} ${flags}
/art/test/119-noimage-patchoat/
Drun18 flags="${@/--no-relocate/--relocate}"
28 ${RUN} ${flags} ${BPATH} --runtime-option -Xnoimage-dex2oat --runtime-option -Xpatchoat:${false_bin}
32 ${RUN} ${flags} ${BPATH} --runtime-option -Ximage-dex2oat
36 ${RUN} ${flags} ${BPATH}
/art/compiler/dex/quick/arm/
Dassemble_arm.cc40 k3, k3s, k3e, flags, name, fmt, size, fixup) \ argument
42 {k3, k3s, k3e}}, opcode, flags, name, fmt, size, fixup}
1048 orig_lir->flags.fixup = kFixupNone; in ReplaceFixup()
1072 if (!lir->flags.is_nop) { in EncodeLIRs()
1083 } else if (LIKELY(!lir->flags.is_nop)) { in EncodeLIRs()
1242 lir->flags.generation = generation; in AssembleLIR()
1243 switch (static_cast<FixupKind>(lir->flags.fixup)) { in AssembleLIR()
1262 ((lir_target->flags.generation == lir->flags.generation) ? 0 : offset_adjustment); in AssembleLIR()
1296 new_adr->flags.fixup = kFixupAdr; in AssembleLIR()
1297 new_adr->flags.size = EncodingMap[kThumb2Adr].size; in AssembleLIR()
[all …]
Dtarget_arm.cc162 void ArmMir2Lir::SetupTargetResourceMasks(LIR* lir, uint64_t flags, in SetupTargetResourceMasks() argument
165 DCHECK(!lir->flags.use_def_invalid); in SetupTargetResourceMasks()
170 if ((flags & (REG_DEF_SP | REG_USE_SP | REG_DEF_LIST0 | REG_DEF_LIST1 | in SetupTargetResourceMasks()
173 if (flags & REG_DEF_SP) { in SetupTargetResourceMasks()
177 if (flags & REG_USE_SP) { in SetupTargetResourceMasks()
181 if (flags & REG_DEF_LIST0) { in SetupTargetResourceMasks()
185 if (flags & REG_DEF_LIST1) { in SetupTargetResourceMasks()
189 if (flags & REG_DEF_FPCS_LIST0) { in SetupTargetResourceMasks()
193 if (flags & REG_DEF_FPCS_LIST2) { in SetupTargetResourceMasks()
199 if (flags & REG_USE_PC) { in SetupTargetResourceMasks()
[all …]
/art/test/046-reflect/
Dexpected.txt7 Access flags are 0x1
12 Access flags are 0x1
16 Access flags are 0x9
23 Access flags are 0x1
39 Access flags are 0x1
52 Access flags are 0x1
65 Access flags are 0x9
70 Access flags are 0x9
77 Access flags are 0x19
82 Access flags are 0x11
/art/runtime/native/
Ddalvik_system_VMDebug.cc78 static void VMDebug_startMethodTracingDdmsImpl(JNIEnv*, jclass, jint bufferSize, jint flags, in VMDebug_startMethodTracingDdmsImpl() argument
80 Trace::Start("[DDMS]", -1, bufferSize, flags, true, samplingEnabled, intervalUs); in VMDebug_startMethodTracingDdmsImpl()
84 jobject javaFd, jint bufferSize, jint flags, in VMDebug_startMethodTracingFd() argument
104 Trace::Start(traceFilename.c_str(), fd, bufferSize, flags, false, samplingEnabled, intervalUs); in VMDebug_startMethodTracingFd()
108 jint bufferSize, jint flags, in VMDebug_startMethodTracingFilename() argument
114 Trace::Start(traceFilename.c_str(), -1, bufferSize, flags, false, samplingEnabled, intervalUs); in VMDebug_startMethodTracingFilename()
169 static void VMDebug_printLoadedClasses(JNIEnv* env, jclass, jint flags) { in VMDebug_printLoadedClasses() argument
171 return Runtime::Current()->GetClassLinker()->DumpAllClasses(flags); in VMDebug_printLoadedClasses()
/art/compiler/dex/quick/mips/
Dtarget_mips.cc146 void MipsMir2Lir::SetupTargetResourceMasks(LIR* lir, uint64_t flags, in SetupTargetResourceMasks() argument
149 DCHECK(!lir->flags.use_def_invalid); in SetupTargetResourceMasks()
152 if (flags & REG_DEF_SP) { in SetupTargetResourceMasks()
156 if (flags & REG_USE_SP) { in SetupTargetResourceMasks()
160 if (flags & REG_DEF_LR) { in SetupTargetResourceMasks()
164 if (flags & REG_DEF_HI) { in SetupTargetResourceMasks()
168 if (flags & REG_DEF_LO) { in SetupTargetResourceMasks()
172 if (flags & REG_USE_HI) { in SetupTargetResourceMasks()
176 if (flags & REG_USE_LO) { in SetupTargetResourceMasks()
313 DECODE_ALIAS_INFO_REG(mips_lir->flags.alias_info), in DumpResourceMask()
[all …]
/art/runtime/base/unix_file/
Dfd_file.cc86 bool FdFile::Open(const std::string& path, int flags) { in Open() argument
87 return Open(path, flags, 0640); in Open()
90 bool FdFile::Open(const std::string& path, int flags, mode_t mode) { in Open() argument
92 fd_ = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode)); in Open()
98 if (kCheckSafeUsage && (flags & (O_RDWR | O_CREAT | O_WRONLY)) != 0) { in Open()
Dfd_file.h49 bool Open(const std::string& file_path, int flags);
50 bool Open(const std::string& file_path, int flags, mode_t mode);
/art/compiler/dex/quick/arm64/
Dassemble_arm64.cc61 a3k, a3s, a3e, flags, name, fmt, fixup) \ argument
63 {a3k, a3s, a3e}}, opcode, flags, name, fmt, 4, fixup}
635 orig_lir->flags.fixup = kFixupNone; in ReplaceFixup()
661 if (LIKELY(!lir->flags.is_nop)) { in EncodeLIRs()
851 lir->flags.generation = generation; in AssembleLIR()
852 switch (static_cast<FixupKind>(lir->flags.fixup)) { in AssembleLIR()
862 ((target_lir->flags.generation == lir->flags.generation) ? 0 : offset_adjustment); in AssembleLIR()
877 ((target_lir->flags.generation == lir->flags.generation) ? 0 : offset_adjustment); in AssembleLIR()
889 CodeOffset target_offs = ((target_lir->flags.generation == lir->flags.generation) ? in AssembleLIR()
906 LOG(FATAL) << "Unexpected case " << lir->flags.fixup; in AssembleLIR()
[all …]
/art/compiler/
Delf_writer_quick.h58 ElfSectionBuilder(const std::string& sec_name, Elf32_Word type, Elf32_Word flags, in ElfSectionBuilder() argument
64 section_.sh_flags = flags; in ElfSectionBuilder()
123 ElfRawSectionBuilder(const std::string& sec_name, Elf32_Word type, Elf32_Word flags, in ElfRawSectionBuilder() argument
126 : ElfSectionBuilder(sec_name, type, flags, link, info, align, entsize) {} in ElfRawSectionBuilder()
141 Elf32_Word type, Elf32_Word flags) in ElfOatSectionBuilder() argument
142 : ElfSectionBuilder(sec_name, type, flags, NULL, 0, kPageSize, 0), in ElfOatSectionBuilder()
/art/compiler/dex/
Dpass_me.h70 unsigned int flags = 0u, const char* dump = "")
71 : Pass(name), traversal_type_(type), flags_(flags), dump_cfg_folder_(dump) { in Pass()

1234