/art/runtime/ |
D | runtime_stats.h | 69 void Clear(int flags) { in Clear() 70 if ((flags & KIND_ALLOCATED_OBJECTS) != 0) { in Clear() 73 if ((flags & KIND_ALLOCATED_BYTES) != 0) { in Clear() 76 if ((flags & KIND_FREED_OBJECTS) != 0) { in Clear() 79 if ((flags & KIND_FREED_BYTES) != 0) { in Clear() 82 if ((flags & KIND_GC_INVOCATIONS) != 0) { in Clear() 85 if ((flags & KIND_CLASS_INIT_COUNT) != 0) { in Clear() 88 if ((flags & KIND_CLASS_INIT_TIME) != 0) { in Clear()
|
D | verify_object.h | 66 inline constexpr VerifyObjectFlags RemoveThisFlags(VerifyObjectFlags flags) { in RemoveThisFlags() argument 67 return static_cast<VerifyObjectFlags>(flags & ~kVerifyThis); in RemoveThisFlags()
|
D | runtime_common.cc | 142 void DumpX86Flags(std::ostream& os, uint32_t flags) const; 296 void UContext::DumpX86Flags(std::ostream& os, uint32_t flags) const { in DumpX86Flags() 298 if ((flags & (1 << 0)) != 0) { in DumpX86Flags() 301 if ((flags & (1 << 2)) != 0) { in DumpX86Flags() 304 if ((flags & (1 << 4)) != 0) { in DumpX86Flags() 307 if ((flags & (1 << 6)) != 0) { in DumpX86Flags() 310 if ((flags & (1 << 7)) != 0) { in DumpX86Flags() 313 if ((flags & (1 << 8)) != 0) { in DumpX86Flags() 316 if ((flags & (1 << 9)) != 0) { in DumpX86Flags() 319 if ((flags & (1 << 10)) != 0) { in DumpX86Flags() [all …]
|
/art/libartbase/base/ |
D | memfd.cc | 40 int memfd_create(const char* name, unsigned int flags) { in memfd_create() argument 55 return syscall(__NR_memfd_create, name, flags); in memfd_create() 60 int memfd_create([[maybe_unused]] const char* name, [[maybe_unused]] unsigned int flags) { 68 int memfd_create_compat(const char* name, unsigned int flags) { in memfd_create_compat() argument 69 int res = memfd_create(name, flags); in memfd_create_compat() 75 if (flags == 0) { in memfd_create_compat()
|
D | os_linux.cc | 54 int flags = O_WRONLY | O_TRUNC; in CreateEmptyFileWriteOnly() local 56 int flags = O_WRONLY | O_TRUNC | O_NOFOLLOW | O_CLOEXEC; in CreateEmptyFileWriteOnly() 58 return art::CreateEmptyFile(name, flags); in CreateEmptyFileWriteOnly() 61 File* OS::OpenFileWithFlags(const char* name, int flags, bool auto_flush) { in OpenFileWithFlags() argument 63 bool read_only = ((flags & O_ACCMODE) == O_RDONLY); in OpenFileWithFlags() 66 new File(name, flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH, check_usage)); in OpenFileWithFlags()
|
D | mem_map_windows.cc | 50 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap() argument 64 if ((flags & MAP_FIXED) != 0) { in TargetMMap() 75 if (((flags & MAP_SHARED) != 0) && ((flags & MAP_PRIVATE) == 0)) { in TargetMMap() 77 } else if (((flags & MAP_SHARED) == 0) && ((flags & MAP_PRIVATE) != 0)) { in TargetMMap()
|
D | pidfd.h | 31 [[maybe_unused]] static android::base::unique_fd PidfdOpen(pid_t pid, uint32_t flags) { in PidfdOpen() argument 33 return android::base::unique_fd(pidfd_open(pid, flags)); in PidfdOpen() 39 return android::base::unique_fd(syscall(SYS_pidfd_open, pid, flags)); in PidfdOpen()
|
D | mem_map_fuchsia.cc | 61 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap() argument 65 bool mmap_lower = (flags & MAP_32BIT) != 0; in TargetMMap() 68 if ((flags & MAP_ANONYMOUS) == 0) { in TargetMMap() 70 flags |= MAP_FIXED; in TargetMMap() 73 return mmap(start, len, prot, flags, fd, fd_off); in TargetMMap()
|
D | mem_map_unix.cc | 27 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap() argument 28 return mmap(start, len, prot, flags, fd, fd_off); in TargetMMap()
|
D | memfd.h | 70 int memfd_create(const char* name, unsigned int flags); 74 int memfd_create_compat(const char* name, unsigned int flags);
|
D | mem_map.h | 198 int flags, in MapFile() argument 207 flags, in MapFile() 232 int flags, 387 int flags, 394 int flags, 438 int flags, 444 static void* TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off);
|
D | mem_map.cc | 264 int flags, in TryMemMapLow4GB() argument 267 void* actual = TargetMMap(ptr, page_aligned_byte_count, prot, flags, fd, offset); in TryMemMapLow4GB() 325 int flags = MAP_PRIVATE | MAP_ANONYMOUS; in MapAnonymous() local 333 flags |= MAP_FIXED; in MapAnonymous() 339 flags |= MAP_FIXED; in MapAnonymous() 350 flags, in MapAnonymous() 364 flags, in MapAnonymous() 514 int flags, in MapFileAtAddress() argument 523 CHECK_NE(0, flags & (MAP_SHARED | MAP_PRIVATE)); in MapFileAtAddress() 535 flags |= MAP_FIXED; in MapFileAtAddress() [all …]
|
D | scoped_flock.cc | 36 /* static */ ScopedFlock LockedFile::Open(const char* filename, int flags, bool block, in Open() argument 41 UNUSED(flags); in Open() 52 std::unique_ptr<File> file(OS::OpenFileWithFlags(filename, flags, /* auto_flush= */ false)); in Open()
|
/art/tools/veridex/ |
D | appcompat.sh | 25 -e ${SCRIPT_DIR}/hiddenapi-flags.csv && \ 30 --api-flags=${SCRIPT_DIR}/hiddenapi-flags.csv \
|
/art/libartbase/base/unix_file/ |
D | fd_file.h | 46 FdFile(const std::string& path, int flags, bool check_usage) in FdFile() argument 47 : FdFile(path, flags, 0640, check_usage) {} in FdFile() 48 FdFile(const std::string& path, int flags, mode_t mode, bool check_usage); 171 bool Open(const std::string& file_path, int flags); 172 bool Open(const std::string& file_path, int flags, mode_t mode);
|
/art/test/046-reflect/ |
D | expected-stdout.txt | 7 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/test/2246-trace-v2/src/ |
D | Main.java | 51 public static void testTracing(boolean streaming, int flags, int expected_version) in testTracing() argument 59 file.getPath(), out_file.getFD(), 0, flags, false, 0, streaming); in testTracing() 88 file.getPath(), main_out_file.getFD(), 0, flags, false, 0, streaming); in testTracing() local 163 int flags, boolean samplingEnabled, int intervalUs, boolean streaming) in startMethodTracingV2() argument 166 flags | TRACE_OUTPUT_V2_FLAG, samplingEnabled, intervalUs, streaming); in startMethodTracingV2()
|
/art/test/2246-trace-stream/src/ |
D | Main.java | 62 public static void testTracing(boolean streaming, int flags, BaseTraceParser parser, in testTracing() argument 70 file.getPath(), out_file.getFD(), 0, flags, false, 0, streaming); in testTracing() 99 file.getPath(), main_out_file.getFD(), 0, flags, false, 0, streaming); in testTracing() local 174 int flags, boolean samplingEnabled, int intervalUs, boolean streaming) in startMethodTracing() argument 177 null, filename, fd, bufferSize, flags, samplingEnabled, intervalUs, streaming); in startMethodTracing()
|
/art/test/dexdump/ |
D | run-all-tests | 94 flags="-cf" 97 flags="-uf" 100 jar ${flags} ${ALL_DEX_FILES_JAR} -C ${tmpdir} ${dex_file}
|
/art/test/674-hiddenapi/ |
D | info.txt | 1 Test whether hidden API access flags are being enforced. The test is composed of 5 flags. 9 is the child's class loader's parent. Access flags should not be enforced as
|
/art/runtime/oat/ |
D | jni_stub_hash_map.h | 35 JniStubKey(uint32_t flags, std::string_view shorty) in JniStubKey() argument 36 : flags_(flags & (kAccStatic | kAccSynchronized | kAccFastNative | kAccCriticalNative)), in JniStubKey() 38 DCHECK(ArtMethod::IsNative(flags)); in JniStubKey()
|
/art/libartservice/service/java/com/android/server/art/model/ |
D | DexoptResult.java | 183 @DexoptResultExtendedStatusFlags int flags) { in dexoptResultExtendedStatusFlagsToString() 185 if ((flags & DexoptResult.EXTENDED_SKIPPED_STORAGE_LOW) != 0) { in dexoptResultExtendedStatusFlagsToString() 188 if ((flags & DexoptResult.EXTENDED_SKIPPED_NO_DEX_CODE) != 0) { in dexoptResultExtendedStatusFlagsToString() 191 if ((flags & DexoptResult.EXTENDED_SKIPPED_PRE_REBOOT_ALREADY_EXIST) != 0) { in dexoptResultExtendedStatusFlagsToString() 194 if ((flags & DexoptResult.EXTENDED_BAD_EXTERNAL_PROFILE) != 0) { in dexoptResultExtendedStatusFlagsToString()
|
/art/tools/hiddenapi/ |
D | README.md | 5 their access flags if their signatures appear on one of two lists - unsupported and 6 blocklist - provided as text file inputs. These access flags denote to the 31 Two bits of information are encoded in the DEX access flags. These are encoded 35 First bit is encoded as the inversion of visibility access flags (bits 2:0). 36 At most one of these flags can be set at any given time. Inverting these bits
|
/art/runtime/gc/collector/ |
D | sticky_mark_sweep.cc | 63 void StickyMarkSweep::MarkConcurrentRoots(VisitRootFlags flags) { in MarkConcurrentRoots() argument 73 static_cast<VisitRootFlags>(flags | kVisitRootFlagClassLoader)); in MarkConcurrentRoots()
|
/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()
|