Home
last modified time | relevance | path

Searched refs:bufferSize (Results 1 – 25 of 25) 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.cpp10 EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize);
11 EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize);
45 GLint rcCompose(uint32_t bufferSize, void* buffer);
73 EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize) in rcQueryEGLString() argument
76 return ctx->rcQueryEGLString(ctx, name, buffer, bufferSize); in rcQueryEGLString()
79 EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize) in rcGetGLString() argument
82 return ctx->rcGetGLString(ctx, name, buffer, bufferSize); in rcGetGLString()
283 GLint rcCompose(uint32_t bufferSize, void* buffer) in rcCompose() argument
286 return ctx->rcCompose(ctx, bufferSize, buffer); in rcCompose()
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.cpp108 EGLint rcQueryEGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize) in rcQueryEGLString_enc() argument
116 const unsigned int __size_buffer = bufferSize; in rcQueryEGLString_enc()
129 memcpy(ptr, &bufferSize, 4); ptr += 4; in rcQueryEGLString_enc()
153 EGLint rcGetGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize) in rcGetGLString_enc() argument
161 const unsigned int __size_buffer = bufferSize; in rcGetGLString_enc()
174 memcpy(ptr, &bufferSize, 4); ptr += 4; in rcGetGLString_enc()
1396 GLint rcCompose_enc(void *self , uint32_t bufferSize, void* buffer) in rcCompose_enc() argument
1404 const unsigned int __size_buffer = bufferSize; in rcCompose_enc()
1415 memcpy(ptr, &bufferSize, 4); ptr += 4; in rcCompose_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/generic/goldfish/gralloc/
Dgralloc.cpp125 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
131 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked()
150 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
267 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_free() local
268 int index = (hnd->base - m->framebuffer->base) / bufferSize; in gralloc_free()
/device/generic/opengl-transport/host/libs/virglrenderer/renderControl_dec/
DrenderControl.attrib14 len buffer bufferSize
19 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)
/device/generic/goldfish/camera/qemu-pipeline3/
DQemuSensor.cpp398 size_t bufferSize = width * height * 4; in captureRGBA() local
403 mCameraQemuClient.queryFrame(nullptr, img, 0, bufferSize, whiteBalance[0], in captureRGBA()
467 size_t bufferSize = (width * height * 12) / 8; in captureNV21() local
472 mCameraQemuClient.queryFrame(img, nullptr, bufferSize, 0, whiteBalance[0], in captureNV21()
/device/generic/goldfish-opengl/system/vulkan_enc/
DAndroidHardwareBuffer.h53 VkDeviceSize bufferSize,
DAndroidHardwareBuffer.cpp194 VkDeviceSize bufferSize, in createAndroidHardwareBuffer() argument
212 w = bufferSize; in createAndroidHardwareBuffer()
DResourceTracker.cpp74 VkDeviceSize bufferSize, in createAndroidHardwareBuffer() argument
1611 VkDeviceSize bufferSize = 0; in on_vkAllocateMemory() local
1640 bufferSize = bufCi.size; in on_vkAllocateMemory()
1652 bufferSize, in on_vkAllocateMemory()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
DATokenBuffer.h92 virtual int bufferSize() { return buffer_size; } in bufferSize() function
DAParser.cpp242 if ( i >= inputTokens->bufferSize() || inputTokens->minTokens() < LLk ) /* MR20 Was "<=" */ in LT()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
DATokenBuffer.h92 virtual int bufferSize() { return buffer_size; } in bufferSize() function
DAParser.cpp251 if ( i >= inputTokens->bufferSize() || inputTokens->minTokens() < LLk ) /* MR20 Was "<=" */ in LT()
/device/linaro/hikey/gralloc/
Dalloc_device.cpp350 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
359 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked()
380 vaddr = (void *)((uintptr_t)vaddr + bufferSize); in gralloc_alloc_framebuffer_locked()
415 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked()
/device/generic/opengl-transport/host/libs/virglrenderer/
DRenderControl.cpp219 static EGLint rcQueryEGLString(void* ctx_, EGLenum name, void* buffer, EGLint bufferSize) { in rcQueryEGLString() argument
225 if (strlen(str) > (size_t)bufferSize) { in rcQueryEGLString()
226 memset(buffer, 0, bufferSize); in rcQueryEGLString()
231 strncpy(strOut, str, bufferSize - 1); in rcQueryEGLString()
232 strOut[bufferSize - 1] = 0; in rcQueryEGLString()
255 static EGLint rcGetGLString(void* ctx_, EGLenum name, void* buffer, EGLint bufferSize) { in rcGetGLString() argument
298 if (!buffer || nextBufferSize > bufferSize) in rcGetGLString()
/device/google/marlin/camera/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()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/expat/
Dxmlparse.c1641 int bufferSize = (int)(bufferLim - bufferPtr); in XML_GetBuffer() local
1642 if (bufferSize == 0) in XML_GetBuffer()
1643 bufferSize = INIT_BUFFER_SIZE; in XML_GetBuffer()
1645 bufferSize *= 2; in XML_GetBuffer()
1646 } while (bufferSize < neededSize); in XML_GetBuffer()
1647 newBuf = (char *)MALLOC(bufferSize); in XML_GetBuffer()
1652 bufferLim = newBuf + bufferSize; in XML_GetBuffer()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/
Dxmlparse.c1641 int bufferSize = (int)(bufferLim - bufferPtr); in XML_GetBuffer() local
1642 if (bufferSize == 0) in XML_GetBuffer()
1643 bufferSize = INIT_BUFFER_SIZE; in XML_GetBuffer()
1645 bufferSize *= 2; in XML_GetBuffer()
1646 } while (bufferSize < neededSize); in XML_GetBuffer()
1647 newBuf = (char *)MALLOC(bufferSize); in XML_GetBuffer()
1652 bufferLim = newBuf + bufferSize; in XML_GetBuffer()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/
Dxmlparse.c1717 int bufferSize = (int)(bufferLim - bufferPtr); in XML_GetBuffer() local
1718 if (bufferSize == 0) in XML_GetBuffer()
1719 bufferSize = INIT_BUFFER_SIZE; in XML_GetBuffer()
1721 bufferSize *= 2; in XML_GetBuffer()
1722 } while (bufferSize < neededSize); in XML_GetBuffer()
1723 newBuf = (char *)MALLOC(bufferSize); in XML_GetBuffer()
1728 bufferLim = newBuf + bufferSize; in XML_GetBuffer()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/
DCHANGES_FROM_133.txt533 ATokenBuffer:bufferSize() did not specify a type for the
560 if (i >= inputTokens->bufferSize() ||
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/
DCHANGES_FROM_133.txt1209 ATokenBuffer:bufferSize() did not specify a type for the
1236 if (i >= inputTokens->bufferSize() ||