Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 124) 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 -Ximage-dex2oat
47 ${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.h191 if (UNLIKELY((old_state_and_flags.as_struct.flags & kCheckpointRequest) != 0)) { in TransitionToSuspendedAndRunCheckpoints()
195 if (UNLIKELY((old_state_and_flags.as_struct.flags & kEmptyCheckpointRequest) != 0)) { in TransitionToSuspendedAndRunCheckpoints()
200 DCHECK_EQ((old_state_and_flags.as_struct.flags & kCheckpointRequest), 0); in TransitionToSuspendedAndRunCheckpoints()
201 DCHECK_EQ((old_state_and_flags.as_struct.flags & kEmptyCheckpointRequest), 0); in TransitionToSuspendedAndRunCheckpoints()
202 new_state_and_flags.as_struct.flags = old_state_and_flags.as_struct.flags; in TransitionToSuspendedAndRunCheckpoints()
217 uint16_t current_flags = tls32_.state_and_flags.as_struct.flags; in PassActiveSuspendBarriers()
251 if (LIKELY(old_state_and_flags.as_struct.flags == 0)) { in TransitionFromSuspendedToRunnable()
266 } else if ((old_state_and_flags.as_struct.flags & kActiveSuspendBarrier) != 0) { in TransitionFromSuspendedToRunnable()
268 } else if ((old_state_and_flags.as_struct.flags & in TransitionFromSuspendedToRunnable()
272 << " 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;
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/test/116-nodex2oat/
Drun17 flags="${@}"
22 if [[ "${flags}" == *--prebuild* || "${flags}" != *--no-prebuild* ]] ; then
27 ${RUN} ${flags}
/art/libartbase/base/
Dmemfd.cc51 int memfd_create(const char* name, unsigned int flags) { in memfd_create() argument
66 return syscall(__NR_memfd_create, name, flags); in memfd_create()
71 int memfd_create(const char* name ATTRIBUTE_UNUSED, unsigned int flags ATTRIBUTE_UNUSED) {
79 int memfd_create_compat(const char* name, unsigned int flags) { in memfd_create_compat() argument
80 int res = memfd_create(name, flags); in memfd_create_compat()
86 if (flags == 0) { in memfd_create_compat()
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()
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()
Dmemfd.h66 int memfd_create(const char* name, unsigned int flags);
70 int memfd_create_compat(const char* name, unsigned int flags);
Dmem_map.h182 int flags, in MapFile() argument
191 flags, in MapFile()
216 int flags,
351 int flags,
358 int flags,
402 int flags,
408 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/151-OpenFileLimit/
Drun20 flags="$@"
24 ${RUN} --external-log-tags ${flags}
/art/test/613-inlining-dex-cache/
Drun17 flags="$@"
20 exec ${RUN} ${flags/verify-at-runtime/interpret-only}
/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/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
/art/test/999-redefine-hiddenapi/
Dinfo.txt1 Tests that JVMTI class redefinition does not strip away hidden API access flags.
/art/dexlayout/
Ddexlayout_main.cc194 int flags = O_RDONLY; in DexlayoutDriver() local
196 int flags = O_RDONLY | O_CLOEXEC; in DexlayoutDriver()
198 int profile_fd = open(options.profile_file_name_, flags); in DexlayoutDriver()

12345