/art/runtime/ |
H A D | os_linux.cc | 54 File* OS::OpenFileWithFlags(const char* name, int flags) { argument 57 if (!file->Open(name, flags, 0666)) {
|
H A D | zip_archive.cc | 79 int flags = fcntl(fd, F_GETFD); local 80 if (flags == -1) { 84 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); 86 PLOG(WARNING) << "fcntl(" << fd << ", F_SETFD, " << flags << ") failed"; local
|
H A D | mem_map.h | 85 int flags, 94 flags, 114 int flags, 215 int flags, 83 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 | intern_table.cc | 61 void InternTable::VisitRoots(RootVisitor* visitor, VisitRootFlags flags) { argument 63 if ((flags & kVisitRootFlagAllRoots) != 0) { 65 } else if ((flags & kVisitRootFlagNewRoots) != 0) { 79 if ((flags & kVisitRootFlagClearRootLog) != 0) { 82 if ((flags & kVisitRootFlagStartLoggingNewRoots) != 0) { 84 } else if ((flags & kVisitRootFlagStopLoggingNewRoots) != 0) {
|
H A D | mem_map.cc | 56 (it->flags & PROT_READ) ? 'r' : '-', 57 (it->flags & PROT_WRITE) ? 'w' : '-', 58 (it->flags & PROT_EXEC) ? 'x' : '-', it->name.c_str()); 262 int flags, 265 void* actual = mmap(ptr, page_aligned_byte_count, prot, flags, fd, offset); 294 int flags = MAP_PRIVATE | MAP_ANONYMOUS; local 301 flags |= MAP_FIXED; 327 flags &= ~MAP_ANONYMOUS; 336 flags, 351 flags, 259 TryMemMapLow4GB(void* ptr, size_t page_aligned_byte_count, int prot, int flags, int fd, off_t offset) argument 373 MapFileAtAddress(uint8_t* expected_ptr, size_t byte_count, int prot, int flags, int fd, off_t start, bool low_4gb, bool reuse, const char* filename, std::string* error_msg) argument 544 int flags = MAP_PRIVATE | MAP_ANONYMOUS; local 770 MapInternal(void* addr, size_t length, int prot, int flags, int fd, off_t offset, bool low_4gb) argument [all...] |
H A D | trace.cc | 308 void Trace::Start(const char* trace_filename, int trace_fd, size_t buffer_size, int flags, argument 346 // Enable count of allocs if specified in the flags. 360 enable_stats = (flags && kTraceCountAllocs) != 0; 361 the_trace_ = new Trace(trace_file.release(), trace_filename, buffer_size, flags, output_mode, 539 // Enable count of allocs if specified in the flags. 586 Trace::Trace(File* trace_file, const char* trace_name, size_t buffer_size, int flags, argument 590 flags_(flags), trace_output_mode_(output_mode), trace_mode_(trace_mode),
|
H A D | dex_file_verifier.cc | 523 // Check field access flags. 565 // Check method access flags. 838 // These calls use the raw access flags to check whether the whole dex field is valid. 1937 ErrorStringPrintf("Invalid class flags: '%d'", item->access_flags_); 2410 static bool CheckAtMostOneOfPublicProtectedPrivate(uint32_t flags) { argument 2411 size_t count = (((flags & kAccPublic) == 0) ? 0 : 1) + 2412 (((flags & kAccProtected) == 0) ? 0 : 1) + 2413 (((flags & kAccPrivate) == 0) ? 0 : 1); 2494 // Generally sort out >16-bit flags. 2503 // Flags allowed on fields, in general. Other lower-16-bit flags ar [all...] |
H A D | elf_file.cc | 68 int flags; local 71 flags = MAP_SHARED; 74 flags = MAP_PRIVATE; 76 if (!elf_file->Setup(file, prot, flags, low_4gb, error_msg)) { 85 int flags, 91 if (!elf_file->Setup(file, prot, flags, low_4gb, error_msg)) { 100 int flags, 124 flags, 144 flags, 159 flags, 83 Open(File* file, int prot, int flags, bool low_4gb, std::string* error_msg) argument 98 Setup(File* file, int prot, int flags, bool low_4gb, std::string* error_msg) argument 1179 int flags = 0; local [all...] |
/art/runtime/base/ |
H A D | scoped_flock.cc | 32 bool ScopedFlock::Init(const char* filename, int flags, bool block, std::string* error_msg) { argument 37 file_.reset(OS::OpenFileWithFlags(filename, flags));
|
/art/runtime/mirror/ |
H A D | field.h | 118 void SetAccessFlags(uint32_t flags) SHARED_REQUIRES(Locks::mutator_lock_) { 119 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, access_flags_), flags); local
|
H A D | class.h | 229 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); local 230 SetAccessFlags(flags | kAccRecursivelyInitialized); 235 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); local 236 SetAccessFlags(flags | kAccHasDefaultMethod); 240 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); local 241 SetAccessFlags(flags | kAccClassIsFinalizable); 293 uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); local 294 if ((flags & kAccVerificationAttempted) == 0) { 295 SetAccessFlags(flags | kAccVerificationAttempted); 357 // Read access flags withou [all...] |
H A D | class.cc | 185 void Class::DumpClass(std::ostream& os, int flags) { argument 186 if ((flags & kDumpClassFullDetail) == 0) { 188 if ((flags & kDumpClassClassLoader) != 0) { 191 if ((flags & kDumpClassInitialized) != 0) { 1167 uint32_t flags; local 1168 if (!h_this->GetDexFile().GetInnerClassFlags(h_this, &flags)) { 1171 return 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/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 | 34 int8_t flags = Read1(); local 35 if ((flags & kJDWPFlagReply) != 0) {
|
/art/runtime/base/unix_file/ |
H A D | fd_file.cc | 100 bool FdFile::Open(const std::string& path, int flags) { argument 101 return Open(path, flags, 0640); 104 bool FdFile::Open(const std::string& path, int flags, mode_t mode) { argument 106 read_only_mode_ = (flags & O_RDONLY) != 0; 107 fd_ = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode)); 113 if (kCheckSafeUsage && (flags & (O_RDWR | O_CREAT | O_WRONLY)) != 0) {
|
/art/runtime/quick/ |
H A D | inline_method_analyser.h | 200 InlineMethodFlags flags; member in struct:art::InlineMethod
|
/art/test/099-vmdebug/src/ |
H A D | Main.java | 278 public static void startMethodTracing(String filename, int bufferSize, int flags, argument 280 startMethodTracingMethod.invoke(null, filename, bufferSize, flags, samplingEnabled,
|
/art/runtime/native/ |
H A D | dalvik_system_VMDebug.cc | 84 static void VMDebug_startMethodTracingDdmsImpl(JNIEnv*, jclass, jint bufferSize, jint flags, argument 86 Trace::Start("[DDMS]", -1, bufferSize, flags, Trace::TraceOutputMode::kDDMS, 92 jobject javaFd, jint bufferSize, jint flags, 111 Trace::Start(traceFilename.c_str(), fd, bufferSize, flags, Trace::TraceOutputMode::kFile, 117 jint bufferSize, jint flags, 123 Trace::Start(traceFilename.c_str(), -1, bufferSize, flags, Trace::TraceOutputMode::kFile, 179 static void VMDebug_printLoadedClasses(JNIEnv* env, jclass, jint flags) { argument 181 return Runtime::Current()->GetClassLinker()->DumpAllClasses(flags); 91 VMDebug_startMethodTracingFd(JNIEnv* env, jclass, jstring javaTraceFilename, jobject javaFd, jint bufferSize, jint flags, jboolean samplingEnabled, jint intervalUs) argument 116 VMDebug_startMethodTracingFilename(JNIEnv* env, jclass, jstring javaTraceFilename, jint bufferSize, jint flags, jboolean samplingEnabled, jint intervalUs) argument
|
/art/dexdump/ |
H A D | dexdump.cc | 197 * Returns a quoted string representing the access flags. 221 * Creates a new string with human-readable access flags. 226 static char* createAccessFlagStr(u4 flags, AccessFor forWhat) { argument 292 const int count = countOnes(flags); 298 if (flags & 0x01) { 307 flags >>= 1; 885 static void dumpCode(const DexFile* pDexFile, u4 idx, u4 flags, argument 902 bool is_static = (flags & kAccStatic) != 0; 912 static void dumpMethod(const DexFile* pDexFile, u4 idx, u4 flags, argument 915 if (gOptions.exportsOnly && (flags 1137 dumpSField(const DexFile* pDexFile, u4 idx, u4 flags, int i, EncodedStaticFieldValueIterator::ValueType valueType, const jvalue* pValue) argument 1187 dumpIField(const DexFile* pDexFile, u4 idx, u4 flags, int i) argument [all...] |
/art/runtime/openjdkjvm/ |
H A D | OpenjdkJvm.cc | 70 JNIEXPORT jint JVM_Open(const char* fname, jint flags, jint mode) { argument 77 int fd = TEMP_FAILURE_RETRY(open(fname, flags & ~JVM_O_DELETE, mode)); 87 if (flags & JVM_O_DELETE) { 268 JNIEXPORT jint JVM_Send(jint fd, char* buf, jint nBytes, jint flags) { argument 269 return TEMP_FAILURE_RETRY(send(fd, buf, nBytes, flags));
|
/art/compiler/ |
H A D | elf_builder.h | 94 Elf_Word flags, 111 header_.sh_flags = flags; 244 Elf_Word flags, 249 : Section(owner, name, type, flags, link, info, align, entsize), cache_() { } 283 Elf_Word flags, 288 flags, 307 Elf_Word flags, 312 flags, 340 Elf_Word flags, 345 flags, 91 Section(ElfBuilder<ElfTypes>* owner, const std::string& name, Elf_Word type, Elf_Word flags, const Section* link, Elf_Word info, Elf_Word align, Elf_Word entsize) argument 241 CachedSection(ElfBuilder<ElfTypes>* owner, const std::string& name, Elf_Word type, Elf_Word flags, const Section* link, Elf_Word info, Elf_Word align, Elf_Word entsize) argument 281 CachedStringSection(ElfBuilder<ElfTypes>* owner, const std::string& name, Elf_Word flags, Elf_Word align) argument 305 StringSection(ElfBuilder<ElfTypes>* owner, const std::string& name, Elf_Word flags, Elf_Word align) argument 337 SymbolSection(ElfBuilder<ElfTypes>* owner, const std::string& name, Elf_Word type, Elf_Word flags, Section* strtab) argument 403 AbiflagsSection(ElfBuilder<ElfTypes>* owner, const std::string& name, Elf_Word type, Elf_Word flags, const Section* link, Elf_Word info, Elf_Word align, Elf_Word entsize, InstructionSet isa, const InstructionSetFeatures* features) argument [all...] |
/art/runtime/gc/collector/ |
H A D | mark_sweep.cc | 67 // Profiling and information flags. 627 void MarkSweep::MarkConcurrentRoots(VisitRootFlags flags) { argument 629 // Visit all runtime roots and clear dirty flags. 631 this, static_cast<VisitRootFlags>(flags | kVisitRootFlagNonMoving));
|