Searched defs:flags (Results 1 - 25 of 31) sorted by relevance

12

/dalvik/libdex/
H A DInstrUtils.c354 * Generate a table that holds instruction flags.
367 InstructionFlags flags = 0; local
491 flags = kInstrCanContinue;
561 flags = kInstrCanContinue | kInstrCanThrow;
574 flags = kInstrCanContinue | kInstrCanThrow | kInstrInvoke;
581 flags = kInstrCanReturn;
585 flags = kInstrCanThrow;
592 flags = kInstrCanBranch | kInstrUnconditional;
608 flags = kInstrCanBranch | kInstrCanContinue;
614 flags
[all...]
H A DInstrUtils.h93 * Instruction flags, used by the verifier and JIT to determine where
151 * Allocate and populate a 256-element array with instruction flags.
156 * Returns the flags for the specified opcode.
158 DEX_INLINE int dexGetInstrFlags(const InstructionFlags* flags, OpCode opCode) argument
161 return flags[opCode];
H A DDexFile.c487 DexFile* dexFileParse(const u1* data, size_t length, int flags) argument
516 LOGV("Good opt header, DEX offset is %d, flags=0x%02x\n",
517 pDexFile->pOptHeader->dexOffset, pDexFile->pOptHeader->flags);
555 if (flags & kDexParseVerifyChecksum) {
560 if (!(flags & kDexParseContinueOnError))
572 if (!(flags & kDexParseContinueOnError))
598 if (!(flags & kDexParseContinueOnError))
608 if (!(flags & kDexParseContinueOnError))
/dalvik/vm/
H A DJarFile.c41 * <flags> is passed directly to open(). O_CREAT is not supported.
44 int flags, char **pCachedName)
69 fd = open(buf, flags);
43 openAlternateSuffix(const char *fileName, const char *suffix, int flags, char **pCachedName) argument
H A DProfile.h54 int flags; member in struct:MethodTraceState
103 int flags, bool directToDdms);
120 * Bit flags for dvmMethodTraceStart "flags" argument. These must match
H A DProfile.c338 int flags, bool directToDdms)
391 state->flags = flags;
392 if ((flags & TRACE_ALLOC_COUNTS) != 0)
529 if ((state->flags & TRACE_ALLOC_COUNTS) != 0)
619 if ((state->flags & TRACE_ALLOC_COUNTS) != 0) {
337 dvmMethodTraceStart(const char* traceFileName, int traceFd, int bufferSize, int flags, bool directToDdms) argument
H A DMisc.c657 int flags; local
661 * value of the fd flags is probably unnecessary.
663 flags = fcntl(fd, F_GETFD);
664 if (flags < 0) {
665 LOGW("Unable to get fd flags for fd %d\n", fd);
668 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) {
/dalvik/vm/alloc/
H A DAlloc.c173 Object* dvmAllocObject(ClassObject* clazz, int flags) argument
180 flags |= ALLOC_FINALIZABLE;
184 newObj = dvmMalloc(clazz->objectSize, flags);
206 int flags; local
217 flags = ALLOC_DEFAULT | ALLOC_FINALIZABLE;
219 flags = ALLOC_DEFAULT;
227 copy = dvmMalloc(size, flags);
H A DHeap.c414 void* dvmMalloc(size_t size, int flags) argument
466 if ((flags & ALLOC_FINALIZABLE) != 0) {
510 if ((flags & ALLOC_DONT_TRACK) == 0) {
H A DMarkSweep.c379 * Returns class flags relating to Reference subclasses.
383 int flags = CLASS_ISREFERENCE | local
386 return GET_CLASS_FLAG_GROUP(obj->clazz, flags);
H A DCopying.c265 int flags, prot; local
267 flags = MAP_PRIVATE | MAP_ANONYMOUS;
269 addr = mmap(NULL, length, prot, flags, -1, 0);
986 int flags; local
988 flags = CLASS_ISREFERENCE |
991 return GET_CLASS_FLAG_GROUP(obj->clazz, flags);
/dalvik/vm/compiler/
H A DInlineTransformation.c299 int flags = dexGetInstrFlags(gDvm.instrFlags, opCode); local
302 if ((flags & kInstrInvoke) == 0)
H A DFrontend.c208 int flags = dexGetInstrFlags(gDvm.instrFlags, dalvikInsn->opCode); local
211 if ((flags & kInstrInvoke) &&
216 if (!(flags & kInstrCanReturn)) {
232 if (flags & kInstrCanReturn) {
241 if (flags & kInstrCanThrow) {
573 int flags = dexGetInstrFlags(gDvm.instrFlags, insn->dalvikInsn.opCode); local
575 if ((flags & kInstrInvoke) &&
646 int flags = dexGetInstrFlags(gDvm.instrFlags, local
649 if (flags & kInstrInvoke) {
666 if (flags
[all...]
/dalvik/vm/native/
H A DInternalNative.c262 * check the access flags at the time of the method call. This results in
268 * the "traditional" meaning of the flags to their callers.
270 u4 dvmFixMethodFlags(u4 flags) argument
272 if ((flags & ACC_ABSTRACT) != 0) {
273 flags &= ~ACC_NATIVE;
276 flags &= ~ACC_SYNCHRONIZED;
278 if ((flags & ACC_DECLARED_SYNCHRONIZED) != 0) {
279 flags |= ACC_SYNCHRONIZED;
282 return flags & JAVA_FLAGS_MASK;
H A Djava_lang_Class.c296 * Return the class' modifier flags. If "ignoreInnerClassesAttrib" is false,
297 * and this is an inner class, we return the access flags from the inner class
309 /* see if we have an InnerClass annotation with flags in it */
729 int flags; local
731 if (dvmGetInnerClass(clazz, &nameObj, &flags)) {
H A Ddalvik_system_VMDebug.c112 * or command-line flags.
332 * FileDescriptor fd, int bufferSize, int flags)
346 int flags = args[3]; local
377 fd, bufferSize, flags, (traceFileName == NULL && fd == -1));
588 * static void printLoadedClasses(int flags)
595 int flags = args[0]; local
597 dvmDumpAllClasses(flags);
/dalvik/dexopt/
H A DOptMain.c132 int dexoptFlags = 0; /* bit flags, from enum DexoptFlags */
279 * 5. dexopt flags
327 * 4. dexopt flags
403 * 9. flags (optimization level, isBootstrap)
424 int fd, flags, vmBuildVersion; local
456 GET_ARG(flags, strtol, "bad flags");
459 fd, offset, length, debugFileName, modWhen, crc, flags, argc);
499 if ((flags & DEXOPT_VERIFY_ENABLED) != 0) {
500 if ((flags
[all...]
/dalvik/dx/src/com/android/dx/rop/code/
H A DAccessFlags.java22 * Constants used as "access flags" in various places in classes, and
23 * related utilities. Although, at the rop layer, flags are generally
26 * identical to Java access flags, but {@code ACC_SUPER} isn't
106 /** flags defined on classes */
111 /** flags defined on inner classes */
117 /** flags defined on fields */
122 /** flags defined on methods */
129 /** indicates conversion of class flags */
132 /** indicates conversion of field flags */
135 /** indicates conversion of method flags */
152 classString(int flags) argument
163 innerClassString(int flags) argument
174 fieldString(int flags) argument
185 methodString(int flags) argument
196 isPublic(int flags) argument
207 isProtected(int flags) argument
218 isPrivate(int flags) argument
229 isStatic(int flags) argument
240 isSynchronized(int flags) argument
251 isAbstract(int flags) argument
262 isNative(int flags) argument
273 isAnnotation(int flags) argument
284 isDeclaredSynchronized(int flags) argument
297 humanHelper(int flags, int mask, int what) argument
[all...]
/dalvik/vm/compiler/codegen/arm/
H A DCodegenCommon.c39 assert( EncodingMap[lir->opCode].flags & (IS_LOAD | IS_STORE));
47 /* Clear out the memref flags */
112 int flags; local
119 flags = EncodingMap[lir->opCode].flags;
122 if (flags & (IS_LOAD | IS_STORE)) {
124 setMemRefType(lir, flags & IS_LOAD, kHeapRef);
127 if (flags & IS_BRANCH) {
132 if (flags & REG_DEF0) {
136 if (flags
[all...]
/dalvik/vm/jdwp/
H A DJdwpAdb.c430 u1 flags, cmdSet, cmd; local
439 flags = read1(&buf);
440 if ((flags & kJDWPFlagReply) != 0) {
H A DJdwpSocket.c546 u1 flags, cmdSet, cmd;
555 flags = read1(&buf);
556 if ((flags & kJDWPFlagReply) != 0) {
567 LOGV("--- %s: dataLen=%u id=0x%08x flags=0x%02x cmd=%d/%d\n",
569 dataLen, id, flags, cmdSet, cmd);
584 u1 flags, cmdSet, cmd; local
595 flags = read1(&buf);
596 if ((flags & kJDWPFlagReply) != 0) {
/dalvik/vm/interp/
H A DJit.c711 int flags, len; local
754 flags = dexGetInstrFlags(gDvm.instrFlags, decInsn.opCode);
779 int needReservedRun = (flags & kInstrInvoke) ? 1 : 0;
787 if ( ((flags & kInstrUnconditional) == 0) &&
790 ((flags & (kInstrCanBranch |
806 if (flags & kInstrInvoke) {
824 if ((flags & kInstrCanReturn) != kInstrCanReturn) {
H A DInterp.c1039 VerifyErrorRefType refType, int flags)
1056 if (flags == 0)
1061 if ((flags & kThrowShow_accessFromClass) != 0) {
1075 VerifyErrorRefType refType, int flags)
1095 if ((flags & kThrowShow_accessFromClass) != 0) {
1108 VerifyErrorRefType refType, int flags)
1128 if ((flags & kThrowShow_accessFromClass) != 0) {
1038 classNameFromIndex(const Method* method, int ref, VerifyErrorRefType refType, int flags) argument
1074 fieldNameFromIndex(const Method* method, int ref, VerifyErrorRefType refType, int flags) argument
1107 methodNameFromIndex(const Method* method, int ref, VerifyErrorRefType refType, int flags) argument
/dalvik/vm/analysis/
H A DDexPrepare.c334 int flags; local
387 flags = 0;
389 flags |= DEXOPT_OPT_ENABLED;
391 flags |= DEXOPT_OPT_ALL;
394 flags |= DEXOPT_VERIFY_ENABLED;
396 flags |= DEXOPT_VERIFY_ALL;
399 flags |= DEXOPT_IS_BOOTSTRAP;
401 flags |= DEXOPT_GEN_REGISTER_MAPS;
402 sprintf(values[9], "%d", flags);
658 optHdr.flags
[all...]
/dalvik/dexdump/
H A DDexDump.c248 * Create a new string with human-readable access flags.
253 static char* createAccessFlagStr(u4 flags, AccessFor forWhat) argument
331 count = countOnes(flags);
335 if (flags & 0x01) {
344 flags >>= 1;
412 printf("flags : %08x\n", pOptHeader->flags);
1414 printf(" Access flags : 0x%04x (%s)\n",
1759 int flags = kDexParseVerifyChecksum; local
1761 flags |
[all...]

Completed in 409 milliseconds

12