Searched refs:env (Results 1 - 4 of 4) sorted by relevance
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/store/ |
H A D | WindowsDirectory.cpp | 29 void throwIOException(JNIEnv *env, DWORD error) argument 34 ioex = env->FindClass("java/io/IOException"); 39 env->ThrowNew(ioex, msg); 47 void throwException(JNIEnv *env, const char *clazz, const char *msg) argument 49 jclass exc = env->FindClass(clazz); 52 env->ThrowNew(exc, msg); 64 (JNIEnv *env, jclass ignored, jstring filename) 70 throwException(env, "java/lang/NullPointerException", "filename cannot be null"); 74 fname = (char *) env->GetStringUTFChars(filename, NULL); 77 throwException(env, "jav 63 Java_org_apache_lucene_store_WindowsDirectory_open(JNIEnv *env, jclass ignored, jstring filename) argument 102 Java_org_apache_lucene_store_WindowsDirectory_read(JNIEnv *env, jclass ignored, jlong fd, jbyteArray bytes, jint offset, jint length, jlong pos) argument 147 Java_org_apache_lucene_store_WindowsDirectory_close(JNIEnv *env, jclass ignored, jlong fd) argument 162 Java_org_apache_lucene_store_WindowsDirectory_length(JNIEnv *env, jclass ignored, jlong fd) argument [all...] |
H A D | NativePosixUtil.cpp | 35 JNIEXPORT jint JNICALL Java_org_apache_lucene_store_NativePosixUtil_posix_1fadvise(JNIEnv *env, jclass _ignore, jobject fileDescriptor, jlong offset, jlong len, jint advice) argument 40 jclass ioex = env->FindClass("java/io/IOException"); 45 jclass fdesc = env->FindClass("java/io/FileDescriptor"); 51 jfieldID fdField = env->GetFieldID(fdesc, "fd", "I"); 56 int fd = env->GetIntField(fileDescriptor, fdField); 86 env->ThrowNew(ioex, strerror(errno)); 100 JNIEXPORT jobject JNICALL Java_org_apache_lucene_store_NativePosixUtil_open_1direct(JNIEnv *env, jclass _ignore, jstring filename, jboolean readOnly) argument 109 class_ioex = env->FindClass("java/io/IOException"); 111 class_fdesc = env->FindClass("java/io/FileDescriptor"); 114 fname = (char *) env 153 Java_org_apache_lucene_store_NativePosixUtil_pread(JNIEnv *env, jclass _ignore, jobject jfd, jlong pos, jobject byteBuf) argument 198 Java_org_apache_lucene_store_NativePosixUtil_posix_1madvise(JNIEnv *env, jclass _ignore, jobject buffer, jint advice) argument 264 Java_org_apache_lucene_store_NativePosixUtil_madvise(JNIEnv *env, jclass _ignore, jobject buffer, jint advice) argument [all...] |
/lucene-3.6.0/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/ |
H A D | MockInitialContextFactory.java | 55 public javax.naming.Context getInitialContext(Hashtable env) { argument
|
/lucene-3.6.0/dev-tools/scripts/ |
H A D | smokeTestRelease.py | 56 env = os.environ variable 58 JAVA5_HOME = env['JAVA5_HOME'] 63 JAVA6_HOME = env['JAVA6_HOME'] 68 JAVA7_HOME = env['JAVA7_HOME'] 535 env = {} 536 env.update(os.environ) 537 env['JAVA_HOME'] = javaPath 538 env['PATH'] = '%s/bin:%s' % (javaPath, env['PATH']) 539 server = subprocess.Popen(['java', '-jar', 'start.jar'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, env [all...] |
Completed in 26 milliseconds