Home | History | Annotate | Download | only in vm

Lines Matching defs:newEnv

3306     JNIEnvExt* newEnv = (JNIEnvExt*) calloc(1, sizeof(JNIEnvExt));
3307 newEnv->funcTable = &gNativeInterface;
3309 dvmSetJniEnvThreadId((JNIEnv*) newEnv, self);
3310 assert(newEnv->envThreadId != 0);
3313 newEnv->envThreadId = 0x77777775;
3314 newEnv->self = (Thread*) 0x77777779;
3317 dvmUseCheckedJniEnv(newEnv);
3323 newEnv->next = vm->envList;
3324 assert(newEnv->prev == NULL);
3327 vm->envList = newEnv;
3329 vm->envList->prev = newEnv;
3331 vm->envList = newEnv;
3335 return (JNIEnv*) newEnv;