Searched defs:env (Results 426 - 450 of 948) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/share/native/java/io/
H A DRandomAccessFile.c44 Java_java_io_RandomAccessFile_initIDs(JNIEnv *env, jclass fdClass) { argument
45 raf_fd = (*env)->GetFieldID(env, fdClass, "fd", "Ljava/io/FileDescriptor;");
50 Java_java_io_RandomAccessFile_open(JNIEnv *env, argument
63 fileOpen(env, this, path, raf_fd, flags);
67 Java_java_io_RandomAccessFile_read0(JNIEnv *env, jobject this) { argument
68 return readSingle(env, this, raf_fd);
72 Java_java_io_RandomAccessFile_readBytes0(JNIEnv *env, argument
74 return readBytes(env, this, bytes, off, len, raf_fd);
78 Java_java_io_RandomAccessFile_write0(JNIEnv *env, jobjec argument
83 Java_java_io_RandomAccessFile_writeBytes0(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len) argument
89 Java_java_io_RandomAccessFile_getFilePointer(JNIEnv *env, jobject this) argument
105 Java_java_io_RandomAccessFile_length(JNIEnv *env, jobject this) argument
126 Java_java_io_RandomAccessFile_seek(JNIEnv *env, jobject this, jlong pos) argument
144 Java_java_io_RandomAccessFile_setLength(JNIEnv *env, jobject this, jlong newLength) argument
[all...]
H A Dio_util.c39 readSingle(JNIEnv *env, jobject this, jfieldID fid) { argument
44 JNU_ThrowIOException(env, "Stream Closed");
51 JNU_ThrowIOExceptionWithLastError(env, "Read error");
53 JNU_ThrowByName(env, "java/io/InterruptedIOException", NULL);
67 outOfBounds(JNIEnv *env, jint off, jint len, jbyteArray array) { argument
72 ((*env)->GetArrayLength(env, array) - off < len));
76 readBytes(JNIEnv *env, jobject this, jbyteArray bytes, argument
85 JNU_ThrowNullPointerException(env, NULL);
89 if (outOfBounds(env, of
130 writeSingle(JNIEnv *env, jobject this, jint byte, jboolean append, jfieldID fid) argument
152 writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len, jboolean append, jfieldID fid) argument
214 throwFileNotFoundException(JNIEnv *env, jstring path) argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Djava_awt_SplashScreen.c45 Java_java_awt_SplashScreen__1update(JNIEnv * env, jclass thisClass, argument
57 dataSize = (*env)->GetArrayLength(env, data);
64 (*env)->GetIntArrayRegion(env, data, 0, dataSize,
82 Java_java_awt_SplashScreen__1isVisible(JNIEnv * env, jclass thisClass, argument
99 Java_java_awt_SplashScreen__1getBounds(JNIEnv * env, jclass thisClass, argument
112 clazz = (*env)->FindClass(env, "java/awt/Rectangle");
114 clazz = (*env)
139 Java_java_awt_SplashScreen__1getInstance(JNIEnv * env, jclass thisClass) argument
150 Java_java_awt_SplashScreen__1close(JNIEnv * env, jclass thisClass, jlong jsplash) argument
168 Java_java_awt_SplashScreen__1getImageFileName(JNIEnv * env, jclass thisClass, jlong jsplash) argument
187 Java_java_awt_SplashScreen__1getImageJarName(JNIEnv * env, jclass thisClass, jlong jsplash) argument
205 Java_java_awt_SplashScreen__1setImageData(JNIEnv * env, jclass thisClass, jlong jsplash, jbyteArray data) argument
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DBlit.c38 (JNIEnv *env, jobject self,
51 pPrim = GetNativePrim(env, self);
56 (*pPrim->pCompType->getCompInfo)(env, &compInfo, comp);
58 if (Region_GetInfo(env, clip, &clipInfo)) {
62 srcOps = SurfaceData_GetOps(env, srcData);
63 dstOps = SurfaceData_GetOps(env, dstData);
79 if (srcOps->Lock(env, srcOps, &srcInfo, pPrim->srcflags) != SD_SUCCESS) {
87 if (dstOps->Lock(env, dstOps, &dstInfo, dstFlags) != SD_SUCCESS) {
88 SurfaceData_InvokeUnlock(env, srcOps, &srcInfo);
96 srcOps->GetRasInfo(env, srcOp
37 Java_sun_java2d_loops_Blit_Blit(JNIEnv *env, jobject self, jobject srcData, jobject dstData, jobject comp, jobject clip, jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height) argument
[all...]
H A DBlitBg.c37 (JNIEnv *env, jobject self,
51 pPrim = GetNativePrim(env, self);
56 (*pPrim->pCompType->getCompInfo)(env, &compInfo, comp);
58 if (Region_GetInfo(env, clip, &clipInfo)) {
62 srcOps = SurfaceData_GetOps(env, srcData);
63 dstOps = SurfaceData_GetOps(env, dstData);
79 if (srcOps->Lock(env, srcOps, &srcInfo, pPrim->srcflags) != SD_SUCCESS) {
87 if (dstOps->Lock(env, dstOps, &dstInfo, dstFlags) != SD_SUCCESS) {
88 SurfaceData_InvokeUnlock(env, srcOps, &srcInfo);
97 srcOps->GetRasInfo(env, srcOp
36 Java_sun_java2d_loops_BlitBg_BlitBg(JNIEnv *env, jobject self, jobject srcData, jobject dstData, jobject comp, jobject clip, jint bgColor, jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height) argument
[all...]
H A DByteIndexed.c113 jboolean RegisterByteIndexed(JNIEnv *env) argument
115 return RegisterPrimitives(env, ByteIndexedPrimitives,
H A DDrawRect.c38 (JNIEnv *env, jobject self,
47 jint pixel = GrPrim_Sg2dGetPixel(env, sg2d);
53 pPrim = GetNativePrim(env, self);
58 GrPrim_Sg2dGetCompInfo(env, sg2d, pPrim, &compInfo);
61 sdOps = SurfaceData_GetOps(env, sData);
77 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
82 if (sdOps->Lock(env, sdOps, &rasInfo, pPrim->dstflags) != SD_SUCCESS) {
89 sdOps->GetRasInfo(env, sdOps, &rasInfo);
134 SurfaceData_InvokeRelease(env, sdOps, &rasInfo);
136 SurfaceData_InvokeUnlock(env, sdOp
37 Java_sun_java2d_loops_DrawRect_DrawRect(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jint x, jint y, jint w, jint h) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/asm/
H A DInstruction.java138 void optimize(Environment env) { argument
144 if ((value instanceof LocalVariable) && !env.debug_vars()) {
199 if (lbl.next != null && env.opt()) {
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DBinaryMember.java76 public boolean isInlineable(Environment env, boolean fromFinal) { argument
98 public ClassDeclaration[] getExceptions(Environment env) { argument
115 exp[i] = cpool.getDeclaration(env, in.readUnsignedShort());
161 public Node getValue(Environment env) { argument
254 public void addAttribute(Identifier name, byte data[], Environment env) { argument
257 ((BinaryClass)(this.clazz)).cpool.indexString(name.toString(), env);
H A DImports.java93 public Imports(Environment env) { argument
100 public synchronized void resolve(Environment env) { argument
125 // env.resolvePackageQualifiedName(currentPackage);
129 // if (importable(className, env)) {
132 // env.error(currentPackageWhere, "package.class.conflict",
147 if (env.isExemptPackage(nm)) {
154 Identifier rnm = env.resolvePackageQualifiedName(nm);
155 if (importable(rnm, env)) {
157 if (env.getPackage(rnm.getTopName()).exists()) {
158 env
260 resolve(Environment env, Identifier nm) argument
344 importable(Identifier id, Environment env) argument
385 forceResolve(Environment env, Identifier nm) argument
482 newEnvironment(Environment env) argument
491 ImportEnvironment(Environment env, Imports imports) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/tree/
H A DAddExpression.java48 void selectType(Environment env, Context ctx, int tm) { argument
56 super.selectType(env, ctx, tm);
89 public Expression inlineValue(Environment env, Context ctx) { argument
91 StringBuffer buffer = inlineValueSB(env, ctx, new StringBuffer());
99 return super.inlineValue(env, ctx);
147 protected StringBuffer inlineValueSB(Environment env, argument
153 return super.inlineValueSB(env, ctx, buffer);
156 buffer = left.inlineValueSB(env, ctx, buffer);
158 buffer = right.inlineValueSB(env, ctx, buffer);
188 public int costInline(int thresh, Environment env, Contex argument
197 codeOperation(Environment env, Context ctx, Assembler asm) argument
207 codeAppend(Environment env, Context ctx, Assembler asm, ClassDeclaration sbClass, boolean needBuffer) argument
218 codeValue(Environment env, Context ctx, Assembler asm) argument
[all...]
H A DAndExpression.java56 public void checkCondition(Environment env, Context ctx, Vset vset, argument
59 left.checkCondition(env, ctx, vset, exp, cvars);
60 left = convert(env, ctx, Type.tBoolean, left);
65 right.checkCondition(env, ctx, vsTrue, exp, cvars);
66 right = convert(env, ctx, Type.tBoolean, right);
104 void codeBranch(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) { argument
107 left.codeBranch(env, ctx, asm, lbl2, false);
108 right.codeBranch(env, ctx, asm, lbl, true);
111 left.codeBranch(env, ctx, asm, lbl, false);
112 right.codeBranch(env, ct
[all...]
H A DBinaryAssignExpression.java70 public Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument
71 return checkValue(env, ctx, vset, exp);
77 public Expression inline(Environment env, Context ctx) { argument
79 return implementation.inline(env, ctx);
80 return inlineValue(env, ctx);
82 public Expression inlineValue(Environment env, Context ctx) { argument
84 return implementation.inlineValue(env, ctx);
85 left = left.inlineLHS(env, ctx);
86 right = right.inlineValue(env, ctx);
96 public int costInline(int thresh, Environment env, Contex argument
[all...]
H A DBooleanExpression.java88 public void checkCondition(Environment env, Context ctx, argument
103 void codeBranch(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) { argument
108 public void codeValue(Environment env, Context ctx, Assembler asm) { argument
H A DCatchStatement.java70 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument
71 vset = reach(env, vset);
73 Type type = texpr.toType(env, ctx);
77 env.error(where, "local.redefined", id);
83 env.error(where, "catch.not.throwable", type);
85 ClassDefinition def = env.getClassDefinition(type);
86 if (!def.subClassOf(env,
87 env.getClassDeclaration(idJavaLangThrowable))) {
88 env.error(where, "catch.not.throwable", def);
93 ctx.declare(env, fiel
106 inline(Environment env, Context ctx) argument
134 costInline(int thresh, Environment env, Context ctx) argument
145 code(Environment env, Context ctx, Assembler asm) argument
[all...]
H A DCommaExpression.java49 public Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument
50 vset = left.check(env, ctx, vset, exp);
51 vset = right.check(env, ctx, vset, exp);
58 void selectType(Environment env, Context ctx, int tm) { argument
78 public Expression inline(Environment env, Context ctx) { argument
80 left = left.inline(env, ctx);
83 right = right.inline(env, ctx);
87 public Expression inlineValue(Environment env, Context ctx) { argument
89 left = left.inline(env, ctx);
92 right = right.inlineValue(env, ct
100 codeLValue(Environment env, Context ctx, Assembler asm) argument
115 codeLoad(Environment env, Context ctx, Assembler asm) argument
126 codeStore(Environment env, Context ctx, Assembler asm) argument
136 codeValue(Environment env, Context ctx, Assembler asm) argument
142 code(Environment env, Context ctx, Assembler asm) argument
[all...]
H A DCompoundStatement.java73 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument
74 checkLabel(env, ctx);
76 vset = reach(env, vset);
79 Environment newenv = Context.newEnvironment(env, newctx);
91 public Statement inline(Environment env, Context ctx) { argument
98 if ((s = s.inline(env, ctx)) != null) {
116 return eliminate(env, args[i]);
156 public int costInline(int thresh, Environment env, Context ctx) { argument
159 cost += args[i].costInline(thresh, env, ctx);
167 public void code(Environment env, Contex argument
[all...]
H A DConditionalExpression.java67 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable exp) { argument
68 ConditionVars cvars = cond.checkCondition(env, ctx, vset, exp);
69 vset = left.checkValue(env, ctx, cvars.vsTrue, exp).join(
70 right.checkValue(env, ctx, cvars.vsFalse, exp) );
71 cond = convert(env, ctx, Type.tBoolean, cond);
90 type = env.implicitCast(right.type, left.type)
95 } else if (((tm & TM_CHAR) != 0) && left.fitsType(env, ctx, Type.tChar) && right.fitsType(env, ctx, Type.tChar)) {
97 } else if (((tm & TM_SHORT) != 0) && left.fitsType(env, ctx, Type.tShort) && right.fitsType(env, ct
110 check(Environment env, Context ctx, Vset vset, Hashtable exp) argument
139 inline(Environment env, Context ctx) argument
154 inlineValue(Environment env, Context ctx) argument
164 costInline(int thresh, Environment env, Context ctx) argument
193 codeValue(Environment env, Context ctx, Assembler asm) argument
204 code(Environment env, Context ctx, Assembler asm) argument
[all...]
H A DConvertExpression.java50 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable exp) { argument
51 return right.checkValue(env, ctx, vset, exp);
128 public Expression inline(Environment env, Context ctx) { argument
133 if (!env.implicitCast(right.type, type))
134 return inlineValue(env, ctx);
139 return super.inline(env, ctx);
145 public void codeValue(Environment env, Context ctx, Assembler asm) { argument
146 right.codeValue(env, ctx, asm);
147 codeConversion(env, ctx, asm, right.type, type);
H A DDeclarationStatement.java58 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument
59 env.error(where, "invalid.decl");
60 return checkBlockStatement(env, ctx, vset, exp);
62 Vset checkBlockStatement(Environment env, Context ctx, Vset vset, Hashtable exp) { argument
64 env.error(where, "declaration.with.label", labels[0]);
66 vset = reach(env, vset);
67 Type t = type.toType(env, ctx);
70 vset = args[i].checkDeclaration(env, ctx, vset, mod, t, exp);
79 public Statement inline(Environment env, Context ctx) { argument
82 if ((args[i] = args[i].inline(env, ct
109 costInline(int thresh, Environment env, Context ctx) argument
123 code(Environment env, Context ctx, Assembler asm) argument
[all...]
H A DDoStatement.java56 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument
57 checkLabel(env,ctx);
61 vset = body.check(env, newctx, reach(env, vset), exp);
66 cond.checkCondition(env, newctx, vset, exp);
67 cond = convert(env, newctx, Type.tBoolean, cond);
69 ctx.checkBackBranch(env, this, vsEntry, cvars.vsTrue);
78 public Statement inline(Environment env, Context ctx) { argument
81 body = body.inline(env, ctx);
83 cond = cond.inlineValue(env, ct
102 costInline(int thresh, Environment env, Context ctx) argument
110 code(Environment env, Context ctx, Assembler asm) argument
[all...]
H A DExprExpression.java51 public void checkCondition(Environment env, Context ctx, Vset vset, argument
53 right.checkCondition(env, ctx, vset, exp, cvars);
62 public Vset checkAssignOp(Environment env, Context ctx, argument
64 vset = right.checkAssignOp(env, ctx, vset, exp, outside);
73 public FieldUpdater getUpdater(Environment env, Context ctx) { argument
74 return right.getUpdater(env, ctx);
82 // public Vset checkLHS(Environment env, Context ctx,
84 // vset = right.check(env, ctx, vset, exp);
107 protected StringBuffer inlineValueSB(Environment env, argument
110 return right.inlineValueSB(env, ct
116 selectType(Environment env, Context ctx, int tm) argument
[all...]
H A DExpressionStatement.java53 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument
54 checkLabel(env, ctx);
55 return expr.check(env, ctx, reach(env, vset), exp);
61 public Statement inline(Environment env, Context ctx) { argument
63 expr = expr.inline(env, ctx);
81 public int costInline(int thresh, Environment env, Context ctx) { argument
82 return expr.costInline(thresh, env, ctx);
88 public void code(Environment env, Context ctx, Assembler asm) { argument
89 expr.code(env, ct
[all...]
H A DFieldUpdater.java94 public FieldUpdater inline(Environment env, Context ctx) { argument
97 base = base.inline(env, ctx);
99 base = base.inlineValue(env, ctx);
109 public int costInline(int thresh, Environment env, Context ctx, boolean needGet) { argument
114 cost += base.costInline(thresh, env, ctx);
171 public void startUpdate(Environment env, Context ctx, Assembler asm, boolean valNeeded) { argument
177 base.codeValue(env, ctx, asm);
183 base.code(env, ctx, asm);
203 public void finishUpdate(Environment env, Context ctx, Assembler asm, boolean valNeeded) { argument
217 public void startAssign(Environment env, Contex argument
235 finishAssign(Environment env, Context ctx, Assembler asm, boolean valNeeded) argument
[all...]
H A DFinallyStatement.java71 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { argument
72 vset = reach(env, vset);
87 vset = tryExpr.checkValue(env, ctx, vset, exp);
91 vset = tryDecl.checkBlockStatement(env, ctx, vset, exp);
93 env.error(where, "invalid.decl");
101 env.error(where, "invalid.expr");
102 vset = init.check(env, ctx, vset, exp);
110 env.error(where, "invalid.method.invoke", type);
117 ClassDefinition tryClass = env.getClassDefinition(type);
118 tryEnter = tryClass.matchMethod(env, sourceClas
196 inline(Environment env, Context ctx) argument
242 costInline(int thresh, Environment env, Context ctx) argument
261 code(Environment env, Context ctx, Assembler asm) argument
[all...]

Completed in 164 milliseconds

<<11121314151617181920>>