| /external/chromium_org/media/base/ |
| decoder_buffer_queue.cc | 19 void DecoderBufferQueue::Push(const scoped_refptr<DecoderBuffer>& buffer) { 20 CHECK(!buffer->end_of_stream()); 22 queue_.push_back(buffer); 26 if (buffer->timestamp() == kNoTimestamp()) { 27 DVLOG(1) << "Buffer has no timestamp"; 32 earliest_valid_timestamp_ = buffer->timestamp(); 35 if (buffer->timestamp() < earliest_valid_timestamp_) { 38 << buffer->timestamp().InMicroseconds() 44 earliest_valid_timestamp_ = buffer->timestamp(); 45 in_order_queue_.push_back(buffer); 49 scoped_refptr<DecoderBuffer> buffer = queue_.front(); local [all...] |
| /external/chromium_org/third_party/WebKit/Source/wtf/ |
| StringExtras.h | 50 inline int snprintf(char* buffer, size_t count, const char* format, ...) 55 result = _vsnprintf(buffer, count, format, args); 58 // In the case where the string entirely filled the buffer, _vsnprintf will not 61 buffer[count - 1] = '\0'; 66 inline double wtf_vsnprintf(char* buffer, size_t count, const char* format, va_list args) 68 int result = _vsnprintf(buffer, count, format, args); 70 // In the case where the string entirely filled the buffer, _vsnprintf will not 73 buffer[count - 1] = '\0'; 79 // vsnprintf does not null terminate the buffer. WebKit can rely on the null termination. 80 #define vsnprintf(buffer, count, format, args) wtf_vsnprintf(buffer, count, format, args [all...] |
| /external/chromium_org/third_party/harfbuzz-ng/src/ |
| hb-ot-shape-fallback-private.hh | 37 hb_buffer_t *buffer); 41 hb_buffer_t *buffer); 46 hb_buffer_t *buffer);
|
| hb-ot-shape.cc | 215 hb_buffer_t *buffer; member in struct:hb_ot_shape_context_t 231 hb_set_unicode_props (hb_buffer_t *buffer) 233 unsigned int count = buffer->len; 235 _hb_glyph_info_set_unicode_props (&buffer->info[i], buffer->unicode); 239 hb_insert_dotted_circle (hb_buffer_t *buffer, hb_font_t *font) 241 if (!(buffer->flags & HB_BUFFER_FLAG_BOT) || 242 _hb_glyph_info_get_general_category (&buffer->info[0]) != 252 _hb_glyph_info_set_unicode_props (&dottedcircle, buffer->unicode); 254 buffer->clear_output () [all...] |
| /external/chromium_org/third_party/skia/src/utils/ |
| 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
|
| 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/harfbuzz_ng/src/ |
| hb-ot-shape-fallback-private.hh | 37 hb_buffer_t *buffer); 41 hb_buffer_t *buffer); 46 hb_buffer_t *buffer);
|
| /external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
| StringSerializer.java | 66 byte[] buffer = new byte[length]; 67 data.get(buffer); 68 return new String(buffer, "UTF-8"); 71 public void writeObject(ByteBuffer buffer, Object object) throws IOException { 76 buffer.put((byte)0); 84 buffer.put((byte)1); 85 buffer.put((byte)bufferLength); 87 buffer.put((byte)2); 88 buffer.putShort((short)bufferLength); 90 buffer.put((byte)3) [all...] |
| /external/qemu/distrib/sdl-1.2.15/src/audio/macosx/ |
| SDL_coreaudio.h | 35 void *buffer; member in struct:SDL_PrivateAudioData 42 #define buffer (this->hidden->buffer) macro
|
| /external/sfntly/cpp/src/sfntly/port/ |
| 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/utils/ |
| 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
|
| 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/apache-http/src/org/apache/http/message/ |
| BasicLineParser.java | 120 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 121 buffer.append(value); 123 return parser.parseProtocolVersion(buffer, cursor); 128 public ProtocolVersion parseProtocolVersion(final CharArrayBuffer buffer, 132 if (buffer == null) { 133 throw new IllegalArgumentException("Char array buffer may not be null"); 145 skipWhitespace(buffer, cursor); 153 buffer.substring(indexFrom, indexTo)); 159 ok = (buffer.charAt(i+j) == protoname.charAt(j)); 162 ok = (buffer.charAt(i+protolength) == '/') 285 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 385 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 476 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local [all...] |
| /external/openssh/ |
| bufbn.c | 50 #include "buffer.h" 55 * Stores an BIGNUM in the buffer with a 2-byte msb first bit count, followed 59 buffer_put_bignum_ret(Buffer *buffer, const BIGNUM *value) 76 /* Store the number of bits in the buffer in two bytes, msb first. */ 78 buffer_append(buffer, msg, 2); 80 buffer_append(buffer, buf, oi); 89 buffer_put_bignum(Buffer *buffer, const BIGNUM *value) 91 if (buffer_put_bignum_ret(buffer, value) == -1 [all...] |
| /frameworks/base/libs/hwui/ |
| RenderBufferCache.cpp | 46 INIT_LOGD(" Setting render buffer cache size to %sMB", property); 49 INIT_LOGD(" Using default render buffer cache size of %.2fMB", 91 void RenderBufferCache::deleteBuffer(RenderBuffer* buffer) { 92 if (buffer) { 93 RENDER_BUFFER_LOGD("Deleted %s render buffer (%dx%d)", 94 RenderBuffer::formatName(buffer->getFormat()), 95 buffer->getWidth(), buffer->getHeight()); 97 mSize -= buffer->getSize(); 98 delete buffer; 111 RenderBuffer* buffer = NULL; local [all...] |
| /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
| SHA1_MessageDigestImpl.java | 33 private int[] buffer; // buffer has the following structure: field in class:SHA1_MessageDigestImpl 40 private byte[] oneByte; // one byte buffer needed to use in engineUpdate(byte) 41 // having buffer as private field is just optimization 52 buffer = new int[BYTES_OFFSET +6]; 84 lastWord = (buffer[BYTES_OFFSET] + 3)>>2 ; // computing of # of full words by shifting 89 // - buffer[BYTES_OFFSET] == 0 - buffer frame is empty, 100 if ( buffer[BYTES_OFFSET] != 0 ) { 106 buffer[15] = 0; // last word in frame is set to "0 [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/platform/network/ |
| FormDataBuilder.cpp | 38 static inline void append(Vector<char>& buffer, char string) 40 buffer.append(string); 43 static inline void append(Vector<char>& buffer, const char* string) 45 buffer.append(string, strlen(string)); 48 static inline void append(Vector<char>& buffer, const CString& string) 50 buffer.append(string.data(), string.length()); 53 static void appendQuotedString(Vector<char>& buffer, const CString& string) 64 append(buffer, "%0A"); 67 append(buffer, "%0D"); 70 append(buffer, "%22") [all...] |
| /external/apache-http/src/org/apache/http/util/ |
| CharArrayBuffer.java | 47 private char[] buffer; field in class:CharArrayBuffer 53 throw new IllegalArgumentException("Buffer capacity may not be negative"); 55 this.buffer = new char[capacity]; 59 char newbuffer[] = new char[Math.max(this.buffer.length << 1, newlen)]; 60 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); 61 this.buffer = newbuffer; 76 if (newlen > this.buffer.length) { 79 System.arraycopy(b, off, this.buffer, this.len, len); 89 if (newlen > this.buffer.length) { 92 str.getChars(0, strlen, this.buffer, this.len) 172 public char[] buffer() { method in class:CharArrayBuffer [all...] |
| /external/e2fsprogs/ext2ed/ |
| blockbitmap_com.c | 43 char *ptr,buffer [80]; local 47 ptr=parse_word (command_line,buffer); /* Get the requested entry */ 52 ptr=parse_word (ptr,buffer); 54 entry_num=atol (buffer); 66 strcpy (buffer,"show");dispatch (buffer); /* dispatch a show command */ 79 char *ptr,buffer [80]; local 81 ptr=parse_word (command_line,buffer); 83 ptr=parse_word (ptr,buffer); 84 entry_offset=atol (buffer); 95 char *ptr,buffer [80]; local 119 char *ptr,buffer [80]; local 148 char *ptr,buffer [80]; local [all...] |
| inodebitmap_com.c | 30 char *ptr,buffer [80]; local 32 ptr=parse_word (command_line,buffer); 36 ptr=parse_word (ptr,buffer); 38 entry_num=atol (buffer); 45 strcpy (buffer,"show");dispatch (buffer); 52 char *ptr,buffer [80]; local 54 ptr=parse_word (command_line,buffer); 56 ptr=parse_word (ptr,buffer); 57 entry_offset=atol (buffer); 68 char *ptr,buffer [80]; local 84 char *ptr,buffer [80]; local 110 char *ptr,buffer [80]; local [all...] |
| /external/chromium/third_party/libjingle/source/talk/base/ |
| stringencode.cc | 63 size_t escape(char * buffer, size_t buflen, 66 ASSERT(NULL != buffer); // TODO: estimate output size 76 buffer[bufpos++] = escape; 78 buffer[bufpos++] = ch; 81 buffer[bufpos] = '\0'; 85 size_t unescape(char * buffer, size_t buflen, 88 ASSERT(NULL != buffer); // TODO: estimate output size 98 buffer[bufpos++] = ch; 100 buffer[bufpos] = '\0'; 104 size_t encode(char * buffer, size_t buflen [all...] |
| /external/chromium_org/chrome/renderer/net/ |
| predictor_queue_unittest.cc | 22 DnsQueueSequentialTester(DnsQueue& buffer, int32 read_counter = 0, 25 // Return of false means buffer was full, or would not take entry. 28 // Return of false means buffer returned wrong value. 40 DnsQueue& buffer, int32 read_counter, int32 write_counter) 41 : buffer_(&buffer), 73 // Use a small buffer so we can see that we can't write a string as soon as it 74 // gets longer than one less than the buffer size. The extra empty character 75 // is used to keep read and write pointers from overlapping when buffer is 76 // full. This shows the buffer size can constrain writes (and we're not 80 DnsQueue buffer(buffer_size) [all...] |
| /external/chromium_org/third_party/libjingle/source/talk/base/ |
| stringencode.cc | 43 size_t escape(char * buffer, size_t buflen, 46 ASSERT(NULL != buffer); // TODO: estimate output size 56 buffer[bufpos++] = escape; 58 buffer[bufpos++] = ch; 61 buffer[bufpos] = '\0'; 65 size_t unescape(char * buffer, size_t buflen, 68 ASSERT(NULL != buffer); // TODO: estimate output size 78 buffer[bufpos++] = ch; 80 buffer[bufpos] = '\0'; 84 size_t encode(char * buffer, size_t buflen [all...] |
| /external/valgrind/main/none/tests/s390x/ |
| srst.c | 2 char buffer[24] ="0123456789abcdefghijklmn"; variable 52 buf = srst3(&buffer[23], &buffer[23], '0', &cc); 56 buf = srst3(&buffer[23], &buffer[0], '0', &cc); 60 buf = srst3(&buffer[23], &buffer[0], 'a', &cc); 64 buf = srst3(&buffer[23], &buffer[0], 'm', &cc); 68 buf = srst3(&buffer[23], &buffer[0], 'n', &cc) [all...] |
| /external/chromium_org/third_party/icu/source/tools/genrb/ |
| rle.c | 39 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) { 45 if(buffer < buffLimit){ 46 *buffer++ = c; 51 return buffer; 56 return buffer; 64 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) { 72 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); 74 buffer = appendEncodedByte(buffer,bufLimit, value, state, status) [all...] |