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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [nio/] [Buffer.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_Buffer__
5
#define __java_nio_Buffer__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
extern "Java"
11
{
12
  namespace gnu
13
  {
14
    namespace gcj
15
    {
16
        class RawData;
17
    }
18
  }
19
  namespace java
20
  {
21
    namespace nio
22
    {
23
        class Buffer;
24
    }
25
  }
26
}
27
 
28
class java::nio::Buffer : public ::java::lang::Object
29
{
30
 
31
public: // actually package-private
32
  Buffer(jint, jint, jint, jint, ::gnu::gcj::RawData *);
33
public:
34
  virtual jint capacity();
35
  virtual ::java::nio::Buffer * clear();
36
  virtual ::java::nio::Buffer * flip();
37
  virtual jboolean hasRemaining();
38
  virtual jboolean isReadOnly() = 0;
39
  virtual jint limit();
40
  virtual ::java::nio::Buffer * limit(jint);
41
  virtual ::java::nio::Buffer * mark();
42
  virtual jint position();
43
  virtual ::java::nio::Buffer * position(jint);
44
  virtual jint remaining();
45
  virtual ::java::nio::Buffer * reset();
46
  virtual ::java::nio::Buffer * rewind();
47
public: // actually package-private
48
  virtual void checkForUnderflow();
49
  virtual void checkForUnderflow(jint);
50
  virtual void checkForOverflow();
51
  virtual void checkForOverflow(jint);
52
  virtual void checkIndex(jint);
53
  virtual void checkIfReadOnly();
54
  static void checkArraySize(jint, jint, jint);
55
private:
56
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) cap;
57
public: // actually package-private
58
  jint limit__;
59
  jint pos;
60
  jint mark__;
61
  ::gnu::gcj::RawData * address;
62
public:
63
  static ::java::lang::Class class$;
64
};
65
 
66
#endif // __java_nio_Buffer__

powered by: WebSVN 2.1.0

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