/external/apache-harmony/luni/src/test/resources/net.resources/HTTP/cgi-bin/ |
test.pl | 3 read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); 4 print $buffer;
|
/frameworks/base/media/libdrm/mobile1/src/xml/ |
xml_tinyparser.c | 27 static uint8_t *xml_ignore_blank(uint8_t *buffer) 29 if (NULL == buffer) 32 while (XML_IS_WHITESPACE(*buffer)) 33 buffer++; 35 return buffer; 38 static uint8_t *xml_goto_tagend(uint8_t *buffer) 43 if (NULL == buffer) 47 if (*buffer == '<') { 48 buffer++; 49 while (buffer != NULL && XML_IS_NAMECHAR(*buffer) 717 uint8_t *buffer = *buf; local 763 uint8_t *buffer = *buf; local [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...] |
/frameworks/compile/libbcc/tests/data/src/ |
b2071670.c | 7 int* buffer = (int*) floatPointer; local 8 return *buffer;
|
/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/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/webkit/Source/WebCore/platform/graphics/android/ |
SharedBufferStream.cpp | 35 static void CallDeref(void* buffer) { 36 ((SharedBuffer*)buffer)->deref(); 39 SharedBufferStream::SharedBufferStream(SharedBuffer* buffer) 40 : SkMemoryStream(buffer->data(), buffer->size(), false) { 41 fBuffer = buffer; 42 buffer->ref();
|
/external/webkit/Source/WebCore/platform/text/ |
TextStream.cpp | 45 char buffer[printBufferSize]; local 46 snprintf(buffer, sizeof(buffer) - 1, "%d", i); 47 return *this << buffer; 52 char buffer[printBufferSize]; local 53 snprintf(buffer, sizeof(buffer) - 1, "%u", i); 54 return *this << buffer; 59 char buffer[printBufferSize]; local 60 snprintf(buffer, sizeof(buffer) - 1, "%ld", i) 66 char buffer[printBufferSize]; local 73 char buffer[printBufferSize]; local 80 char buffer[printBufferSize]; local 99 char buffer[printBufferSize]; local 118 char buffer[printBufferSize]; local 124 char buffer[printBufferSize]; local [all...] |
/system/core/libcutils/ |
buffer.c | 17 #define LOG_TAG "buffer" 24 #include "buffer.h" 27 Buffer* bufferCreate(size_t capacity) { 28 Buffer* buffer = malloc(sizeof(Buffer)); local 29 if (buffer == NULL) { 32 buffer->capacity = capacity; 33 buffer->expected = 0; 34 buffer->data = malloc(capacity) 48 Buffer* buffer = malloc(sizeof(Buffer)); local [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/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/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 | 46 leb128::ByteType buffer[2]; local 50 result = buffer; 52 ASSERT_EQ(buffer[0], 2); 53 ASSERT_EQ(result, buffer + 1); 56 result = buffer; 58 ASSERT_EQ(buffer[0], 127); 59 ASSERT_EQ(result, buffer + 1); 62 result = buffer; 64 ASSERT_EQ(buffer[0], 0 + 0x80); 65 ASSERT_EQ(buffer[1], 1) 92 leb128::ByteType buffer[2]; local 138 leb128::ByteType buffer[2]; local 198 leb128::ByteType buffer[2]; local 234 leb128::ByteType buffer[2]; local 300 leb128::ByteType buffer[5]; local 417 leb128::ByteType buffer[5]; local 459 leb128::ByteType buffer[9]; local 499 leb128::ByteType buffer[5]; local 515 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...] |
/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...] |
/frameworks/wilhelm/src/ |
interfaces.c | 131 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) 136 strcpy(buffer, "MPH"); 137 strcpy(&buffer[3], infix); 138 strcat(buffer, "_"); 139 strcat(buffer, interface_names[MPH]);
|
/external/oprofile/libop/ |
op_xml_events.c | 20 static char buffer[MAX_BUFFER]; variable 26 buffer[0] = '\0'; 28 open_xml_element(HELP_EVENTS, 1, buffer, MAX_BUFFER); 29 init_xml_str_attr(SCHEMA_VERSION, schema_version, buffer, MAX_BUFFER); 30 close_xml_element(NONE, 1, buffer, MAX_BUFFER); 31 open_xml_element(HELP_HEADER, 1, buffer, MAX_BUFFER); 32 init_xml_str_attr(HELP_TITLE, title, buffer, MAX_BUFFER); 33 init_xml_str_attr(HELP_DOC, doc, buffer, MAX_BUFFER); 34 close_xml_element(NONE, 0, buffer, MAX_BUFFER); 35 printf("%s", buffer); [all...] |
/external/skia/legacy/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/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...] |