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

Subversion Repositories openrisc

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

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_DirectByteBufferImpl__
5
#define __java_nio_DirectByteBufferImpl__
6
 
7
#pragma interface
8
 
9
#include <java/nio/ByteBuffer.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 DirectByteBufferImpl;
28
        class DoubleBuffer;
29
        class FloatBuffer;
30
        class IntBuffer;
31
        class LongBuffer;
32
        class ShortBuffer;
33
    }
34
  }
35
}
36
 
37
class java::nio::DirectByteBufferImpl : public ::java::nio::ByteBuffer
38
{
39
 
40
public: // actually package-private
41
  DirectByteBufferImpl(jint);
42
  DirectByteBufferImpl(::gnu::gcj::RawData *, jint);
43
  DirectByteBufferImpl(::java::lang::Object *, ::gnu::gcj::RawData *, jint, jint, jint);
44
public:
45
  static ::java::nio::ByteBuffer * allocate(jint);
46
public: // actually protected
47
  virtual void finalize();
48
public:
49
  virtual jbyte get();
50
  virtual jbyte get(jint);
51
  virtual ::java::nio::ByteBuffer * get(JArray< jbyte > *, jint, jint);
52
  virtual ::java::nio::ByteBuffer * put(jbyte);
53
  virtual ::java::nio::ByteBuffer * put(jint, jbyte);
54
public: // actually package-private
55
  virtual void shiftDown(jint, jint, jint);
56
public:
57
  virtual ::java::nio::ByteBuffer * compact();
58
  virtual ::java::nio::ByteBuffer * slice();
59
private:
60
  ::java::nio::ByteBuffer * duplicate(jboolean);
61
public:
62
  virtual ::java::nio::ByteBuffer * duplicate();
63
  virtual ::java::nio::ByteBuffer * asReadOnlyBuffer();
64
  virtual jboolean isDirect();
65
  virtual ::java::nio::CharBuffer * asCharBuffer();
66
  virtual ::java::nio::ShortBuffer * asShortBuffer();
67
  virtual ::java::nio::IntBuffer * asIntBuffer();
68
  virtual ::java::nio::LongBuffer * asLongBuffer();
69
  virtual ::java::nio::FloatBuffer * asFloatBuffer();
70
  virtual ::java::nio::DoubleBuffer * asDoubleBuffer();
71
  virtual jchar getChar();
72
  virtual ::java::nio::ByteBuffer * putChar(jchar);
73
  virtual jchar getChar(jint);
74
  virtual ::java::nio::ByteBuffer * putChar(jint, jchar);
75
  virtual jshort getShort();
76
  virtual ::java::nio::ByteBuffer * putShort(jshort);
77
  virtual jshort getShort(jint);
78
  virtual ::java::nio::ByteBuffer * putShort(jint, jshort);
79
  virtual jint getInt();
80
  virtual ::java::nio::ByteBuffer * putInt(jint);
81
  virtual jint getInt(jint);
82
  virtual ::java::nio::ByteBuffer * putInt(jint, jint);
83
  virtual jlong getLong();
84
  virtual ::java::nio::ByteBuffer * putLong(jlong);
85
  virtual jlong getLong(jint);
86
  virtual ::java::nio::ByteBuffer * putLong(jint, jlong);
87
  virtual jfloat getFloat();
88
  virtual ::java::nio::ByteBuffer * putFloat(jfloat);
89
  virtual jfloat getFloat(jint);
90
  virtual ::java::nio::ByteBuffer * putFloat(jint, jfloat);
91
  virtual jdouble getDouble();
92
  virtual ::java::nio::ByteBuffer * putDouble(jdouble);
93
  virtual jdouble getDouble(jint);
94
  virtual ::java::nio::ByteBuffer * putDouble(jint, jdouble);
95
private:
96
  ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::nio::ByteBuffer)))) owner;
97
public:
98
  static ::java::lang::Class class$;
99
};
100
 
101
#endif // __java_nio_DirectByteBufferImpl__

powered by: WebSVN 2.1.0

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