Lines Matching refs:handles
152 jlong *handles = NULL;
176 handles = (*env)->GetLongArrayElements(env, stdHandles, NULL);
177 if (handles == NULL) goto Catch;
187 if (handles[0] != (jlong) -1) {
188 si.hStdInput = (HANDLE) handles[0];
189 handles[0] = (jlong) -1;
197 handles[0] = (jlong) inWrite;
201 if (handles[1] != (jlong) -1) {
202 si.hStdOutput = (HANDLE) handles[1];
203 handles[1] = (jlong) -1;
211 handles[1] = (jlong) outRead;
217 handles[2] = (jlong) -1;
218 } else if (handles[2] != (jlong) -1) {
219 si.hStdError = (HANDLE) handles[2];
220 handles[2] = (jlong) -1;
228 handles[2] = (jlong) errRead;
240 TRUE, /* inherits system handles */
266 if (handles != NULL)
267 (*env)->ReleaseLongArrayElements(env, stdHandles, handles, 0);