HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 1 - 25 of 9794) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/apache-harmony/luni/src/test/resources/net.resources/HTTP/cgi-bin/
test.pl 3 read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
4 print $buffer;
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
cpuinfo.c 52 char *buffer; local
54 buffer = (char *) malloc(MAX_STRING);
55 if (!buffer)
58 buffer[0] = 0;
63 strcat(buffer, "x86");
68 strcat(buffer, (cpu_has_mmxext) ? "/MMX+" : "/MMX");
73 strcat(buffer, (cpu_has_3dnowext) ? "/3DNow!+" : "/3DNow!");
78 strcat(buffer, (cpu_has_xmm2) ? "/SSE2" : "/SSE");
84 strcat(buffer, "SPARC");
88 assert(strlen(buffer) < MAX_STRING)
    [all...]
  /external/mesa3d/src/mesa/main/
cpuinfo.c 52 char *buffer; local
54 buffer = (char *) malloc(MAX_STRING);
55 if (!buffer)
58 buffer[0] = 0;
63 strcat(buffer, "x86");
68 strcat(buffer, (cpu_has_mmxext) ? "/MMX+" : "/MMX");
73 strcat(buffer, (cpu_has_3dnowext) ? "/3DNow!+" : "/3DNow!");
78 strcat(buffer, (cpu_has_xmm2) ? "/SSE2" : "/SSE");
84 strcat(buffer, "SPARC");
88 assert(strlen(buffer) < MAX_STRING)
    [all...]
  /external/openssh/
buffer.c 1 /* $OpenBSD: buffer.c,v 1.32 2010/02/09 03:56:28 djm Exp $ */
24 #include "buffer.h"
31 /* Initializes the buffer structure. */
34 buffer_init(Buffer *buffer)
38 buffer->alloc = 0;
39 buffer->buf = xmalloc(len);
40 buffer->alloc = len;
41 buffer->offset = 0;
42 buffer->end = 0
    [all...]
  /external/srec/shared/include/
CircularBuffer.h 37 * Generic Circular Buffer implementation.
43 * A circular buffer.
50 * Total buffer capacity.
55 * Amount of data in buffer.
73 * Creates a circular buffer of the specified capacity.
75 * @param capacity the capacity in number of bytes of the data buffer.
77 * @param buffer The circular buffer to initialize.
79 ESR_SHARED_API ESR_ReturnCode CircularBufferCreate(size_t capacity, const LCHAR* mtag, CircularBuffer** buffer);
82 * Returns the capacity of the buffer
    [all...]
  /external/harfbuzz/src/
