HomeSort by relevance Sort by last modified time
    Searched full:buffer (Results 76 - 100 of 7143) sorted by null

1 2 34 5 6 7 8 91011>>

  /dalvik/libcore/nio/src/main/java/java/nio/
IntBuffer.java 21 * A buffer of ints.
23 * A int buffer can be created in either of the following ways:
25 * <li>{@link #allocate(int) Allocate} a new int array and create a buffer
27 * <li>{@link #wrap(int[]) Wrap} an existing int array to create a new buffer;</li>
29 * create a int buffer based on a byte buffer.</li>
32 public abstract class IntBuffer extends Buffer implements Comparable<IntBuffer> {
35 * Creates an int buffer based on a newly allocated int array.
38 * the capacity of the new buffer.
39 * @return the created int buffer
    [all...]
LongBuffer.java 21 * A buffer of longs.
23 * A long buffer can be created in either of the following ways:
25 * <li>{@link #allocate(int) Allocate} a new long array and create a buffer
28 * buffer;</li>
30 * to create a long buffer based on a byte buffer.</li>
33 public abstract class LongBuffer extends Buffer implements
37 * Creates a long buffer based on a newly allocated long array.
40 * the capacity of the new buffer.
41 * @return the created long buffer
    [all...]
ShortBuffer.java 21 * A buffer of shorts.
23 * A short buffer can be created in either of the following ways:
25 * <li>{@link #allocate(int) Allocate} a new short array and create a buffer
28 * buffer;</li>
30 * to create a short buffer based on a byte buffer.</li>
33 public abstract class ShortBuffer extends Buffer implements
37 * Creates a short buffer based on a newly allocated short array.
40 * the capacity of the new buffer.
41 * @return the created short buffer
    [all...]
DoubleBuffer.java 21 * A buffer of doubles.
23 * A double buffer can be created in either one of the following ways:
25 * <li>{@link #allocate(int) Allocate} a new double array and create a buffer
28 * buffer;</li>
31 * create a double buffer based on a byte buffer.</li>
34 public abstract class DoubleBuffer extends Buffer implements
38 * Creates a double buffer based on a newly allocated double array.
41 * the capacity of the new buffer.
42 * @return the created double buffer
    [all...]
FloatBuffer.java 21 * A buffer of floats.
23 * A float buffer can be created in either of the following ways:
25 * <li>{@link #allocate(int) Allocate} a new float array and create a buffer
28 * buffer;</li>
30 * to create a float buffer based on a byte buffer.</li>
33 public abstract class FloatBuffer extends Buffer implements
37 * Creates a float buffer based on a newly allocated float array.
40 * the capacity of the new buffer.
41 * @return the created float buffer
    [all...]
  /dalvik/libcore/nio/src/main/java/java/nio/channels/
ReadableByteChannel.java 34 * Reads bytes from the channel into the given buffer.
37 * {@link java.nio.Buffer#remaining() remaining} number of bytes in the
38 * buffer when the method is invoked. The bytes will be read into the buffer
39 * starting at the buffer's current
40 * {@link java.nio.Buffer#position() position}.
45 * Upon completion, the buffer's {@code position} is updated to the end of
46 * the bytes that were read. The buffer's
47 * {@link java.nio.Buffer#limit() limit} is not changed.
49 * @param buffer
    [all...]
  /dalvik/libcore/support/src/test/java/tests/support/
Support_OutputStream.java 17 private byte[] buffer; field in class:Support_OutputStream
35 buffer = new byte[bufferSize];
58 public void write(byte buffer[]) throws IOException {
62 for (int i = 0; i < buffer.length; i++) {
63 write(buffer[i]);
68 public void write(byte buffer[], int offset, int count) throws IOException {
72 if (offset < 0 || count < 0 || (offset + count) > buffer.length) {
76 write(buffer[i]);
86 buffer[position] = (byte)(oneByte & 255);
89 throw new IOException("Internal buffer overflow.")
    [all...]
  /dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
SSLEngineAppData.java 32 * Buffer containing received application data.
34 byte[] buffer; field in class:SSLEngineAppData
43 * just the array reference is remembered into the buffer field.
46 if (buffer != null) {
51 buffer = src;
55 * Places the data from the buffer into the array of destination
59 if (buffer == null) {
63 int len = buffer.length;
70 // can fully write remaining data into buffer
71 dsts[i].put(buffer, pos, len - pos)
    [all...]
  /external/expat/tests/benchmark/
README.txt 3 benchmark [-n] <file name> <buffer size> <# iterations>
9 <buffer size> ... size of processing buffer;
  /external/skia/src/effects/
SkColorFilters.cpp 28 virtual void flatten(SkFlattenableWriteBuffer& buffer) {
29 buffer.write32(fPMColor);
32 Sk_XfermodeColorFilter(SkFlattenableReadBuffer& buffer) {
33 fPMColor = buffer.readU32();
65 SkSrc_XfermodeColorFilter(SkFlattenableReadBuffer& buffer)
66 : INHERITED(buffer) {}
69 static SkFlattenable* CreateProc(SkFlattenableReadBuffer& buffer) {
70 return SkNEW_ARGS(SkSrc_XfermodeColorFilter, (buffer));
102 SkSrcOver_XfermodeColorFilter(SkFlattenableReadBuffer& buffer)
103 : INHERITED(buffer) {}
    [all...]
SkLayerDrawLooper.cpp 71 void SkLayerDrawLooper::flatten(SkFlattenableWriteBuffer& buffer) {
72 this->INHERITED::flatten(buffer);
86 buffer.writeInt(fCount);
90 buffer.writeScalar(rec->fOffset.fX);
91 buffer.writeScalar(rec->fOffset.fY);
92 rec->fPaint.flatten(buffer);
97 SkLayerDrawLooper::SkLayerDrawLooper(SkFlattenableReadBuffer& buffer)
98 : INHERITED(buffer) {
102 int count = buffer.readInt();
105 SkScalar dx = buffer.readScalar()
    [all...]
  /system/core/nexus/
DhcpListener.cpp 41 char buffer[255]; local
44 if ((rc = read(cli->getSocket(), buffer, sizeof(buffer))) < 0) {
49 if (!strncmp(buffer, "STATE:", 6)) {
50 char *next = buffer;
56 LOGW("Error parsing state '%s'", buffer);
63 } else if (!strncmp(buffer, "ADDRINFO:", 9)) {
64 char *next = buffer + 9;
88 } else if (!strncmp(buffer, "EVENT:", 6)) {
89 char *next = buffer;
    [all...]
Property.h 44 virtual int get(int idx, char *buffer, size_t max) = 0;
45 virtual int get(int idx, int *buffer) = 0;
46 virtual int get(int idx, struct in_addr *buffer) = 0;
63 virtual int get(int idx, char *buffer, size_t max) = 0;
64 int get(int idx, int *buffer);
65 int get(int idx, struct in_addr *buffer);
73 char *buffer, size_t max);
75 int get(int idx, char *buffer, size_t max);
87 int get(int idx, char *buffer, size_t max);
88 virtual int get(int idx, int *buffer) = 0
    [all...]
  /external/opencore/baselibs/gen_data_structures/src/
pv_string.h 91 char *buffer; // holds actual string value member in struct:String::Srep
100 buffer = OSCL_ARRAY_NEW(char, size + 1); // allocate enough space including terminator
101 oscl_strncpy(buffer, src, size);
102 buffer[size] = '\0';
108 OSCL_ARRAY_DELETE(buffer);
124 Srep *tmp = OSCL_NEW(Srep, (size, buffer));
135 delete[] buffer;
137 buffer = OSCL_ARRAY_NEW(char, size + 1);
140 oscl_strncpy(buffer, src, size);
141 buffer[size] = '\0'
    [all...]
  /external/webkit/WebCore/platform/graphics/gtk/
VideoSinkGStreamer.cpp 26 * current video buffer.
61 GstBuffer* buffer; member in struct:_WebKitVideoSinkPrivate
73 // Protected by the buffer mutex
115 GstBuffer* buffer; local
118 buffer = priv->buffer;
119 priv->buffer = 0;
122 if (!buffer || priv->unlocked || G_UNLIKELY(!GST_IS_BUFFER(buffer))) {
128 g_signal_emit(sink, webkit_video_sink_signals[REPAINT_REQUESTED], 0, buffer);
    [all...]
  /external/apache-http/src/org/apache/http/message/
BasicLineParser.java 120 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local
121 buffer.append(value);
123 return parser.parseProtocolVersion(buffer, cursor);
128 public ProtocolVersion parseProtocolVersion(final CharArrayBuffer buffer,
132 if (buffer == null) {
133 throw new IllegalArgumentException("Char array buffer may not be null");
145 skipWhitespace(buffer, cursor);
153 buffer.substring(indexFrom, indexTo));
159 ok = (buffer.charAt(i+j) == protoname.charAt(j));
162 ok = (buffer.charAt(i+protolength) == '/')
285 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local
385 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local
476 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local
    [all...]
BasicLineFormatter.java 81 * Obtains a buffer for formatting.
83 * @param buffer a buffer already available, or <code>null</code>
85 * @return the cleared argument buffer if there is one, or
86 * a new empty buffer that can be used for formatting
88 protected CharArrayBuffer initBuffer(CharArrayBuffer buffer) {
89 if (buffer != null) {
90 buffer.clear();
92 buffer = new CharArrayBuffer(64);
94 return buffer;
    [all...]
  /frameworks/base/awt/java/awt/
BufferCapabilities.java 33 * The front buffer capabilities.
38 * The back buffer capabilities.
51 * the front buffer capabilities, can not be null.
56 * the back buffer contents after page flipping, null if page
81 * Gets the image capabilities of the front buffer.
84 * front buffer.
91 * Gets the image capabilities of the back buffer.
94 * buffer.
101 * Gets the flip contents of the back buffer after page-flipping.
103 * @return the FlipContents of the back buffer after page-flipping
    [all...]
  /system/core/libcutils/
record_stream.c 37 unsigned char *buffer; member in struct:RecordStream
55 ret->buffer = (unsigned char *)malloc (maxRecordLen + HEADER_SIZE);
57 ret->unconsumed = ret->buffer;
58 ret->read_end = ret->buffer;
59 ret->buffer_end = ret->buffer + maxRecordLen + HEADER_SIZE;
67 free(rs->buffer);
72 /* returns NULL; if there isn't a full record in the buffer */
102 /* one full line in the buffer */
134 /* is there one record already in the buffer? */
142 // if the buffer is full and we don't have a full recor
    [all...]
  /bionic/linker/
linker_format.c 78 /*** Bounded buffer output
83 char *buffer; member in struct:__anon560
113 buf_out_init(BufOut *bo, char *buffer, size_t size)
120 bo->buffer = buffer;
121 bo->end = buffer + size - 1;
122 bo->pos = bo->buffer;
348 /* write an octal/decimal/number into a bounded buffer.
353 format_number(char *buffer, size_t bufsize, uint64_t value, int base, const char *digits)
355 char *pos = buffer;
439 char buffer[32]; \/* temporary buffer used to format numbers *\/ local
631 char buffer[16]; local
658 char buffer[256]; local
    [all...]
  /dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/
FileChannelImpl.java 201 MappedByteBuffer buffer = null; local
203 buffer = MappedByteBufferFactory.getBuffer(address, mapMode, size,
208 return buffer;
235 public int read(ByteBuffer buffer, long position) throws IOException {
236 if (null == buffer) {
243 if (!buffer.hasRemaining()) {
251 bytesRead = read(buffer);
259 public int read(ByteBuffer buffer) throws IOException {
261 if (!buffer.hasRemaining()) {
267 if (buffer.isDirect())
323 ByteBuffer buffer = buffers[i + offset]; local
410 ByteBuffer buffer = null; local
452 ByteBuffer buffer = null; local
596 ByteBuffer buffer = buffers[i + offset]; local
    [all...]
  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
InputStreamHelper.java 34 * Provides access to a protected underlying buffer of
40 * Provides access to a protected position in the underlying buffer of
66 * underlying buffer.
94 final byte[] buffer = new byte[available];
95 System.arraycopy(buf, pos, buffer, 0, available);
97 return buffer;
103 * underlying buffer directly.
105 * @return an underlying buffer, if a current position is at the buffer
106 * beginning, and an end position is at the buffer end, or a copy o
    [all...]
  /external/icu4c/common/
ustrfmt.h 14 uprv_itou (UChar * buffer, int32_t capacity, uint32_t i, uint32_t radix, int32_t minwidth);
  /frameworks/base/opengl/java/android/opengl/
ETC1.java 19 import java.nio.Buffer;
57 * @param in a native order direct buffer of size DECODED_BLOCK_SIZE that represent a
64 * @param out a native order direct buffer of size ENCODED_BLOCK_SIZE that receives the
68 public static native void encodeBlock(Buffer in, int validPixelMask, Buffer out);
73 * @param in a native order direct buffer of size ENCODED_BLOCK_SIZE that contains the
76 * @param out a native order direct buffer of size DECODED_BLOCK_SIZE that will receive
81 public static native void decodeBlock(Buffer in, Buffer out);
90 * @param in a native order direct buffer of the image data. Formatted such tha
    [all...]
  /frameworks/base/opengl/tools/glgen/stubs/gles11/
GLES11ExtcHeader.cpp 58 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer");
62 "getBasePointer", "(Ljava/nio/Buffer;)J");
64 "getBaseArray", "(Ljava/nio/Buffer;)Ljava/lang/Object;");
66 "getBaseArrayOffset", "(Ljava/nio/Buffer;)I");
96 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining)
105 position = _env->GetIntField(buffer, positionID);
106 limit = _env->GetIntField(buffer, limitID);
107 elementSizeShift = _env->GetIntField(buffer, elementSizeShiftID);
110 getBasePointerID, buffer);
117 getBaseArrayID, buffer);
    [all...]

Completed in 1034 milliseconds

1 2 34 5 6 7 8 91011>>