/external/webkit/WebCore/platform/graphics/gtk/ |
VideoSinkGStreamer.cpp | 26 * current video buffer. 61 GstBuffer* buffer; member in struct:_WebKitVideoSinkPrivate 73 // Protected by the buffer mutex 115 GstBuffer* buffer; local 118 buffer = priv->buffer; 119 priv->buffer = 0; 122 if (!buffer || priv->unlocked || G_UNLIKELY(!GST_IS_BUFFER(buffer))) { 128 g_signal_emit(sink, webkit_video_sink_signals[REPAINT_REQUESTED], 0, buffer); [all...] |
/external/nist-sip/java/gov/nist/core/ |
NameValue.java | 162 public StringBuffer encode(StringBuffer buffer) { 166 buffer.append(name).append(separator).append(quotes); 167 gv.encode(buffer); 168 buffer.append(quotes); 169 return buffer; 172 buffer.append(name).append(separator).append(gvlist.encode()); 173 return buffer; 181 buffer.append(name).append(separator).append(quotes).append(quotes); 182 return buffer; 184 buffer.append(name).append(separator); // JvB: fix, case: "sip:host?subject= [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
HandleNativeHeap.java | 131 ByteBuffer buffer = ByteBuffer.wrap(copy); local 132 buffer.order(ByteOrder.LITTLE_ENDIAN); 143 int mapSize = buffer.getInt(); 144 int allocSize = buffer.getInt(); 145 int allocInfoSize = buffer.getInt(); 146 int totalMemory = buffer.getInt(); 147 int backtraceSize = buffer.getInt(); 162 buffer.get(maps, 0, mapSize); 170 buffer.getInt() /* size */, 171 buffer.getInt() /* allocations */) 202 ByteBuffer buffer = ByteBuffer.wrap(copy); local [all...] |
/external/protobuf/src/google/protobuf/io/ |
coded_stream.h | 43 // buffer library in order to encode and decode protocol buffers. Clients 82 // coded_input->ReadRaw(buffer, size); 151 explicit CodedInputStream(const uint8* buffer, int size); 166 // underlying buffer, and *size to the size of that buffer, but does not 168 // a non-empty buffer or return false. If the caller consumes any of 175 // attempt to Refresh() if the buffer is currently empty. 179 // Read raw bytes, copying them into the given buffer. 180 bool ReadRaw(void* buffer, int size); 189 bool ReadString(string* buffer, int size) [all...] |
/build/tools/ |
java-event-log-tags.py | 90 buffer = cStringIO.StringIO() variable 91 buffer.write("/* This file is auto-generated. DO NOT MODIFY.\n" 95 buffer.write("package %s;\n\n" % (tagfile.options["java_package"][0],)) 100 buffer.write("/**\n" 103 buffer.write("public class %s {\n" % (basename,)) 104 buffer.write(" private %s() { } // don't instantiate\n" % (basename,)) 108 buffer.write("\n /** %d %s %s */\n" % (t.tagnum, t.tagname, t.description)) 110 buffer.write("\n /** %d %s */\n" % (t.tagnum, t.tagname)) 112 buffer.write(" public static final int %s = %d;\n" % 140 buffer.write("\n public static void %s(%s) {" % (methodName, argTypesNames) [all...] |
/external/e2fsprogs/lib/ss/ |
help.c | 44 char *buffer; local 62 buffer = malloc(80+2*strlen(request_name)); 63 if (!buffer) { 68 sprintf(buffer, "usage:\n\t%s [topic|command]\nor\t%s\n", 70 ss_perror(sci_idx, 0, buffer); 71 free(buffer); 84 buffer = malloc(strlen (info->info_dirs[idx]) + 1 + 86 if (!buffer) { 91 (void) strcpy(buffer, info->info_dirs[idx]); 92 (void) strcat(buffer, "/"); [all...] |
/external/quake/quake/src/WinQuake/ |
net_loop.cpp | 156 byte *buffer; local 167 buffer = ((qsocket_t *)sock->driverdata)->receiveMessage + *bufferLength; 170 *buffer++ = 1; 173 *buffer++ = data->cursize & 0xff; 174 *buffer++ = data->cursize >> 8; 177 buffer++; 180 Q_memcpy(buffer, data->data, data->cursize); 190 byte *buffer; local 201 buffer = ((qsocket_t *)sock->driverdata)->receiveMessage + *bufferLength; 204 *buffer++ = 2 [all...] |
/external/skia/include/core/ |
SkStream.h | 35 If buffer is NULL and size > 0, skip that many bytes, returning how many were skipped. 36 If buffer is NULL and size == 0, return the total length of the stream. 37 If buffer != NULL, copy the requested number of bytes into buffer, returning how many were copied. 38 @param buffer If buffer is NULL, ignore and just skip size bytes, otherwise copy size bytes into buffer 42 virtual size_t read(void* buffer, size_t size) = 0; 78 @param buffer the address of at least size bytes to be written to the stream 79 @param size The number of bytes in buffer to write to the strea [all...] |
/external/skia/src/images/ |
SkImageRef.cpp | 171 SkImageRef::SkImageRef(SkFlattenableReadBuffer& buffer) 172 : INHERITED(buffer, &gImageRefMutex), fErrorInDecoding(false) { 173 fConfig = (SkBitmap::Config)buffer.readU8(); 174 fSampleSize = buffer.readU8(); 175 fDoDither = buffer.readBool(); 177 size_t length = buffer.readU32(); 179 buffer.read((void*)fStream->getMemoryBase(), length); 185 void SkImageRef::flatten(SkFlattenableWriteBuffer& buffer) const { 186 this->INHERITED::flatten(buffer); 188 buffer.write8(fConfig) [all...] |
/external/webkit/WebKitTools/DumpRenderTree/qt/ |
ImageDiff.cpp | 40 char buffer[2048]; local 44 while (fgets(buffer, sizeof(buffer), stdin)) { 46 char* newLineCharacter = strchr(buffer, '\n'); 50 if (!strncmp("Content-Length: ", buffer, 16)) { 51 strtok(buffer, " "); 57 unsigned char buffer[2048]; local 64 size_t bytesRead = fread(buffer, 1, bytesToRead, stdin); 65 data.write(reinterpret_cast<const char*>(buffer), bytesRead); 128 QBuffer buffer; local [all...] |
/external/apache-http/src/org/apache/http/ |
ProtocolVersion.java | 274 CharArrayBuffer buffer = new CharArrayBuffer(16); local 275 buffer.append(this.protocol); 276 buffer.append('/'); 277 buffer.append(Integer.toString(this.major)); 278 buffer.append('.'); 279 buffer.append(Integer.toString(this.minor)); 280 return buffer.toString();
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
From.java | 80 protected StringBuffer encodeBody(StringBuffer buffer) { 82 buffer.append(LESS_THAN); 84 address.encode(buffer); 86 buffer.append(GREATER_THAN); 89 buffer.append(SEMICOLON); 90 parameters.encode(buffer); 92 return buffer;
|
To.java | 93 protected StringBuffer encodeBody(StringBuffer buffer) { 96 buffer.append(LESS_THAN); 98 address.encode(buffer); 100 buffer.append(GREATER_THAN); 104 buffer.append(SEMICOLON); 105 parameters.encode(buffer); 108 return buffer;
|
/external/webkit/JavaScriptCore/API/ |
JSStringRef.cpp | 47 Vector<UChar, 1024> buffer(length); 48 UChar* p = buffer.data(); 50 return OpaqueJSString::create(buffer.data(), p - buffer.data()).releaseRef(); 84 size_t JSStringGetUTF8CString(JSStringRef string, char* buffer, size_t bufferSize) 89 char* p = buffer; 96 return p - buffer;
|
/frameworks/base/cmds/stagefright/ |
SineSource.cpp | 64 MediaBuffer *buffer; local 65 status_t err = mGroup->acquire_buffer(&buffer); 72 size_t numFramesPerBuffer = buffer->size() / frameSize; 74 int16_t *ptr = (int16_t *)buffer->data(); 90 buffer->meta_data()->setInt64( 95 buffer->set_range(0, numFramesPerBuffer * frameSize); 97 *out = buffer;
|
/frameworks/base/core/java/android/util/ |
Base64OutputStream.java | 31 private byte[] buffer = null; field in class:Base64OutputStream 72 // bytes, we buffer up calls to write(int) in an internal 76 if (buffer == null) { 77 buffer = new byte[1024]; 79 if (bpos >= buffer.length) { 80 // internal buffer full; write it out. 81 internalWrite(buffer, 0, bpos, false); 84 buffer[bpos++] = (byte) b; 93 internalWrite(buffer, 0, bpos, false);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
CertificatePolicies.java | 123 public void dumpValue(StringBuffer buffer, String prefix) { 124 buffer.append(prefix).append("CertificatePolicies [\n"); 126 buffer.append(prefix); 127 buffer.append(" "); 128 ((PolicyInformation) it.next()).dumpValue(buffer); 129 buffer.append('\n'); 131 buffer.append(prefix).append("]\n");
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
SSLSocketInputStream.java | 32 // The size of the internal data buffer. 37 // Internal buffer accumulating the received application data 38 private byte[] buffer = new byte[size]; field in class:SSLSocketInputStream 40 // position of the next byte to read from the buffer 91 buffer = null; 95 * Reads one byte. If there is no data in the underlying buffer, 103 if (buffer == null) { 110 // If there is no data in the buffer 115 return buffer[pos++] & 0xFF; 175 // If the size of the buffer is greater than or equals t [all...] |
/packages/apps/Email/src/org/apache/commons/io/filefilter/ |
AndFileFilter.java | 151 StringBuffer buffer = new StringBuffer();
local 152 buffer.append(super.toString());
153 buffer.append("(");
157 buffer.append(",");
160 buffer.append(filter == null ? "null" : filter.toString());
163 buffer.append(")");
164 return buffer.toString();
|
NameFileFilter.java | 176 StringBuffer buffer = new StringBuffer();
local 177 buffer.append(super.toString());
178 buffer.append("(");
182 buffer.append(",");
184 buffer.append(names[i]);
187 buffer.append(")");
188 return buffer.toString();
|
OrFileFilter.java | 145 StringBuffer buffer = new StringBuffer();
local 146 buffer.append(super.toString());
147 buffer.append("(");
151 buffer.append(",");
154 buffer.append(filter == null ? "null" : filter.toString());
157 buffer.append(")");
158 return buffer.toString();
|
PrefixFileFilter.java | 182 StringBuffer buffer = new StringBuffer();
local 183 buffer.append(super.toString());
184 buffer.append("(");
188 buffer.append(",");
190 buffer.append(prefixes[i]);
193 buffer.append(")");
194 return buffer.toString();
|
SuffixFileFilter.java | 183 StringBuffer buffer = new StringBuffer();
local 184 buffer.append(super.toString());
185 buffer.append("(");
189 buffer.append(",");
191 buffer.append(suffixes[i]);
194 buffer.append(")");
195 return buffer.toString();
|
WildcardFileFilter.java | 181 StringBuffer buffer = new StringBuffer();
local 182 buffer.append(super.toString());
183 buffer.append("(");
187 buffer.append(",");
189 buffer.append(wildcards[i]);
192 buffer.append(")");
193 return buffer.toString();
|
/external/chromium/third_party/icu/source/io/ |
ufmt_cmn.c | 63 ufmt_64tou(UChar *buffer, 77 buffer[length++] = (UChar)(uselower ? TO_LC_DIGIT(digit) 84 buffer[length++] = DIGIT_0; /*zero padding */ 87 /* reverse the buffer */ 88 left = buffer; 89 right = buffer + length; 100 ufmt_ptou(UChar *buffer, 119 buffer[length++]=TO_LC_DIGIT(firstNibble); 120 buffer[length++]=TO_LC_DIGIT(secondNibble); 123 buffer[length++]=TO_UC_DIGIT(firstNibble) [all...] |