Searched refs:buffer (Results 226 - 250 of 6560) sorted by relevance

1234567891011>>

/external/sfntly/cpp/src/sfntly/port/
H A Doutput_stream.h32 virtual void Write(ByteVector* buffer) = 0;
38 virtual void Write(ByteVector* buffer, int32_t offset, int32_t length) = 0;
40 // Note: Caller is responsible for the boundary of buffer.
41 virtual void Write(byte_t* buffer, int32_t offset, int32_t length) = 0;
/external/skia/src/effects/
H A DSkDropShadowImageFilter.cpp26 SkDropShadowImageFilter::SkDropShadowImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) argument
28 fDx = buffer.readScalar();
29 fDy = buffer.readScalar();
30 fSigma = buffer.readScalar();
31 fColor = buffer.readColor();
34 void SkDropShadowImageFilter::flatten(SkFlattenableWriteBuffer& buffer) const
36 this->INHERITED::flatten(buffer);
37 buffer.writeScalar(fDx);
38 buffer
[all...]
/external/skia/src/ports/
H A DSkDebug_win.cpp20 char buffer[kBufferSize + 1]; local
28 vsnprintf(buffer, kBufferSize, format, args);
31 OutputDebugStringA(buffer);
/external/skia/src/utils/
H A DSkMD5.h25 * Note that this treats the buffer as a series of uint8_t values.
27 virtual bool write(const void* buffer, size_t size) SK_OVERRIDE {
28 update(reinterpret_cast<const uint8_t*>(buffer), size);
49 // input buffer
50 uint8_t buffer[64]; member in class:SkMD5
H A DSkSHA1.h25 * Note that this treats the buffer as a series of uint8_t values.
27 virtual bool write(const void* buffer, size_t size) SK_OVERRIDE {
28 update(reinterpret_cast<const uint8_t*>(buffer), size);
49 // input buffer
50 uint8_t buffer[64]; member in class:SkSHA1
/external/v8/src/
H A Dfixed-dtoa.cc126 Vector<char> buffer, int* length) {
128 buffer[(*length) + i] = '0' + number % 10;
135 static void FillDigits32(uint32_t number, Vector<char> buffer, int* length) { argument
141 buffer[(*length) + number_length] = '0' + digit;
148 char tmp = buffer[i];
149 buffer[i] = buffer[j];
150 buffer[j] = tmp;
159 Vector<char> buffer, int* length) {
167 FillDigits32FixedLength(part0, 3, buffer, lengt
125 FillDigits32FixedLength(uint32_t number, int requested_length, Vector<char> buffer, int* length) argument
158 FillDigits64FixedLength(uint64_t number, int requested_length, Vector<char> buffer, int* length) argument
173 FillDigits64(uint64_t number, Vector<char> buffer, int* length) argument
194 RoundUp(Vector<char> buffer, int* length, int* decimal_point) argument
235 FillFractionals(uint64_t fractionals, int exponent, int fractional_count, Vector<char> buffer, int* length, int* decimal_point) argument
294 TrimZeros(Vector<char> buffer, int* length, int* decimal_point) argument
312 FastFixedDtoa(double v, int fractional_count, Vector<char> buffer, int* length, int* decimal_point) argument
380 FillDigits32(static_cast<uint32_t>(integrals), buffer, length); local
[all...]
/external/apache-http/src/org/apache/http/impl/conn/
H A DWire.java55 StringBuilder buffer = new StringBuilder();
59 buffer.append("[\\r]");
61 buffer.append("[\\n]\"");
62 buffer.insert(0, "\"");
63 buffer.insert(0, header);
64 log.debug(buffer.toString());
65 buffer.setLength(0);
67 buffer.append("[0x");
68 buffer.append(Integer.toHexString(ch));
69 buffer
[all...]
/external/apache-http/src/org/apache/http/message/
H A DHeaderValueFormatter.java47 * All formatting methods accept an optional buffer argument.
48 * If a buffer is passed in, the formatted element will be appended
49 * and the modified buffer is returned. If no buffer is passed in,
50 * a new buffer will be created and filled with the formatted element.
51 * In both cases, the caller is allowed to modify the returned buffer.
65 * @param buffer the buffer to append to, or
66 * <code>null</code> to create a new buffer
71 * @return a buffer wit
75 formatElements(CharArrayBuffer buffer, HeaderElement[] elems, boolean quote) argument
94 formatHeaderElement(CharArrayBuffer buffer, HeaderElement elem, boolean quote) argument
116 formatParameters(CharArrayBuffer buffer, NameValuePair[] nvps, boolean quote) argument
135 formatNameValuePair(CharArrayBuffer buffer, NameValuePair nvp, boolean quote) argument
[all...]
H A DHeaderValueParser.java83 * @param buffer buffer holding the header value to parse
85 * the bounds within the buffer for the parsing operation
92 CharArrayBuffer buffer,
100 * @param buffer buffer holding the element to parse
102 * the bounds within the buffer for the parsing operation
109 CharArrayBuffer buffer,
186 * @param buffer buffer holdin
91 parseElements( CharArrayBuffer buffer, ParserCursor cursor) argument
108 parseHeaderElement( CharArrayBuffer buffer, ParserCursor cursor) argument
194 parseParameters( CharArrayBuffer buffer, ParserCursor cursor) argument
209 parseNameValuePair( CharArrayBuffer buffer, ParserCursor cursor) argument
[all...]
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,
79 * <code>buffer</code> arguments.
80 * It does <i>not</i> clear the argument buffer, but appends instead.
81 * The returned buffer can always be modified by the caller.
85 * @param buffer
93 appendProtocolVersion(CharArrayBuffer buffer, ProtocolVersion version) argument
108 formatRequestLine(CharArrayBuffer buffer, RequestLine reqline) argument
125 formatStatusLine(CharArrayBuffer buffer, StatusLine statline) argument
149 formatHeader(CharArrayBuffer buffer, Header header) argument
[all...]
/external/chromium/net/websockets/
H A Dwebsocket_frame_handler.cc24 scoped_refptr<IOBufferWithSize> buffer = new IOBufferWithSize(length); local
25 memcpy(buffer->data(), data, length);
26 pending_buffers_.push_back(buffer);
37 scoped_refptr<IOBufferWithSize> buffer = pending_buffers_.front();
43 ParseWebSocketFrame(buffer->data(), buffer->size(), &frame_info);
51 original_current_buffer_size_ = buffer->size();
52 buffer_size = buffer->size();
55 current_buffer_ = buffer;
74 scoped_refptr<IOBufferWithSize> buffer local
88 ParseWebSocketFrame( const char* buffer, int size, std::vector<FrameInfo>* frame_info) argument
[all...]
/external/chromium_org/device/bluetooth/
H A Dbluetooth_socket_chromeos.cc50 bool BluetoothSocketChromeOS::Receive(net::GrowableIOBuffer *buffer) { argument
88 buffer->SetCapacity(count);
90 buffer->SetCapacity(1024);
95 if (buffer->RemainingCapacity() == 0)
96 buffer->SetCapacity(buffer->capacity() * 2);
98 HANDLE_EINTR(read(fd_, buffer->data(), buffer->RemainingCapacity()));
100 buffer->set_offset(buffer
128 Send(net::DrainableIOBuffer *buffer) argument
[all...]
/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.cc33 char* buffer = static_cast<char*>( local
36 buffer[0] = '1';
37 buffer[kTestBufferSize - 1] = '1';
38 memory_dev_interface_->MemFree(buffer);
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
H A DV8CryptoCustom.cpp48 v8::Handle<v8::Value> buffer = args[0]; local
49 if (!V8ArrayBufferView::HasInstance(buffer, args.GetIsolate(), worldType(args.GetIsolate()))) {
54 ArrayBufferView* arrayBufferView = V8ArrayBufferView::toNative(v8::Handle<v8::Object>::Cast(buffer));
63 v8SetReturnValue(args, buffer);
/external/chromium_org/third_party/WebKit/Source/core/fileapi/
H A DStream.cpp54 RefPtr<RawData> buffer(RawData::create());
55 buffer->mutableData()->resize(len);
56 memcpy(buffer->mutableData()->data(), data, len);
57 BlobRegistry::addDataToStream(m_internalURL, 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/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/v8/src/
H A Dfixed-dtoa.h36 // The buffer must be big enough to hold the result plus one terminating null
41 // Example: FastFixedDtoa(0.001, 5, ...) is allowed to return buffer = "1", and
44 // FastFixedDtoa(0.15, 2, ...) thus returns buffer = "2", decimal_point = 0.
45 // The returned buffer may contain digits that would be truncated from the
51 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/harfbuzz/contrib/
H A Dharfbuzz-freetype.h7 HB_Byte *buffer, HB_UInt *len);
/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/mdnsresponder/mDNSShared/
H A Ddnssd_ipc.c35 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...]

Completed in 703 milliseconds

1234567891011>>