/hardware/qcom/display/msm8960/libgralloc/ |
gpu.cpp | 192 size_t bufferSize = m->finfo.line_length * m->info.yres; 195 bufferSize = roundUpToPageSize(bufferSize); 202 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, 214 dup(m->framebuffer->fd), bufferSize, 226 vaddr += bufferSize; 247 size_t bufferSize) { 273 size = (bufferSize >= size)? bufferSize : size; 310 const size_t bufferSize = m->finfo.line_length * m->info.yres [all...] |
/hardware/qcom/display/msm8974/libgralloc/ |
gpu.cpp | 198 size_t bufferSize = m->finfo.line_length * m->info.yres; 201 bufferSize = roundUpToPageSize(bufferSize); 208 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, 220 dup(m->framebuffer->fd), bufferSize, 232 vaddr += bufferSize; 253 size_t bufferSize) { 288 size = (bufferSize >= size)? bufferSize : size; 325 const size_t bufferSize = m->finfo.line_length * m->info.yres [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
dbgeng.h | 137 STDMETHOD(GetCommand)(THIS_ PSTR Buffer,ULONG BufferSize,PULONG CommandSize) PURE; 139 STDMETHOD(GetOffsetExpression)(THIS_ PSTR Buffer,ULONG BufferSize,PULONG ExpressionSize) PURE; 210 STDMETHOD(GetKernelConnectionOptions)(THIS_ PSTR Buffer,ULONG BufferSize,PULONG OptionsSize) PURE; 247 STDMETHOD(GetOutputLinePrefix)(THIS_ PSTR Buffer,ULONG BufferSize,PULONG PrefixSize) PURE; 249 STDMETHOD(GetIdentity)(THIS_ PSTR Buffer,ULONG BufferSize,PULONG IdentitySize) PURE; 281 STDMETHOD(GetKernelConnectionOptions)(THIS_ PSTR Buffer,ULONG BufferSize,PULONG OptionsSize) PURE; 318 STDMETHOD(GetOutputLinePrefix)(THIS_ PSTR Buffer,ULONG BufferSize,PULONG PrefixSize) PURE; 320 STDMETHOD(GetIdentity)(THIS_ PSTR Buffer,ULONG BufferSize,PULONG IdentitySize) PURE; 343 STDMETHOD(GetKernelConnectionOptions)(THIS_ PSTR Buffer,ULONG BufferSize,PULONG OptionsSize) PURE; 380 STDMETHOD(GetOutputLinePrefix)(THIS_ PSTR Buffer,ULONG BufferSize,PULONG PrefixSize) PURE [all...] |
/external/apache-http/src/org/apache/http/impl/ |
SocketHttpClientConnection.java | 81 int buffersize, 83 return new SocketInputBuffer(socket, buffersize, params); 88 int buffersize, 90 return new SocketOutputBuffer(socket, buffersize, params); 104 int buffersize = HttpConnectionParams.getSocketBufferSize(params); local 107 createSessionInputBuffer(socket, buffersize, params), 108 createSessionOutputBuffer(socket, buffersize, params),
|
SocketHttpServerConnection.java | 81 int buffersize, 83 return new SocketInputBuffer(socket, buffersize, params); 88 int buffersize, 90 return new SocketOutputBuffer(socket, buffersize, params); 102 int buffersize = HttpConnectionParams.getSocketBufferSize(params); local 105 createHttpDataReceiver(socket, buffersize, params), 106 createHttpDataTransmitter(socket, buffersize, params),
|
/libcore/luni/src/main/java/java/util/zip/ |
DeflaterOutputStream.java | 67 public DeflaterOutputStream(OutputStream os, Deflater def, int bufferSize) { 68 this(os, def, bufferSize, false); 93 public DeflaterOutputStream(OutputStream os, Deflater def, int bufferSize, boolean syncFlush) { 100 if (bufferSize <= 0) { 101 throw new IllegalArgumentException("bufferSize <= 0: " + bufferSize); 105 buf = new byte[bufferSize];
|
GZIPOutputStream.java | 70 public GZIPOutputStream(OutputStream os, int bufferSize) throws IOException { 71 this(os, bufferSize, false); 80 public GZIPOutputStream(OutputStream os, int bufferSize, boolean syncFlush) throws IOException { 81 super(os, new Deflater(Deflater.DEFAULT_COMPRESSION, true), bufferSize, syncFlush);
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
CodedInputStream.java | 219 if (size <= (bufferSize - bufferPos) && size > 0) { 321 } else if (size <= (bufferSize - bufferPos) && size > 0) { 535 private int bufferSize; 566 bufferSize = off + len; 574 bufferSize = 0; 661 bufferSize += bufferSizeAfterLimit; 662 final int bufferEnd = totalBytesRetired + bufferSize; 666 bufferSize -= bufferSizeAfterLimit; 701 return bufferPos == bufferSize && !refillBuffer(false); 720 if (bufferPos < bufferSize) { [all...] |
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
LzmaBench.cs | 67 public UInt32 BufferSize;
72 public void Set(UInt32 bufferSize)
74 Buffer = new Byte[bufferSize];
76 BufferSize = bufferSize;
96 while (Pos < BufferSize)
113 for (UInt32 i = 0; i < len && Pos < BufferSize; i++, Pos++)
279 crc.Update(rg.Buffer, 0, rg.BufferSize);
289 MemoryStream inStream = new MemoryStream(rg.Buffer, 0, (int)rg.BufferSize);
|
/external/lzma/Java/SevenZip/ |
LzmaBench.java | 62 public int BufferSize;
66 public void Set(int bufferSize)
68 Buffer = new byte[bufferSize];
70 BufferSize = bufferSize;
90 while (Pos < BufferSize)
107 for (int i = 0; i < len && Pos < BufferSize; i++, Pos++)
323 crc.Update(rg.Buffer, 0, rg.BufferSize);
333 MyInputStream inStream = new MyInputStream(rg.Buffer, rg.BufferSize);
|
/cts/suite/audio_quality/lib/src/task/ |
TaskInput.cpp | 62 size_t bufferSize = mRecordingTimeInMs * AudioHardware::ESampleRate_44100 / 1000 * 64 android::sp<Buffer> buffer(new Buffer(bufferSize, bufferSize, localDevice));
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
IndexBuffer.cpp | 121 bool IndexBufferInterface::setBufferSize(unsigned int bufferSize, GLenum indexType) 125 return mIndexBuffer->initialize(bufferSize, indexType, mDynamic); 129 return mIndexBuffer->setSize(bufferSize, indexType);
|
/libcore/support/src/test/java/tests/support/ |
Support_OutputStream.java | 34 public Support_OutputStream(int bufferSize) { 35 buffer = new byte[bufferSize]; 37 size = bufferSize;
|
/external/chromium_org/sdch/open-vcdiff/src/ |
vcdiff_test.sh | 284 -buffersize \ 285 && { echo "-buffersize option with no argument should fail, but succeeded"; \ 289 # Using -buffersize=1 should still work. 294 -buffersize 1 \ 296 || { echo "vcdiff test with -buffersize=1 failed"; \ 302 # Using -buffersize=1 with stdin/stdout means that vcdiff 305 -buffersize 1 \ 309 || { echo "Encode using stdin/stdout with -buffersize=1 failed"; \ 312 -buffersize 1 \ 316 || { echo "Decode using stdin/stdout with -buffersize=1 failed"; [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
CodedInputStream.java | 201 if (size <= (bufferSize - bufferPos) && size > 0) { 266 if (size <= (bufferSize - bufferPos) && size > 0) { 480 private int bufferSize; 511 bufferSize = off + len; 519 bufferSize = 0; 606 bufferSize += bufferSizeAfterLimit; 607 final int bufferEnd = totalBytesRetired + bufferSize; 611 bufferSize -= bufferSizeAfterLimit; 646 return bufferPos == bufferSize && !refillBuffer(false); 665 if (bufferPos < bufferSize) { [all...] |
/external/chromium_org/cc/resources/ |
memory_history.h | 20 size_t HistorySize() const { return ring_buffer_.BufferSize(); }
|
/external/chromium_org/content/common/ |
user_agent_ios.mm | 109 size_t bufferSize = 0; 110 sysctl(mib, namelen, NULL, &bufferSize, NULL, 0); 111 char kernel_version[bufferSize]; 112 int result = sysctl(mib, namelen, kernel_version, &bufferSize, NULL, 0);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
SpinLockTest.cpp | 46 static const size_t bufferSize = 16; 52 for (size_t i = 0; i < bufferSize; ++i) 60 for (size_t i = 0; i < bufferSize; ++i) 81 char sharedBuffer[bufferSize];
|
/external/chromium_org/ui/events/gestures/ |
velocity_calculator.h | 18 explicit VelocityCalculator(int bufferSize);
|
/external/lzma/CPP/7zip/Common/ |
OutBuffer.h | 39 bool Create(UInt32 bufferSize);
|
/external/lzma/CPP/7zip/Compress/ |
RangeCoder.h | 24 bool Create(UInt32 bufferSize) { return Stream.Create(bufferSize); }
115 bool Create(UInt32 bufferSize) { return Stream.Create(bufferSize); }
|
/external/lzma/CPP/7zip/UI/Common/ |
Bench.h | 40 HRESULT CrcBench(UInt32 numThreads, UInt32 bufferSize, UInt64 &speed);
|
/frameworks/av/media/mtp/ |
MtpPacket.cpp | 31 MtpPacket::MtpPacket(int bufferSize) 33 mBufferSize(bufferSize), 34 mAllocationIncrement(bufferSize), 37 mBuffer = (uint8_t *)malloc(bufferSize);
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
perfutils.h | 24 VOID PrintStatistics(struct timeval *tv_beg,struct timeval* tv_end, char * ModuleName,INT BufferSize);
|
/libcore/dalvik/src/main/java/dalvik/system/ |
VMDebug.java | 155 * @param bufferSize the maximum size of both files combined. If passed 164 public static void startMethodTracing(String traceFileName, int bufferSize, int flags, boolean samplingEnabled, int intervalUs) { 165 startMethodTracingFilename(traceFileName, checkBufferSize(bufferSize), flags, samplingEnabled, intervalUs); 173 public static void startMethodTracing(String traceFileName, FileDescriptor fd, int bufferSize, int flags, boolean samplingEnabled, int intervalUs) { 177 startMethodTracingFd(traceFileName, fd, checkBufferSize(bufferSize), flags, samplingEnabled, intervalUs); 185 public static void startMethodTracingDdms(int bufferSize, int flags, boolean samplingEnabled, int intervalUs) { 186 startMethodTracingDdmsImpl(checkBufferSize(bufferSize), flags, samplingEnabled, intervalUs); 189 private static int checkBufferSize(int bufferSize) { 190 if (bufferSize == 0) { 192 bufferSize = 8 * 1024 * 1024 [all...] |