HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 26 - 50 of 9473) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/skia/src/core/
SkBuffer.cpp 14 void SkRBuffer::readNoSizeCheck(void* buffer, size_t size)
17 if (buffer)
18 memcpy(buffer, fPos, size);
44 void SkWBuffer::writeNoSizeCheck(const void* buffer, size_t size)
47 if (fData && buffer)
48 memcpy(fPos, buffer, size);
71 static void AssertBuffer32(const void* buffer)
73 SkASSERT(buffer);
74 SkASSERT(((size_t)buffer & 3) == 0);
77 #define AssertBuffer32(buffer)
    [all...]
  /external/chromium_org/v8/test/cctest/
test-bignum-dtoa.cc 61 Vector<char> buffer(buffer_container, kBufferSize);
65 BignumDtoa(1.0, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point);
66 CHECK_EQ("1", buffer.start());
69 BignumDtoa(1.0, BIGNUM_DTOA_FIXED, 3, buffer, &length, &point);
71 TrimRepresentation(buffer);
72 CHECK_EQ("1", buffer.start());
75 BignumDtoa(1.0, BIGNUM_DTOA_PRECISION, 3, buffer, &length, &point);
77 TrimRepresentation(buffer);
78 CHECK_EQ("1", buffer.start());
81 BignumDtoa(1.5, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point)
    [all...]
  /external/v8/test/cctest/
