/art/test/117-nopatchoat/ |
H A D | run | 17 # ensure flags includes prebuild and relocate. It doesn't make sense unless we 20 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/test/116-nodex2oat/ |
H A D | run | 17 # Remove prebuild from the flags, this test is for testing not having oat files. 18 flags="${@/--prebuild/}" 25 ${RUN} ${flags} --runtime-option -Xnodex2oat 29 ${RUN} ${flags} --runtime-option -Xdex2oat 33 ${RUN} ${flags}
|
/art/test/118-noimage-dex2oat/ |
H A D | run | 18 flags="${@/--no-relocate/--relocate}" 25 # Remove prebuild from the flags, this test is for testing not having oat files. 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/119-noimage-patchoat/ |
H A D | run | 18 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/runtime/ |
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 | os.h | 41 // Open a file with the specified open(2) flags. 42 static File* OpenFileWithFlags(const char* name, int flags);
|
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.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 | thread-inl.h | 90 if (UNLIKELY((old_state_and_flags.as_struct.flags & kCheckpointRequest) != 0)) { 94 // Change the state but keep the current flags (kCheckpointRequest is clear). 95 DCHECK_EQ((old_state_and_flags.as_struct.flags & kCheckpointRequest), 0); 96 new_state_and_flags.as_struct.flags = old_state_and_flags.as_struct.flags; 121 if (UNLIKELY((old_state_and_flags.as_struct.flags & kSuspendRequest) != 0)) { 126 while ((old_state_and_flags.as_struct.flags & kSuspendRequest) != 0) { 139 if (LIKELY((old_state_and_flags.as_struct.flags & kSuspendRequest) == 0)) {
|
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 | 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) {
|
/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...] |
H A D | local_optimizations.cc | 39 #define LOAD_STORE_FILTER(flags) ((flags & (IS_QUAD_OP|IS_STORE)) == (IS_QUAD_OP|IS_STORE) || \ 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 [all...] |
/art/compiler/dex/ |
H A D | pass_me.h | 70 unsigned int flags = 0u, const char* dump = "") 71 : Pass(name), traversal_type_(type), flags_(flags), dump_cfg_folder_(dump) {
|
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) {
|
/art/compiler/dex/quick/arm/ |
H A D | assemble_arm.cc | 40 k3, k3s, k3e, flags, name, fmt, size, fixup) \ 42 {k3, k3s, k3e}}, opcode, flags, name, fmt, size, fixup} 537 ENCODING_MAP(kThumb2Cbnz, 0xb900, /* Note: does not affect flags */ 541 ENCODING_MAP(kThumb2Cbz, 0xb100, /* Note: does not affect flags */ 548 IS_TERTIARY_OP | REG_DEF0_USE1,/* Note: doesn't affect flags */ 595 IS_TERTIARY_OP | REG_DEF0_USE1,/* Note: doesn't affect flags */ 983 /* Note: doesn't affect flags */ 1048 orig_lir->flags.fixup = kFixupNone; 1072 if (!lir->flags.is_nop) { 1083 } else if (LIKELY(!lir->flags [all...] |
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/runtime/base/unix_file/ |
H A D | fd_file.h | 48 // Opens file 'file_path' using 'flags' and 'mode'. 49 bool Open(const std::string& file_path, int flags); 50 bool Open(const std::string& file_path, int flags, mode_t mode);
|
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/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/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/compiler/dex/quick/arm64/ |
H A D | assemble_arm64.cc | 55 * flags: instruction attributes (used in optimization) 61 a3k, a3s, a3e, flags, name, fmt, fixup) \ 63 {a3k, a3s, a3e}}, opcode, flags, name, fmt, 4, fixup} 635 orig_lir->flags.fixup = kFixupNone; 661 if (LIKELY(!lir->flags.is_nop)) { 846 * inserted instructions don't need use/def flags, but do need size and pc-rel status 851 lir->flags.generation = generation; 852 switch (static_cast<FixupKind>(lir->flags.fixup)) { 862 ((target_lir->flags.generation == lir->flags [all...] |