harfbuzz-buffer.c 29 #include "harfbuzz-buffer-private.h"
33 /* Here is how the buffer works internally:
50 * called, out_string is moved over to an alternate buffer (alt_string), and
51 * its current contents (out_length entries) are copied to the alt buffer.
56 * The buffer->separate_out boolean keeps status of whether out_string points
63 hb_buffer_ensure( HB_Buffer buffer,
66 HB_UInt new_allocated = buffer->allocated;
75 if ( buffer->positions )
77 if ( REALLOC_ARRAY( buffer->positions, new_allocated, HB_PositionRec ) )
81 if ( REALLOC_ARRAY( buffer->in_string, new_allocated, HB_GlyphItemRec )
131 HB_Buffer buffer; local
    [all...]
  /external/harfbuzz_ng/src/hb-old/
harfbuzz-buffer.c 29 #include "harfbuzz-buffer-private.h"
33 /* Here is how the buffer works internally:
50 * called, out_string is moved over to an alternate buffer (alt_string), and
51 * its current contents (out_length entries) are copied to the alt buffer.
56 * The buffer->separate_out boolean keeps status of whether out_string points
63 HB_Buffer_ensure( HB_Buffer buffer,
66 HB_UInt new_allocated = buffer->allocated;
75 if ( buffer->positions )
77 if ( REALLOC_ARRAY( buffer->positions, new_allocated, HB_PositionRec ) )
81 if ( REALLOC_ARRAY( buffer->in_string, new_allocated, HB_GlyphItemRec )
131 HB_Buffer buffer; local
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/
utils.cc 33 char buffer[11] = {0}; local
34 sprintf(buffer, "%d", i); // NOLINT
35 return buffer;
39 char buffer[32] = {0}; local
42 sprintf(buffer, "%Iu", i); // NOLINT
44 sprintf(buffer, "%zu", i); // NOLINT
46 return buffer;
  /external/qemu/android/utils/
bufprint.h 18 /** FORMATTED BUFFER PRINTING
21 ** content to a given bounded character buffer, in a way that is easier
24 ** 'buffer' is the start position in the buffer,
25 ** 'buffend' is the end of the buffer, the function assumes (buffer <= buffend)
29 ** the function returns the next position in the buffer if everything fits
35 ** char buffer[1024];
36 ** char* p = buffer;
37 ** char* end = p + sizeof(buffer);
    [all...]
  /external/dropbear/
buffer.h 40 typedef struct buf buffer; typedef in typeref:struct:buf
42 buffer * buf_new(unsigned int size);
43 void buf_resize(buffer *buf, unsigned int newsize);
44 void buf_free(buffer* buf);
45 void buf_burn(buffer* buf);
46 buffer* buf_newcopy(buffer* buf);
47 void buf_setlen(buffer* buf, unsigned int len);
48 void buf_incrlen(buffer* buf, unsigned int incr);
49 void buf_setpos(buffer* buf, unsigned int pos)
    [all...]
  /external/chromium_org/tools/gyp/test/mac/framework-dirs/
calculate.c 12 char buffer[1024]; local
13 return CalculatePerformExpression("42", 1, 0, buffer);
  /art/compiler/utils/x86/
assembler_x86_test.cc 24 AssemblerBuffer buffer; local
25 AssemblerBuffer::EnsureCapacity ensured(&buffer);
26 buffer.Emit<uint8_t>(0x42);
27 ASSERT_EQ(static_cast<size_t>(1), buffer.Size());
28 buffer.Emit<int32_t>(42);
29 ASSERT_EQ(static_cast<size_t>(5), buffer.Size());
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
StringBuilderExtensions.cs 44 public static void append<T>( this StringBuilder buffer, T value )
46 buffer.Append( value );
50 public static char charAt( this StringBuilder buffer, int index )
52 return buffer[index];
56 public static int length( this StringBuilder buffer )
58 return buffer.Length;
62 public static void setCharAt( this StringBuilder buffer, int index, char c )
64 buffer[index] = c;
68 public static void setLength( this StringBuilder buffer, int length )
70 buffer.Length = length
    [all...]
  /external/chromium_org/content/browser/device_orientation/
data_fetcher_shared_memory_default.cc 12 static bool SetMotionBuffer(content::DeviceMotionHardwareBuffer* buffer,
14 if (!buffer)
16 buffer->seqlock.WriteBegin();
17 buffer->data.allAvailableSensorsAreActive = enabled;
18 buffer->seqlock.WriteEnd();
23 content::DeviceOrientationHardwareBuffer* buffer, bool enabled) {
24 if (!buffer)
26 buffer->seqlock.WriteBegin();
27 buffer->data.allAvailableSensorsAreActive = enabled;
28 buffer->seqlock.WriteEnd()
    [all...]
  /external/chromium_org/v8/test/cctest/
test-fixed-dtoa.cc 44 Vector<char> buffer(buffer_container, kBufferSize);
48 CHECK(FastFixedDtoa(1.0, 1, buffer, &length, &point));
49 CHECK_EQ("1", buffer.start());
52 CHECK(FastFixedDtoa(1.0, 15, buffer, &length, &point));
53 CHECK_EQ("1", buffer.start());
56 CHECK(FastFixedDtoa(1.0, 0, buffer, &length, &point));
57 CHECK_EQ("1", buffer.start());
60 CHECK(FastFixedDtoa(0xFFFFFFFF, 5, buffer, &length, &point));
61 CHECK_EQ("4294967295", buffer.start());
64 CHECK(FastFixedDtoa(4294967296.0, 5, buffer, &length, &point))
    [all...]
  /external/v8/test/cctest/
test-fixed-dtoa.cc 44 Vector<char> buffer(buffer_container, kBufferSize);
48 CHECK(FastFixedDtoa(1.0, 1, buffer, &length, &point));
49 CHECK_EQ("1", buffer.start());
52 CHECK(FastFixedDtoa(1.0, 15, buffer, &length, &point));
53 CHECK_EQ("1", buffer.start());
56 CHECK(FastFixedDtoa(1.0, 0, buffer, &length, &point));
57 CHECK_EQ("1", buffer.start());
60 CHECK(FastFixedDtoa(0xFFFFFFFF, 5, buffer, &length, &point));
61 CHECK_EQ("4294967295", buffer.start());
64 CHECK(FastFixedDtoa(4294967296.0, 5, buffer, &length, &point))
    [all...]
  /frameworks/compile/mclinker/unittests/
LEB128Test.cpp 47 leb128::ByteType buffer[2]; local
51 result = buffer;
53 ASSERT_EQ(buffer[0], 2);
54 ASSERT_EQ(result, buffer + 1);
57 result = buffer;
59 ASSERT_EQ(buffer[0], 127);
60 ASSERT_EQ(result, buffer + 1);
63 result = buffer;
65 ASSERT_EQ(buffer[0], 0 + 0x80);
66 ASSERT_EQ(buffer[1], 1)
93 leb128::ByteType buffer[2]; local
139 leb128::ByteType buffer[2]; local
199 leb128::ByteType buffer[2]; local
235 leb128::ByteType buffer[2]; local
301 leb128::ByteType buffer[5]; local
418 leb128::ByteType buffer[5]; local
460 leb128::ByteType buffer[9]; local
500 leb128::ByteType buffer[5]; local
516 char buffer[5]; local
    [all...]
  /external/e2fsprogs/ext2ed/
ext2_com.c 35 char buffer [80]; local
38 sprintf (buffer,"setoffset %ld",file_system_info.super_block_offset);dispatch (buffer);
39 sprintf (buffer,"settype ext2_super_block");dispatch (buffer);
53 char temp [80],buffer [80],*ptr; local
55 ptr=parse_word (command_line,buffer);
59 ptr=parse_word (ptr,buffer);
61 if (buffer [0] != '/') {
68 if (buffer [1] != 0)
85 char *ptr,buffer [80]; local
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
ByteBuffer.java 20 * Byte buffer container including length of valid data.
27 private byte[] buffer; field in class:ByteBuffer
35 * @param initialCapacity the initial capacity for this buffer
39 this.buffer = new byte[initialCapacity];
45 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>.
47 public ByteBuffer(byte[] buffer)
49 this.buffer = buffer;
50 this.length = buffer.length;
55 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>
    [all...]
  /external/easymock/src/org/easymock/internal/
ArgumentToString.java 27 public static void appendArgument(Object value, StringBuffer buffer) {
29 buffer.append("null");
31 buffer.append("\"");
32 buffer.append(value);
33 buffer.append("\"");
35 buffer.append("'");
36 buffer.append(value);
37 buffer.append("'");
39 buffer.append("[");
42 buffer.append(", ");
44 appendArgument(Array.get(value, i), buffer); local
    [all...]
  /external/elfutils/libasm/
disasm_str.c 35 struct buffer struct
45 struct buffer *buffer = (struct buffer *) arg; local
47 if (len > buffer->len)
49 return len - buffer->len;
51 buffer->buf = mempcpy (buffer->buf, str, len);
52 buffer->len = len;
63 struct buffer buffer = { .buf = *bufp, .len = len } local
    [all...]
  /external/srec/shared/src/
CircularBuffer.c 34 ESR_ReturnCode CircularBufferCreate(size_t capacity, const LCHAR* mtag, CircularBuffer** buffer)
37 if (buffer == NULL || capacity <= 0)
45 *buffer = Interface;
50 int CircularBufferRead(CircularBuffer* buffer, void* data, size_t bufSize)
55 if (buffer == NULL || (data == NULL && bufSize > 0))
58 if (buffer->size < bufSize)
59 bufSize = buffer->size;
64 bufferData = ((unsigned char *) buffer) + sizeof(CircularBuffer);
66 if (buffer->readIdx >= buffer->writeIdx
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkBuffer.cpp 14 void SkRBuffer::readNoSizeCheck(void* buffer, size_t size)
17 if (buffer)
18 memcpy(buffer, fPos, size);
37 bool SkRBufferWithSizeCheck::read(void* buffer, size_t size) {
40 readNoSizeCheck(buffer, size);
52 void SkWBuffer::writeNoSizeCheck(const void* buffer, size_t size)
55 if (fData && buffer)
56 memcpy(fPos, buffer, size);
79 static void AssertBuffer32(const void* buffer)
81 SkASSERT(buffer);
    [all...]
  /external/skia/src/core/
SkBuffer.cpp 14 void SkRBuffer::readNoSizeCheck(void* buffer, size_t size)
17 if (buffer)
18 memcpy(buffer, fPos, size);
37 bool SkRBufferWithSizeCheck::read(void* buffer, size_t size) {
40 readNoSizeCheck(buffer, size);
52 void SkWBuffer::writeNoSizeCheck(const void* buffer, size_t size)
55 if (fData && buffer)
56 memcpy(fPos, buffer, size);
79 static void AssertBuffer32(const void* buffer)
81 SkASSERT(buffer);
    [all...]
  /frameworks/av/media/libstagefright/
MediaBufferGroup.cpp 33 for (MediaBuffer *buffer = mFirstBuffer; buffer != NULL;
34 buffer = next) {
35 next = buffer->nextBuffer();
37 CHECK_EQ(buffer->refcount(), 0);
39 buffer->setObserver(NULL);
40 buffer->release();
44 void MediaBufferGroup::add_buffer(MediaBuffer *buffer) {
47 buffer->setObserver(this);
50 mLastBuffer->setNextBuffer(buffer);
    [all...]

Completed in 1961 milliseconds

1 2 3 4 5 6 7 8 91011>>