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

Subversion Repositories openrisc

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

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

powered by: WebSVN 2.1.0

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