Searched defs:mod (Results 1 - 25 of 32) sorted by relevance

12

/openjdk7/jdk/test/javax/swing/JMenuItem/ActionListenerCalledTwice/
H A DActionListenerCalledTwiceTest.java113 private static int getModKeyCode(int mod) { argument
114 if ((mod & (InputEvent.SHIFT_DOWN_MASK | InputEvent.SHIFT_MASK)) != 0) {
118 if ((mod & (InputEvent.CTRL_DOWN_MASK | InputEvent.CTRL_MASK)) != 0) {
122 if ((mod & (InputEvent.ALT_DOWN_MASK | InputEvent.ALT_MASK)) != 0) {
126 if ((mod & (InputEvent.META_DOWN_MASK | InputEvent.META_MASK)) != 0) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/util/
H A DCodeModelClassFactory.java66 public JDefinedClass createClass( JClassContainer parent, int mod, String name, Locator source ) { argument
67 return createClass(parent,mod,name,source,ClassType.CLASS);
73 public JDefinedClass createInterface( JClassContainer parent, int mod, String name, Locator source ) { argument
74 return createClass(parent,mod,name,source,ClassType.INTERFACE);
81 JClassContainer parent, int mod, String name, Locator source, ClassType kind ) {
93 mod |= JMod.STATIC;
95 JDefinedClass r = parent._class(mod,name,kind);
80 createClass( JClassContainer parent, int mod, String name, Locator source, ClassType kind ) argument
/openjdk7/jdk/src/share/classes/sun/util/calendar/
H A DCalendarUtils.java99 * <code>mod(n, d)</code> is returned.
122 * <code>mod(n, d)</code> is returned.
135 public static final long mod(long x, long y) { method in class:CalendarUtils
139 public static final int mod(int x, int y) { method in class:CalendarUtils
144 int z = mod(x, y);
149 long z = mod(x, y);
/openjdk7/jdk/src/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
H A DParser.java179 int mod, IdentifierToken nm,
192 beginClass(off, doc, mod, nm.id, supId, implIds);
199 protected void beginClass(long off, String doc, int mod, Identifier nm, argument
237 String doc, int mod, Type t,
256 defineField(where, doc, mod, t, nm.id, argIds, expIds, val);
263 protected void defineField(long where, String doc, int mod, Type t, argument
907 protected Statement parseDeclaration(long p, int mod, Expression type) throws SyntaxError, IOException { argument
916 return new DeclarationStatement(p, mod, type, statArgs(i));
991 int mod = parseModifiers(M_FINAL);
995 init = parseDeclaration(p2, mod,
178 beginClass(long off, String doc, int mod, IdentifierToken nm, IdentifierToken sup, IdentifierToken impl[]) argument
236 defineField(long where, ClassDefinition c, String doc, int mod, Type t, IdentifierToken nm, IdentifierToken args[], IdentifierToken exp[], Node val) argument
1509 addArgument(int mod, Type t, IdentifierToken nm) argument
1847 parseLocalClass(int mod) argument
1862 parseNamedClass(int mod, int ctx, String doc) argument
1930 parseClassBody(IdentifierToken nm, int mod, int ctx, String doc, Vector ext, Vector impl, long p ) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/tree/
H A DCatchStatement.java42 int mod; field in class:CatchStatement
53 this.mod = id.getModifiers();
92 field = new LocalMember(where, ctx.field.getClassDefinition(), mod, type, id);
H A DDeclarationStatement.java40 int mod; field in class:DeclarationStatement
47 public DeclarationStatement(long where, int mod, Expression type, Statement args[]) { argument
49 this.mod = mod;
70 vset = args[i].checkDeclaration(env, ctx, vset, mod, t, exp);
H A DVarDeclarationStatement.java60 Vset checkDeclaration(Environment env, Context ctx, Vset vset, int mod, Type t, Hashtable exp) { argument
116 field = new LocalMember(e.where, ctx.field.getClassDefinition(), mod, t, id);
H A DStatement.java133 Vset checkDeclaration(Environment env, Context ctx, Vset vset, int mod, Type t, Hashtable exp) { argument
/openjdk7/langtools/test/tools/javac/generics/diamond/6996914/
H A DT6996914a.java62 String mod; field in class:T6996914a.ConstructorKind
64 ConstructorKind(String mod) { argument
65 this.mod = mod;
82 source = sourceStub.replace("#P", pk.pkgDecl).replace("#M", ck.mod);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DDLSInstrument.java223 private ModelConnectionBlock convertToModel(DLSModulator mod) { argument
224 ModelIdentifier source = convertToModelSrc(mod.getSource());
225 ModelIdentifier control = convertToModelSrc(mod.getControl());
227 convertToModelDest(mod.getDestination());
229 int scale = mod.getScale();
272 if (mod.getVersion() == 1) {
273 //if (mod.getTransform() == DLSModulator.CONN_TRN_CONCAVE) {
278 if (mod.getTransform() == DLSModulator.CONN_TRN_CONCAVE) {
297 } else if (mod.getVersion() == 2) {
298 int transform = mod
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DJExpression.java92 JExpression mod(JExpression right); method in interface:JExpression
H A DJExpressionImpl.java77 public final JExpression mod(JExpression right) { method in class:JExpressionImpl
78 return JOp.mod(this, right);
H A DJOp.java152 public static JExpression mod(JExpression left, JExpression right) { method in class:JOp
/openjdk7/jdk/src/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...]
/openjdk7/jdk/src/share/demo/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...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/x86/
H A DInstructionDecoder.java40 private int mod; field in class:InstructionDecoder
145 //Fetch the mod/reg/rm byte only if it is present.
150 mod = (ModRM >> 6) & 3;
208 if (mod == 3) { //Register operand, no SIB follows
241 } else { //mod != 3
243 //disp32 is present for (mod==0 && rm==5) || (mod==2)
244 //disp8 is present for (mod==1)
258 switch (mod) {
493 op = X86Registers.getRegister8(mod);
[all...]
/openjdk7/jdk/src/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
345 isSynthetic(int mod) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DLdapSchemaCtx.java426 synchronized void modifyAttributes(Hashtable env, int mod, argument
431 schemaEntry.modifyAttributes("", mod, attrs);
/openjdk7/langtools/test/tools/javac/varargs/warning/
H A DWarn4.java109 String mod; field in class:Warn4.ModifierKind
111 ModifierKind(String mod) { argument
112 this.mod = mod;
239 meth1 = trustMe.anno + "\n" + suppressLevelDecl.getSuppressAnno() + modKind.mod + meth1;
H A DWarn5.java87 String mod; field in class:Warn5.ModifierKind
89 ModifierKind(String mod) { argument
90 this.mod = mod;
134 stub.replace("#K", modKind.mod).replace("#N", methKind.name) :
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/compiler/
H A DCompiler.java152 expr = mod(opPos); break;
413 * Compile a 'mod' operation.
421 protected Expression mod(int opPos) throws TransformerException method in class:Compiler
/openjdk7/jdk/src/share/classes/java/math/
H A DMutableBigInteger.java1214 * Returns the modInverse of this mod p. This and p are not affected by
1236 // Calculate 1/a mod oddMod
1239 // Calculate 1/a mod evenMod
1261 * Calculate the multiplicative inverse of this mod 2^k.
1293 * Returns the multiplicative inverse of val mod 2^32. Assumes val is odd.
1306 * Calculate the multiplicative inverse of 2^k mod mod, where mod is odd.
1308 static MutableBigInteger modInverseBP2(MutableBigInteger mod, int k) { argument
1309 // Copy the mod t
1322 modInverse(MutableBigInteger mod) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/management/monitor/
H A DCounterMonitor.java798 * @param mod The counter modulus value.
802 Number scanCounter, Number mod, CounterMonitorObservedObject o) {
805 l == (byte)l (mod 256) for any long l,
812 if (mod != null)
801 setDerivedGaugeWithDifference( Number scanCounter, Number mod, CounterMonitorObservedObject o) argument
/openjdk7/jdk/src/share/classes/java/awt/
H A DTexturePaintContext.java156 this.incXAcross = mod(xform.getScaleX(), bWidth);
157 this.incYAcross = mod(xform.getShearY(), bHeight);
158 this.incXDown = mod(xform.getShearX(), bWidth);
159 this.incYDown = mod(xform.getScaleY(), bHeight);
177 static double mod(double num, double den) { method in class:TexturePaintContext
222 double X = mod(xOrg + x * incXAcross + y * incXDown, bWidth);
223 double Y = mod(yOrg + x * incYAcross + y * incYDown, bHeight);

Completed in 1688 milliseconds

12