Searched refs:bufferSize (Results 1 - 15 of 15) sorted by relevance

/device/generic/goldfish/libqemu/
H A Dtest_guest_2.c57 int bufferSize = 16384; local
132 bufferSize = size;
152 buffer = malloc(bufferSize);
153 buffer2 = malloc(bufferSize);
155 for (nn = 0; nn < bufferSize; nn++) {
163 int ret = pipe_send(pipe, buffer, bufferSize);
167 fprintf(stderr,"%d: Sending %d bytes failed: %s\n", count, bufferSize, strerror(errno));
174 len = bufferSize;
189 if (memcmp(buffer, buffer2, bufferSize) != 0) {
194 for (nn = 0; nn < bufferSize; ) {
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
H A DATokenBuffer.h92 virtual int bufferSize() { return buffer_size; } function in class:ANTLRTokenBuffer
H A DAParser.cpp251 if ( i >= inputTokens->bufferSize() || inputTokens->minTokens() < LLk ) /* MR20 Was "<=" */
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
H A DATokenBuffer.h92 virtual int bufferSize() { return buffer_size; } function in class:ANTLRTokenBuffer
H A DAParser.cpp242 if ( i >= inputTokens->bufferSize() || inputTokens->minTokens() < LLk ) /* MR20 Was "<=" */
/device/generic/goldfish-opengl/system/renderControl_enc/
H A DrenderControl_entry.cpp10 EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize);
11 EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize);
64 EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize) argument
67 return ctx->rcQueryEGLString(ctx, name, buffer, bufferSize);
70 EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize) argument
73 return ctx->rcGetGLString(ctx, name, buffer, bufferSize);
H A DrenderControl_enc.cpp106 EGLint rcQueryEGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize) argument
114 const unsigned int __size_buffer = bufferSize;
127 memcpy(ptr, &bufferSize, 4); ptr += 4;
151 EGLint rcGetGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize) argument
159 const unsigned int __size_buffer = bufferSize;
172 memcpy(ptr, &bufferSize, 4); ptr += 4;
/device/linaro/hikey/gralloc/
H A Dalloc_device.cpp271 const size_t bufferSize = m->finfo.line_length * m->info.yres; local
280 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle);
300 vaddr = (void *)((uintptr_t)vaddr + bufferSize);
519 const size_t bufferSize = m->finfo.line_length * m->info.yres; local
520 int index = ((uintptr_t)hnd->base - (uintptr_t)m->framebuffer->base) / bufferSize;
/device/asus/fugu/libaudio/
H A DAudioStreamOut.h52 size_t bufferSize() const { return mInputBufSize; } function in class:android::AudioStreamOut
H A DAudioStreamOut.cpp756 DUMP("\tbuffer size : %d\n", bufferSize());
H A Daudio_hal_thunks.cpp113 return tstream->impl->bufferSize();
/device/google/marlin/camera/usbcamcore/src/
H A DQualcommUsbCamera.cpp125 static int readFromFile(char* fileName, char* buffer, int bufferSize);
2764 static int readFromFile(char* fileName, char* buffer, int bufferSize) argument
2776 if (fileSize > bufferSize){
2777 ALOGE("%s: Error %d > %d", __func__, fileSize, bufferSize);
2781 bytesRead = fread(buffer, 1, bufferSize, fp);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/expat/
H A Dxmlparse.c1641 int bufferSize = (int)(bufferLim - bufferPtr); local
1642 if (bufferSize == 0)
1643 bufferSize = INIT_BUFFER_SIZE;
1645 bufferSize *= 2;
1646 } while (bufferSize < neededSize);
1647 newBuf = (char *)MALLOC(bufferSize);
1652 bufferLim = newBuf + bufferSize;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/
H A Dxmlparse.c1641 int bufferSize = (int)(bufferLim - bufferPtr); local
1642 if (bufferSize == 0)
1643 bufferSize = INIT_BUFFER_SIZE;
1645 bufferSize *= 2;
1646 } while (bufferSize < neededSize);
1647 newBuf = (char *)MALLOC(bufferSize);
1652 bufferLim = newBuf + bufferSize;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/
H A Dxmlparse.c1717 int bufferSize = (int)(bufferLim - bufferPtr); local
1718 if (bufferSize == 0)
1719 bufferSize = INIT_BUFFER_SIZE;
1721 bufferSize *= 2;
1722 } while (bufferSize < neededSize);
1723 newBuf = (char *)MALLOC(bufferSize);
1728 bufferLim = newBuf + bufferSize;

Completed in 449 milliseconds