/frameworks/base/core/jni/ |
android_opengl_GLES10Ext.cpp | 76 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer"); 80 "getBasePointer", "(Ljava/nio/Buffer;)J"); 82 "getBaseArray", "(Ljava/nio/Buffer;)Ljava/lang/Object;"); 84 "getBaseArrayOffset", "(Ljava/nio/Buffer;)I"); 93 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) 100 position = _env->GetIntField(buffer, positionID); 101 limit = _env->GetIntField(buffer, limitID); 102 elementSizeShift = _env->GetIntField(buffer, elementSizeShiftID); 105 getBasePointerID, buffer); 112 getBaseArrayID, buffer); [all...] |
/frameworks/native/libs/gui/ |
IGraphicBufferProducer.cpp | 194 sp<GraphicBuffer> buffer; local 195 int result = requestBuffer(bufferIdx, &buffer); 196 reply->writeInt32(buffer != 0); 197 if (buffer != 0) { 198 reply->write(*buffer); 303 status_t IGraphicBufferProducer::QueueBufferInput::flatten(void* buffer, size_t size, 307 char* p = (char*)buffer; 312 err = fence->flatten(p, size - (p - (char*)buffer), fds, count); 316 status_t IGraphicBufferProducer::QueueBufferInput::unflatten(void const* buffer, 320 const char* p = (const char*)buffer; [all...] |
/hardware/qcom/media/mm-core/omxcore/src/common/ |
omx_core_cmp.cpp | 254 OMX_IN OMX_U8* buffer) 267 buffer); 296 OMX_IN OMX_BUFFERHEADERTYPE* buffer) 301 DEBUG_PRINT("OMXCORE: qc_omx_component_free_buffer[%d] %x, %x\n", (unsigned)port, (unsigned)hComp, (unsigned)buffer); 305 eRet = pThis->free_buffer(hComp,port,buffer); 312 OMX_IN OMX_BUFFERHEADERTYPE* buffer) 316 DEBUG_PRINT("OMXCORE: qc_omx_component_empty_this_buffer %x, %x\n",(unsigned)hComp,(unsigned)buffer); 320 eRet = pThis->empty_this_buffer(hComp,buffer); 327 OMX_IN OMX_BUFFERHEADERTYPE* buffer) 331 DEBUG_PRINT("OMXCORE: qc_omx_component_fill_this_buffer %x, %x\n",(unsigned)hComp,(unsigned)buffer); [all...] |
/hardware/qcom/media/mm-core/src/common/ |
omx_core_cmp.cpp | 254 OMX_IN OMX_U8* buffer) 267 buffer); 296 OMX_IN OMX_BUFFERHEADERTYPE* buffer) 301 DEBUG_PRINT("OMXCORE: qc_omx_component_free_buffer[%d] %x, %x\n", (unsigned)port, (unsigned)hComp, (unsigned)buffer); 305 eRet = pThis->free_buffer(hComp,port,buffer); 312 OMX_IN OMX_BUFFERHEADERTYPE* buffer) 316 DEBUG_PRINT("OMXCORE: qc_omx_component_empty_this_buffer %x, %x\n",(unsigned)hComp,(unsigned)buffer); 320 eRet = pThis->empty_this_buffer(hComp,buffer); 327 OMX_IN OMX_BUFFERHEADERTYPE* buffer) 331 DEBUG_PRINT("OMXCORE: qc_omx_component_fill_this_buffer %x, %x\n",(unsigned)hComp,(unsigned)buffer); [all...] |
/libcore/luni/src/main/java/java/util/ |
Properties.java | 106 private void dumpString(StringBuilder buffer, String string, boolean key) { 109 buffer.append("\\ "); 117 buffer.append("\\t"); 120 buffer.append("\\n"); 123 buffer.append("\\f"); 126 buffer.append("\\r"); 130 buffer.append('\\'); 133 buffer.append(ch); 136 buffer.append("\\u"); 138 buffer.append("0") [all...] |
/ndk/sources/host-tools/sed-4.2.1/sed/ |
utils.c | 344 symlink target, stored in a temporary buffer that the caller should 406 /* Use buf2 as the buffer, it saves a strcpy if it is not pointing to 514 /* Implement a variable sized buffer of `stuff'. We don't know what it is, 517 struct buffer 526 struct buffer * 529 struct buffer *b = MALLOC(1, struct buffer); 538 struct buffer *b; 545 struct buffer *b; 550 static void resize_buffer P_((struct buffer *b, size_t newlen)) 513 struct buffer struct [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
CachingPipeline.java | 351 public synchronized void compute(TripleBufferBitmap buffer, ImagePreset preset, int type) { 369 mEnvironment.cache(buffer.getProducer()); 370 buffer.updateProducerBitmap(resizedOriginalBitmap); 372 Bitmap bitmap = buffer.getProducer(); 377 mEnvironment.cache(buffer.getProducer()); 378 buffer.updateProducerBitmap(resizedOriginalBitmap); 379 bitmap = buffer.getProducer(); 385 mEnvironment.cache(buffer.getProducer()); 386 buffer.setProducer(tmpbitmap); 402 TripleBufferBitmap buffer = MasterImage.getImage().getDoubleBuffer() local [all...] |
/cts/suite/audio_quality/lib/src/audio/ |
AudioLocal.cpp | 17 #include "audio/Buffer.h" 41 bool AudioLocal::startPlaybackOrRecord(android::sp<Buffer>& buffer, int numberRepetition) 49 mBuffer = buffer;
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioRecord_BufferSizeTest.java | 64 byte[] buffer = new byte[bufferSize]; 73 assertTrue(mAudioRecord.read(buffer, 0, bufferSize) > 0);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
GLShape.java | 37 public void putIndices(ShortBuffer buffer) { 41 face.putIndices(buffer);
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRPtrBuffer.h | 43 __strong NSMutableData *buffer; variable 50 @property (retain, getter=getBuffer, setter=setBuffer:) NSMutableData *buffer; variable
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
InflaterInputStreamTest.java | 64 int buffer[] = new int[500]; 72 buffer[i] = result; 100 int buffer[] = new int[500]; local 108 buffer[i] = result; 171 int buffer[] = new int[500]; local 181 buffer[i] = result; 189 orgBuffer[j], buffer[j]); 389 int buffer[] = new int[100]; local 430 buffer[i] = result; 438 orgBuffer[j], buffer[j - 2]) [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
DefaultResponseParser.java | 57 final SessionInputBuffer buffer, 61 super(buffer, parser, params); 76 // clear the buffer
|
/external/ceres-solver/internal/ceres/ |
schur_eliminator.h | 281 double* buffer, 293 const double* buffer, 324 // Buffer to store the products of the y and z blocks generated
|
/external/chromium/googleurl/src/ |
url_canon_etc.cc | 52 CanonOutputT<CHAR>* buffer, 72 // Remove the whitespace into the new buffer and return it. 75 buffer->push_back(input[i]); 77 *output_len = buffer->length(); 78 return buffer->data(); 304 CanonOutputT<char>* buffer, 306 return DoRemoveURLWhitespace(input, input_len, buffer, output_len); 310 CanonOutputT<char16>* buffer, 312 return DoRemoveURLWhitespace(input, input_len, buffer, output_len);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
diskcache.cc | 271 char* buffer = new char[buffer_size]; local 272 encode(buffer, buffer_size, id.data(), id.length(), 274 // TODO: ASSERT(strlen(buffer) < FileSystem::MaxBasenameLength()); 286 pathname.SetBasename(buffer); 290 delete [] buffer; 306 char* buffer = new char[buffer_size]; local 307 decode(buffer, buffer_size, pathname.basename().data(), 309 id->assign(buffer); 310 delete [] buffer;
|
/external/chromium/third_party/libjingle/source/talk/session/tunnel/ |
pseudotcpchannel.h | 95 talk_base::StreamResult Read(void* buffer, size_t buffer_len, 120 const char* buffer,
|
/external/e2fsprogs/lib/ext2fs/ |
freefs.c | 68 if (icache->buffer) 69 ext2fs_free_mem(&icache->buffer);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
ScenarioResults.java | 82 StringBuffer buffer = new StringBuffer(); local 90 if (buffer.indexOf(baselineName) < 0) { 91 if (buffer.length() > 0) buffer.append('|'); 92 buffer.append(baselineName); 97 return buffer.toString(); 177 StringBuffer buffer = new StringBuffer(tokenizer.nextToken()); local 182 buffer.append(token); // add the separator 190 buffer.append(token); 192 buffer.append(token.substring(last+1)) [all...] |
/external/freetype/src/cache/ |
ftcsbits.c | 57 if ( !FT_ALLOC( sbit->buffer, size ) ) 58 FT_MEM_COPY( sbit->buffer, bitmap->buffer, size ); 75 FT_FREE( sbit->buffer ); 125 sbit->buffer = 0; 147 /* and we will leave it as `missing' with sbit.buffer = 0 */ 179 /* copy the bitmap into a new buffer -- ignore error */ 189 /* we mark unloaded glyphs with `sbit.buffer == 0' */ 197 sbit->buffer = NULL; 298 if ( sbit->buffer ) [all...] |
/external/icu4c/common/ |
unorm.cpp | 137 UnicodeString buffer; local 141 buffer.append(uiter_next32(src)); 149 buffer.append(c); 154 /* always write this character to the front of the buffer */ 155 buffer.insert(0, c); 164 if(buffer.length()>0 && doNormalize) { 165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); 167 *pNeededToNormalize= destString!=buffer; 172 return buffer.extract(dest, destCapacity, *pErrorCode);
|
/external/icu4c/i18n/ |
nfrs.h | 84 // convert n to digit string in buffer, return length of string 85 uint32_t util64_tou(int64_t n, UChar* buffer, uint32_t buflen, uint32_t radix = 10, UBool raw = FALSE); 89 uint32_t util64_toa(int64_t n, char* buffer, uint32_t buflen, uint32_t radix = 10, UBool raw = FALSE);
|
/external/icu4c/samples/legacy/ |
oldcol.cpp | 26 // Very simple example code - sticks a sortkey in the buffer 28 int32_t getSortKey_legacy(const char *locale, const UChar *string, int32_t sLen, uint8_t *buffer, int32_t bLen) { 34 int32_t result = ucol_getSortKey(coll, string, sLen, buffer, bLen);
|
/external/iproute2/tc/ |
m_police.c | 136 unsigned buffer=0, mtu=0, mpu=0; local 160 strcmp(*argv, "buffer") == 0 || 163 if (buffer) { 164 fprintf(stderr, "Double \"buffer/burst\" spec\n"); 167 if (get_size_and_cell(&buffer, &Rcell_log, *argv) < 0) { 168 explain1("buffer"); 262 if (p.rate.rate && !buffer) { 284 p.burst = tc_calc_xmittime(p.rate.rate, buffer); 327 unsigned buffer; local 348 buffer = tc_calc_xmitsize(p->rate.rate, p->burst) [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
GZIPSerializer.java | 81 public void writeObject(ByteBuffer buffer, Object object) throws IOException { 96 buffer.put(byteArrayOutput.toByteArray());
|