/external/apache-http/src/org/apache/http/message/ |
H A D | LineFormatter.java | 54 * a buffer can be passed as argument to all formatting methods. 55 * The implementation may or may not actually use that buffer for formatting. 56 * If it is used, the buffer will first be cleared by the 58 * The argument buffer can always be re-used after the call. The buffer 59 * returned as the result, if it is different from the argument buffer, 84 * <code>buffer</code> arguments. 85 * It does <i>not</i> clear the argument buffer, but appends instead. 86 * The returned buffer can always be modified by the caller. 90 * @param buffer 98 appendProtocolVersion(CharArrayBuffer buffer, ProtocolVersion version) argument 113 formatRequestLine(CharArrayBuffer buffer, RequestLine reqline) argument 130 formatStatusLine(CharArrayBuffer buffer, StatusLine statline) argument 154 formatHeader(CharArrayBuffer buffer, Header header) argument [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_nolibc.cc | 24 void WriteToSyslog(const char *buffer) {} argument
|
/external/compiler-rt/test/safestack/ |
H A D | pthread.c | 24 char buffer[8096]; // two pages local 25 memset(buffer, val, sizeof (buffer)); 26 break_optimization(buffer);
|
/external/curl/src/ |
H A D | tool_cb_wrt.h | 30 size_t tool_write_cb(void *buffer, size_t sz, size_t nmemb, void *userdata);
|
/external/easymock/src/org/easymock/internal/matchers/ |
H A D | Same.java | 37 public void appendTo(StringBuffer buffer) {
argument 38 buffer.append("same(");
39 ArgumentToString.appendArgument(expected, buffer);
40 buffer.append(")");
|
/external/fio/crc/ |
H A D | crc16.h | 20 extern unsigned short fio_crc16(const void *buffer, unsigned int len);
|
H A D | crc7.h | 11 extern unsigned char fio_crc7(const unsigned char *buffer, unsigned int len);
|
/external/fio/ |
H A D | fifo.c | 36 fifo->buffer = malloc(size); 45 free(fifo->buffer); 49 unsigned int fifo_put(struct fifo *fifo, void *buffer, unsigned int len) argument 55 /* first put the data starting from fifo->in to buffer end */ 57 memcpy(fifo->buffer + (fifo->in & (fifo->size - 1)), buffer, l); 59 /* then put the rest (if any) at the beginning of the buffer */ 60 memcpy(fifo->buffer, buffer + l, len - l); 80 * first get the data from fifo->out until the end of the buffer [all...] |
/external/google-breakpad/src/common/dwarf/ |
H A D | bytereader.h | 62 uint8 ReadOneByte(const char* buffer) const; 66 uint16 ReadTwoBytes(const char* buffer) const; 73 uint64 ReadFourBytes(const char* buffer) const; 77 uint64 ReadEightBytes(const char* buffer) const; 96 uint64 ReadUnsignedLEB128(const char* buffer, size_t* len) const; 115 int64 ReadSignedLEB128(const char* buffer, size_t* len) const; 138 uint64 ReadAddress(const char* buffer) const; 182 uint64 ReadOffset(const char* buffer) const; 233 // SECTION_BASE, and that the start of its buffer in our own memory 235 // byte in our buffer woul [all...] |
/external/google-breakpad/src/common/mac/ |
H A D | file_id.cc | 61 unsigned char buffer[4096 * 2]; local 62 size_t buffer_size = sizeof(buffer); 63 while ((buffer_size = read(fd, buffer, buffer_size) > 0)) { 64 MD5Update(&md5, buffer, static_cast<unsigned>(buffer_size)); 86 char *buffer, int buffer_length) { 93 buffer[buffer_idx++] = '-'; 95 buffer[buffer_idx++] = 97 buffer[buffer_idx++] = 102 buffer[(buffer_idx < buffer_length) ? buffer_idx : buffer_idx - 1] = 0; 85 ConvertIdentifierToString(const unsigned char identifier[16], char *buffer, int buffer_length) argument
|
/external/icu/icu4c/source/tools/genrb/ |
H A D | rbutil.c | 68 itostr(char * buffer, int32_t i, uint32_t radix, int32_t pad) argument 85 buffer[length++]= digits[digit]; 90 buffer[length++] = '0';/*zero padding */ 95 buffer[length++]='-'; 98 /* null terminate the buffer */ 100 buffer[length] = 0x0000; 108 temp = buffer[(length-1) - j]; 109 buffer[(length-1) - j] = buffer[j]; 110 buffer[ [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/data/ |
H A D | CompactDataInput.java | 60 int buffer = 0; 63 buffer = readByte(); 65 value[i] = (buffer & 0x01) != 0; 66 buffer >>>= 1;
|
/external/jline/src/src/main/java/jline/ |
H A D | NullCompletor.java | 21 * Returns -1 always, indicating that the the buffer is never 24 public int complete(final String buffer, int cursor, List candidates) { argument
|
/external/jsilver/src/com/google/clearsilver/jsilver/output/ |
H A D | OutputBufferProvider.java | 20 * Simple Provider interface for the output buffer. 25 * Returns a clean Appendable buffer ready to use while rendering. 30 * Tells the provider that this buffer is free to be reused. 32 * @param buffer the Appendable object handed out by {@link #get} 34 void release(Appendable buffer); argument
|
/external/jsilver/src/com/google/streamhtmlparser/util/ |
H A D | JavascriptTokenBuffer.java | 24 * Implements a circular (ring) buffer of characters with specialized 34 * the buffer. Changing the API would mean changing the test 40 * <li> The buffer size is fixed. There is currently no need to 47 * Size of the ring buffer used to lookup the last token in the javascript 50 * an empty ring buffer slot. 54 /** Storage implementing the circular buffer. */ 55 private final char[] buffer; field in class:JavascriptTokenBuffer 57 /** Index of the first item in our circular buffer. */ 60 /** Index of the last item in our circular buffer. */ 64 * Constructs an empty javascript token buffer [all...] |
/external/libchrome/base/strings/ |
H A D | string_util_posix.h | 24 inline int vsnprintf(char* buffer, size_t size, argument 26 return ::vsnprintf(buffer, size, format, arguments); 29 inline int vswprintf(wchar_t* buffer, size_t size, argument 32 return ::vswprintf(buffer, size, format, arguments);
|
/external/ltp/testcases/kernel/syscalls/ipc/lib/ |
H A D | libmsgctl.c | 34 struct mbuffer buffer; local 50 memset(&buffer, 0, sizeof(buffer)); 52 size = msgrcv(id, &buffer, 100, type, 0); 59 if (buffer.type != type) { 63 buffer.type, type); 67 if (buffer.data.len + 1 != size) { 71 buffer.data.len + 1, size); 75 if (verify(buffer.data.pbytes, (key % 255), size - 1, child)) { 90 struct mbuffer buffer; local [all...] |
/external/ltp/testcases/network/rpc/basic_tests/rpc01/lib/ |
H A D | librpc01.c | 22 bool_t xdr_receive_data(XDR *xdrs, struct data **buffer) argument 28 bp = *buffer = malloc(sizeof(struct data)); 32 p = (*buffer)->data = malloc(bp->data_length); 38 bool_t xdr_send_data(XDR *xdrs, struct data *buffer) argument 43 rc = xdr_long(xdrs, &buffer->address); 44 rc = rc && xdr_long(xdrs, &buffer->request_id); 45 rc = rc && xdr_long(xdrs, &buffer->data_length); 46 for (i = 0, p = buffer->data; rc && i < buffer->data_length; i++, p++)
|
/external/mdnsresponder/mDNSShared/ |
H A D | dnssd_ipc.c | 35 static char buffer[1024]; local 37 memset(buffer, 0, sizeof(buffer)); 43 buffer, 44 sizeof(buffer), 49 while ((n > 0) && isspace(((unsigned char *) buffer)[n - 1])) 50 buffer[--n] = '\0'; 52 return buffer; 111 int get_string(const char **ptr, const char *const end, char *buffer, int buflen) argument 115 *buffer [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_vdecl.c | 66 * buffer offset below. The important thing is that all vertex buffer 77 struct svga_buffer *buffer; local 81 if (!vb->buffer) 84 buffer = svga_buffer(vb->buffer); 85 if (buffer->uploaded.start > offset) { 86 tmp_neg_bias = buffer->uploaded.start - offset; 97 struct svga_buffer *buffer; local 99 if (!vb->buffer) [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
H A D | UUIDConverter.java | 30 byte[] buffer = new byte[16]; 33 buffer[i] = (byte) (msb >>> 8 * (7 - i)); 36 buffer[i] = (byte) (lsb >>> 8 * (7 - i)); 39 return buffer;
|
/external/nanopb-c/examples/simple/ |
H A D | simple.c | 8 /* This is the buffer where we will store our message. */ 9 uint8_t buffer[128]; local 21 /* Create a stream that will write to our buffer. */ 22 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); 49 /* Create a stream that reads from the buffer. */ 50 pb_istream_t stream = pb_istream_from_buffer(buffer, message_length);
|
/external/pdfium/core/fxge/win32/ |
H A D | cpsoutput.cpp | 29 FX_CHAR buffer[1026]; local 31 *(reinterpret_cast<uint16_t*>(buffer)) = send_len; 32 FXSYS_memcpy(buffer + 2, str + sent_len, send_len); 35 // ExtEscape(m_hDC, PASSTHROUGH, send_len + 2, buffer, 0, nullptr); 36 ::GdiComment(m_hDC, send_len + 2, reinterpret_cast<const BYTE*>(buffer));
|
/external/protobuf/csharp/src/Google.Protobuf/ |
H A D | CodedOutputStream.cs | 47 /// levels of protocol buffer format. Unlike some other implementations,
64 /// The buffer size used by CreateInstance(Stream).
69 private readonly byte[] buffer;
field in class:Google.Protobuf.CodedOutputStream 89 private CodedOutputStream(byte[] buffer, int offset, int length)
argument 92 this.buffer = buffer;
98 private CodedOutputStream(Stream output, byte[] buffer, bool leaveOpen)
argument 101 this.buffer = buffer;
103 this.limit = buffer [all...] |
/external/protobuf/src/google/protobuf/io/ |
H A D | coded_stream_inl.h | 50 inline bool CodedInputStream::InternalReadStringInline(string* buffer, argument 55 STLStringResizeUninitialized(buffer, size); 56 std::pair<char*, bool> z = as_string_data(buffer); 67 return ReadStringFallback(buffer, size); 70 inline bool CodedInputStream::InternalReadRawInline(void* buffer, int size) { argument 73 // Reading past end of buffer. Copy what we have, then refresh. 74 memcpy(buffer, buffer_, current_buffer_size); 75 buffer = reinterpret_cast<uint8*>(buffer) + current_buffer_size; 81 memcpy(buffer, buffer [all...] |