Searched refs:mod (Results 1 - 25 of 181) sorted by relevance

12345678

/openjdk9/jdk/src/java.base/share/classes/java/lang/reflect/
H A DModifier.java64 * @param mod a set of modifiers
65 * @return {@code true} if {@code mod} includes the
68 public static boolean isPublic(int mod) { argument
69 return (mod & PUBLIC) != 0;
76 * @param mod a set of modifiers
77 * @return {@code true} if {@code mod} includes the
80 public static boolean isPrivate(int mod) { argument
81 return (mod & PRIVATE) != 0;
88 * @param mod a set of modifiers
89 * @return {@code true} if {@code mod} include
92 isProtected(int mod) argument
104 isStatic(int mod) argument
116 isFinal(int mod) argument
128 isSynchronized(int mod) argument
140 isVolatile(int mod) argument
152 isTransient(int mod) argument
164 isNative(int mod) argument
176 isInterface(int mod) argument
188 isAbstract(int mod) argument
200 isStrict(int mod) argument
235 toString(int mod) argument
343 isSynthetic(int mod) argument
347 isMandated(int mod) argument
[all...]
/openjdk9/langtools/test/tools/javac/
H A DT6232928.java40 int mod = pkginfo_cls.getModifiers();
41 if (Modifier.isAbstract(mod) && Modifier.isInterface(mod)) {
42 if ((mod & 0x1000) == 0) {
/openjdk9/hotspot/test/compiler/arraycopy/
H A DTestArrayCopyOverflowArguments.java42 static volatile int mod = Integer.MAX_VALUE; field in class:TestArrayCopyOverflowArguments
50 int pos = 8 + mod + mod; // = 0x1_0000_0006.
51 int start = 2 + mod + mod; // = 0x1_0000_0000.
52 int len = 12 + mod + mod; // = 0x1_0000_0010.
/openjdk9/nashorn/test/script/nosecurity/treeapi/
H A Dmodules.js36 import myDef, * as myMod from "my-mod";
42 var mod = parseModule("foo", code);
43 print(JSON.stringify(convert(mod), null, 2))
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.asm/src/org/graalvm/compiler/asm/
H A DNumUtil.java109 public static int roundUp(int number, int mod) { argument
110 return ((number + mod - 1) / mod) * mod;
113 public static long roundUp(long number, long mod) { argument
114 return ((number + mod - 1L) / mod) * mod;
117 public static int roundDown(int number, int mod) { argument
118 return number / mod * mo
121 roundDown(long number, long mod) argument
[all...]
/openjdk9/hotspot/test/compiler/floatingpoint/
H A DModNaN.java114 double mod = a % b;
115 System.out.println("" + a + "("+toHexRep(a)+") mod " +
117 mod + "("+toHexRep(mod)+")");
123 double mod = a % b;
124 System.out.println("" + a + "("+toHexRep(a)+") mod " +
126 mod + "("+toHexRep(mod)+")");
134 double mod = a % b;
135 check(mod);
166 check(double mod) argument
[all...]
/openjdk9/langtools/test/tools/javac/modules/T8168854/
H A Dmodule-info.java7 module mod {
/openjdk9/jdk/test/java/lang/reflect/DefaultStaticTest/
H A DDefaultStaticTestData.java44 @MethodDesc(name = "defaultMethod", retval = "TestIF1.defaultMethod", mod = DEFAULT, declared = YES)
52 @MethodDesc(name = "defaultMethod", retval = "TestIF1.defaultMethod", mod = DEFAULT, declared = NO)
56 @MethodDesc(name = "staticMethod", retval = "TestIF2.staticMethod", mod = STATIC, declared = YES)
64 @MethodDesc(name = "method", retval = "TestIF2.staticMethod", mod = REGULAR, declared = YES)
72 @MethodDesc(name = "defaultMethod", retval = "TestIF3.defaultMethod", mod = DEFAULT, declared = YES)
73 @MethodDesc(name = "method", retval = "", mod = ABSTRACT, declared = YES)
83 @MethodDesc(name = "defaultMethod", retval = "TestIF3.defaultMethod", mod = DEFAULT, declared = NO)
84 @MethodDesc(name = "method", retval = "TestClass3.method", mod = REGULAR, declared = YES)
92 @MethodDesc(name = "staticMethod", retval = "TestIF4.staticMethod", mod = STATIC, declared = YES)
93 @MethodDesc(name = "method", retval = "", mod
331 Mod mod(); method in interface:MethodDesc
[all...]
/openjdk9/langtools/test/tools/javac/processing/model/element/
H A DTestModuleElementNames.java53 private void checkNames(ModuleElement mod, String expectedSimple, String expectedQual, boolean expectedUnnamed) { argument
54 boolean unnamed = mod.isUnnamed();
55 String simpleName = mod.getSimpleName().toString();
56 String qualifiedName = mod.getQualifiedName().toString();
/openjdk9/langtools/test/tools/javac/modules/
H A DNPECompilingModuleInfoTest.java49 Path mod = base.resolve("mod");
50 tb.writeJavaFiles(mod, "module mod { exports pkg; }");
51 Path pkg = mod.resolve("pkg");
59 .files(findJavaFiles(mod))
H A DObscureMessageForBadProvidesTest.java49 Path mod = base.resolve("mod");
50 tb.writeJavaFiles(mod, "module mod { provides java.lang.String with java.io.File; }");
56 .files(findJavaFiles(mod))
H A DGetLocationForModuleTest.java76 for (String mod : mods) {
77 JavaFileManager.Location modLocn = fm.getLocationForModule(locn, mod);
79 error(locn.getName() + ": can't find " + mod);
81 System.err.println(locn.getName() + ": found " + mod + ": " + modLocn.getName());
/openjdk9/jdk/test/java/lang/String/
H A DICCBasher.java77 String mod = (String)L1.get(x);
78 mod = mod.toUpperCase();
79 L1.set(x, mod);
83 String mod = (String)L2.get(x);
84 mod = mod.toUpperCase();
85 L2.set(x, mod);
/openjdk9/hotspot/test/gc/
H A DTestSoftReferencesBehaviorOnOOME.java129 long mod = 1;
132 mod = postfixes.indexOf(arg.trim().charAt(arg.length() - 1));
134 if (mod != -1) {
135 mod = (long) Math.pow(1024, mod+1);
138 mod = 1; // 10^0
142 return Long.parseLong(arg) * mod;
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/
H A DModuleTreeImpl.java37 private final Module mod; field in class:ModuleTreeImpl
50 this.mod = func.getModule();
58 final Module mod = func.getModule();
60 createImportList(mod.getImportEntries()),
61 createExportList(mod.getLocalExportEntries()),
62 createExportList(mod.getIndirectExportEntries()),
63 createExportList(mod.getStarExportEntries()));
/openjdk9/corba/src/java.corba/share/classes/com/sun/corba/se/impl/presentation/rmi/
H A DIDLType.java64 String mod = modules_[ctr] ;
68 if (fixIDLKeywords && IDLNameTranslatorImpl.isIDLKeyword(mod))
69 mod = IDLNameTranslatorImpl.mangleIDLKeywordClash( mod ) ;
71 sbuff.append( mod ) ;
/openjdk9/hotspot/test/compiler/intrinsics/bigInteger/
H A DMontgomeryMultiplyTest.java150 // Calculate a * b * r^-1 mod n)
153 // N' = R^-1 mod N
156 // m := (T mod R)N' mod R [so 0 <= m < R]
167 m = m.and(mask); // i.e. m.mod(R)
198 // calculation but they must have the same residue mod N.
199 if (!slow.mod(n).equals(fast.mod(n))) {
223 BigInteger mod = new BigInteger(lenInBits, 2, rnd);
225 BigInteger n_prime = mod
[all...]
/openjdk9/langtools/test/tools/javac/lambda/8012557/
H A DPrivateLambdas.java61 int mod = m.getModifiers();
62 if ((mod & Modifier.PRIVATE) == 0) {
68 if ((mod & Modifier.STATIC) != 0) {
/openjdk9/hotspot/test/serviceability/jdwp/
H A DAllModulesCommandTestDebuggee.java39 for (Module mod : ModuleLayer.boot().modules()) {
40 String info = String.format("module %s", mod.getName());
/openjdk9/jdk/src/jdk.rmic/share/classes/sun/tools/java/
H A DParserActions.java69 int mod, IdentifierToken nm,
84 String doc, int mod, Type t,
68 beginClass(long off, String doc, int mod, IdentifierToken nm, IdentifierToken sup, IdentifierToken impl[]) argument
83 defineField(long where, ClassDefinition c, String doc, int mod, Type t, IdentifierToken nm, IdentifierToken args[], IdentifierToken exp[], Node val) argument
/openjdk9/jdk/src/jdk.rmic/share/classes/sun/tools/javac/
H A DBatchParser.java119 public ClassDefinition beginClass(long where, String doc, int mod, argument
146 if ((mod & M_ANONYMOUS) != 0) {
147 mod |= (M_FINAL | M_PRIVATE);
149 if ((mod & M_LOCAL) != 0) {
150 mod |= M_PRIVATE;
164 if ((mod & M_INTERFACE) != 0) {
166 mod |= M_ABSTRACT;
169 mod |= M_STATIC;
180 if ((mod & (M_PRIVATE | M_PROTECTED)) == 0)
181 mod |
247 defineField(long where, ClassDefinition c, String doc, int mod, Type t, IdentifierToken name, IdentifierToken args[], IdentifierToken exp[], Node val) argument
[all...]
/openjdk9/langtools/test/tools/javac/api/mod/
H A Dmodule-info.java24 module mod {/*getElement:MODULE:mod*/
30 }/*getElement:getParentPath:MODULE:mod*/
/openjdk9/jdk/test/java/awt/event/KeyEvent/8020209/
H A Dbug8020209.java103 private static int getModKeyCode(int mod) { argument
104 if ((mod & (InputEvent.SHIFT_DOWN_MASK | InputEvent.SHIFT_MASK)) != 0) {
108 if ((mod & (InputEvent.CTRL_DOWN_MASK | InputEvent.CTRL_MASK)) != 0) {
112 if ((mod & (InputEvent.ALT_DOWN_MASK | InputEvent.ALT_MASK)) != 0) {
116 if ((mod & (InputEvent.META_DOWN_MASK | InputEvent.META_MASK)) != 0) {
/openjdk9/jdk/src/demo/share/java2d/J2DBench/src/j2dbench/
H A DTest.java50 public void addDependency(Modifier mod) { argument
51 addDependency(mod, null);
54 public void addDependency(Modifier mod, Modifier.Filter filter) { argument
55 dependencies = DependentLink.add(dependencies, mod, filter);
236 public static DependentLink add(DependentLink d, Modifier mod, argument
239 DependentLink dl = new DependentLink(mod, filter);
253 private Modifier mod; field in class:Test.DependentLink
256 private DependentLink(Modifier mod, Modifier.Filter filter) { argument
257 this.mod = mod;
[all...]
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/optimize/
H A DFold_Double01.java48 return mod();
73 public static double mod() { method in class:Fold_Double01

Completed in 224 milliseconds

12345678