/hardware/ti/omap3/dspbridge/libbridge/inc/ |
DSPStream.h | 46 *! 07-Jun-2001 sg: Made buffer alloc/free fxn names plural. 49 *! Buffer(), since these have been moved to DSP_STREAMATTRIN. 71 * uSize: Size of the buffer 81 * DSP_EFAIL: General failure to allocate buffer. 106 * Free a previously allocated stream data buffer. 164 * Send a buffer of data to a stream. 167 * pBuffer: Ptr to the buffer. 168 * dwDataSize: Size of data in buffer in bytes. 169 * dwBufSize: Size of actual buffer in bytes. 170 * dwArg: User defined buffer context [all...] |
/frameworks/base/media/libstagefright/ |
WAVExtractor.cpp | 56 MediaBuffer **buffer, const ReadOptions *options = NULL); 250 // As a temporary buffer for 8->16 bit conversion. 293 MediaBuffer *buffer; local 294 status_t err = mGroup->acquire_buffer(&buffer); 300 mCurrentPos, buffer->data(), 304 buffer->release(); 305 buffer = NULL; 312 buffer->set_range(0, n); 320 // The new buffer holds the sample number of samples, but each 325 const uint8_t *src = (const uint8_t *)buffer->data() [all...] |
/external/qemu/ |
tap-win32.c | 87 * The data member "buffer" must be the first element in the tun_buffer 91 unsigned char buffer [TUN_BUFFER_SIZE]; member in struct:tun_buffer_s 117 tun_buffer_t* buffer = NULL; local 120 buffer = overlapped->free_list; 121 // assert(buffer != NULL); 122 overlapped->free_list = buffer->next; 124 buffer->next = NULL; 125 return buffer; 128 static void put_buffer_on_free_list(tap_win32_overlapped_t* const overlapped, tun_buffer_t* const buffer) 131 buffer->next = overlapped->free_list 139 tun_buffer_t* buffer = NULL; local 495 tun_buffer_t* buffer = get_buffer_from_free_list(overlapped); local 549 tun_buffer_t* buffer = get_buffer_from_output_queue_immediate(overlapped); local 565 tun_buffer_t* buffer = (tun_buffer_t*)pbuf; local [all...] |
/external/opencore/oscl/oscl/osclutil/src/ |
oscl_string_containers.cpp | 46 //could not allocate newrep or could not allocate buffer. 65 //could not allocate newrep or could not allocate buffer. 78 && newrep->append((aRep) ? aRep->size : 0, (char*)((aRep) ? aRep->buffer : NULL), len, cp, aAlloc)) 84 //could not allocate newrep or could not allocate buffer. 97 && newrep->append((aRep) ? aRep->size : 0, (oscl_wchar*)((aRep) ? aRep->buffer : NULL), len, cp, aAlloc)) 103 //could not allocate newrep or could not allocate buffer. 142 buffer = NULL; 143 return false;//can't allocate buffer. 148 buffer = ptr; 150 oscl_strncpy((char*)buffer, cp, size) [all...] |
/frameworks/base/libs/surfaceflinger/ |
Layer.cpp | 151 sp<GraphicBuffer> buffer(getFrontBufferLocked()); 152 if (buffer == NULL) { 170 if (buffer->usage & GraphicBuffer::USAGE_HW_TEXTURE) { 172 if (initializeEglImage(buffer, &mTextures[index]) != NO_ERROR) { 179 if (mHybridBuffer==0 || (mHybridBuffer->width != buffer->width || 180 mHybridBuffer->height != buffer->height)) { 183 buffer->width, buffer->height, buffer->format, 196 status_t res = buffer->lock(&t, GRALLOC_USAGE_SW_READ_OFTEN) 313 sp<GraphicBuffer> buffer; local 615 sp<GraphicBuffer> buffer; local [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
DistributionPointName.java | 90 public void dumpValue(StringBuffer buffer, String prefix) { 91 buffer.append(prefix); 92 buffer.append("Distribution Point Name: [\n"); //$NON-NLS-1$ 94 fullName.dumpValue(buffer, prefix + " "); //$NON-NLS-1$ 96 buffer.append(prefix); 97 buffer.append(" "); //$NON-NLS-1$ 98 buffer.append(nameRelativeToCRLIssuer.getName( 101 buffer.append(prefix); 102 buffer.append("]\n"); //$NON-NLS-1$
|
TBSCertificate.java | 258 public void dumpValue(StringBuffer buffer) { 259 buffer.append('['); 260 buffer.append("\n Version: V").append(version+1); //$NON-NLS-1$ 261 buffer.append("\n Subject: ") //$NON-NLS-1$ 263 buffer.append("\n Signature Algorithm: "); //$NON-NLS-1$ 264 signature.dumpValue(buffer); 265 buffer.append("\n Key: "); //$NON-NLS-1$ 266 buffer.append(subjectPublicKeyInfo.getPublicKey().toString()); 267 buffer.append("\n Validity: [From: "); //$NON-NLS-1$ 268 buffer.append(validity.getNotBefore()) [all...] |
/external/apache-http/src/org/apache/http/cookie/ |
CookieOrigin.java | 95 StringBuilder buffer = new StringBuilder(); local 96 buffer.append('['); 98 buffer.append("(secure)"); 100 buffer.append(this.host); 101 buffer.append(':'); 102 buffer.append(Integer.toString(this.port)); 103 buffer.append(this.path); 104 buffer.append(']'); 105 return buffer.toString();
|
/external/apache-http/src/org/apache/http/message/ |
ParserCursor.java | 91 CharArrayBuffer buffer = new CharArrayBuffer(16); local 92 buffer.append('['); 93 buffer.append(Integer.toString(this.lowerBound)); 94 buffer.append('>'); 95 buffer.append(Integer.toString(this.pos)); 96 buffer.append('>'); 97 buffer.append(Integer.toString(this.upperBound)); 98 buffer.append(']'); 99 return buffer.toString();
|
/external/bluetooth/glib/tests/ |
iochannel-test.c | 59 GString *buffer; local 111 buffer = g_string_sized_new (BUFFER_SIZE); 116 status = g_io_channel_read_line_string (gio_r, buffer, NULL, &gerr); 121 rlength += buffer->len; 124 status = g_io_channel_write_chars (gio_w, buffer->str, buffer->len, 132 if (length_out < buffer->len) 136 g_print ("%s", buffer->str); 138 g_string_truncate (buffer, 0);
|
unicode-normalize.c | 146 GString *buffer = g_string_new (NULL); local 171 if (g_io_channel_read_line_string (in, buffer, &term_pos, &error) != G_IO_STATUS_NORMAL) 177 buffer->str[term_pos] = '\0'; 179 if (buffer->str[0] == '#') /* Comment */ 181 if (buffer->str[0] == '@') /* Part */ 183 fprintf (stderr, "\nProcessing %s\n", buffer->str + 1); 187 columns = g_strsplit (buffer->str, ";", -1); 196 g_string_truncate (buffer, 0); 207 g_string_free (buffer, TRUE);
|
/external/qemu/distrib/sdl-1.2.12/include/ |
SDL_audio.h | 23 /* Access to the raw audio mixing buffer for the SDL library */ 46 Uint8 silence; /* Audio buffer silence value (calculated) */ 47 Uint16 samples; /* Audio buffer size in samples (power of 2) */ 49 Uint32 size; /* Audio buffer size in bytes (calculated) */ 51 'stream' is a pointer to the audio data buffer 52 'len' is the length of that buffer in bytes. 53 Once the callback returns, the buffer will no longer be valid. 86 Uint8 *buf; /* Buffer to hold entire audio data */ 87 int len; /* Length of original audio buffer */ 88 int len_cvt; /* Length of converted audio buffer */ [all...] |
/external/skia/src/core/ |
SkPictureFlat.h | 64 virtual void setupBuffer(SkFlattenableReadBuffer& buffer) const { 65 buffer.setRefCntArray(fArray, fCount); 75 virtual void setupBuffer(SkFlattenableReadBuffer& buffer) const { 76 buffer.setTypefaceArray((SkTypeface**)fArray, fCount); 92 void setupBuffer(SkFlattenableReadBuffer& buffer) const { 93 buffer.setFactoryPlayback(fArray, fCount); 126 SkFlattenableReadBuffer buffer(fBitmapData); 128 rcp->setupBuffer(buffer); 130 bitmap->unflatten(buffer);
|
SkPicturePlayback.h | 140 int dumpDrawType(char* bufferPtr, char* buffer, DrawType drawType); 141 int dumpInt(char* bufferPtr, char* buffer, char* name); 142 int dumpRect(char* bufferPtr, char* buffer, char* name); 143 int dumpPoint(char* bufferPtr, char* buffer, char* name); 144 void dumpPointArray(char** bufferPtrPtr, char* buffer, int count); 145 int dumpPtr(char* bufferPtr, char* buffer, char* name, void* ptr); 146 int dumpRectPtr(char* bufferPtr, char* buffer, char* name); 147 int dumpScalar(char* bufferPtr, char* buffer, char* name); 148 void dumpText(char** bufferPtrPtr, char* buffer);
|
/external/webkit/WebCore/history/cf/ |
HistoryPropertyList.cpp | 51 UInt8* HistoryPropertyListWriter::buffer(size_t size) function in class:WebCore::HistoryPropertyListWriter 61 UInt8* buffer = m_buffer; local 62 if (!buffer) 65 RetainPtr<CFDataRef> data(AdoptCF, CFDataCreateWithBytesNoCopy(0, buffer, m_bufferSize, 0)); 67 CFAllocatorDeallocate(0, buffer); 128 char buffer[32]; local 129 snprintf(buffer, sizeof(buffer), "%.1lf", lastVisitedDate); 130 stream.writeUniqueString(buffer);
|
/frameworks/base/core/java/android/util/ |
Base64OutputStream.java | 31 private byte[] buffer = null; field in class:Base64OutputStream 72 // bytes, we buffer up calls to write(int) in an internal 76 if (buffer == null) { 77 buffer = new byte[1024]; 79 if (bpos >= buffer.length) { 80 // internal buffer full; write it out. 81 internalWrite(buffer, 0, bpos, false); 84 buffer[bpos++] = (byte) b; 93 internalWrite(buffer, 0, bpos, false);
|
/frameworks/base/core/jni/android/graphics/ |
NIOBuffer.cpp | 4 // enable this to dump each time we ref/unref a global java object (buffer) 25 "getBasePointer", "(Ljava/nio/Buffer;)J"); 27 "getBaseArray", "(Ljava/nio/Buffer;)Ljava/lang/Object;"); 29 "getBaseArrayOffset", "(Ljava/nio/Buffer;)I"); 31 "getRemainingBytes", "(Ljava/nio/Buffer;)I"); 44 NIOBuffer::NIOBuffer(JNIEnv* env, jobject buffer) { 45 fBuffer = env->NewGlobalRef(buffer); 47 SkDebugf("------------ newglobalref bbuffer %X %d\n", buffer, gGlobalRefs++); 70 SkDebugf("----------- deleteglobalref buffer %X %d\n", fBuffer, --gGlobalRefs);
|
/frameworks/base/media/libstagefright/omx/ |
OMXNodeInstance.cpp | 245 OMX::buffer_id *buffer) { 262 *buffer = 0; 267 *buffer = header; 269 addActiveBuffer(portIndex, *buffer); 275 OMX_U32 portIndex, size_t size, OMX::buffer_id *buffer, 292 *buffer = 0; 297 *buffer = header; 300 addActiveBuffer(portIndex, *buffer); 307 OMX::buffer_id *buffer) { 323 *buffer = 0 398 OMX_BUFFERHEADERTYPE *buffer = local [all...] |
/prebuilt/darwin-x86/sdl/include/SDL/ |
SDL_audio.h | 23 /* Access to the raw audio mixing buffer for the SDL library */ 46 Uint8 silence; /* Audio buffer silence value (calculated) */ 47 Uint16 samples; /* Audio buffer size in samples (power of 2) */ 49 Uint32 size; /* Audio buffer size in bytes (calculated) */ 51 'stream' is a pointer to the audio data buffer 52 'len' is the length of that buffer in bytes. 53 Once the callback returns, the buffer will no longer be valid. 86 Uint8 *buf; /* Buffer to hold entire audio data */ 87 int len; /* Length of original audio buffer */ 88 int len_cvt; /* Length of converted audio buffer */ [all...] |
/prebuilt/linux-x86/sdl/include/SDL/ |
SDL_audio.h | 23 /* Access to the raw audio mixing buffer for the SDL library */ 46 Uint8 silence; /* Audio buffer silence value (calculated) */ 47 Uint16 samples; /* Audio buffer size in samples (power of 2) */ 49 Uint32 size; /* Audio buffer size in bytes (calculated) */ 51 'stream' is a pointer to the audio data buffer 52 'len' is the length of that buffer in bytes. 53 Once the callback returns, the buffer will no longer be valid. 86 Uint8 *buf; /* Buffer to hold entire audio data */ 87 int len; /* Length of original audio buffer */ 88 int len_cvt; /* Length of converted audio buffer */ [all...] |
/prebuilt/windows/sdl/host/include/SDL/ |
SDL_audio.h | 28 /* Access to the raw audio mixing buffer for the SDL library */ 52 Uint8 silence; /* Audio buffer silence value (calculated) */ 53 Uint16 samples; /* Audio buffer size in samples (power of 2) */ 55 Uint32 size; /* Audio buffer size in bytes (calculated) */ 57 'stream' is a pointer to the audio data buffer 58 'len' is the length of that buffer in bytes. 59 Once the callback returns, the buffer will no longer be valid. 92 Uint8 *buf; /* Buffer to hold entire audio data */ 93 int len; /* Length of original audio buffer */ 94 int len_cvt; /* Length of converted audio buffer */ [all...] |
/prebuilt/windows/sdl/include/SDL/ |
SDL_audio.h | 23 /* Access to the raw audio mixing buffer for the SDL library */ 46 Uint8 silence; /* Audio buffer silence value (calculated) */ 47 Uint16 samples; /* Audio buffer size in samples (power of 2) */ 49 Uint32 size; /* Audio buffer size in bytes (calculated) */ 51 'stream' is a pointer to the audio data buffer 52 'len' is the length of that buffer in bytes. 53 Once the callback returns, the buffer will no longer be valid. 86 Uint8 *buf; /* Buffer to hold entire audio data */ 87 int len; /* Length of original audio buffer */ 88 int len_cvt; /* Length of converted audio buffer */ [all...] |
/system/core/nexus/ |
nexctl.c | 81 char *buffer = malloc(4096); local 99 free(buffer); 106 memset(buffer, 0, 4096); 107 if ((rc = read(sock, buffer, 4096)) <= 0) { 112 free(buffer); 122 if (buffer[i] == '\0') { 126 strncpy(tmp, buffer + offset, 3); 130 printf("%s\n", buffer + offset); 140 free(buffer);
|
/system/netd/ |
ndc.c | 81 char *buffer = malloc(4096); local 99 free(buffer); 106 memset(buffer, 0, 4096); 107 if ((rc = read(sock, buffer, 4096)) <= 0) { 112 free(buffer); 122 if (buffer[i] == '\0') { 126 strncpy(tmp, buffer + offset, 3); 130 printf("%s\n", buffer + offset); 140 free(buffer);
|
/system/vold/ |
vdc.c | 81 char *buffer = malloc(4096); local 99 free(buffer); 106 memset(buffer, 0, 4096); 107 if ((rc = read(sock, buffer, 4096)) <= 0) { 112 free(buffer); 122 if (buffer[i] == '\0') { 126 strncpy(tmp, buffer + offset, 3); 130 printf("%s\n", buffer + offset); 140 free(buffer);
|