/art/test/802-deoptimization/src/ |
D | DeoptimizationController.java | 89 public static void startMethodTracing(String filename, int bufferSize, int flags, in startMethodTracing() argument 91 startMethodTracingMethod.invoke(null, filename, bufferSize, flags, samplingEnabled, in startMethodTracing()
|
/art/test/570-checker-osr/src/ |
D | DeoptimizationController.java | 92 public static void startMethodTracing(String filename, int bufferSize, int flags, in startMethodTracing() argument 94 startMethodTracingMethod.invoke(null, filename, bufferSize, flags, samplingEnabled, in startMethodTracing()
|
/art/runtime/jit/ |
D | profile_saver_test.cc | 62 Hotness::Flag AnnotateSampleFlags(uint32_t flags) { in AnnotateSampleFlags() argument 63 return profile_saver_->AnnotateSampleFlags(flags); in AnnotateSampleFlags()
|
D | profiling_info_test.cc | 71 Hotness::Flag flags) { in SaveProfilingInfo() argument 79 if (!info.AddMethods(profile_methods, flags)) { in SaveProfilingInfo() 102 Hotness::Flag flags, in SaveProfilingInfoWithFakeInlineCaches() argument 143 if (!info.AddMethods(profile_methods, flags) in SaveProfilingInfoWithFakeInlineCaches()
|
/art/runtime/mirror/ |
D | executable.h | 76 void SetAccessFlags(uint32_t flags) REQUIRES_SHARED(Locks::mutator_lock_) { in SetAccessFlags() argument 77 SetField32<kTransactionActive>(AccessFlagsOffset(), flags); in SetAccessFlags()
|
/art/dexlayout/ |
D | dexlayout.h | 153 void DumpIField(uint32_t idx, uint32_t flags, uint32_t hiddenapi_flags, int i); 162 uint32_t flags, 168 uint32_t flags,
|
D | dexlayout.cc | 139 static char* CreateAccessFlagStr(uint32_t flags, AccessFor for_what) { in CreateAccessFlagStr() argument 205 const int count = CountOnes(flags); in CreateAccessFlagStr() 211 if (flags & 0x01) { in CreateAccessFlagStr() 220 flags >>= 1; in CreateAccessFlagStr() 1161 uint32_t flags, in DumpMethod() argument 1166 if (options_.exports_only_ && (flags & (kAccPublic | kAccProtected)) == 0) { in DumpMethod() 1174 char* access_str = CreateAccessFlagStr(flags, kAccessForMethod); in DumpMethod() 1180 fprintf(out_file_, " access : 0x%04x (%s)\n", flags, access_str); in DumpMethod() 1199 (flags & kAccStatic) != 0, in DumpMethod() 1223 fprintf(out_file_, " abstract=%s\n", QuotedBool((flags & kAccAbstract) != 0)); in DumpMethod() [all …]
|
/art/libartbase/base/ |
D | zip_archive.cc | 220 int flags = fcntl(fd, F_GETFD); in SetCloseOnExec() 221 if (flags == -1) { in SetCloseOnExec() 225 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); in SetCloseOnExec() 227 PLOG(WARNING) << "fcntl(" << fd << ", F_SETFD, " << flags << ") failed"; in SetCloseOnExec()
|
D | os.h | 49 static File* OpenFileWithFlags(const char* name, int flags, bool auto_flush = true);
|
D | scoped_flock.h | 48 static ScopedFlock Open(const char* filename, int flags, bool block,
|
D | utils.cc | 350 uint64_t flags; in IsAddressKnownBackedByFileOrShared() local 351 if (read(pagemap, &flags, sizeof(uint64_t)) != sizeof(uint64_t)) { in IsAddressKnownBackedByFileOrShared() 356 return (flags & (1LL << 61)) != 0; in IsAddressKnownBackedByFileOrShared()
|
/art/libdexfile/dex/ |
D | dex_instruction.h | 212 uint8_t flags; // Set of Flags. member 543 return kInstructionDescriptors[opcode].flags; in FlagsOf() 553 return (kInstructionDescriptors[Opcode()].flags & kBranch) != 0; in IsBranch() 558 return (kInstructionDescriptors[Opcode()].flags & kUnconditional) != 0; in IsUnconditional() 575 return (kInstructionDescriptors[Opcode()].flags & kSwitch) != 0; in IsSwitch() 580 return (kInstructionDescriptors[Opcode()].flags & kThrow) != 0; in IsThrow() 585 return (kInstructionDescriptors[Opcode()].flags & kReturn) != 0; in IsReturn() 595 return (kInstructionDescriptors[Opcode()].flags & kInvoke) != 0; in IsInvoke() 600 return (kInstructionDescriptors[Opcode()].flags & kExperimental) != 0; in IsExperimental()
|
/art/test/691-hiddenapi-proxy/ |
D | info.txt | 2 would try to get their class def to find hiddenapi flags in the dex file, but class def if not
|
/art/dexdump/ |
D | dexdump.cc | 241 static char* createAccessFlagStr(u4 flags, AccessFor forWhat) { in createAccessFlagStr() argument 307 const int count = countOnes(flags); in createAccessFlagStr() 313 if (flags & 0x01) { in createAccessFlagStr() 322 flags >>= 1; in createAccessFlagStr() 1204 static void dumpCode(const DexFile* pDexFile, u4 idx, u4 flags, in dumpCode() argument 1223 bool is_static = (flags & kAccStatic) != 0; in dumpCode() 1259 const uint32_t flags = method.GetAccessFlags(); in dumpMethod() local 1260 if (gOptions.exportsOnly && (flags & (kAccPublic | kAccProtected)) == 0) { in dumpMethod() 1270 char* accessStr = createAccessFlagStr(flags, kAccessForMethod); in dumpMethod() 1277 fprintf(gOutFile, " access : 0x%04x (%s)\n", flags, accessStr); in dumpMethod() [all …]
|
/art/profman/ |
D | profman.cc | 615 int flags = O_RDWR; in LoadProfile() local 617 int flags = O_RDWR | O_CLOEXEC; in LoadProfile() 619 fd = open(filename.c_str(), flags); in LoadProfile() 784 int flags = O_RDONLY; in GetClassNamesAndMethods() local 786 int flags = O_RDONLY | O_CLOEXEC; in GetClassNamesAndMethods() 788 int fd = open(profile_file.c_str(), flags); in GetClassNamesAndMethods() 1093 uint32_t flags = 0; in ProcessLine() local 1095 flags |= ProfileCompilationInfo::MethodHotness::kFlagHot; in ProcessLine() 1098 flags |= ProfileCompilationInfo::MethodHotness::kFlagStartup; in ProcessLine() 1101 flags |= ProfileCompilationInfo::MethodHotness::kFlagPostStartup; in ProcessLine() [all …]
|
D | boot_image_profile.cc | 134 uint32_t flags = it.GetAccessFlags(); in MaybeIsClassClean() local 135 if ((flags & kAccNative) != 0) { in MaybeIsClassClean() 139 if ((flags & kAccConstructor) != 0 && (flags & kAccStatic) != 0) { in MaybeIsClassClean()
|
/art/libartbase/base/unix_file/ |
D | fd_file.cc | 164 FdFile::FdFile(const std::string& path, int flags, mode_t mode, in FdFile() argument 166 Open(path, flags, mode); in FdFile() 287 bool FdFile::Open(const std::string& path, int flags) { in Open() argument 288 return Open(path, flags, 0640); in Open() 291 bool FdFile::Open(const std::string& path, int flags, mode_t mode) { in Open() argument 294 read_only_mode_ = ((flags & O_ACCMODE) == O_RDONLY); in Open() 295 fd_ = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode)); in Open() 305 if (kCheckSafeUsage && (flags & (O_RDWR | O_CREAT | O_WRONLY)) != 0) { in Open()
|
/art/runtime/ |
D | trace.h | 130 int flags, 138 int flags, 146 int flags, 153 int flags, 246 int flags,
|
D | hidden_api.cc | 397 ApiList flags; in GetDexFlags() local 398 DCHECK(!flags.IsValid()); in GetDexFlags() 415 flags = ApiList::Greylist(); in GetDexFlags() 420 flags = ApiList(dex_member.GetHiddenapiFlags()); in GetDexFlags() 440 flags = ApiList(dex_member.GetHiddenapiFlags()); in GetDexFlags() 446 CHECK(flags.IsValid()) << "Could not find hiddenapi flags for " in GetDexFlags() 448 return flags.GetDexFlags(); in GetDexFlags()
|
D | intern_table.cc | 63 void InternTable::VisitRoots(RootVisitor* visitor, VisitRootFlags flags) { in VisitRoots() argument 65 if ((flags & kVisitRootFlagAllRoots) != 0) { in VisitRoots() 67 } else if ((flags & kVisitRootFlagNewRoots) != 0) { in VisitRoots() 81 if ((flags & kVisitRootFlagClearRootLog) != 0) { in VisitRoots() 84 if ((flags & kVisitRootFlagStartLoggingNewRoots) != 0) { in VisitRoots() 86 } else if ((flags & kVisitRootFlagStopLoggingNewRoots) != 0) { in VisitRoots()
|
/art/runtime/gc/collector/ |
D | sticky_mark_sweep.h | 36 void MarkConcurrentRoots(VisitRootFlags flags) override
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 209 MethodHotness::Flag flags, in AddMethods() argument 212 if (!AddMethod(method, flags, annotation)) { in AddMethods() 222 int flags = O_RDONLY; in MergeWith() local 224 int flags = O_RDONLY | O_NOFOLLOW | O_CLOEXEC; in MergeWith() local 227 LockedFile::Open(filename.c_str(), flags, /*block=*/false, &error); in MergeWith() 254 int flags = O_RDWR; in Load() local 256 int flags = O_RDWR | O_NOFOLLOW | O_CLOEXEC; in Load() local 262 LockedFile::Open(filename.c_str(), flags, /*block=*/false, &error); in Load() 296 int flags = O_WRONLY; in Save() local 298 int flags = O_WRONLY | O_NOFOLLOW | O_CLOEXEC; in Save() local [all …]
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 69 JNIEXPORT jint JVM_Open(const char* fname, jint flags, jint mode) { in JVM_Open() argument 75 if (flags & JVM_O_DELETE) { in JVM_Open() 80 flags |= O_CLOEXEC; in JVM_Open() 81 int fd = TEMP_FAILURE_RETRY(open(fname, flags & ~JVM_O_DELETE, mode)); in JVM_Open() 266 JNIEXPORT jint JVM_Send(jint fd, char* buf, jint nBytes, jint flags) { in JVM_Send() argument 267 return TEMP_FAILURE_RETRY(send(fd, buf, nBytes, flags)); in JVM_Send()
|
/art/libelffile/elf/ |
D | elf_builder.h | 93 Elf_Word flags, in Section() argument 108 header_.sh_flags = flags; in Section() 231 Elf_Word flags, in CachedSection() argument 236 : Section(owner, name, type, flags, link, info, align, entsize), cache_() { } in CachedSection() 270 Elf_Word flags, in CachedStringSection() argument 275 flags, in CachedStringSection() 294 Elf_Word flags, in StringSection() argument 299 flags, in StringSection() 338 Elf_Word flags, in SymbolSection() argument 343 flags, in SymbolSection() [all …]
|
/art/runtime/native/ |
D | dalvik_system_VMDebug.cc | 93 static void VMDebug_startMethodTracingDdmsImpl(JNIEnv*, jclass, jint bufferSize, jint flags, in VMDebug_startMethodTracingDdmsImpl() argument 96 flags, in VMDebug_startMethodTracingDdmsImpl() 106 jint flags, in VMDebug_startMethodTracingFd() argument 135 flags, in VMDebug_startMethodTracingFd() 142 jint bufferSize, jint flags, in VMDebug_startMethodTracingFilename() argument 150 flags, in VMDebug_startMethodTracingFilename() 202 static void VMDebug_printLoadedClasses(JNIEnv* env, jclass, jint flags) { in VMDebug_printLoadedClasses() argument 215 DumpClassVisitor visitor(flags); in VMDebug_printLoadedClasses()
|