/external/webkit/Source/WebKit/win/ |
WebArchive.cpp | 151 RefPtr<SharedBuffer> buffer = SharedBuffer::create(CFDataGetBytePtr(cfData.get()), CFDataGetLength(cfData.get())); 153 return MemoryStream::createInstance(buffer).copyRefTo(stream);
|
/frameworks/av/include/media/stagefright/ |
CameraSourceTimeLapse.h | 124 virtual void signalBufferReturned(MediaBuffer* buffer); 127 virtual status_t read(MediaBuffer **buffer, const ReadOptions *options = NULL); 140 // buffer.
|
/frameworks/av/libvideoeditor/osal/inc/ |
M4OSA_FileReader.h | 81 M4OSA_MemAddr8 buffer, 109 M4OSA_MemAddr8 buffer,
|
/frameworks/base/core/java/android/database/ |
AbstractWindowedCursor.java | 55 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { 57 mWindow.copyStringToBuffer(mPos, columnIndex, buffer);
|
/frameworks/base/libs/hwui/ |
PathTessellator.h | 50 // already have allocated the buffer, re-allocate space within 79 static void cleanup(void* buffer) { 80 delete[] (TYPE*)buffer;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
VertexFrame.java | 88 public void setData(ByteBuffer buffer, int offset, int length) { 90 byte[] bytes = buffer.array();
|
/frameworks/native/include/utils/ |
BlobCache.h | 32 // The cache contents can be serialized to an in-memory buffer or mmap'd file 67 // then the cached value is copied into the buffer pointed to by the value 69 // the buffer pointed to by the value argument is not modified. 91 // pointed to by 'buffer'. The serialized cache contents can later be 98 virtual status_t flatten(void* buffer, size_t size, int fds[], 102 // contents in the memory pointed to by 'buffer'. The previous contents of 109 virtual status_t unflatten(void const* buffer, size_t size, int fds[], 144 // mData points to the buffer containing the blob data.
|
/frameworks/native/opengl/libagl/ |
TextureObjectManager.h | 51 status_t setImage(ANativeWindowBuffer* buffer); 83 ANativeWindowBuffer* buffer; member in class:android::EGLTextureObject
|
/hardware/qcom/media/mm-video/vidc/common/inc/ |
extra_data_handler.h | 93 OMX_S32 parse_sei(OMX_U8 *buffer, OMX_U32 buffer_length); 98 OMX_U32 create_sei(OMX_U8 *buffer);
|
/hardware/samsung_slsi/exynos5/libcamera/ |
ExynosJpegEncoderForCamera.h | 133 int allocJpegIonMemory(ion_client ionClient, ion_buffer *ionBuffer, char **buffer, int size); 134 void freeJpegIonMemory(ion_client ionClient, ion_buffer *ionBuffer, char **buffer, int size);
|
/hardware/ti/omap4xxx/security/tf_sdk/include/ |
tee_client_api.h | 74 void* buffer;
member in struct:TEEC_SharedMemory 82 void* buffer;
member in struct:__anon21955
|
/libcore/benchmarks/src/benchmarks/regression/ |
SSLSocketBenchmark.java | 34 final byte[] buffer = new byte[BUFFER_SIZE]; field in class:SSLSocketBenchmark 101 int n = in.read(buffer);
|
/libcore/luni/src/main/java/java/io/ |
FileInputStream.java | 178 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { 179 return IoBridge.read(fd, buffer, byteOffset, byteCount);
|
FileOutputStream.java | 186 public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException { 187 IoBridge.write(fd, buffer, byteOffset, byteCount);
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1StringType.java | 42 return new String(in.buffer, in.contentOffset, in.length, Charsets.UTF_8); 99 return new String(in.buffer, in.contentOffset, in.length, Charsets.ISO_8859_1);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/ |
multibuf.h | 113 Multibuffer buffer; /* buffer of event */ member in struct:__anon25966 122 Multibuffer buffer; /* buffer of event */ member in struct:__anon25967 130 int displayed_index; /* which buffer is being displayed */ 147 * per-buffer attributes that can be got 152 int buffer_index; /* which buffer is this */ 157 * per-buffer attributes that can be set 165 * per-screen buffer info (there will be lists of them) 263 Multibuffer /* buffer */, [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/ |
multibuf.h | 113 Multibuffer buffer; /* buffer of event */ member in struct:__anon27556 122 Multibuffer buffer; /* buffer of event */ member in struct:__anon27557 130 int displayed_index; /* which buffer is being displayed */ 147 * per-buffer attributes that can be got 152 int buffer_index; /* which buffer is this */ 157 * per-buffer attributes that can be set 165 * per-screen buffer info (there will be lists of them) 263 Multibuffer /* buffer */, [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/ |
multibuf.h | 113 Multibuffer buffer; /* buffer of event */ member in struct:__anon29071 122 Multibuffer buffer; /* buffer of event */ member in struct:__anon29072 130 int displayed_index; /* which buffer is being displayed */ 147 * per-buffer attributes that can be got 152 int buffer_index; /* which buffer is this */ 157 * per-buffer attributes that can be set 165 * per-screen buffer info (there will be lists of them) 263 Multibuffer /* buffer */, [all...] |
/sdk/emulator/opengl/tests/EGL_host_wrapper/ |
egl.cpp | 149 EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list) 151 return getDispatch()->eglCreatePbufferFromClientBuffer(dpy, buftype, buffer, config, attrib_list); 159 EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) 161 return getDispatch()->eglBindTexImage(dpy, surface, buffer); 164 EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) 166 return getDispatch()->eglReleaseTexImage(dpy, surface, buffer); 239 EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) 241 return getDispatch()->eglCreateImageKHR(dpy, ctx, target, buffer, attrib_list);
|
/hardware/qcom/media/mm-video/vidc/vdec/src/ |
omx_vdec.cpp | 598 2. Buffer done callback event 2949 OMX_U8 *buffer = NULL; local 5756 OMX_BUFFERHEADERTYPE *buffer = bufferAdd; local [all...] |
/external/webkit/Source/WebKit/mac/Misc/ |
WebNSURLExtras.mm | 252 // Maybe we should implement this using a character buffer instead? 452 UInt8 *buffer = (UInt8 *)malloc(URL_BYTES_BUFFER_LENGTH); 453 CFIndex bytesFilled = CFURLGetBytes((CFURLRef)self, buffer, URL_BYTES_BUFFER_LENGTH); 456 buffer = (UInt8 *)realloc(buffer, bytesToAllocate); 457 bytesFilled = CFURLGetBytes((CFURLRef)self, buffer, bytesToAllocate); 461 // buffer is adopted by the NSData 462 NSData *data = [NSData dataWithBytesNoCopy:buffer length:bytesFilled freeWhenDone:YES]; 557 // Shift current string to the end of the buffer 558 // then we will copy back bytes to the start of the buffer [all...] |
/bootable/recovery/ |
recovery.cpp | 394 char* buffer = (char*)malloc(BUFSIZ); local 395 if (buffer == NULL) { 396 LOGE("Failed to allocate buffer\n"); 412 while ((read = fread(buffer, 1, BUFSIZ, fin)) > 0) { 413 if (fwrite(buffer, 1, read, fout) != read) { 419 free(buffer); 805 char buffer[80]; local 807 fgets(buffer, sizeof(buffer), fp); 810 for (i = 0; i < sizeof(buffer) && buffer[i]; ++i) 825 char buffer[256]; local 956 char buffer[PROPERTY_VALUE_MAX+1]; local [all...] |
/development/host/windows/usb/winusb/ |
adb_winusb_interface.cpp | 142 bool AdbWinUsbInterfaceObject::GetSerialNumber(void* buffer,
158 // buffer and then loop through WinUsb_GetDescriptor calls, doubling up
159 // string buffer size every time ERROR_INSUFFICIENT_BUFFER is returned.
161 // Preallocate reasonably sized buffer on the stack.
166 // Buffer byte size
183 // Double up buffer size and reallocate string buffer
201 // Lets see if requested buffer is big enough to fit the string
202 if ((NULL == buffer) || (*buffer_char_size < (str_len + 1))) {
203 // Requested buffer is too small. [all...] |
/device/generic/goldfish/camera/ |
EmulatedCameraDevice.cpp | 158 status_t EmulatedCameraDevice::getCurrentPreviewFrame(void* buffer) 164 if (mCurrentFrame == NULL || buffer == NULL) { 172 YV12ToRGB32(mCurrentFrame, buffer, mFrameWidth, mFrameHeight); 175 YU12ToRGB32(mCurrentFrame, buffer, mFrameWidth, mFrameHeight); 178 NV21ToRGB32(mCurrentFrame, buffer, mFrameWidth, mFrameHeight); 181 NV12ToRGB32(mCurrentFrame, buffer, mFrameWidth, mFrameHeight);
|
/external/chromium/chrome/browser/extensions/ |
extension_creator.cc | 172 scoped_array<uint8> buffer(new uint8[buffer_size]); 174 while ((bytes_read = fread(buffer.get(), 1, buffer_size, 176 if (!signature_creator->Update(buffer.get(), bytes_read)) { 224 scoped_array<uint8> buffer(new uint8[buffer_size]); 227 while ((bytes_read = fread(buffer.get(), 1, buffer_size, 229 if (fwrite(buffer.get(), sizeof(char), bytes_read, crx_handle.get()) != 231 PLOG(ERROR) << "fwrite failed to write buffer";
|