Searched refs:flags (Results 1 - 25 of 90) sorted by path

1234

/art/adbconnection/
H A Dadbconnection.cc274 static bool FlagsSet(int16_t data, int16_t flags) { argument
275 return (data & flags) == flags;
350 // next the flags. (0 for cmd packet because DDMS).
/art/compiler/linker/
H A Delf_builder.h101 Elf_Word flags,
116 header_.sh_flags = flags;
213 header_.sh_addralign = kPageSize; // Page-align if R/W/X flags changed.
239 Elf_Word flags,
244 : Section(owner, name, type, flags, link, info, align, entsize), cache_() { }
278 Elf_Word flags,
283 flags,
302 Elf_Word flags,
307 flags,
341 Elf_Word flags,
98 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
236 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
276 CachedStringSection(ElfBuilder<ElfTypes>* owner, const std::string& name, Elf_Word flags, Elf_Word align) argument
300 StringSection(ElfBuilder<ElfTypes>* owner, const std::string& name, Elf_Word flags, Elf_Word align) argument
338 SymbolSection(ElfBuilder<ElfTypes>* owner, const std::string& name, Elf_Word type, Elf_Word flags, Section* strtab) argument
419 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
480 BuildIdSection(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
[all...]
/art/compiler/optimizing/
H A Dnodes.h1761 // Returns string representation of flags (for debugging only).
1764 std::string flags = "|"; local
1770 flags += "GC";
1772 flags += "|";
1778 flags += kDebug[s];
1782 flags += "|";
1786 return flags;
1843 // Private constructor on direct flags value.
1844 explicit SideEffects(uint64_t flags) : flags_(flags) {} argument
[all...]
/art/dex2oat/
H A Ddex2oat_image_test.cc327 uint32_t flags = ProfileCompilationInfo::MethodHotness::kFlagHot |
330 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags),
/art/dexdump/
H A Ddexdump.cc211 * Returns a quoted string representing the access flags.
235 * Creates a new string with human-readable access flags.
240 static char* createAccessFlagStr(u4 flags, AccessFor forWhat) { argument
306 const int count = countOnes(flags);
312 if (flags & 0x01) {
321 flags >>= 1;
1194 static void dumpCode(const DexFile* pDexFile, u4 idx, u4 flags, argument
1213 bool is_static = (flags & kAccStatic) != 0;
1223 static void dumpMethod(const DexFile* pDexFile, u4 idx, u4 flags, argument
1226 if (gOptions.exportsOnly && (flags
1329 dumpSField(const DexFile* pDexFile, u4 idx, u4 flags, int i, const u1** data) argument
1376 dumpIField(const DexFile* pDexFile, u4 idx, u4 flags, int i) argument
[all...]
/art/dexlayout/
H A Ddexlayout.cc132 * Returns a quoted string representing the access flags.
156 * Creates a new string with human-readable access flags.
160 static char* CreateAccessFlagStr(uint32_t flags, AccessFor for_what) { argument
226 const int count = CountOnes(flags);
232 if (flags & 0x01) {
241 flags >>= 1;
1179 void DexLayout::DumpMethod(uint32_t idx, uint32_t flags, const dex_ir::CodeItem* code, int i) { argument
1181 if (options_.exports_only_ && (flags & (kAccPublic | kAccProtected)) == 0) {
1189 char* access_str = CreateAccessFlagStr(flags, kAccessForMethod);
1195 fprintf(out_file_, " access : 0x%04x (%s)\n", flags, access_st
1289 DumpSField(uint32_t idx, uint32_t flags, int i, dex_ir::EncodedValue* init) argument
1336 DumpIField(uint32_t idx, uint32_t flags, int i) argument
[all...]
H A Ddexlayout.h151 void DumpIField(uint32_t idx, uint32_t flags, int i);
159 void DumpMethod(uint32_t idx, uint32_t flags, const dex_ir::CodeItem* code, int i);
161 void DumpSField(uint32_t idx, uint32_t flags, int i, dex_ir::EncodedValue* init);
H A Ddexlayout_test.cc347 uint8_t flags = 0u; local
350 flags |= ProfileCompilationInfo::MethodHotness::kFlagHot;
353 flags |= ProfileCompilationInfo::MethodHotness::kFlagStartup;
356 pfi.AddMethodIndex(static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags),
/art/dexlist/
H A Ddexlist.cc98 const char* fileName, u4 idx, u4 flags ATTRIBUTE_UNUSED,
/art/dt_fd_forward/
H A Ddt_fd_forward.cc464 pkt_->type.cmd.flags = ReadByte();
469 } else if ((pkt_->type.reply.flags & JDWPTRANSPORT_FLAGS_REPLY) == JDWPTRANSPORT_FLAGS_REPLY) {
582 PushByte(pkt_->type.cmd.flags);
583 if ((pkt_->type.reply.flags & JDWPTRANSPORT_FLAGS_REPLY) == JDWPTRANSPORT_FLAGS_REPLY) {
/art/imgdiag/
H A Dimgdiag.cc1155 if ((map->flags & PROT_WRITE) != 0) {
1543 *error_msg = StringPrintf("Failed to read the page flags from %s",
/art/libartbase/base/
H A Dos.h48 // Open a file with the specified open(2) flags.
49 static File* OpenFileWithFlags(const char* name, int flags, bool auto_flush = true);
H A Dos_linux.cc56 File* OS::OpenFileWithFlags(const char* name, int flags, bool auto_flush) { argument
58 bool read_only = ((flags & O_ACCMODE) == O_RDONLY);
60 std::unique_ptr<File> file(new File(name, flags, 0666, check_usage));
H A Dscoped_flock.cc35 /* static */ ScopedFlock LockedFile::Open(const char* filename, int flags, bool block, argument
43 std::unique_ptr<File> file(OS::OpenFileWithFlags(filename, flags, false /* check_usage */));
H A Dscoped_flock.h47 // The file is opened with the provided flags.
48 static ScopedFlock Open(const char* filename, int flags, bool block,
/art/libartbase/base/unix_file/
H A Dfd_file.cc57 FdFile::FdFile(const std::string& path, int flags, mode_t mode, bool check_usage) argument
59 Open(path, flags, mode);
132 bool FdFile::Open(const std::string& path, int flags) { argument
133 return Open(path, flags, 0640);
136 bool FdFile::Open(const std::string& path, int flags, mode_t mode) { argument
139 read_only_mode_ = ((flags & O_ACCMODE) == O_RDONLY);
140 fd_ = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode));
145 if (kCheckSafeUsage && (flags & (O_RDWR | O_CREAT | O_WRONLY)) != 0) {
H A Dfd_file.h44 FdFile(const std::string& path, int flags, bool checkUsage) argument
45 : FdFile(path, flags, 0640, checkUsage) {}
46 FdFile(const std::string& path, int flags, mode_t mode, bool checkUsage);
173 // Opens file 'file_path' using 'flags' and 'mode'.
174 bool Open(const std::string& file_path, int flags);
175 bool Open(const std::string& file_path, int flags, mode_t mode);
/art/libdexfile/dex/
H A Ddex_file_verifier.cc119 *error_msg = "Method index not available for method flags verification";
126 *error_msg = "String index not available for method flags verification";
133 *error_msg = "String offset out of bounds for method flags verification";
139 *error_msg = "String size out of bounds for method flags verification";
146 // Gets constructor flags based on the |method_name|. Returns true if
662 // Check field access flags.
1118 // These calls use the raw access flags to check whether the whole dex field is valid.
2281 ErrorStringPrintf("Invalid class flags: '%d'", item->access_flags_);
2892 static bool CheckAtMostOneOfPublicProtectedPrivate(uint32_t flags) { argument
2893 size_t count = (((flags
[all...]
H A Ddex_instruction.cc63 #define INSTRUCTION_DESCR(opcode, c, p, format, index, flags, eflags, vflags) \
67 flags, \
515 // Add some checks that ensure the flags make sense. We need a subclass to be in the context of
516 // Instruction. Otherwise the flags from the instruction list don't work.
H A Ddex_instruction.h154 // Old flags. Keeping them around in case we might need them again some day.
211 uint8_t flags; // Set of Flags. member in struct:art::Instruction::InstructionDescriptor
534 // Returns the flags for the given opcode.
536 return kInstructionDescriptors[opcode].flags;
539 // Return the verify flags for the given opcode.
546 return (kInstructionDescriptors[Opcode()].flags & kBranch) != 0;
551 return (kInstructionDescriptors[Opcode()].flags & kUnconditional) != 0;
568 return (kInstructionDescriptors[Opcode()].flags & kSwitch) != 0;
573 return (kInstructionDescriptors[Opcode()].flags & kThrow) != 0;
578 return (kInstructionDescriptors[Opcode()].flags
[all...]
H A Dhidden_api_access_flags.h26 /* This class is used for encoding and decoding access flags of class members
27 * from the boot class path. These access flags might contain additional two bits
38 * First bit is encoded as inversion of visibility flags (public/private/protected).
40 * this is interpreted as the first bit being set and actual visibility flags
41 * being the complement of the encoded flags.
47 * encoding of the access flags.
52 * Two bits are set aside in the uint32_t access flags in the intrinsics ordinal
68 DexHiddenAccessFlags flags(dex_access_flags);
69 uint32_t int_value = (flags.IsFirstBitSet() ? 1 : 0) + (flags
[all...]
/art/openjdkjvm/
H A DOpenjdkJvm.cc74 JNIEXPORT jint JVM_Open(const char* fname, jint flags, jint mode) { argument
80 if (flags & JVM_O_DELETE) {
85 int fd = TEMP_FAILURE_RETRY(open(fname, flags & ~JVM_O_DELETE, mode));
270 JNIEXPORT jint JVM_Send(jint fd, char* buf, jint nBytes, jint flags) { argument
271 return TEMP_FAILURE_RETRY(send(fd, buf, nBytes, flags));
/art/openjdkjvmti/include/
H A Djvmti.h882 jint flags,
/art/profman/
H A Dboot_image_profile.cc85 const uint32_t flags = it.GetFieldAccessFlags(); local
86 if ((flags & kAccFinal) == 0) {
95 const uint32_t flags = it.GetMethodAccessFlags(); local
96 if ((flags & kAccNative) != 0) {
101 if ((flags & kAccConstructor) != 0 && (flags & kAccStatic) != 0) {
H A Dprofile_assistant_test.cc89 Hotness::Flag flags = Hotness::kFlagPostStartup; local
92 dex_location2, dex_location_checksum2, i, number_of_methods2, pmi, flags));
94 dex_location1, dex_location_checksum1, i, number_of_methods1, pmi, flags));
97 dex_location1, dex_location_checksum1, i, number_of_methods1, pmi, flags));
99 dex_location2, dex_location_checksum2, i, number_of_methods2, pmi, flags));

Completed in 8030 milliseconds

1234