| /external/chromium_org/content/browser/download/ |
| file_metadata_unittest_linux.cc | 72 char* buffer = new char[len]; local 73 len = getxattr(test_file().value().c_str(), attr_name.c_str(), buffer, len); 75 string real_value(buffer, len); 76 delete[] buffer; 83 char* buffer = new char[len]; local 84 len = listxattr(test_file().value().c_str(), buffer, len); 86 base::SplitString(string(buffer, len), '\0', attr_names); 87 delete[] buffer;
|
| /external/chromium_org/device/bluetooth/ |
| bluetooth_socket_mac.h | 46 virtual bool Receive(net::GrowableIOBuffer* buffer) OVERRIDE; 47 virtual bool Send(net::DrainableIOBuffer* buffer) OVERRIDE;
|
| /external/chromium_org/media/base/ |
| data_buffer.cc | 18 DataBuffer::DataBuffer(scoped_ptr<uint8[]> buffer, int buffer_size) 19 : data_(buffer.Pass()),
|
| /external/chromium_org/net/base/ |
| test_completion_callback.cc | 57 IOBuffer* buffer) : buffer_(buffer) {
|
| /external/chromium_org/net/disk_cache/flash/ |
| segment.h | 84 // Writes |size| bytes of data from |buffer| to segment, returns false if 86 bool WriteData(const void* buffer, int32 size); 88 // Reads |size| bytes of data living at |offset| into |buffer| returns true on 90 bool ReadData(void* buffer, int32 size, int32 offset) const;
|
| /external/chromium_org/ppapi/c/ |
| ppb_tcp_socket.h | 43 * Specifies the total per-socket buffer space reserved for sends. Value's 47 * Note: This is only treated as a hint for the browser to set the buffer 53 * Specifies the total per-socket buffer space reserved for receives. Value's 57 * Note: This is only treated as a hint for the browser to set the buffer 148 * @param[out] buffer The buffer to store the received data on success. It 159 char* buffer, 168 * @param[in] buffer The buffer containing the data to write. 177 const char* buffer, [all...] |
| ppb_udp_socket.h | 49 * Specifies the total per-socket buffer space reserved for sends. Value's 53 * Note: This is only treated as a hint for the browser to set the buffer 59 * Specifies the total per-socket buffer space reserved for receives. Value's 63 * Note: This is only treated as a hint for the browser to set the buffer 139 * @param[out] buffer The buffer to store the received data on success. It 151 char* buffer, 160 * @param[in] buffer The buffer containing the data to send. 173 const char* buffer, [all...] |
| /external/chromium_org/ppapi/cpp/private/ |
| tcp_socket_private.h | 42 int32_t Read(char* buffer, 45 int32_t Write(const char* buffer,
|
| /external/chromium_org/ppapi/cpp/ |
| tcp_socket.h | 99 /// <code>buffer</code>. Typically you will use a 105 /// will still try to write into your buffer when the operation completes. 106 /// The buffer must be kept valid until then to avoid memory corruption. 107 /// If you want to release the buffer while the <code>Read()</code> call is 109 /// buffer won't be accessed in the future. 111 /// @param[out] buffer The buffer to store the received data on success. It 120 int32_t Read(char* buffer, 127 /// @param[in] buffer The buffer containing the data to write [all...] |
| udp_socket.h | 90 /// <code>buffer</code>. Typically you will use a 96 /// will still try to write into your buffer when the operation completes. 97 /// The buffer must be kept valid until then to avoid memory corruption. 98 /// If you want to release the buffer while the <code>RecvFrom()</code> call 100 /// buffer won't be accessed in the future. 102 /// @param[out] buffer The buffer to store the received data on success. It 111 char* buffer, 117 /// @param[in] buffer The buffer containing the data to send [all...] |
| /external/chromium_org/ppapi/proxy/ |
| udp_socket_private_resource.h | 34 virtual int32_t RecvFrom(char* buffer, 38 virtual int32_t SendTo(const char* buffer,
|
| udp_socket_resource.h | 30 virtual int32_t RecvFrom(char* buffer, 34 virtual int32_t SendTo(const char* buffer,
|
| /external/chromium_org/ppapi/tests/ |
| test_tcp_server_socket_private.h | 34 char* buffer, 37 const char* buffer,
|
| /external/chromium_org/ppapi/thunk/ |
| ppb_tcp_socket_private_api.h | 36 virtual int32_t Read(char* buffer, 39 virtual int32_t Write(const char* buffer,
|
| /external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
| WebGLRenderbuffer.h | 63 void setEmulatedStencilBuffer(PassRefPtr<WebGLRenderbuffer> buffer) { m_emulatedStencilBuffer = buffer; }
|
| /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/ |
| FEOffset.cpp | 67 explicit OffsetImageFilter(SkFlattenableReadBuffer& buffer) 68 : SkImageFilter(buffer) 70 m_dx = buffer.readScalar(); 71 m_dy = buffer.readScalar(); 74 virtual void flatten(SkFlattenableWriteBuffer& buffer) const 76 this->SkImageFilter::flatten(buffer); 77 buffer.writeScalar(m_dx); 78 buffer.writeScalar(m_dy);
|
| FETile.cpp | 86 explicit TileImageFilter(SkFlattenableReadBuffer& buffer) 87 : SkImageFilter(buffer) 89 buffer.readRect(&m_srcRect); 90 buffer.readRect(&m_dstRect); 93 virtual void flatten(SkFlattenableWriteBuffer& buffer) const 95 this->SkImageFilter::flatten(buffer); 96 buffer.writeRect(m_srcRect); 97 buffer.writeRect(m_dstRect);
|
| /external/chromium_org/third_party/icu/source/common/unicode/ |
| ucnvsel.h | 36 * A converter selector can be serialized into a buffer and reopened 112 * The buffer must remain valid and unchanged for the lifetime of the selector. 116 * @param buffer pointer to the serialized form of a converter selector; 118 * @param length the capacity of this buffer (can be equal to or larger than 126 ucnvsel_openFromSerialized(const void* buffer, int32_t length, UErrorCode* status); 129 * Serialize a selector into a linear buffer. 133 * @param buffer pointer to 32-bit-aligned memory to be filled with the 135 * @param bufferCapacity the capacity of this buffer 137 * @return the required buffer capacity to hold serialize data (even if the call fails 144 void* buffer, int32_t bufferCapacity, UErrorCode* status) [all...] |
| /external/chromium_org/third_party/libusb/src/libusb/ |
| sync.c | 76 * \param data a suitably-sized data buffer for either input or output 78 * \param wLength the length field for the setup packet. The data buffer should 95 unsigned char *buffer; local 102 buffer = (unsigned char*) malloc(LIBUSB_CONTROL_SETUP_SIZE + wLength); 103 if (!buffer) { 108 libusb_fill_control_setup(buffer, bmRequestType, bRequest, wValue, wIndex, 111 memcpy(buffer + LIBUSB_CONTROL_SETUP_SIZE, data, wLength); 113 libusb_fill_control_transfer(transfer, dev_handle, buffer, 159 unsigned char endpoint, unsigned char *buffer, int length, 169 libusb_fill_bulk_transfer(transfer, dev_handle, endpoint, buffer, length [all...] |
| /external/chromium_org/third_party/libva/va/egl/ |
| va_backend_egl.h | 32 /* Get EGL ClientBufer buffer index and device id from surface id*/ 36 void **buffer 79 EGLClientBuffer *buffer,
|
| /external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
| i915_resource_buffer.c | 56 struct i915_buffer *buffer = i915_buffer(resource); local 57 if (buffer->free_on_destroy) 58 align_free(buffer->data); 59 FREE(buffer); 99 struct i915_buffer *buffer = i915_buffer(transfer->resource); local 100 return buffer->data + transfer->box.x; 114 struct i915_buffer *buffer = i915_buffer(resource); local 116 memcpy(buffer->data + box->x,
|
| /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
| llvm_wrapper.cpp | 15 llvm::MemoryBuffer* buffer = llvm::MemoryBuffer::getMemBufferCopy(str); local 17 M.reset(llvm::ParseIR(buffer, Err, llvm::getGlobalContext()));
|
| /external/chromium_org/third_party/skia/include/core/ |
| SkFlattenable.h | 34 static SkFlattenable* CreateProc(SkFlattenableReadBuffer& buffer) { \ 35 return SkNEW_ARGS(flattenable, (buffer)); \ 53 to recreate your class given a buffer (previously written to by your 71 /** Override this to write data specific to your subclass into the buffer,
|
| /external/chromium_org/third_party/skia/include/ports/ |
| SkFontConfigInterface.h | 63 // If buffer is NULL, just return the number of bytes that would have 65 size_t writeToMemory(void* buffer = NULL) const; 67 // Recreate from a flattened buffer, returning the number of bytes read. 68 size_t readFromMemory(const void* buffer, size_t length);
|
| /external/chromium_org/third_party/skia/src/effects/gradients/ |
| SkBitmapCache.cpp | 20 Entry(const void* buffer, size_t size, const SkBitmap& bm) 26 memcpy(fBuffer, buffer, size); 31 bool equals(const void* buffer, size_t size) const { 32 return (fSize == size) && !memcmp(fBuffer, buffer, size); 83 bool SkBitmapCache::find(const void* buffer, size_t size, SkBitmap* bm) const { 88 if (entry->equals(buffer, size)) { 102 void SkBitmapCache::add(const void* buffer, size_t len, const SkBitmap& bm) { 111 Entry* entry = SkNEW_ARGS(Entry, (buffer, len, bm));
|