test-bignum-dtoa.cc 61 Vector<char> buffer(buffer_container, kBufferSize);
65 BignumDtoa(1.0, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point);
66 CHECK_EQ("1", buffer.start());
69 BignumDtoa(1.0, BIGNUM_DTOA_FIXED, 3, buffer, &length, &point);
71 TrimRepresentation(buffer);
72 CHECK_EQ("1", buffer.start());
75 BignumDtoa(1.0, BIGNUM_DTOA_PRECISION, 3, buffer, &length, &point);
77 TrimRepresentation(buffer);
78 CHECK_EQ("1", buffer.start());
81 BignumDtoa(1.5, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/
vmw_buffer.h 42 vmw_pb_buffer(struct svga_winsys_buffer *buffer)
44 assert(buffer);
45 return (struct pb_buffer *)buffer;
50 vmw_svga_winsys_buffer(struct pb_buffer *buffer)
52 assert(buffer);
53 return (struct svga_winsys_buffer *)buffer;
  /external/chromium_org/third_party/skia/src/effects/
SkBitmapSource.cpp 15 SkBitmapSource::SkBitmapSource(SkFlattenableReadBuffer& buffer)
16 : INHERITED(buffer) {
17 fBitmap.unflatten(buffer);
20 void SkBitmapSource::flatten(SkFlattenableWriteBuffer& buffer) const {
21 this->INHERITED::flatten(buffer);
22 fBitmap.flatten(buffer);
  /external/elfutils/libasm/
asm_error.c 57 /* If we have not yet initialized the buffer do it now. */
62 /* We have a key. Use it to get the thread-specific buffer. */
63 int *buffer = getspecific (key); local
64 if (buffer == NULL)
66 /* No buffer allocated so far. */
67 buffer = (int *) malloc (sizeof (int));
68 if (buffer == NULL)
69 /* No more memory available. We use the static buffer. */
70 buffer = &global_error;
72 setspecific (key, buffer);
98 int *buffer = getspecific (key); local
144 int *buffer = (int *) getspecific (key); local
    [all...]
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/base/
MessageProtocol.java 43 * and provides a rolling message buffer. ByteBuffers can be
65 * then a 32k byte buffer will be created and filled.
70 ByteBuffer buffer = target == null ? ByteBuffer.allocate( 32767 + 2 ) : target; local
73 buffer.position( 2 );
74 Serializer.writeClassAndObject( buffer, message );
75 buffer.flip();
76 short dataLength = (short)(buffer.remaining() - 2);
77 buffer.putShort( dataLength );
78 buffer.position( 0 );
80 return buffer;
    [all...]
  /external/llvm/utils/
DSAclean.py 21 buffer = input.readline() variable
22 while buffer != '':
23 if re.compile("label(\s*)=(\s*)\"\s%tmp(.\w*)*(\s*)\"").search(buffer):
25 buffer = input.readline() variable
28 output.write(buffer)
30 buffer = input.readline() variable
  /external/mesa3d/src/gallium/winsys/svga/drm/
vmw_buffer.h 42 vmw_pb_buffer(struct svga_winsys_buffer *buffer)
44 assert(buffer);
45 return (struct pb_buffer *)buffer;
50 vmw_svga_winsys_buffer(struct pb_buffer *buffer)
52 assert(buffer);
53 return (struct svga_winsys_buffer *)buffer;
  /external/skia/src/effects/
SkBitmapSource.cpp 15 SkBitmapSource::SkBitmapSource(SkFlattenableReadBuffer& buffer)
16 : INHERITED(buffer) {
17 fBitmap.unflatten(buffer);
20 void SkBitmapSource::flatten(SkFlattenableWriteBuffer& buffer) const {
21 this->INHERITED::flatten(buffer);
22 fBitmap.flatten(buffer);
  /external/clang/test/SemaTemplate/
instantiate-sizeof.cpp 6 int buffer[n]; local
7 [] { int x = sizeof(sizeof(buffer)); }();
instantiate-typeof.cpp 5 int buffer[n]; // expected-note {{declared here}} local
6 [] { __typeof(buffer) x; }(); // expected-error {{variable 'buffer' with variably modified type cannot be captured in a lambda expression}}
  /external/valgrind/main/none/tests/
coolo_strlen.c 5 char buffer[200] = "HALLO"; local
6 char *b2 = strdup(strcat(buffer, "THis is a very long strings"));
  /frameworks/compile/libbcc/bcinfo/Wrap/
wrapper_output.cpp 19 bool WrapperOutput::Write(const uint8_t* buffer, size_t buffer_size) {
22 if (!Write(buffer[i])) return false;
  /external/chromium_org/third_party/libjingle/source/talk/base/
bytebuffer_unittest.cc 73 ByteBuffer buffer; local
75 EXPECT_EQ(size, buffer.Length());
77 buffer.WriteUInt8(1);
79 EXPECT_EQ(size, buffer.Length());
81 buffer.WriteUInt16(1);
83 EXPECT_EQ(size, buffer.Length());
85 buffer.WriteUInt24(1);
87 EXPECT_EQ(size, buffer.Length());
89 buffer.WriteUInt32(1);
91 EXPECT_EQ(size, buffer.Length())
    [all...]
  /external/chromium_org/content/browser/speech/
chunked_byte_buffer_unittest.cc 16 ChunkedByteBuffer buffer; local
24 EXPECT_EQ(0U, buffer.GetTotalLength());
25 EXPECT_FALSE(buffer.HasChunks());
28 buffer.Append(kChunks, 2);
29 EXPECT_EQ(2U, buffer.GetTotalLength());
30 EXPECT_FALSE(buffer.HasChunks());
33 buffer.Append(kChunks + 2, 6);
34 EXPECT_EQ(8U, buffer.GetTotalLength());
35 EXPECT_TRUE(buffer.HasChunks());
38 buffer.Append(kChunks + 8, 6)
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
UnboundedFifoByteBuffer.java 26 * UnboundedFifoByteBuffer is a very efficient buffer implementation.
41 * Buffer fifo = BufferUtils.synchronizedBuffer(new UnboundedFifoByteBuffer());
44 * This buffer prevents null objects from being added.
57 protected byte[] buffer; field in class:UnboundedFifoByteBuffer
77 * @param initialSize the initial size of the buffer
84 buffer = new byte[initialSize + 1];
90 * Returns the number of elements stored in the buffer.
92 * @return this buffer's size
98 size = buffer.length - head + tail;
107 * Returns true if this buffer is empty; false otherwise.
    [all...]
  /external/openssh/
bufaux.c 50 #include "buffer.h"
55 * Returns integers from the buffer (msb first).
59 buffer_get_short_ret(u_short *ret, Buffer *buffer)
63 if (buffer_get_ret(buffer, (char *) buf, 2) == -1)
70 buffer_get_short(Buffer *buffer)
74 if (buffer_get_short_ret(&ret, buffer) == -1)
75 fatal("buffer_get_short: buffer error");
81 buffer_get_int_ret(u_int *ret, Buffer *buffer
    [all...]
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-ot-shape-normalize.cc 110 output_char (hb_buffer_t *buffer, hb_codepoint_t unichar, hb_codepoint_t glyph)
112 buffer->cur().glyph_index() = glyph;
113 buffer->output_glyph (unichar);
114 _hb_glyph_info_set_unicode_props (&buffer->prev(), buffer->unicode);
118 next_char (hb_buffer_t *buffer, hb_codepoint_t glyph)
120 buffer->cur().glyph_index() = glyph;
121 buffer->next_glyph ();
125 skip_char (hb_buffer_t *buffer)
127 buffer->skip_glyph ()
197 hb_buffer_t * const buffer = c->buffer; local
216 hb_buffer_t * const buffer = c->buffer; local
236 hb_buffer_t * const buffer = c->buffer; local
    [all...]
  /external/harfbuzz_ng/src/
hb-ot-shape-normalize.cc 110 output_char (hb_buffer_t *buffer, hb_codepoint_t unichar, hb_codepoint_t glyph)
112 buffer->cur().glyph_index() = glyph;
113 buffer->output_glyph (unichar);
114 _hb_glyph_info_set_unicode_props (&buffer->prev(), buffer->unicode);
118 next_char (hb_buffer_t *buffer, hb_codepoint_t glyph)
120 buffer->cur().glyph_index() = glyph;
121 buffer->next_glyph ();
125 skip_char (hb_buffer_t *buffer)
127 buffer->skip_glyph ()
198 hb_buffer_t * const buffer = c->buffer; local
217 hb_buffer_t * const buffer = c->buffer; local
238 hb_buffer_t * const buffer = c->buffer; local
    [all...]
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
Sector.java 35 * The buffer holding the contents of this {@code Sector}.
37 protected final ByteBuffer buffer; field in class:Sector
44 this.buffer = ByteBuffer.allocate(size);
45 this.buffer.order(ByteOrder.LITTLE_ENDIAN);
51 * internal buffer and resets the "dirty" state.
57 buffer.rewind();
58 buffer.limit(buffer.capacity());
59 device.read(offset, buffer);
83 buffer.position(0)
    [all...]
  /external/e2fsprogs/ext2ed/
group_com.c 25 char *ptr,buffer [80]; local
27 ptr=parse_word (command_line,buffer);
29 ptr=parse_word (ptr,buffer);
30 entry_offset=atol (buffer);
33 sprintf (buffer,"entry %ld",group_info.group_num+entry_offset);
34 dispatch (buffer);
41 char *ptr,buffer [80]; local
43 ptr=parse_word (command_line,buffer);
45 ptr=parse_word (ptr,buffer);
46 entry_offset=atol (buffer);
57 char *ptr,buffer [80]; local
83 char *ptr,buffer [80]; local
138 char buffer [80]; local
149 char buffer [80]; local
163 char buffer [80]; local
    [all...]
  /external/chromium_org/media/base/
data_buffer_unittest.cc 14 scoped_refptr<DataBuffer> buffer = new DataBuffer(0); local
15 EXPECT_TRUE(buffer->data());
16 EXPECT_TRUE(buffer->writable_data());
17 EXPECT_EQ(0, buffer->data_size());
18 EXPECT_FALSE(buffer->end_of_stream());
22 // Buffer size should be set.
23 scoped_refptr<DataBuffer> buffer = new DataBuffer(10); local
24 EXPECT_TRUE(buffer->data());
25 EXPECT_TRUE(buffer->writable_data());
26 EXPECT_EQ(0, buffer->data_size())
36 scoped_refptr<DataBuffer> buffer = new DataBuffer(data.Pass(), kSize); local
48 scoped_refptr<DataBuffer> buffer = local
60 scoped_refptr<DataBuffer> buffer = DataBuffer::CreateEOSBuffer(); local
69 scoped_refptr<DataBuffer> buffer = new DataBuffer(0); local
84 scoped_refptr<DataBuffer> buffer = new DataBuffer(0); local
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/io/
printer_unittest.cc 50 // where particular writes cross a buffer boundary and cases where they do
54 char buffer[8192]; local
56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size);
62 char buffer[8192]; local
65 ArrayOutputStream output(buffer, sizeof(buffer), block_size);
77 buffer[output.ByteCount()] = '\0';
82 buffer);
87 char buffer[8192] local
115 char buffer[8192]; local
151 char buffer[8192]; local
172 char buffer[8192]; local
225 char buffer[8192]; local
237 char buffer[17]; local
261 char buffer[16]; local
    [all...]
  /external/chromium_org/content/browser/device_orientation/
data_fetcher_shared_memory_android.cc 27 DeviceMotionHardwareBuffer* buffer) {
28 DCHECK(buffer);
29 device_motion_buffer_ = buffer;
31 StartFetchingDeviceMotionData(buffer);

Completed in 1748 milliseconds

12 3 4 5 6 7 8 91011>>