Searched refs:buffer (Results 276 - 300 of 9657) sorted by relevance

<<11121314151617181920>>

/external/apache-http/src/org/apache/http/message/
H A DLineFormatter.java54 * 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/chromium_org/cloud_print/common/win/
H A Dcloud_print_utils.cc31 LPCWSTR buffer = NULL; local
34 int count = ::LoadString(module, id, reinterpret_cast<LPWSTR>(&buffer), 0);
35 if (!buffer)
37 return base::string16(buffer, buffer + count);
41 LPWSTR buffer = NULL; local
44 0, hr, 0, reinterpret_cast<LPWSTR>(&buffer), 0, NULL);
45 base::string16 result(buffer);
46 ::LocalFree(buffer);
/external/chromium_org/content/browser/media/
H A Dmidi_host_unittest.cc32 std::vector<T> buffer; variable
33 buffer.insert(buffer.end(), data, data + N);
34 return buffer;
38 void PushToVector(const T(&data)[N], std::vector<T>* buffer) {
39 buffer->insert(buffer->end(), data, data + N);
64 std::vector<uint8> buffer; local
65 PushToVector(kGMOn, &buffer);
66 PushToVector(kNoteOn, &buffer);
[all...]
/external/chromium_org/gpu/config/
H A Dgpu_info_collector_x11.cc30 char* buffer = NULL; local
34 &buffer)) {
35 std::string driver_version(buffer);
36 XFree(buffer);
/external/chromium_org/net/spdy/
H A Dspdy_read_queue.cc28 void SpdyReadQueue::Enqueue(scoped_ptr<SpdyBuffer> buffer) { argument
29 DCHECK_GT(buffer->GetRemainingSize(), 0u);
30 total_size_ += buffer->GetRemainingSize();
31 queue_.push_back(buffer.release());
38 SpdyBuffer* buffer = queue_.front(); local
40 std::min(len - bytes_copied, buffer->GetRemainingSize());
41 memcpy(out + bytes_copied, buffer->GetRemainingData(), bytes_to_copy);
43 if (bytes_to_copy == buffer->GetRemainingSize()) {
47 buffer->Consume(bytes_to_copy);
/external/chromium_org/ppapi/c/dev/
H A Dppb_crypto_dev.h29 * Fills the given buffer with random bytes. This is potentially slow so only
32 void (*GetRandomBytes)(char* buffer, uint32_t num_bytes);
/external/chromium_org/ppapi/cpp/dev/
H A Dcrypto_dev.h20 /// A function that fills the buffer with random bytes. This may be slow, so
23 /// @param[out] buffer The buffer to receive the random bytes.
26 bool GetRandomBytes(char* buffer, uint32_t num_bytes);
/external/chromium_org/ppapi/tests/
H A Dtest_memory.cc32 char* buffer = static_cast<char*>( local
35 buffer[0] = '1';
36 buffer[kTestBufferSize - 1] = '1';
37 memory_dev_interface_->MemFree(buffer);
/external/chromium_org/remoting/client/plugin/
H A Dpepper_view.cc33 explicit PepperDesktopFrame(const pp::ImageData& buffer);
36 const pp::ImageData& buffer() const { function in class:__anon10377::PepperDesktopFrame
44 PepperDesktopFrame::PepperDesktopFrame(const pp::ImageData& buffer) argument
45 : DesktopFrame(webrtc::DesktopSize(buffer.size().width(),
46 buffer.size().height()),
47 buffer.stride(),
48 reinterpret_cast<uint8_t*>(buffer.data()),
50 buffer_(buffer) {}
94 webrtc::DesktopFrame* buffer = AllocateBuffer(); local
95 while (buffer) {
169 ApplyBuffer(const webrtc::DesktopSize& view_size, const webrtc::DesktopRect& clip_area, webrtc::DesktopFrame* buffer, const webrtc::DesktopRegion& region, const webrtc::DesktopRegion& shape) argument
194 ReturnBuffer(webrtc::DesktopFrame* buffer) argument
244 webrtc::DesktopFrame* buffer = new PepperDesktopFrame(buffer_data); local
249 FreeBuffer(webrtc::DesktopFrame* buffer) argument
256 FlushBuffer(const webrtc::DesktopRect& clip_area, webrtc::DesktopFrame* buffer, const webrtc::DesktopRegion& region) argument
315 OnFlushDone(int result, const base::Time& paint_start, webrtc::DesktopFrame* buffer) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebData.cpp67 WebData::WebData(const PassRefPtr<SharedBuffer>& buffer) argument
68 : m_private(buffer)
72 WebData& WebData::operator=(const PassRefPtr<SharedBuffer>& buffer) argument
74 m_private = buffer;
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
H A Dfixed-dtoa.h39 // The buffer must be big enough to hold the result plus one terminating null
44 // Example: FastFixedDtoa(0.001, 5, ...) is allowed to return buffer = "1", and
47 // FastFixedDtoa(0.15, 2, ...) thus returns buffer = "2", decimal_point = 0.
48 // The returned buffer may contain digits that would be truncated from the
54 Vector<char> buffer, int* length, int* decimal_point);
/external/chromium_org/third_party/icu/source/tools/genrb/
H A Drbutil.c66 itostr(char * buffer, int32_t i, uint32_t radix, int32_t pad) argument
83 buffer[length++]= digits[digit];
88 buffer[length++] = '0';/*zero padding */
93 buffer[length++]='-';
96 /* null terminate the buffer */
98 buffer[length] = 0x0000;
106 temp = buffer[(length-1) - j];
107 buffer[(length-1) - j] = buffer[j];
108 buffer[
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_state_vdecl.c66 * 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/chromium_org/third_party/skia/src/core/
H A DSkImageInfo.cpp20 void SkImageInfo::unflatten(SkReadBuffer& buffer) { argument
21 fWidth = buffer.read32();
22 fHeight = buffer.read32();
24 uint32_t packed = buffer.read32();
28 buffer.validate(alpha_type_is_valid(fAlphaType) &&
32 void SkImageInfo::flatten(SkWriteBuffer& buffer) const {
33 buffer.write32(fWidth);
34 buffer.write32(fHeight);
39 buffer.write32(packed);
/external/chromium_org/third_party/skia/tools/
H A DLazyDecodeBitmap.h20 bool LazyDecodeBitmap(const void* buffer, size_t size, SkBitmap* bitmap);
/external/chromium_org/v8/src/
H A Ddtoa.cc34 Vector<char> buffer, int* sign, int* length, int* point) {
46 buffer[0] = '0';
47 buffer[1] = '\0';
54 buffer[0] = '\0';
62 fast_worked = FastDtoa(v, FAST_DTOA_SHORTEST, 0, buffer, length, point);
65 fast_worked = FastFixedDtoa(v, requested_digits, buffer, length, point);
69 buffer, length, point);
79 BignumDtoa(v, bignum_mode, requested_digits, buffer, length, point);
80 buffer[*length] = '\0';
33 DoubleToAscii(double v, DtoaMode mode, int requested_digits, Vector<char> buffer, int* sign, int* length, int* point) argument
H A Dfixed-dtoa.h13 // The buffer must be big enough to hold the result plus one terminating null
18 // Example: FastFixedDtoa(0.001, 5, ...) is allowed to return buffer = "1", and
21 // FastFixedDtoa(0.15, 2, ...) thus returns buffer = "2", decimal_point = 0.
22 // The returned buffer may contain digits that would be truncated from the
28 Vector<char> buffer, int* length, int* decimal_point);
/external/easymock/src/org/easymock/internal/matchers/
H A DSame.java37 public void appendTo(StringBuffer buffer) { argument
38 buffer.append("same(");
39 ArgumentToString.appendArgument(expected, buffer);
40 buffer.append(")");
/external/fio/crc/
H A Dcrc16.h20 extern unsigned short fio_crc16(const void *buffer, unsigned int len);
H A Dcrc7.h11 extern unsigned char fio_crc7(const unsigned char *buffer, unsigned int len);
/external/fio/
H A Dfifo.c36 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/icu/icu4c/source/tools/genrb/
H A Drbutil.c66 itostr(char * buffer, int32_t i, uint32_t radix, int32_t pad) argument
83 buffer[length++]= digits[digit];
88 buffer[length++] = '0';/*zero padding */
93 buffer[length++]='-';
96 /* null terminate the buffer */
98 buffer[length] = 0x0000;
106 temp = buffer[(length-1) - j];
107 buffer[(length-1) - j] = buffer[j];
108 buffer[
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/output/
H A DOutputBufferProvider.java20 * 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 DJavascriptTokenBuffer.java24 * 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/linux-tools-perf/perf-3.12.0/tools/perf/arch/powerpc/util/
H A Dheader.c21 get_cpuid(char *buffer, size_t sz) argument
28 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr));
31 if (strchr(buffer, '$')) {
32 buffer[nb-1] = '\0';

Completed in 465 milliseconds

<<11121314151617181920>>