| /external/chromium_org/native_client_sdk/src/examples/api/url_loader/ |
| url_loader_handler.cc | 83 void URLLoaderHandler::AppendDataBytes(const char* buffer, int32_t num_bytes) { 86 // Make sure we don't get a buffer overrun. 92 url_response_body_.end(), buffer, buffer + num_bytes); 97 // Streaming the file is complete, delete the read buffer since it is 103 // The URLLoader just filled "result" number of bytes into our buffer.
|
| /external/chromium_org/net/disk_cache/blockfile/ |
| trace.cc | 41 char buffer[kNumberOfEntries][kEntrySize]; member in struct:__anon13786::TraceBuffer 59 // buffer to be destroyed and re-created when the last user goes away, and it 60 // must be straightforward to access the buffer from the debugger. 134 memcpy(s_trace_buffer->buffer[s_trace_buffer->current], line, kEntrySize); 159 memcpy(line, s_trace_buffer->buffer[current], kEntrySize);
|
| /external/chromium_org/net/server/ |
| http_server.cc | 166 // Increases read buffer size if necessary. 380 std::string buffer; local 394 info->method = buffer; 395 buffer.clear(); 398 info->path = buffer; 399 buffer.clear(); 403 DCHECK(buffer == "HTTP/1.1"); 404 buffer.clear(); 407 header_name = base::StringToLowerASCII(buffer); 408 buffer.clear() [all...] |
| /external/chromium_org/net/spdy/ |
| spdy_read_queue_unittest.cc | 46 // Pad the buffer so we can detect out-of-bound writes. 49 scoped_ptr<char[]> buffer(new char[buffer_size_with_padding]); 50 std::memset(buffer.get(), 0, buffer_size_with_padding); 51 char* buffer_data = buffer.get() + padding; 75 // Enqueue a test string with the given enqueue/dequeue max buffer 89 // Call RunEnqueueDequeueTest() with various buffer size combinatinos.
|
| /external/chromium_org/net/tools/quic/test_tools/ |
| packet_dropping_test_writer.h | 49 const char* buffer, 96 // The maximum bandwidth and buffer size of the connection. When these are 120 DelayedWrite(const char* buffer, 127 string buffer; member in struct:net::tools::test::PacketDroppingTestWriter::DelayedWrite
|
| /external/chromium_org/ppapi/cpp/ |
| video_decoder.cc | 72 const void* buffer, 76 pp_resource(), decode_id, size, buffer, cc.pp_completion_callback()); 80 pp_resource(), decode_id, size, buffer, cc.pp_completion_callback());
|
| /external/chromium_org/remoting/protocol/ |
| channel_multiplexer.cc | 40 int Read(char* buffer, size_t size) { 42 memcpy(buffer, packet->data().data() + pos, size); 88 int DoRead(net::IOBuffer* buffer, int buffer_len); 114 virtual int Read(net::IOBuffer* buffer, int buffer_len, 116 virtual int Write(net::IOBuffer* buffer, int buffer_len, 254 int ChannelMultiplexer::MuxChannel::DoRead(net::IOBuffer* buffer, 260 buffer->data() + pos, buffer_len); 284 net::IOBuffer* buffer, int buffer_len, 289 int result = channel_->DoRead(buffer, buffer_len); 291 read_buffer_ = buffer; [all...] |
| /external/chromium_org/sandbox/win/src/ |
| interception.h | 145 // Calculates the size of the required configuration buffer. 148 // Rounds up the size of a given buffer, considering alignment (padding). 149 // value is the current size of the buffer, and alignment is specified in 155 // Sets up a given buffer with all the information that has to be transfered 159 // The buffer size should be at least the value returned by GetBufferSize 160 bool SetupConfigBuffer(void* buffer, size_t buffer_bytes); 162 // Fills up the part of the transfer buffer that corresponds to information 167 // On successful return, buffer will be advanced from it's current position 169 // (the actual interception info), and the current size of the buffer will 172 void** buffer, size_t* buffer_bytes) const [all...] |
| sandbox_nt_util.h | 26 void* __cdecl operator new(size_t size, void* buffer, 28 void __cdecl operator delete(void* memory, void* buffer, 92 // Performs basic user mode buffer validation. In any case, buffers access must 93 // be protected by SEH. intent specifies if the buffer should be tested for read 95 // Note that write intent implies destruction of the buffer content (we actually 97 bool ValidParameter(void* buffer, size_t size, RequiredAccess intent); 99 // Copies data from a user buffer to our buffer. Returns the operation status. 122 // The returned buffer must be freed with a placement delete from the ntdll 136 // if the current OS version doesn't support the call. The returned buffer mus [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/xml/parser/ |
| SharedBufferReaderTest.cpp | 46 char buffer[32]; local 48 EXPECT_EQ(0, reader.readData(buffer, sizeof(buffer)));
|
| /external/chromium_org/third_party/WebKit/Source/wtf/dtoa/ |
| double-conversion.cc | 105 char buffer[kMaxExponentLength + 1]; 107 buffer[first_char_pos] = '\0'; 109 buffer[--first_char_pos] = '0' + (exponent % 10); 112 result_builder->AddSubstring(&buffer[first_char_pos], 322 // Fill buffer to contain 'precision' digits. 323 // Usually the buffer is already at the correct length, but 'DoubleToAscii' 358 char* buffer, 363 Vector<char> vector(buffer, buffer_length); 448 char buffer[kBufferSize]; // NOLINT: size is known at compile time. local 485 // Copy significant digits of the integer part (if any) to the buffer [all...] |
| /external/chromium_org/third_party/angle/src/libGLESv2/ |
| Shader.h | 73 void getSource(GLsizei bufSize, GLsizei *length, char *buffer) const; 75 void getTranslatedSource(GLsizei bufSize, GLsizei *length, char *buffer) const; 101 static void getSourceImpl(const std::string &source, GLsizei bufSize, GLsizei *length, char *buffer);
|
| /external/chromium_org/third_party/harfbuzz-ng/src/ |
| hb-ot-shape-complex-sea-machine.hh | 110 find_syllables (hb_buffer_t *buffer) 114 hb_glyph_info_t *info = buffer->info; 128 pe = eof = buffer->len;
|
| /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/objc/ |
| RTCDataChannel.mm | 46 virtual void OnMessage(const DataBuffer& buffer) OVERRIDE { 51 [[RTCDataBuffer alloc] initWithDataBuffer:buffer]; 144 rtc::Buffer buffer([data bytes], [data length]); 145 _dataBuffer.reset(new webrtc::DataBuffer(buffer, isBinary)); 163 - (instancetype)initWithDataBuffer:(const webrtc::DataBuffer&)buffer { 165 _dataBuffer.reset(new webrtc::DataBuffer(buffer));
|
| /external/chromium_org/third_party/libjingle/source/talk/media/base/ |
| videoframe.h | 69 // These can return NULL if the object is not backed by a buffer. 99 // Make a shallow copy of the frame. The frame buffer itself is not copied. 101 // frame buffer. 104 // Since VideoFrame supports shallow copy and the internal frame buffer might 105 // be shared, in case VideoFrame needs exclusive access of the frame buffer, 106 // user can call MakeExclusive() to make sure the frame buffer is exclusive 108 // buffer if it is currently shared by other objects. 111 // Writes the frame into the given frame buffer, provided that it is of 115 virtual size_t CopyToBuffer(uint8 *buffer, size_t size) const = 0; 139 virtual size_t ConvertToRgbBuffer(uint32 to_fourcc, uint8 *buffer, [all...] |
| /external/chromium_org/third_party/libjingle/source/talk/media/sctp/ |
| sctpdataengine.h | 47 #include "webrtc/base/buffer.h" 157 const rtc::Buffer& payload, 160 virtual void OnPacketReceived(rtc::Buffer* packet, 183 virtual void OnRtcpReceived(rtc::Buffer* packet, 216 void OnPacketFromSctpToNetwork(rtc::Buffer* buffer); 220 rtc::Buffer* buffer); 221 void OnNotificationFromSctp(rtc::Buffer* buffer); [all...] |
| /external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
| webrtctexturevideoframe.h | 75 virtual size_t CopyToBuffer(uint8* buffer, size_t size) const; 76 virtual size_t ConvertToRgbBuffer(uint32 to_fourcc, uint8* buffer, 89 virtual size_t StretchToBuffer(size_t w, size_t h, uint8* buffer, size_t size,
|
| webrtcvideoframe.h | 32 #include "webrtc/base/buffer.h" 64 // Aliases this WebRtcVideoFrame to a memory buffer. |buffer| must outlive 66 void Alias(uint8* buffer, size_t buffer_size, int w, int h, 105 virtual size_t CopyToBuffer(uint8* buffer, size_t size) const; 106 virtual size_t ConvertToRgbBuffer(uint32 to_fourcc, uint8* buffer,
|
| /external/chromium_org/third_party/libsrtp/srtp/crypto/include/ |
| cipher.h | 105 (void *state, uint8_t *buffer, unsigned int *octets_to_encrypt); 110 (void *state, uint8_t *buffer, unsigned int *octets_to_decrypt); 187 cipher_output(cipher_t *c, uint8_t *buffer, int num_octets_to_output);
|
| /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
| u_draw_quad.c | 38 * Draw a simple vertex buffer / primitive. 54 /* tell pipe about the vertex buffer */ 56 vbuffer.buffer = vbuf; 73 * Draw a simple vertex buffer / primitive. 77 util_draw_user_vertex_buffer(struct cso_context *cso, void *buffer, 84 vbuffer.user_buffer = buffer; 112 * Load vertex buffer
|
| /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
| nvc0_push.c | 30 int buffer; member in struct:push_context::__anon18480 51 ctx->edgeflag.buffer = -1; 56 ctx->edgeflag.buffer = ve->vertex_buffer_index; 133 if (unlikely(ctx->edgeflag.buffer >= 0) && likely(nr)) 174 if (unlikely(ctx->edgeflag.buffer >= 0) && likely(nr)) 215 if (unlikely(ctx->edgeflag.buffer >= 0) && likely(nr)) 250 if (unlikely(ctx->edgeflag.buffer >= 0)) 311 struct nv04_resource *res = nv04_resource(vb->buffer); 321 if (unlikely(i == ctx.edgeflag.buffer)) { 330 nv04_resource(nvc0->idxbuf.buffer), [all...] |
| /external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/ |
| vmw_context.c | 51 struct pb_buffer *buffer; member in struct:vmw_region_relocation 68 uint8_t buffer[VMW_COMMAND_SIZE]; member in struct:vmw_svga_winsys_context::__anon18868 146 if(!vmw_gmr_bufmgr_region_ptr(reloc->buffer, &ptr)) 158 vswc->command.buffer, 179 pb_reference(&vswc->region.relocs[i].buffer, NULL); 241 return vswc->command.buffer + vswc->command.used; 274 struct svga_winsys_buffer *buffer, 287 pb_reference(&reloc->buffer, vmw_pb_buffer(buffer)); 293 ret = pb_validate_add_buffer(vswc->validate, reloc->buffer, translated_flags) [all...] |
| /external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
| xmesa.h | 114 * alpha_flag - alpha buffer requested? 118 * ximage_flag - GL_TRUE = use an XImage for back buffer, 119 * GL_FALSE = use an off-screen pixmap for back buffer 206 * Bind a buffer to a context and make the context the current one. 223 * Unbind the current context from its buffer. 235 * Return handle to the current (draw) buffer. 241 * Return handle to the current read buffer. 248 * Swap the front and back buffers for the given buffer. No action is 249 * taken if the buffer is not double buffered. 255 * Copy a sub-region of the back buffer to the front buffer [all...] |
| /external/chromium_org/third_party/mesa/src/src/mesa/main/ |
| clear.c | 200 /* don't clear depth buffer if depth writing disabled */ 304 * Clear signed integer color buffer or stencil buffer (not depth). 307 _mesa_ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value) 318 switch (buffer) { 322 * "ClearBuffer generates an INVALID VALUE error if buffer is 324 * value of MAX DRAW BUFFERS minus one; or if buffer is DEPTH, 359 /* clear buffer(s) */ 370 * the type of the specified value and the type of the buffer being 372 * fixed- or floating-point buffer, or if ClearBufferfv is calle [all...] |
| /external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/ |
| memory_input_stream.cc | 141 bool MemoryInputStream::Attach(const byte_t* buffer, size_t length) { 142 assert(buffer); 144 buffer_ = buffer;
|