Home
last modified time | relevance | path

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

1234

/dalvik/dx/src/com/android/dx/rop/code/
DAccessFlags.java152 public static String classString(int flags) { in classString() argument
153 return humanHelper(flags, CLASS_FLAGS, CONV_CLASS); in classString()
163 public static String innerClassString(int flags) { in innerClassString() argument
164 return humanHelper(flags, INNER_CLASS_FLAGS, CONV_CLASS); in innerClassString()
174 public static String fieldString(int flags) { in fieldString() argument
175 return humanHelper(flags, FIELD_FLAGS, CONV_FIELD); in fieldString()
185 public static String methodString(int flags) { in methodString() argument
186 return humanHelper(flags, METHOD_FLAGS, CONV_METHOD); in methodString()
196 public static boolean isPublic(int flags) { in isPublic() argument
197 return (flags & ACC_PUBLIC) != 0; in isPublic()
[all …]
/dalvik/libcore/regex/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternErrorTest.java62 int flags = 0; in testCompileErrors() local
63 Pattern.compile("foo", flags); in testCompileErrors()
66 flags |= Pattern.UNIX_LINES; in testCompileErrors()
67 flags |= Pattern.CASE_INSENSITIVE; in testCompileErrors()
68 flags |= Pattern.MULTILINE; in testCompileErrors()
73 flags |= Pattern.COMMENTS; in testCompileErrors()
74 flags |= Pattern.DOTALL; in testCompileErrors()
75 flags |= Pattern.UNICODE_CASE; in testCompileErrors()
76 Pattern.compile("foo", flags); in testCompileErrors()
98 flags |= ~Pattern.CANON_EQ; in testCompileErrors()
[all …]
/dalvik/libcore/regex/src/main/java/java/util/regex/
DPattern.java151 private int flags; field in Pattern
214 public static Pattern compile(String pattern, int flags) throws PatternSyntaxException { in compile() argument
215 return new Pattern(pattern, flags); in compile()
231 private Pattern(String pattern, int flags) throws PatternSyntaxException { in Pattern() argument
232 if ((flags & CANON_EQ) != 0) { in Pattern()
237 this.flags = flags; in Pattern()
239 compileImpl(pattern, flags); in Pattern()
251 private void compileImpl(String pattern, int flags) throws PatternSyntaxException { in compileImpl() argument
256 if ((flags & LITERAL) != 0) { in compileImpl()
262 flags = flags & (CASE_INSENSITIVE | COMMENTS | MULTILINE | DOTALL | UNIX_LINES); in compileImpl()
[all …]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
DReasonFlags.java71 private boolean[] flags; field in ReasonFlags
76 public ReasonFlags(boolean[] flags) { in ReasonFlags() argument
77 this.flags = flags; in ReasonFlags()
87 for (int i=0; i<flags.length; i++) { in dumpValue()
88 if (flags[i]) { in dumpValue()
107 out.content = ((ReasonFlags) out.content).flags;
/dalvik/libcore/luni/src/main/java/java/util/
DUnknownFormatFlagsException.java31 private String flags; field in UnknownFormatFlagsException
44 flags = f; in UnknownFormatFlagsException()
53 return flags; in getFlags()
63 return Msg.getString("K034a", flags); in getMessage()
DDuplicateFormatFlagsException.java29 private String flags; field in DuplicateFormatFlagsException
42 flags = f; in DuplicateFormatFlagsException()
51 return flags; in getFlags()
63 buffer.append(flags); in getMessage()
DIllegalFormatFlagsException.java31 private String flags; field in IllegalFormatFlagsException
44 flags = f; in IllegalFormatFlagsException()
53 return flags; in getFlags()
65 buffer.append(flags); in getMessage()
DFormattable.java57 void formatTo(Formatter formatter, int flags, int width, int precision) in formatTo() argument
DFormatter.java998 private int flags = 0; field in Formatter.FormatToken
1019 return 0 != (flags & flag); in isFlagSet()
1059 return flags; in getFlags()
1062 void setFlags(int flags) { in setFlags() argument
1063 this.flags = flags; in setFlags()
1104 if (0 != (flags & newFlag)) { in setFlag()
1107 flags = (flags | newFlag); in setFlag()
1269 int flags = formatToken.getFlags(); in transformFromBoolean() local
1278 if (FormatToken.FLAGS_UNSET != flags in transformFromBoolean()
1279 && FormatToken.FLAG_MINUS != flags) { in transformFromBoolean()
[all …]
/dalvik/libcore/luni/src/test/java/com/google/coretests/
DCoreTestSuite.java155 public CoreTestSuite(Test suite, int flags, int step, TestCase victim) { in CoreTestSuite() argument
159 addAndFlatten(suite, flags); in CoreTestSuite()
161 fFlags = flags; in CoreTestSuite()
169 private void addAndFlatten(Test test, int flags) { in addAndFlatten() argument
173 if ((flags & REVERSE) != 0) { in addAndFlatten()
175 addAndFlatten(suite.testAt(i), flags); in addAndFlatten() local
179 addAndFlatten(suite.testAt(i), flags); in addAndFlatten() local
218 if ((flags & RUN_ANDROID_ONLY) == 0 && isAndroidOnly) { in addAndFlatten()
222 if ((flags & RUN_BROKEN_TESTS) == 0 && isBrokenTest) { in addAndFlatten()
226 if ((flags & RUN_KNOWN_FAILURES) == 0 && isKnownFailure) { in addAndFlatten()
[all …]
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
DFormatFlagsConversionMismatchExceptionTest.java66 String flags = "MYTESTFLAGS"; in test_getFlags() local
69 flags, conversion); in test_getFlags()
70 assertEquals(flags, formatFlagsConversionMismatchException.getFlags()); in test_getFlags()
83 String flags = "MYTESTFLAGS"; in test_getConversion() local
88 flags, conversion); in test_getConversion()
104 String flags = "MYTESTFLAGS"; in test_getMessage() local
107 flags, conversion); in test_getMessage()
DIllegalFormatFlagsExceptionTest.java65 String flags = "TESTFLAGS"; in test_getFlags() local
67 flags); in test_getFlags()
68 assertEquals(flags, illegalFormatFlagsException.getFlags()); in test_getFlags()
81 String flags = "TESTFLAGS"; in test_getMessage() local
83 flags); in test_getMessage()
/dalvik/tests/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
/dalvik/libcore/text/src/main/java/java/text/
DBidi.java139 int flags = DIRECTION_DEFAULT_LEFT_TO_RIGHT; in Bidi() local
143 flags = DIRECTION_LEFT_TO_RIGHT; in Bidi()
145 flags = DIRECTION_RIGHT_TO_LEFT; in Bidi()
181 long pBidi = createUBiDi(text, 0, embeddings, 0, length, flags); in Bidi()
221 int paragraphLength, int flags) { in Bidi() argument
251 paragraphLength, flags); in Bidi()
273 public Bidi(String paragraph, int flags) { in Bidi() argument
275 (paragraph == null ? 0 : paragraph.length()), flags); in Bidi()
281 byte[] embeddings, int embStart, int paragraphLength, int flags) { in createUBiDi() argument
298 flags); in createUBiDi()
[all …]
/dalvik/libcore/dalvik/src/main/java/dalvik/system/
DDexFile.java98 private DexFile(String sourceName, String outputName, int flags) in DexFile() argument
105 mCookie = openDexFile(sourceName, outputName, flags); in DexFile()
135 int flags) throws IOException { in loadDex() argument
144 return new DexFile(sourcePathName, outputPathName, flags); in loadDex()
267 int flags) throws IOException; in openDexFile() argument
DVMDebug.java155 int bufferSize, int flags) { in startMethodTracing() argument
156 startMethodTracing(traceFileName, null, bufferSize, flags); in startMethodTracing()
169 FileDescriptor fd, int bufferSize, int flags); in startMethodTracing() argument
258 public static native void printLoadedClasses(int flags); in printLoadedClasses() argument
/dalvik/vm/alloc/
DAlloc.c162 Object* dvmAllocObject(ClassObject* clazz, int flags) in dvmAllocObject() argument
169 flags |= ALLOC_FINALIZABLE; in dvmAllocObject()
173 newObj = dvmMalloc(clazz->objectSize, flags); in dvmAllocObject()
197 int flags; in dvmCloneObject() local
208 flags = ALLOC_DEFAULT | ALLOC_FINALIZABLE; in dvmCloneObject()
210 flags = ALLOC_DEFAULT; in dvmCloneObject()
215 copy = dvmMalloc(size, flags); in dvmCloneObject()
DAlloc.h45 void* dvmMalloc(size_t size, int flags);
55 Object* dvmAllocObject(ClassObject* clazz, int flags);
/dalvik/vm/native/
DInternalNative.c272 u4 dvmFixMethodFlags(u4 flags) in dvmFixMethodFlags() argument
274 if ((flags & ACC_ABSTRACT) != 0) { in dvmFixMethodFlags()
275 flags &= ~ACC_NATIVE; in dvmFixMethodFlags()
278 flags &= ~ACC_SYNCHRONIZED; in dvmFixMethodFlags()
280 if ((flags & ACC_DECLARED_SYNCHRONIZED) != 0) { in dvmFixMethodFlags()
281 flags |= ACC_SYNCHRONIZED; in dvmFixMethodFlags()
284 return flags & JAVA_FLAGS_MASK; in dvmFixMethodFlags()
/dalvik/libcore/luni/src/main/native/
Dorg_apache_harmony_luni_platform_OSFileSystem.cpp65 EsTranslateOpenFlags(int flags) { in EsTranslateOpenFlags() argument
68 if(flags & HyOpenAppend) { in EsTranslateOpenFlags()
71 if(flags & HyOpenTruncate) { in EsTranslateOpenFlags()
74 if(flags & HyOpenCreate) { in EsTranslateOpenFlags()
77 if(flags & HyOpenCreateNew) { in EsTranslateOpenFlags()
81 if(flags & HyOpenSync) { in EsTranslateOpenFlags()
85 if(flags & HyOpenRead) { in EsTranslateOpenFlags()
86 if(flags & HyOpenWrite) { in EsTranslateOpenFlags()
91 if(flags & HyOpenWrite) { in EsTranslateOpenFlags()
565 int flags = 0; in harmony_io_openImpl() local
[all …]
/dalvik/dexopt/
DOptMain.c319 int fd, flags, vmBuildVersion; in fromDex() local
351 GET_ARG(flags, strtol, "bad flags"); in fromDex()
354 fd, offset, length, debugFileName, modWhen, crc, flags, argc); in fromDex()
395 if ((flags & DEXOPT_VERIFY_ENABLED) != 0) { in fromDex()
396 if ((flags & DEXOPT_VERIFY_ALL) != 0) in fromDex()
403 if ((flags & DEXOPT_OPT_ENABLED) != 0) { in fromDex()
404 if ((flags & DEXOPT_OPT_ALL) != 0) in fromDex()
411 if ((flags & DEXOPT_GEN_REGISTER_MAP) != 0) { in fromDex()
426 modWhen, crc, (flags & DEXOPT_IS_BOOTSTRAP) != 0)) in fromDex()
/dalvik/libcore/archive/src/main/java/java/util/zip/
DGZIPInputStream.java87 int flags = header[3]; in GZIPInputStream() local
88 boolean hcrc = (flags & FHCRC) != 0; in GZIPInputStream()
92 if ((flags & FEXTRA) != 0) { in GZIPInputStream()
110 if ((flags & FNAME) != 0) { in GZIPInputStream()
113 if ((flags & FCOMMENT) != 0) { in GZIPInputStream()
/dalvik/vm/mterp/x86/
DOP_INVOKE_STATIC.S30 movl %eax,OUT_ARG2(%esp) # arg2<- flags
32 call dvmResolveMethod # call(clazz,ref,flags)
/dalvik/libdex/
DInstrUtils.c364 InstructionFlags flags = 0; in dexCreateInstrFlagsTable() local
488 flags = kInstrCanContinue; in dexCreateInstrFlagsTable()
558 flags = kInstrCanContinue | kInstrCanThrow; in dexCreateInstrFlagsTable()
571 flags = kInstrCanContinue | kInstrCanThrow | kInstrInvoke; in dexCreateInstrFlagsTable()
578 flags = kInstrCanReturn; in dexCreateInstrFlagsTable()
582 flags = kInstrCanThrow; in dexCreateInstrFlagsTable()
589 flags = kInstrCanBranch | kInstrUnconditional; in dexCreateInstrFlagsTable()
605 flags = kInstrCanBranch | kInstrCanContinue; in dexCreateInstrFlagsTable()
611 flags = kInstrCanSwitch | kInstrCanContinue; in dexCreateInstrFlagsTable()
616 flags = kInstrCanThrow; in dexCreateInstrFlagsTable()
[all …]
DInstrUtils.h153 DEX_INLINE int dexGetInstrFlags(const InstructionFlags* flags, OpCode opCode) in dexGetInstrFlags() argument
156 return flags[opCode]; in dexGetInstrFlags()

1234