HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 101 - 125 of 3205) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/webkit/WebCore/html/canvas/
WebGLUnsignedByteArray.cpp 38 RefPtr<WebGLArrayBuffer> buffer = WebGLArrayBuffer::create(length * sizeof(unsigned char)); local
39 return create(buffer, 0, length);
50 PassRefPtr<WebGLUnsignedByteArray> WebGLUnsignedByteArray::create(PassRefPtr<WebGLArrayBuffer> buffer,
54 if (buffer) {
57 if ((byteOffset + (length * sizeof(unsigned char))) > buffer->byteLength())
61 return adoptRef(new WebGLUnsignedByteArray(buffer, byteOffset, length));
64 WebGLUnsignedByteArray::WebGLUnsignedByteArray(PassRefPtr<WebGLArrayBuffer> buffer, int byteOffset, unsigned length)
65 : WebGLArray(buffer, byteOffset)
83 unsigned bufferLength = buffer()->byteLength();
86 return create(buffer(), startByte, length)
    [all...]
WebGLUnsignedIntArray.cpp 38 RefPtr<WebGLArrayBuffer> buffer = WebGLArrayBuffer::create(length * sizeof(unsigned int)); local
39 return create(buffer, 0, length);
50 PassRefPtr<WebGLUnsignedIntArray> WebGLUnsignedIntArray::create(PassRefPtr<WebGLArrayBuffer> buffer,
59 if (buffer) {
62 if ((byteOffset + (length * sizeof(unsigned int))) > buffer->byteLength())
66 return adoptRef(new WebGLUnsignedIntArray(buffer, byteOffset, length));
69 WebGLUnsignedIntArray::WebGLUnsignedIntArray(PassRefPtr<WebGLArrayBuffer> buffer, int byteOffset, unsigned length)
70 : WebGLArray(buffer, byteOffset)
88 unsigned bufferLength = buffer()->byteLength();
91 return create(buffer(), startByte, length)
    [all...]
WebGLUnsignedShortArray.cpp 38 RefPtr<WebGLArrayBuffer> buffer = WebGLArrayBuffer::create(length * sizeof(unsigned short)); local
39 return create(buffer, 0, length);
50 PassRefPtr<WebGLUnsignedShortArray> WebGLUnsignedShortArray::create(PassRefPtr<WebGLArrayBuffer> buffer,
59 if (buffer) {
62 if ((byteOffset + (length * sizeof(unsigned short))) > buffer->byteLength())
66 return adoptRef(new WebGLUnsignedShortArray(buffer, byteOffset, length));
69 WebGLUnsignedShortArray::WebGLUnsignedShortArray(PassRefPtr<WebGLArrayBuffer> buffer,
72 : WebGLArray(buffer, byteOffset)
90 unsigned bufferLength = buffer()->byteLength();
93 return create(buffer(), startByte, length)
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xml/dom/
CharacterDataImpl.java 35 protected StringBuffer buffer; field in class:CharacterDataImpl
43 buffer.append(arg);
47 buffer.delete(offset, offset + count);
51 return buffer.toString();
58 stringBuilder.append(buffer);
62 return buffer.length();
72 buffer.insert(offset, arg);
81 buffer.replace(offset, offset + count, arg);
88 buffer = new StringBuffer(data);
93 return buffer.substring(offset, offset + count)
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
HandshakeIODataStream.java 55 * or incompleate filling of destination buffer)
82 // buffer is used to keep the handshaking data;
85 private byte[] buffer = new byte[buff_size]; field in class:HandshakeIODataStream
123 * to delete one message from the internal buffer.
126 System.arraycopy(buffer, read_pos,
127 buffer, marked_pos, read_pos_end - read_pos);
143 return buffer[read_pos++] & 0xFF;
157 System.arraycopy(buffer, read_pos, res, 0, length);
167 System.arraycopy(buffer, read_pos, dst, offset, length);
176 * The attempts to overflow the buffer by means of this method
    [all...]
  /system/core/nexus/
Property.h 44 virtual int get(int idx, char *buffer, size_t max) = 0;
45 virtual int get(int idx, int *buffer) = 0;
46 virtual int get(int idx, struct in_addr *buffer) = 0;
63 virtual int get(int idx, char *buffer, size_t max) = 0;
64 int get(int idx, int *buffer);
65 int get(int idx, struct in_addr *buffer);
73 char *buffer, size_t max);
75 int get(int idx, char *buffer, size_t max);
87 int get(int idx, char *buffer, size_t max);
88 virtual int get(int idx, int *buffer) = 0
    [all...]
DhcpListener.cpp 41 char buffer[255]; local
44 if ((rc = read(cli->getSocket(), buffer, sizeof(buffer))) < 0) {
49 if (!strncmp(buffer, "STATE:", 6)) {
50 char *next = buffer;
56 LOGW("Error parsing state '%s'", buffer);
63 } else if (!strncmp(buffer, "ADDRINFO:", 9)) {
64 char *next = buffer + 9;
88 } else if (!strncmp(buffer, "EVENT:", 6)) {
89 char *next = buffer;
    [all...]
  /external/apache-http/src/org/apache/http/message/
BasicHeaderValueParser.java 105 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local
106 buffer.append(value);
108 return parser.parseElements(buffer, cursor);
113 public HeaderElement[] parseElements(final CharArrayBuffer buffer,
116 if (buffer == null) {
117 throw new IllegalArgumentException("Char array buffer may not be null");
125 HeaderElement element = parseHeaderElement(buffer, cursor);
156 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local
157 buffer.append(value);
159 return parser.parseHeaderElement(buffer, cursor)
221 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local
291 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local
    [all...]
BasicHeaderValueFormatter.java 107 public CharArrayBuffer formatElements(CharArrayBuffer buffer,
116 if (buffer == null) {
117 buffer = new CharArrayBuffer(len);
119 buffer.ensureCapacity(len);
124 buffer.append(", ");
126 formatHeaderElement(buffer, elems[i], quote);
129 return buffer;
176 public CharArrayBuffer formatHeaderElement(CharArrayBuffer buffer,
185 if (buffer == null) {
186 buffer = new CharArrayBuffer(len)
    [all...]
  /cts/tools/dex-tools/src/dex/reader/
DexAnnotationAttributeImpl.java 29 private DexBuffer buffer; field in class:DexAnnotationAttributeImpl
34 public DexAnnotationAttributeImpl(DexBuffer buffer,
37 this.buffer = buffer;
46 nameIdx = buffer.readUleb128();
47 value = new DexEncodedValueImpl(buffer, annotation, typeIds,
  /external/apache-http/src/org/apache/http/impl/
DefaultHttpClientConnection.java 76 StringBuffer buffer = new StringBuffer(); local
77 buffer.append("[");
79 buffer.append(getRemotePort());
81 buffer.append("closed");
83 buffer.append("]");
84 return buffer.toString();
DefaultHttpServerConnection.java 74 StringBuffer buffer = new StringBuffer(); local
75 buffer.append("[");
77 buffer.append(getRemotePort());
79 buffer.append("closed");
81 buffer.append("]");
82 return buffer.toString();
  /external/dropbear/
dss.h 29 #include "buffer.h"
47 void buf_put_dss_sign(buffer* buf, dss_key *key, const unsigned char* data,
50 int buf_dss_verify(buffer* buf, dss_key *key, const unsigned char* data,
53 int buf_get_dss_pub_key(buffer* buf, dss_key *key);
54 int buf_get_dss_priv_key(buffer* buf, dss_key *key);
55 void buf_put_dss_pub_key(buffer* buf, dss_key *key);
56 void buf_put_dss_priv_key(buffer* buf, dss_key *key);
  /external/nist-sip/java/gov/nist/javax/sip/header/
ExtensionHeaderImpl.java 94 StringBuffer buffer = new StringBuffer(encodedHdr); local
95 while (buffer.length() > 0 && buffer.charAt(0) != ':') {
96 buffer.deleteCharAt(0);
98 buffer.deleteCharAt(0);
99 this.value = buffer.toString().trim();
  /frameworks/base/include/ui/
GraphicLog.h 28 static void logImpl(int32_t tag, int32_t buffer);
29 static void logImpl(int32_t tag, int32_t identity, int32_t buffer);
53 inline void log(int32_t tag, int32_t buffer) {
55 logImpl(tag, buffer);
57 inline void log(int32_t tag, int32_t identity, int32_t buffer) {
59 logImpl(tag, identity, buffer);
  /libcore/luni/src/main/java/libcore/base/
Streams.java 38 * <p>This method reuses the skip buffer but is careful to never use it at
40 * the caller's buffer for consistency checks like CRC could be clobbered by
41 * other threads. A thread-local buffer is also insufficient because some
43 * buffer.
46 // acquire the shared skip buffer.
47 byte[] buffer = skipBuffer.getAndSet(null);
48 if (buffer == null) {
49 buffer = new byte[4096];
54 int toRead = (int) Math.min(byteCount - skipped, buffer.length);
55 int read = in.read(buffer, 0, toRead)
    [all...]
  /system/vold/tests/
VolumeManager_test.cpp 38 char buffer[MD5_ASCII_LENGTH_PLUS_NULL]; local
39 char* dst = reinterpret_cast<char*>(&buffer);
44 EXPECT_TRUE(VolumeManager::asecHash(exp1, (char*)NULL, sizeof(buffer)) == NULL && errno == ESPIPE)
45 << "Should return NULL and set errno to ESPIPE when destination buffer is NULL";
47 << "Should return NULL and set errno to ESPIPE when destination buffer length is 0";
48 EXPECT_TRUE(VolumeManager::asecHash((const char*)NULL, dst, sizeof(buffer)) == NULL && errno == ESPIPE)
49 << "Should return NULL and set errno to ESPIPE when source buffer is NULL";
51 EXPECT_FALSE(VolumeManager::asecHash(src1, dst, sizeof(buffer)) == NULL)
58 EXPECT_FALSE(VolumeManager::asecHash(src2, dst, sizeof(buffer)) == NULL)
  /external/apache-http/src/org/apache/http/impl/auth/
AuthSchemeBase.java 84 CharArrayBuffer buffer; local
87 buffer = ((FormattedHeader) header).getBuffer();
94 buffer = new CharArrayBuffer(s.length());
95 buffer.append(s);
98 while (pos < buffer.length() && HTTP.isWhitespace(buffer.charAt(pos))) {
102 while (pos < buffer.length() && !HTTP.isWhitespace(buffer.charAt(pos))) {
106 String s = buffer.substring(beginIndex, endIndex);
111 parseChallenge(buffer, pos, buffer.length())
    [all...]
  /external/protobuf/gtest/xcode/Samples/FrameworkSample/
widget.cc 58 void Widget::GetCharPtrValue(char* buffer, size_t max_size) const {
59 // Copy the char* representation of name_ into buffer, up to max_size.
60 strncpy(buffer, name_.c_str(), max_size-1);
61 buffer[max_size-1] = '\0';
widget_test.cc 58 char buffer[max_size]; local
59 widget.GetCharPtrValue(buffer, max_size);
60 EXPECT_STREQ("name", buffer);
  /external/skia/include/core/
SkMallocPixelRef.h 27 /** Allocate the specified buffer for pixels. The memory is freed when the
41 static SkPixelRef* Create(SkFlattenableReadBuffer& buffer) {
42 return SkNEW_ARGS(SkMallocPixelRef, (buffer));
50 SkMallocPixelRef(SkFlattenableReadBuffer& buffer);
  /external/webkit/WebCore/platform/cf/
FileSystemCF.cpp 46 char* buffer; local
47 CString string = CString::newUninitialized(size, buffer);
49 if (!CFStringGetFileSystemRepresentation(cfString.get(), buffer, size)) {
  /frameworks/base/include/media/stagefright/
MediaBufferGroup.h 35 void add_buffer(MediaBuffer *buffer);
37 // Blocks until a buffer is available and returns it to the caller,
38 // the returned buffer will have a reference count of 1.
39 status_t acquire_buffer(MediaBuffer **buffer);
42 virtual void signalBufferReturned(MediaBuffer *buffer);
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
DistributionPoint.java 93 public void dumpValue(StringBuffer buffer, String prefix) {
94 buffer.append(prefix);
95 buffer.append("Distribution Point: [\n");
97 distributionPoint.dumpValue(buffer, prefix + " ");
100 reasons.dumpValue(buffer, prefix + " ");
103 buffer.append(prefix);
104 buffer.append(" CRL Issuer: [\n");
105 cRLIssuer.dumpValue(buffer, prefix + " ");
106 buffer.append(prefix);
107 buffer.append(" ]\n")
    [all...]
  /bionic/linker/
linker_format.h 39 int format_buffer(char *buffer, size_t bufsize, const char *format, ...);

Completed in 375 milliseconds

1 2 3 45 6 7 8 91011>>