OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [nio/] [MappedByteBufferImpl.h] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_nio_MappedByteBufferImpl__
5
#define __java_nio_MappedByteBufferImpl__
6
 
7
#pragma interface
8
 
9
#include <java/nio/MappedByteBuffer.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace gcj
17
    {
18
        class RawData;
19
    }
20
  }
21
  namespace java
22
  {
23
    namespace nio
24
    {
25
        class ByteBuffer;
26
        class CharBuffer;
27
        class DoubleBuffer;
28
        class FloatBuffer;
29
        class IntBuffer;
30
        class LongBuffer;
31
        class MappedByteBufferImpl;
32
        class ShortBuffer;
33
    }
34
  }
35
}
36
 
37
class java::nio::MappedByteBufferImpl : public ::java::nio::MappedByteBuffer
38
{
39
 
40
public:
41
  MappedByteBufferImpl(::gnu::gcj::RawData *, jint, jboolean);
42
  jboolean isReadOnly();
43
  jbyte get();
44
  ::java::nio::ByteBuffer * put(jbyte);
45
  jbyte get(jint);
46
  ::java::nio::ByteBuffer * get(JArray< jbyte > *, jint, jint);
47
  ::java::nio::ByteBuffer * put(jint, jbyte);
48
  ::java::nio::ByteBuffer * compact();
49
  jboolean isDirect();
50
  ::java::nio::ByteBuffer * slice();
51
private:
52
  ::java::nio::ByteBuffer * duplicate(jboolean);
53
public:
54
  ::java::nio::ByteBuffer * duplicate();
55
  ::java::nio::ByteBuffer * asReadOnlyBuffer();
56
  ::java::nio::CharBuffer * asCharBuffer();
57
  ::java::nio::ShortBuffer * asShortBuffer();
58
  ::java::nio::IntBuffer * asIntBuffer();
59
  ::java::nio::LongBuffer * asLongBuffer();
60
  ::java::nio::FloatBuffer * asFloatBuffer();
61
  ::java::nio::DoubleBuffer * asDoubleBuffer();
62
  jchar getChar();
63
  ::java::nio::ByteBuffer * putChar(jchar);
64
  jchar getChar(jint);
65
  ::java::nio::ByteBuffer * putChar(jint, jchar);
66
  jshort getShort();
67
  ::java::nio::ByteBuffer * putShort(jshort);
68
  jshort getShort(jint);
69
  ::java::nio::ByteBuffer * putShort(jint, jshort);
70
  jint getInt();
71
  ::java::nio::ByteBuffer * putInt(jint);
72
  jint getInt(jint);
73
  ::java::nio::ByteBuffer * putInt(jint, jint);
74
  jlong getLong();
75
  ::java::nio::ByteBuffer * putLong(jlong);
76
  jlong getLong(jint);
77
  ::java::nio::ByteBuffer * putLong(jint, jlong);
78
  jfloat getFloat();
79
  ::java::nio::ByteBuffer * putFloat(jfloat);
80
  jfloat getFloat(jint);
81
  ::java::nio::ByteBuffer * putFloat(jint, jfloat);
82
  jdouble getDouble();
83
  ::java::nio::ByteBuffer * putDouble(jdouble);
84
  jdouble getDouble(jint);
85
  ::java::nio::ByteBuffer * putDouble(jint, jdouble);
86
public: // actually package-private
87
  void unmapImpl();
88
  jboolean isLoadedImpl();
89
  void loadImpl();
90
  void forceImpl();
91
private:
92
  jboolean __attribute__((aligned(__alignof__( ::java::nio::MappedByteBuffer)))) readOnly;
93
public:
94
  ::gnu::gcj::RawData * implPtr;
95
  jlong implLen;
96
  static ::java::lang::Class class$;
97
};
98
 
99
#endif // __java_nio_MappedByteBufferImpl__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.