/external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/ |
IndexBuffer11.h | 24 virtual bool initialize(unsigned int bufferSize, GLenum indexType, bool dynamic); 33 virtual bool setSize(unsigned int bufferSize, GLenum indexType);
|
IndexBuffer9.h | 24 virtual bool initialize(unsigned int bufferSize, GLenum indexType, bool dynamic); 33 virtual bool setSize(unsigned int bufferSize, GLenum indexType);
|
IndexBuffer11.cpp | 32 bool IndexBuffer11::initialize(unsigned int bufferSize, GLenum indexType, bool dynamic) 42 if (bufferSize > 0) 47 bufferDesc.ByteWidth = bufferSize; 61 mBufferSize = bufferSize; 129 bool IndexBuffer11::setSize(unsigned int bufferSize, GLenum indexType) 131 if (bufferSize > mBufferSize || indexType != mIndexType) 133 return initialize(bufferSize, indexType, mDynamicUsage);
|
IndexBuffer9.cpp | 33 bool IndexBuffer9::initialize(unsigned int bufferSize, GLenum indexType, bool dynamic) 43 if (bufferSize > 0) 74 HRESULT result = mRenderer->createIndexBuffer(bufferSize, usageFlags, format, &mIndexBuffer); 82 mBufferSize = bufferSize; 149 bool IndexBuffer9::setSize(unsigned int bufferSize, GLenum indexType) 151 if (bufferSize > mBufferSize || indexType != mIndexType) 153 return initialize(bufferSize, indexType, mDynamic);
|
IndexBuffer.h | 26 virtual bool initialize(unsigned int bufferSize, GLenum indexType, bool dynamic) = 0; 35 virtual bool setSize(unsigned int bufferSize, GLenum indexType) = 0; 73 bool setBufferSize(unsigned int bufferSize, GLenum indexType);
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
flagparser.c | 16 static void extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, UErrorCode *status); 17 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize); 91 static void extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, UErrorCode *status) { 99 offset = getFlagOffset(buffer, bufferSize); 127 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize) { 130 for (offset = 0; offset < bufferSize;offset++) { 137 if (offset == bufferSize || (offset - 1) == bufferSize) {
|
/external/icu4c/tools/toolutil/ |
flagparser.c | 16 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status); 17 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize); 108 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char **flagNames, int32_t numOfFlags, UErrorCode *status) { 116 offset = getFlagOffset(buffer, bufferSize); 156 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize) { 159 for (offset = 0; offset < bufferSize;offset++) { 166 if (offset == bufferSize || (offset - 1) == bufferSize) {
|
/external/jsilver/src/com/google/clearsilver/jsilver/output/ |
ThreadLocalOutputBufferProvider.java | 27 public ThreadLocalOutputBufferProvider(final int bufferSize) { 30 return new StringBuilder(bufferSize);
|
/external/skia/include/utils/ |
SkFrontBufferedStream.h | 26 * @param bufferSize Exact size of the buffer to be used. 27 * @return An SkStream that can buffer up to bufferSize. 29 static SkFrontBufferedStream* Create(SkStream* stream, size_t bufferSize); 62 SkFrontBufferedStream(SkStream*, size_t bufferSize);
|
/external/aac/libMpegTPEnc/include/ |
mpegFileWrite.h | 122 * \param bufferSize Size of buffer to write in bytes. 127 int bufferSize
|
/libcore/luni/src/main/java/java/util/zip/ |
GZIPOutputStream.java | 71 public GZIPOutputStream(OutputStream os, int bufferSize) throws IOException { 72 this(os, bufferSize, true); 81 public GZIPOutputStream(OutputStream os, int bufferSize, boolean syncFlush) throws IOException { 82 super(os, new Deflater(Deflater.DEFAULT_COMPRESSION, true), bufferSize, syncFlush);
|
InflaterOutputStream.java | 69 * @param bufferSize the length in bytes of the internal buffer 71 public InflaterOutputStream(OutputStream out, Inflater inf, int bufferSize) { 78 if (bufferSize <= 0) { 79 throw new IllegalArgumentException("bufferSize <= 0: " + bufferSize); 82 this.buf = new byte[bufferSize];
|
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];
|
DeflaterInputStream.java | 71 * @param bufferSize the length in bytes of the internal buffer 73 public DeflaterInputStream(InputStream in, Deflater deflater, int bufferSize) { 80 if (bufferSize <= 0) { 81 throw new IllegalArgumentException("bufferSize <= 0: " + bufferSize); 84 this.buf = new byte[bufferSize];
|
/external/expat/tests/benchmark/ |
benchmark.c | 21 "usage: %s [-n] filename bufferSize nr_of_loops\n", prog); 31 int nrOfLoops, bufferSize, fileSize, i, isFinal; 61 bufferSize = atoi (argv[j + 2]); 63 if (bufferSize <= 0 || nrOfLoops <= 0) { 86 if (parseBufferSize <= bufferSize) 89 parseBufferSize = bufferSize; 100 XMLBufPtr += bufferSize; 112 nrOfLoops, bufferSize, cpuTime / (double) nrOfLoops);
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleThread.java | 146 int bufferSize = 0; 148 bufferSize += 4; // version, flags, whatever 149 bufferSize += 4; // thread ID 150 bufferSize += 4; // frame count 152 bufferSize += 4 + elem.getClassName().length() * 2; 153 bufferSize += 4 + elem.getMethodName().length() * 2; 154 bufferSize += 4; 156 bufferSize += elem.getFileName().length() * 2; 157 bufferSize += 4; // line number 160 ByteBuffer out = ByteBuffer.allocate(bufferSize); [all...] |
DdmHandleProfiling.java | 105 int bufferSize = in.getInt(); 111 + "', size=" + bufferSize + ", flags=" + flags); 114 Debug.startMethodTracing(fileName, bufferSize, flags); 147 int bufferSize = in.getInt(); 150 Log.v("ddm-heap", "Method prof stream start: size=" + bufferSize 155 Debug.startMethodTracingDdms(bufferSize, flags, false, 0); 202 int bufferSize = in.getInt(); 206 Log.v("ddm-heap", "Sample prof stream start: size=" + bufferSize 211 Debug.startMethodTracingDdms(bufferSize, flags, true, interval);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
mmapped_buffer.h | 33 const int bufferSize, const bool isUpdatable) { 43 int alignedSize = bufferSize + offset; 58 return new MmappedBuffer(buffer, bufferSize, mmappedBuffer, alignedSize, mmapFd, 86 AK_FORCE_INLINE MmappedBuffer(uint8_t *const buffer, const int bufferSize, 89 : mBuffer(buffer), mBufferSize(bufferSize), mMmappedBuffer(mmappedBuffer),
|
/external/lzma/CS/7zip/Common/ |
OutBuffer.cs | 13 public OutBuffer(uint bufferSize)
15 m_Buffer = new byte[bufferSize];
16 m_BufferSize = bufferSize;
|
/art/test/102-concurrent-gc/src/ |
Main.java | 21 private static final int bufferSize = 1024; 37 l[index].bytes = new byte[bufferSize];
|
/external/srec/portable/src/ |
PFile.c | 198 size_t i, bufferSize, count, totalRead = 0; 225 bufferSize = count - i; 228 if (bufferSize < MAX_INT_DIGITS) 230 count = pfread(number + bufferSize, sizeof(LCHAR), MAX_INT_DIGITS - bufferSize, self); 231 bufferSize += count; 233 if (count < MAX_INT_DIGITS - bufferSize && pferror(self)) 242 for (i = 0; i < bufferSize && !LISSPACE(number[i]); ++i); 243 if (i < bufferSize) 246 if (PFileSeek(self, - (int)(bufferSize - i), SEEK_CUR) [all...] |
/external/chromium_org/ui/base/gestures/ |
velocity_calculator.h | 18 explicit VelocityCalculator(int bufferSize);
|
/libcore/support/src/test/java/tests/support/ |
Support_ASimpleWriter.java | 34 public Support_ASimpleWriter(int bufferSize) { 35 buf = new char[bufferSize]; 37 size = bufferSize;
|
Support_OutputStream.java | 34 public Support_OutputStream(int bufferSize) { 35 buffer = new byte[bufferSize]; 37 size = bufferSize;
|
/external/skia/src/utils/ |
SkFrontBufferedStream.cpp | 10 SkFrontBufferedStream* SkFrontBufferedStream::Create(SkStream* stream, size_t bufferSize) { 14 return SkNEW_ARGS(SkFrontBufferedStream, (stream, bufferSize)); 17 SkFrontBufferedStream::SkFrontBufferedStream(SkStream* stream, size_t bufferSize) 21 , fBufferSize(bufferSize) 22 , fBuffer(bufferSize) {}
|