| /external/chromium_org/remoting/client/plugin/ |
| pepper_view.h | 50 webrtc::DesktopFrame* buffer, 53 virtual void ReturnBuffer(webrtc::DesktopFrame* buffer) OVERRIDE; 68 // Allocates a new frame buffer to supply to the FrameProducer to render into. 72 // Frees a frame buffer previously allocated by AllocateBuffer. 73 void FreeBuffer(webrtc::DesktopFrame* buffer); 75 // Renders the parts of |buffer| identified by |region| to the view. If the 76 // clip area of the view has changed since the buffer was generated then 78 // will be supplied a new buffer when FlushBuffer() completes. 80 webrtc::DesktopFrame* buffer, 83 // Handles completion of FlushBuffer(), triggering a new buffer to b [all...] |
| /external/chromium_org/remoting/webapp/unittests/ |
| xmpp_stream_parser_unittest.js | 73 var buffer = base.encodeUtf8('<stream>?') 75 buffer = buffer.slice(0, buffer.byteLength - 1); 76 parser.appendData(buffer); 81 var buffer = base.encodeUtf8('<stream><iq>?') 83 buffer = buffer.slice(0, buffer.byteLength - 1); 84 parser.appendData(buffer); [all...] |
| /external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
| AudioBufferSourceNode.cpp | 71 // channels to that of the buffer. 101 if (!buffer()) { 106 // After calling setBuffer() with a buffer having a different number of channels, there can in rare cases be a slight delay 108 // In this case, if the the buffer has just been changed and we're not quite ready yet, then just output silence. 109 if (numberOfChannels() != buffer()->numberOfChannels()) { 130 // Render by reading directly from the buffer. 168 ASSERT(buffer()); 169 if (!bus || !buffer()) 202 size_t bufferLength = buffer()->length(); 203 double bufferSampleRate = buffer()->sampleRate() [all...] |
| /external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
| WebSocketExtensionParser.cpp | 92 Vector<char> buffer; 101 buffer.append(*m_current); 104 if (m_current >= m_end || *m_current != '"' || buffer.isEmpty()) 106 m_currentToken = String::fromUTF8(buffer.data(), buffer.size());
|
| /external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
| i915_winsys.h | 109 * Emit a relocation to a buffer. 113 * @reloc buffer address to be inserted into target. 114 * @usage how is the hardware going to use the buffer. 116 * @target buffer where to write the address, null for batchbuffer. 138 * Buffer functions. 142 * Create a buffer. 150 * Create a tiled buffer. 152 * *stride, height are in bytes. The winsys tries to allocate the buffer with 164 * Creates a buffer from a handle. 180 struct i915_winsys_buffer *buffer, [all...] |
| /external/chromium_org/third_party/skia/src/gpu/ |
| GrBufferAllocPool.h | 26 * At creation time a minimum per-buffer size can be specified. Additionally, 108 * Returns a block of memory to hold data. A buffer designated to hold the 109 * data is given to the caller. The buffer may or may not be locked. The 117 * buffer at the offset indicated by offset. Until that time it may be 118 * in temporary storage and/or the buffer may be locked. 121 * @param alignment alignment constraint from start of buffer 122 * @param buffer returns the buffer that will hold the data. 123 * @param offset returns the offset into buffer of the data. 128 const GrGeometryBuffer** buffer, [all...] |
| GrBufferAllocPool.cpp | 31 "GrBufferAllocPool Unmapping Buffer", \ 60 GrGeometryBuffer* buffer = this->createBuffer(fMinBlockSize); local 61 if (buffer) { 62 *fPreallocBuffers.append() = buffer; 70 GrGeometryBuffer* buffer = fBlocks.back().fBuffer; local 71 if (buffer->isMapped()) { 93 GrGeometryBuffer* buffer = fBlocks.back().fBuffer; local 94 if (buffer->isMapped()) { 167 const GrGeometryBuffer** buffer, 171 SkASSERT(buffer); 358 GrGeometryBuffer* buffer = block.fBuffer; local [all...] |
| /external/chromium_org/third_party/webrtc/examples/android/opensl_loopback/ |
| fake_audio_device_buffer.cc | 62 int8_t* buffer = buf_[next_available_buffer_].get(); local 64 memcpy(buffer, audioBuffer, nSamples * sizeof(int16_t)); 65 fifo_.Push(buffer); 81 int8_t* buffer = fifo_.Pop(); local 82 memcpy(audioBuffer, buffer, buffer_size_bytes());
|
| /external/chromium_org/ui/ozone/platform/dri/ |
| hardware_display_controller.h | 30 explicit OverlayPlane(scoped_refptr<ScanoutBuffer> buffer); 32 OverlayPlane(scoped_refptr<ScanoutBuffer> buffer, 40 scoped_refptr<ScanoutBuffer> buffer; member in struct:ui::OverlayPlane 158 bool SetCursor(scoped_refptr<ScanoutBuffer> buffer); 181 bool ModesetCrtc(const scoped_refptr<ScanoutBuffer>& buffer,
|
| /external/mesa3d/src/gallium/drivers/i915/ |
| i915_winsys.h | 109 * Emit a relocation to a buffer. 113 * @reloc buffer address to be inserted into target. 114 * @usage how is the hardware going to use the buffer. 116 * @target buffer where to write the address, null for batchbuffer. 138 * Buffer functions. 142 * Create a buffer. 150 * Create a tiled buffer. 152 * *stride, height are in bytes. The winsys tries to allocate the buffer with 164 * Creates a buffer from a handle. 180 struct i915_winsys_buffer *buffer, [all...] |
| /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
| KeywordsBox.java | 87 StringBuffer buffer = new StringBuffer(); local 88 buffer.append("KeywordsBox[language=").append(getLanguage()); 90 buffer.append(";keyword").append(i).append("=").append(keywords[i]); 92 buffer.append("]"); 93 return buffer.toString();
|
| /external/nist-sip/java/gov/nist/javax/sip/header/ |
| Accept.java | 95 protected StringBuffer encodeBody(StringBuffer buffer) { 97 mediaRange.encode(buffer); 99 buffer.append(';'); 100 parameters.encode(buffer); 102 return buffer;
|
| /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
| DisconnectTest.java | 47 byte[] buffer = new byte[1024]; 49 for (int i = 0; i < requestBodySize; i += buffer.length) { 50 requestBody.write(buffer); 72 byte[] buffer = new byte[1024]; 74 while (responseBody.read(buffer) != -1) {
|
| ThreadInterruptTest.java | 48 byte[] buffer = new byte[1024]; 50 for (int i = 0; i < requestBodySize; i += buffer.length) { 51 requestBody.write(buffer); 73 byte[] buffer = new byte[1024]; 75 while (responseBody.read(buffer) != -1) {
|
| /external/openssl/crypto/rand/ |
| rand_os2.c | 137 char *buffer = OPENSSL_malloc(256 * 1024); local 139 if (DosQuerySysState(0x1F, 0, 0, 0, buffer, 256 * 1024) == 0) { 140 /* First 4 bytes in buffer is a pointer to the thread count 143 RAND_add(buffer, 256 * 1024, **(ULONG **)buffer); 146 OPENSSL_free(buffer);
|
| /external/chromium_org/media/blink/ |
| buffered_resource_loader_unittest.cc | 234 void ReadLoader(int64 position, int size, uint8* buffer) { 235 loader_->Read(position, size, buffer, 240 // Verifies that data in buffer[0...size] is equal to data_[pos...pos+size]. 241 void VerifyBuffer(uint8* buffer, int pos, int size) { 242 EXPECT_EQ(0, memcmp(buffer, data_ + pos, size)); 272 // Makes sure the |loader_| buffer window is in a reasonable range. 399 uint8 buffer[10]; local 405 ReadLoader(10, 10, buffer); 406 VerifyBuffer(buffer, 10, 10); 411 ReadLoader(20, 5, buffer); 451 uint8 buffer[20]; local 500 uint8 buffer[10]; local 529 uint8 buffer[10]; local 547 uint8 buffer[10]; local 571 uint8 buffer[10]; local 592 uint8 buffer[10]; local 613 uint8 buffer[10]; local 662 uint8 buffer[10]; local 690 uint8 buffer[256]; local 735 uint8 buffer[256]; local 768 uint8 buffer[256]; local 816 uint8 buffer[256]; local 871 uint8 buffer[256]; local 932 uint8 buffer[256]; local [all...] |
| /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
| api_filters.c | 127 char buffer[1024]; local 131 util_snprintf(buffer, 1023, convolution_asm, num_consts, num_consts / 2 + 1); 133 shader = shader_create_from_text(ctx->pipe, buffer, 200, 151 char buffer[1024]; local 157 util_snprintf(buffer, 1023, lookup_single_asm, "xxxx"); 160 util_snprintf(buffer, 1023, lookup_single_asm, "yyyy"); 163 util_snprintf(buffer, 1023, lookup_single_asm, "zzzz"); 166 util_snprintf(buffer, 1023, lookup_single_asm, "wwww"); 172 shader = shader_create_from_text(ctx->pipe, buffer, 200, 290 VGfloat *buffer; local 485 VGfloat *buffer, *kernel; local 590 VGfloat buffer[4]; local 645 VGfloat buffer[4]; local [all...] |
| /external/mesa3d/src/gallium/state_trackers/vega/ |
| api_filters.c | 127 char buffer[1024]; local 131 util_snprintf(buffer, 1023, convolution_asm, num_consts, num_consts / 2 + 1); 133 shader = shader_create_from_text(ctx->pipe, buffer, 200, 151 char buffer[1024]; local 157 util_snprintf(buffer, 1023, lookup_single_asm, "xxxx"); 160 util_snprintf(buffer, 1023, lookup_single_asm, "yyyy"); 163 util_snprintf(buffer, 1023, lookup_single_asm, "zzzz"); 166 util_snprintf(buffer, 1023, lookup_single_asm, "wwww"); 172 shader = shader_create_from_text(ctx->pipe, buffer, 200, 290 VGfloat *buffer; local 485 VGfloat *buffer, *kernel; local 590 VGfloat buffer[4]; local 645 VGfloat buffer[4]; local [all...] |
| /external/chromium_org/third_party/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); 164 explicit CodedInputStream(const uint8* buffer, int size); 182 // underlying buffer, and *size to the size of that buffer, but does not 184 // a non-empty buffer or return false. If the caller consumes any of 191 // attempt to Refresh() if the buffer is currently empty. 195 // Read raw bytes, copying them into the given buffer. 196 bool ReadRaw(void* buffer, int size); 205 bool ReadString(string* buffer, int size) [all...] |
| /external/chromium_org/third_party/WebKit/Source/wtf/dtoa/ |
| fast-dtoa.cc | 55 // Input: * buffer containing the digits of too_high / 10^kappa 56 // * the buffer's length 59 // * rest = (too_high - buffer * 10^kappa).f() * unit 62 // Output: returns true if the buffer is guaranteed to contain the closest 64 // Modifies the generated digits in the buffer to approach (round towards) w. 65 static bool RoundWeed(Vector<char> buffer, 81 // Basically the buffer currently contains a number in the unsafe interval 100 // buffer --------------------------------------------------+-------+-------- 111 // Note that the value of buffer could lie anywhere inside the range too_low 122 // If the number inside the buffer lies inside the unsafe interval but no [all...] |
| /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
| xorg_dri2.c | 63 dri2_do_create_buffer(DrawablePtr pDraw, DRI2BufferPtr buffer, unsigned int format) 70 BufferPrivatePtr private = buffer->driverPrivate; 81 switch (buffer->attachment) { 83 if (buffer->attachment != DRI2BufferFakeFrontLeft || 112 if (buffer->attachment == DRI2BufferDepth) { 165 buffer->name = whandle.handle; 166 buffer->pitch = whandle.stride; 167 buffer->cpp = 4; 168 buffer->driverPrivate = private; 169 buffer->flags = 0; /* not tiled * 202 DRI2Buffer2Ptr buffer; local [all...] |
| /external/chromium_org/v8/src/ |
| fast-dtoa.cc | 33 // Input: * buffer containing the digits of too_high / 10^kappa 34 // * the buffer's length 37 // * rest = (too_high - buffer * 10^kappa).f() * unit 40 // Output: returns true if the buffer is guaranteed to contain the closest 42 // Modifies the generated digits in the buffer to approach (round towards) w. 43 static bool RoundWeed(Vector<char> buffer, 59 // Basically the buffer currently contains a number in the unsafe interval 78 // buffer --------------------------------------------------+-------+-------- 89 // Note that the value of buffer could lie anywhere inside the range too_low 100 // If the number inside the buffer lies inside the unsafe interval but no [all...] |
| /external/mesa3d/src/gallium/state_trackers/xorg/ |
| xorg_dri2.c | 63 dri2_do_create_buffer(DrawablePtr pDraw, DRI2BufferPtr buffer, unsigned int format) 70 BufferPrivatePtr private = buffer->driverPrivate; 81 switch (buffer->attachment) { 83 if (buffer->attachment != DRI2BufferFakeFrontLeft || 112 if (buffer->attachment == DRI2BufferDepth) { 165 buffer->name = whandle.handle; 166 buffer->pitch = whandle.stride; 167 buffer->cpp = 4; 168 buffer->driverPrivate = private; 169 buffer->flags = 0; /* not tiled * 202 DRI2Buffer2Ptr buffer; local [all...] |
| /external/apache-http/src/org/apache/http/impl/io/ |
| AbstractSessionInputBuffer.java | 61 private byte[] buffer; field in class:AbstractSessionInputBuffer 78 throw new IllegalArgumentException("Buffer size may not be negative or zero"); 84 this.buffer = new byte[buffersize]; 96 // compact the buffer if necessary 100 System.arraycopy(this.buffer, this.bufferpos, this.buffer, 0, len); 107 int len = this.buffer.length - off; 108 l = this.instream.read(this.buffer, off, len); 130 return this.buffer[this.bufferpos++] & 0xff; 148 System.arraycopy(this.buffer, this.bufferpos, b, off, chunk) [all...] |
| /external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/ |
| data_socket.cc | 105 char buffer[0xfff] = {0}; local 106 int bytes = recv(socket_, buffer, sizeof(buffer), 0); 120 data_.append(buffer, bytes); 123 request_headers_.append(buffer, bytes); 145 std::string buffer("HTTP/1.1 " + status + "\r\n"); 147 buffer += "Server: PeerConnectionTestServer/0.1\r\n" 151 buffer += "Connection: close\r\n"; 154 buffer += "Content-Type: " + content_type + "\r\n"; 156 buffer += "Content-Length: " + int2str(static_cast<int>(data.size())) [all...] |