Home
last modified time | relevance | path

Searched refs:bufferSize (Results 1 – 11 of 11) sorted by relevance

/device/generic/goldfish/libqemu/
Dtest_guest_2.c57 int bufferSize = 16384; in main() local
132 bufferSize = size; in main()
152 buffer = malloc(bufferSize); in main()
153 buffer2 = malloc(bufferSize); in main()
155 for (nn = 0; nn < bufferSize; nn++) { in main()
163 int ret = pipe_send(pipe, buffer, bufferSize); in main()
167 fprintf(stderr,"%d: Sending %d bytes failed: %s\n", count, bufferSize, strerror(errno)); in main()
174 len = bufferSize; in main()
189 if (memcmp(buffer, buffer2, bufferSize) != 0) { in main()
194 for (nn = 0; nn < bufferSize; ) { in main()
[all …]
/device/generic/goldfish/opengl/system/renderControl_enc/
DrenderControl_entry.cpp11 EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize);
12 EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize);
59 EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize) in rcQueryEGLString() argument
62 return ctx->rcQueryEGLString(ctx, name, buffer, bufferSize); in rcQueryEGLString()
65 EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize) in rcGetGLString() argument
68 return ctx->rcGetGLString(ctx, name, buffer, bufferSize); in rcGetGLString()
DrenderControl.attrib13 len buffer bufferSize
17 len buffer bufferSize
DrenderControl.in3 GL_ENTRY(EGLint, rcQueryEGLString, EGLenum name, void *buffer, EGLint bufferSize)
4 GL_ENTRY(EGLint, rcGetGLString, EGLenum name, void *buffer, EGLint bufferSize)
DrenderControl_enc.cpp103 EGLint rcQueryEGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize) in rcQueryEGLString_enc() argument
111 const unsigned int __size_buffer = bufferSize; in rcQueryEGLString_enc()
124 memcpy(ptr, &bufferSize, 4); ptr += 4; in rcQueryEGLString_enc()
146 EGLint rcGetGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize) in rcGetGLString_enc() argument
154 const unsigned int __size_buffer = bufferSize; in rcGetGLString_enc()
167 memcpy(ptr, &bufferSize, 4); ptr += 4; in rcGetGLString_enc()
DREADME16 EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize);
18 if buffer is NULL or the bufferSize is not big enough the return value
/device/linaro/hikey/gralloc/
Dalloc_device.cpp277 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
286 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked()
306 vaddr = (void *)((uintptr_t)vaddr + bufferSize); in gralloc_alloc_framebuffer_locked()
518 const size_t bufferSize = m->finfo.line_length * m->info.yres; in alloc_device_free() local
519 int index = ((uintptr_t)hnd->base - (uintptr_t)m->framebuffer->base) / bufferSize; in alloc_device_free()
/device/asus/fugu/libaudio/
DAudioStreamOut.h52 size_t bufferSize() const { return mInputBufSize; } in bufferSize() function
DAudioStreamOut.cpp756 DUMP("\tbuffer size : %d\n", bufferSize()); in dump()
Daudio_hal_thunks.cpp113 return tstream->impl->bufferSize(); in out_get_buffer_size()
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQualcommUsbCamera.cpp125 static int readFromFile(char* fileName, char* buffer, int bufferSize);
2764 static int readFromFile(char* fileName, char* buffer, int bufferSize) in readFromFile() argument
2776 if (fileSize > bufferSize){ in readFromFile()
2777 ALOGE("%s: Error %d > %d", __func__, fileSize, bufferSize); in readFromFile()
2781 bytesRead = fread(buffer, 1, bufferSize, fp); in readFromFile()