Searched refs:buffer (Results 1 - 25 of 2453) sorted by relevance

1234567891011>>

/external/apache-harmony/luni/src/test/resources/net.resources/HTTP/cgi-bin/
H A Dtest.pl3 read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
4 print $buffer;
/external/srec/shared/include/
H A DCircularBuffer.h43 * 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.
84 #define CircularBufferGetCapacity(buffer) ((buffe
[all...]
/external/harfbuzz/src/
H A Dharfbuzz-buffer.c29 #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, argument
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
131 HB_Buffer buffer; local
172 hb_buffer_add_glyph( HB_Buffer buffer, HB_UInt glyph_index, HB_UInt properties, HB_UInt cluster ) argument
268 _hb_buffer_add_output_glyphs( HB_Buffer buffer, HB_UShort num_in, HB_UShort num_out, HB_UShort *glyph_data, HB_UShort component, HB_UShort ligID ) argument
319 _hb_buffer_add_output_glyph( HB_Buffer buffer, HB_UInt glyph_index, HB_UShort component, HB_UShort ligID ) argument
352 _hb_buffer_replace_output_glyph( HB_Buffer buffer, HB_UInt glyph_index, HB_Bool inplace ) argument
[all...]
/external/qemu/android/utils/
H A Dbufprint.h21 ** 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);
44 ** (this means that even if p >= end, the content of "buffer" i
[all...]
H A Dtimezone.h20 /* append the current host "zoneinfo" timezone name to a given buffer. note
29 extern char* bufprint_zoneinfo_timezone( char* buffer, char* end );
/external/webkit/Source/WebCore/platform/graphics/android/
H A DSharedBufferStream.cpp35 static void CallDeref(void* buffer) { argument
36 ((SharedBuffer*)buffer)->deref();
39 SharedBufferStream::SharedBufferStream(SharedBuffer* buffer) argument
40 : SkMemoryStream(buffer->data(), buffer->size(), false) {
41 fBuffer = buffer;
42 buffer->ref();
/external/webkit/Source/WebCore/platform/text/
H A DTextStream.cpp45 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, sizeo
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...]
/external/dropbear/
H A Dbuffer.h40 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* bu
[all...]
/external/v8/test/cctest/
H A Dtest-fixed-dtoa.cc44 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,
[all...]
H A Dtest-bignum-dtoa.cc61 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,
[all...]
/external/e2fsprogs/ext2ed/
H A Dext2_com.c35 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 [
85 char *ptr,buffer [80]; local
[all...]
H A Dgroup_com.c25 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/easymock/src/org/easymock/internal/
H A DArgumentToString.java27 public static void appendArgument(Object value, StringBuffer buffer) { argument
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
[all...]
/external/srec/shared/src/
H A DCircularBuffer.c34 ESR_ReturnCode CircularBufferCreate(size_t capacity, const LCHAR* mtag, CircularBuffer** buffer) argument
37 if (buffer == NULL || capacity <= 0)
45 *buffer = Interface;
50 int CircularBufferRead(CircularBuffer* buffer, void* data, size_t bufSize) argument
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
89 CircularBufferSkip(CircularBuffer* buffer, size_t bufSize) argument
109 CircularBufferWrite(CircularBuffer* buffer, const void *data, size_t bufSize) argument
149 CircularBufferUnwrite(CircularBuffer* buffer, size_t amount) argument
[all...]
/external/oprofile/libop/
H A Dop_xml_events.c20 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);
45 xml_do_arch_specific_event_help(struct op_event const *event, char *buffer, size_t size) argument
[all...]
/external/skia/src/core/
H A DSkBuffer.cpp22 void SkRBuffer::readNoSizeCheck(void* buffer, size_t size) argument
25 if (buffer)
26 memcpy(buffer, fPos, size);
52 void SkWBuffer::writeNoSizeCheck(const void* buffer, size_t size) argument
55 if (fData && buffer)
56 memcpy(fPos, buffer, size);
79 static void AssertBuffer32(const void* buffer)
81 SkASSERT(buffer);
82 SkASSERT(((size_t)buffer & 3) == 0);
85 #define AssertBuffer32(buffer)
[all...]
/external/webkit/Source/JavaScriptCore/wtf/
H A DByteArray.cpp34 unsigned char* buffer = new unsigned char[size + OBJECT_OFFSETOF(ByteArray, m_data)]; local
35 ASSERT((reinterpret_cast<size_t>(buffer) & 3) == 0);
36 return adoptRef(new (buffer) ByteArray(size));
/external/elfutils/libasm/
H A Dasm_error.c45 /* If we have not yet initialized the buffer do it now. */
50 /* We have a key. Use it to get the thread-specific buffer. */
51 int *buffer = getspecific (key); local
52 if (buffer == NULL)
54 /* No buffer allocated so far. */
55 buffer = (int *) malloc (sizeof (int));
56 if (buffer == NULL)
57 /* No more memory available. We use the static buffer. */
58 buffer = &global_error;
60 setspecific (key, buffer);
86 int *buffer = getspecific (key); local
130 int *buffer = (int *) getspecific (key); local
[all...]
/external/llvm/utils/
H A DDSAclean.py21 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
H A DDSAextract.py59 buffer = input.readline() variable
60 while buffer != '':
62 if not arrowexp.search(buffer):
67 if regexp.search(buffer):
68 node_set |= set([re.split('\s+',buffer,2)[1]])
70 buffer = input.readline() variable
86 buffer = input.readline() variable
87 while buffer != '':
95 if arrowexp.search(buffer):
98 nodes = arrowexp.split(buffer)
110 buffer = input.readline() variable
[all...]
/external/clang/test/CodeGen/
H A D2003-10-02-UnionLValueError.c9 void format_message(char *buffer, union U *u) { argument
10 sprintf(buffer, u->s);
/external/valgrind/main/none/tests/
H A Dcoolo_strlen.c5 char buffer[200] = "HALLO"; local
6 char *b2 = strdup(strcat(buffer, "THis is a very long strings"));
/external/webkit/Source/WebKit/chromium/src/
H A DChromiumOSRandomSource.cpp39 void cryptographicallyRandomValuesFromOS(unsigned char* buffer, size_t length) argument
41 WebKit::webKitClient()->cryptographicallyRandomValues(buffer, length);
/external/clang/test/CodeGenCXX/
H A D2007-01-02-UnboundedArray.cpp8 char buffer[]; member in struct:Object
/external/qemu/distrib/sdl-1.2.12/src/video/ipod/
H A DSDL_ipodvideo.h33 char *buffer; member in struct:SDL_PrivateVideoData

Completed in 666 milliseconds

1234567891011>>