Copy as Markdown

Other Tools

// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef MOZ_PREPROCESSOR
#include "mozilla/java/GeckoInputStreamWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
constexpr char GeckoInputStream::name[];
constexpr char GeckoInputStream::New_t::name[];
constexpr char GeckoInputStream::New_t::signature[];
auto GeckoInputStream::New(mozilla::jni::Object::Param a0) -> GeckoInputStream::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(GeckoInputStream::Context(), nullptr, a0);
}
constexpr char GeckoInputStream::AppendBuffer_t::name[];
constexpr char GeckoInputStream::AppendBuffer_t::signature[];
auto GeckoInputStream::AppendBuffer(mozilla::jni::ByteArray::Param a0) const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<AppendBuffer_t>::Call(GeckoInputStream::mCtx, &rv, a0);
return rv;
}
constexpr char GeckoInputStream::Available_t::name[];
constexpr char GeckoInputStream::Available_t::signature[];
auto GeckoInputStream::Available() const -> int32_t
{
return mozilla::jni::Method<Available_t>::Call(GeckoInputStream::mCtx, nullptr);
}
constexpr char GeckoInputStream::Close_t::name[];
constexpr char GeckoInputStream::Close_t::signature[];
auto GeckoInputStream::Close() const -> void
{
return mozilla::jni::Method<Close_t>::Call(GeckoInputStream::mCtx, nullptr);
}
constexpr char GeckoInputStream::EnsureNotClosed_t::name[];
constexpr char GeckoInputStream::EnsureNotClosed_t::signature[];
auto GeckoInputStream::EnsureNotClosed() const -> void
{
return mozilla::jni::Method<EnsureNotClosed_t>::Call(GeckoInputStream::mCtx, nullptr);
}
constexpr char GeckoInputStream::IsStreamClosed_t::name[];
constexpr char GeckoInputStream::IsStreamClosed_t::signature[];
auto GeckoInputStream::IsStreamClosed() const -> bool
{
return mozilla::jni::Method<IsStreamClosed_t>::Call(GeckoInputStream::mCtx, nullptr);
}
constexpr char GeckoInputStream::Read_t::name[];
constexpr char GeckoInputStream::Read_t::signature[];
auto GeckoInputStream::Read() const -> int32_t
{
return mozilla::jni::Method<Read_t>::Call(GeckoInputStream::mCtx, nullptr);
}
constexpr char GeckoInputStream::Read2_t::name[];
constexpr char GeckoInputStream::Read2_t::signature[];
auto GeckoInputStream::Read(mozilla::jni::ByteArray::Param a0) const -> int32_t
{
return mozilla::jni::Method<Read2_t>::Call(GeckoInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoInputStream::Read3_t::name[];
constexpr char GeckoInputStream::Read3_t::signature[];
auto GeckoInputStream::Read(mozilla::jni::ByteArray::Param a0, int32_t a1, int32_t a2) const -> int32_t
{
return mozilla::jni::Method<Read3_t>::Call(GeckoInputStream::mCtx, nullptr, a0, a1, a2);
}
constexpr char GeckoInputStream::SendEof_t::name[];
constexpr char GeckoInputStream::SendEof_t::signature[];
auto GeckoInputStream::SendEof() const -> void
{
return mozilla::jni::Method<SendEof_t>::Call(GeckoInputStream::mCtx, nullptr);
}
constexpr char GeckoInputStream::SendError_t::name[];
constexpr char GeckoInputStream::SendError_t::signature[];
auto GeckoInputStream::SendError() const -> void
{
return mozilla::jni::Method<SendError_t>::Call(GeckoInputStream::mCtx, nullptr);
}
constexpr char GeckoInputStream::SetReadTimeoutMillis_t::name[];
constexpr char GeckoInputStream::SetReadTimeoutMillis_t::signature[];
auto GeckoInputStream::SetReadTimeoutMillis(int64_t a0) const -> void
{
return mozilla::jni::Method<SetReadTimeoutMillis_t>::Call(GeckoInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoInputStream::WriteError_t::name[];
constexpr char GeckoInputStream::WriteError_t::signature[];
auto GeckoInputStream::WriteError() const -> void
{
return mozilla::jni::Method<WriteError_t>::Call(GeckoInputStream::mCtx, nullptr);
}
const char16_t GeckoInputStream::LOGTAG[] = u"GeckoInputStream";
constexpr char GeckoInputStream::MBuffers_t::name[];
constexpr char GeckoInputStream::MBuffers_t::signature[];
auto GeckoInputStream::MBuffers() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<MBuffers_t>::Get(GeckoInputStream::mCtx, nullptr);
}
auto GeckoInputStream::MBuffers(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Field<MBuffers_t>::Set(GeckoInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoInputStream::MClosed_t::name[];
constexpr char GeckoInputStream::MClosed_t::signature[];
auto GeckoInputStream::MClosed() const -> bool
{
return mozilla::jni::Field<MClosed_t>::Get(GeckoInputStream::mCtx, nullptr);
}
auto GeckoInputStream::MClosed(bool a0) const -> void
{
return mozilla::jni::Field<MClosed_t>::Set(GeckoInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoInputStream::MEOF_t::name[];
constexpr char GeckoInputStream::MEOF_t::signature[];
auto GeckoInputStream::MEOF() const -> bool
{
return mozilla::jni::Field<MEOF_t>::Get(GeckoInputStream::mCtx, nullptr);
}
auto GeckoInputStream::MEOF(bool a0) const -> void
{
return mozilla::jni::Field<MEOF_t>::Set(GeckoInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoInputStream::MHaveError_t::name[];
constexpr char GeckoInputStream::MHaveError_t::signature[];
auto GeckoInputStream::MHaveError() const -> bool
{
return mozilla::jni::Field<MHaveError_t>::Get(GeckoInputStream::mCtx, nullptr);
}
auto GeckoInputStream::MHaveError(bool a0) const -> void
{
return mozilla::jni::Field<MHaveError_t>::Set(GeckoInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoInputStream::MReadTimeout_t::name[];
constexpr char GeckoInputStream::MReadTimeout_t::signature[];
auto GeckoInputStream::MReadTimeout() const -> int64_t
{
return mozilla::jni::Field<MReadTimeout_t>::Get(GeckoInputStream::mCtx, nullptr);
}
auto GeckoInputStream::MReadTimeout(int64_t a0) const -> void
{
return mozilla::jni::Field<MReadTimeout_t>::Set(GeckoInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoInputStream::MResumed_t::name[];
constexpr char GeckoInputStream::MResumed_t::signature[];
auto GeckoInputStream::MResumed() const -> bool
{
return mozilla::jni::Field<MResumed_t>::Get(GeckoInputStream::mCtx, nullptr);
}
auto GeckoInputStream::MResumed(bool a0) const -> void
{
return mozilla::jni::Field<MResumed_t>::Set(GeckoInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoInputStream::MSupport_t::name[];
constexpr char GeckoInputStream::MSupport_t::signature[];
auto GeckoInputStream::MSupport() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<MSupport_t>::Get(GeckoInputStream::mCtx, nullptr);
}
auto GeckoInputStream::MSupport(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Field<MSupport_t>::Set(GeckoInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoInputStream::Support::name[];
constexpr char GeckoInputStream::Support::New_t::name[];
constexpr char GeckoInputStream::Support::New_t::signature[];
auto GeckoInputStream::Support::New() -> Support::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(Support::Context(), nullptr);
}
constexpr char GeckoInputStream::Support::Close_t::name[];
constexpr char GeckoInputStream::Support::Close_t::signature[];
constexpr char GeckoInputStream::Support::DisposeNative_t::name[];
constexpr char GeckoInputStream::Support::DisposeNative_t::signature[];
auto GeckoInputStream::Support::DisposeNative() const -> void
{
return mozilla::jni::Method<DisposeNative_t>::Call(Support::mCtx, nullptr);
}
constexpr char GeckoInputStream::Support::Resume_t::name[];
constexpr char GeckoInputStream::Support::Resume_t::signature[];
} /* java */
} /* mozilla */