LibreOffice Module connectivity (master) 1
Macros | Functions
StorageNativeInputStream.cxx File Reference
#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/document/XDocumentSubStorageSupplier.hpp>
#include <hsqldb/HStorageAccess.hxx>
#include <hsqldb/HStorageMap.hxx>
#include <osl/diagnose.h>
#include <comphelper/diagnose_ex.hxx>
#include "accesslog.hxx"
#include <limits>
Include dependency graph for StorageNativeInputStream.cxx:

Go to the source code of this file.

Macros

#define ThrowException(env, type, msg)
 

Functions

SAL_JNI_EXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_openStream (JNIEnv *env, jobject, jstring key, jstring name, jint mode)
 
SAL_JNI_EXPORT jint JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring key, jstring name)
 
SAL_JNI_EXPORT jint JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2_3BII (JNIEnv *env, jobject obj_this, jstring key, jstring name, jbyteArray buffer, jint off, jint len)
 
SAL_JNI_EXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_close (JNIEnv *env, jobject, jstring key, jstring name)
 
SAL_JNI_EXPORT jlong JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_skip (JNIEnv *env, jobject, jstring key, jstring name, jlong n)
 
SAL_JNI_EXPORT jint JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_available (JNIEnv *env, jobject, jstring key, jstring name)
 
SAL_JNI_EXPORT jint JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2_3B (JNIEnv *env, jobject, jstring key, jstring name, jbyteArray buffer)
 

Macro Definition Documentation

◆ ThrowException

#define ThrowException (   env,
  type,
  msg 
)
Value:
{ \
env->ThrowNew(env->FindClass(type), msg); }
const css::uno::Reference< css::xml::crypto::XSecurityEnvironment > & env
sal_Int32 type
Definition: pq_statics.cxx:60

Definition at line 47 of file StorageNativeInputStream.cxx.

Function Documentation

◆ Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_available()

SAL_JNI_EXPORT jint JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_available ( JNIEnv *  env,
jobject  ,
jstring  key,
jstring  name 
)

Definition at line 197 of file StorageNativeInputStream.cxx.

References env, Exception, name, ThrowException, and TOOLS_WARN_EXCEPTION.

◆ Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_close()

SAL_JNI_EXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_close ( JNIEnv *  env,
jobject  ,
jstring  key,
jstring  name 
)

Definition at line 111 of file StorageNativeInputStream.cxx.

References env, and name.

◆ Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_openStream()

SAL_JNI_EXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_openStream ( JNIEnv *  env,
jobject  ,
jstring  key,
jstring  name,
jint  mode 
)

Definition at line 54 of file StorageNativeInputStream.cxx.

References env, mode, and name.

◆ Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2()

SAL_JNI_EXPORT jint JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2 ( JNIEnv *  env,
jobject  ,
jstring  key,
jstring  name 
)

Definition at line 72 of file StorageNativeInputStream.cxx.

References env, name, and read_from_storage_stream().

◆ Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2_3B()

SAL_JNI_EXPORT jint JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2_3B ( JNIEnv *  env,
jobject  ,
jstring  key,
jstring  name,
jbyteArray  buffer 
)

Definition at line 239 of file StorageNativeInputStream.cxx.

References aData, env, Exception, name, and TOOLS_WARN_EXCEPTION.

◆ Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2_3BII()

SAL_JNI_EXPORT jint JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2_3BII ( JNIEnv *  env,
jobject  obj_this,
jstring  key,
jstring  name,
jbyteArray  buffer,
jint  off,
jint  len 
)

Definition at line 91 of file StorageNativeInputStream.cxx.

References env, name, and read_from_storage_stream_into_buffer().

◆ Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_skip()

SAL_JNI_EXPORT jlong JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_skip ( JNIEnv *  env,
jobject  ,
jstring  key,
jstring  name,
jlong  n 
)

Definition at line 131 of file StorageNativeInputStream.cxx.

References env, Exception, n, name, ThrowException, and TOOLS_WARN_EXCEPTION.