Home
last modified time | relevance | path

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

12345

/art/test/118-noimage-dex2oat/
Drun17 flags="$@"
22 if [[ "${flags}" == *--prebuild* || "${flags}" != *--no-prebuild* ]] ; then
29 if [[ "${flags}" == *--no-relocate* ]] ; then
37 ${RUN} ${flags} --runtime-option -Xnoimage-dex2oat
42 ${RUN} ${flags} --runtime-option -Xnoimage-dex2oat \
48 ${RUN} ${flags} --runtime-option -Ximage-dex2oat
53 ${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()
Dthread-inl.h189 if (UNLIKELY((old_state_and_flags.as_struct.flags & kCheckpointRequest) != 0)) { in TransitionToSuspendedAndRunCheckpoints()
193 if (UNLIKELY((old_state_and_flags.as_struct.flags & kEmptyCheckpointRequest) != 0)) { in TransitionToSuspendedAndRunCheckpoints()
198 DCHECK_EQ((old_state_and_flags.as_struct.flags & kCheckpointRequest), 0); in TransitionToSuspendedAndRunCheckpoints()
199 DCHECK_EQ((old_state_and_flags.as_struct.flags & kEmptyCheckpointRequest), 0); in TransitionToSuspendedAndRunCheckpoints()
200 new_state_and_flags.as_struct.flags = old_state_and_flags.as_struct.flags; in TransitionToSuspendedAndRunCheckpoints()
215 uint16_t current_flags = tls32_.state_and_flags.as_struct.flags; in PassActiveSuspendBarriers()
249 if (LIKELY(old_state_and_flags.as_struct.flags == 0)) { in TransitionFromSuspendedToRunnable()
264 } else if ((old_state_and_flags.as_struct.flags & kActiveSuspendBarrier) != 0) { in TransitionFromSuspendedToRunnable()
266 } else if ((old_state_and_flags.as_struct.flags & in TransitionFromSuspendedToRunnable()
270 << " flags=" << old_state_and_flags.as_struct.flags in TransitionFromSuspendedToRunnable()
[all …]
Dverify_object.h66 inline constexpr VerifyObjectFlags RemoveThisFlags(VerifyObjectFlags flags) { in RemoveThisFlags() argument
67 return static_cast<VerifyObjectFlags>(flags & ~kVerifyThis); in RemoveThisFlags()
Druntime_common.cc142 void DumpX86Flags(std::ostream& os, uint32_t flags) const;
297 void UContext::DumpX86Flags(std::ostream& os, uint32_t flags) const { in DumpX86Flags()
299 if ((flags & (1 << 0)) != 0) { in DumpX86Flags()
302 if ((flags & (1 << 2)) != 0) { in DumpX86Flags()
305 if ((flags & (1 << 4)) != 0) { in DumpX86Flags()
308 if ((flags & (1 << 6)) != 0) { in DumpX86Flags()
311 if ((flags & (1 << 7)) != 0) { in DumpX86Flags()
314 if ((flags & (1 << 8)) != 0) { in DumpX86Flags()
317 if ((flags & (1 << 9)) != 0) { in DumpX86Flags()
320 if ((flags & (1 << 10)) != 0) { in DumpX86Flags()
[all …]
/art/test/116-nodex2oat/
Drun17 flags="${@}"
22 if [[ "${flags}" == *--prebuild* || "${flags}" != *--no-prebuild* ]] ; then
27 ${RUN} ${flags}
/art/libartbase/base/
Dos_linux.cc54 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()
Dmem_map_windows.cc45 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap() argument
59 if ((flags & MAP_FIXED) != 0) { in TargetMMap()
70 if (((flags & MAP_SHARED) != 0) && ((flags & MAP_PRIVATE) == 0)) { in TargetMMap()
72 } else if (((flags & MAP_SHARED) == 0) && ((flags & MAP_PRIVATE) != 0)) { in TargetMMap()
Dmemfd.cc43 int memfd_create(const char* name, unsigned int flags) { in memfd_create() argument
58 return syscall(__NR_memfd_create, name, flags); in memfd_create()
63 int memfd_create(const char* name ATTRIBUTE_UNUSED, unsigned int flags ATTRIBUTE_UNUSED) {
Dmem_map_fuchsia.cc61 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()
Dmem_map_unix.cc27 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()
Dmem_map.h183 int flags, in MapFile() argument
192 flags, in MapFile()
217 int flags,
347 int flags,
354 int flags,
398 int flags,
404 static void* TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off);
Dmem_map.cc261 int flags, in TryMemMapLow4GB() argument
264 void* actual = TargetMMap(ptr, page_aligned_byte_count, prot, flags, fd, offset); in TryMemMapLow4GB()
322 int flags = MAP_PRIVATE | MAP_ANONYMOUS; in MapAnonymous() local
330 flags |= MAP_FIXED; in MapAnonymous()
336 flags |= MAP_FIXED; in MapAnonymous()
347 flags, in MapAnonymous()
364 flags, in MapAnonymous()
484 int flags, in MapFileAtAddress() argument
493 CHECK_NE(0, flags & (MAP_SHARED | MAP_PRIVATE)); in MapFileAtAddress()
505 flags |= MAP_FIXED; in MapFileAtAddress()
[all …]
Dscoped_flock.cc36 /* 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/test/147-stripped-dex-fallback/
Drun18 flags="$@"
19 if [[ "${flags}" == *--no-prebuild* ]] ; then
24 ${RUN} ${flags} --strip-dex
/art/test/151-OpenFileLimit/
Drun17 flags="$@"
21 ${RUN} ${flags}
/art/test/613-inlining-dex-cache/
Drun17 flags="$@"
20 exec ${RUN} ${flags/verify-at-runtime/interpret-only}
/art/test/134-nodex2oat-nofallback/
Drun17 flags="${@}"
20 ${RUN} ${flags} --runtime-option -Xno-dex-file-fallback --runtime-option -XX:FastClassNotFoundExcep…
/art/libartbase/base/unix_file/
Dfd_file.h44 FdFile(const std::string& path, int flags, bool check_usage) in FdFile() argument
45 : FdFile(path, flags, 0640, check_usage) {} in FdFile()
46 FdFile(const std::string& path, int flags, mode_t mode, bool check_usage);
149 bool Open(const std::string& file_path, int flags);
150 bool Open(const std::string& file_path, int flags, mode_t mode);
/art/tools/veridex/
Dappcompat.sh25 -e ${SCRIPT_DIR}/hiddenapi-flags.csv && \
30 --api-flags=${SCRIPT_DIR}/hiddenapi-flags.csv \
/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/profman/
Dboot_image_profile.cc82 const uint32_t flags = method.GetAccessFlags(); in GenerateBootImageProfile() local
83 if ((flags & kAccNative) != 0) { in GenerateBootImageProfile()
87 if ((flags & kAccConstructor) != 0 && (flags & kAccStatic) != 0) { in GenerateBootImageProfile()
/art/test/674-hiddenapi/
Dinfo.txt1 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/gc/collector/
Dsticky_mark_sweep.cc63 void StickyMarkSweep::MarkConcurrentRoots(VisitRootFlags flags) { in MarkConcurrentRoots() argument
73 static_cast<VisitRootFlags>(flags | kVisitRootFlagClassLoader)); in MarkConcurrentRoots()
/art/tools/hiddenapi/
DREADME.md5 their access flags if their signatures appear on one of two lists - greylist and
6 blacklist - 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

12345