/external/sfntly/cpp/src/sfntly/port/ |
H A D | output_stream.h | 32 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 D | SkDropShadowImageFilter.cpp | 26 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 D | SkDebug_win.cpp | 20 char buffer[kBufferSize + 1]; local 28 vsnprintf(buffer, kBufferSize, format, args); 31 OutputDebugStringA(buffer);
|
/external/skia/src/utils/ |
H A D | SkMD5.h | 25 * 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 D | SkSHA1.h | 25 * 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 D | fixed-dtoa.cc | 126 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 D | Wire.java | 55 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 D | HeaderValueFormatter.java | 47 * 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 D | HeaderValueParser.java | 83 * @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 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, 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 D | websocket_frame_handler.cc | 24 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 D | bluetooth_socket_chromeos.cc | 50 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 D | ppb_crypto_dev.h | 29 * 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 D | crypto_dev.h | 20 /// 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 D | test_memory.cc | 33 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 D | V8CryptoCustom.cpp | 48 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 D | Stream.cpp | 54 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 D | fixed-dtoa.h | 39 // 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 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/chromium_org/v8/src/ |
H A D | fixed-dtoa.h | 36 // 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 D | Same.java | 37 public void appendTo(StringBuffer buffer) {
argument 38 buffer.append("same(");
39 ArgumentToString.appendArgument(expected, buffer);
40 buffer.append(")");
|
/external/harfbuzz/contrib/ |
H A D | harfbuzz-freetype.h | 7 HB_Byte *buffer, HB_UInt *len);
|
/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/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...] |