/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/ |
input.h | 60 /** Input from a memory buffer. */ 66 int snd_input_buffer_open(snd_input_t **inputp, const char *buffer, ssize_t size);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/alsa/ |
input.h | 60 /** Input from a memory buffer. */ 66 int snd_input_buffer_open(snd_input_t **inputp, const char *buffer, ssize_t size);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/alsa/ |
input.h | 60 /** Input from a memory buffer. */ 66 int snd_input_buffer_open(snd_input_t **inputp, const char *buffer, ssize_t size);
|
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
RenderControl.cpp | 43 static EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize) 56 if (!buffer || len > bufferSize) { 60 strcpy((char *)buffer, str); 64 static EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize) 88 if (!buffer || len > bufferSize) { 92 strcpy((char *)buffer, str); 104 static EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer) 109 if (!buffer || bufSize < neededSize) { 112 FBConfig::packConfigsInfo(buffer);
|
/sdk/emulator/qtools/ |
read_elf.h | 16 int ReadSection(Elf32_Shdr *shdr, void *buffer, FILE *f);
|
/system/core/logwrapper/ |
logwrap.c | 55 /* This is a simple buffer that holds up to the first beginning_buf->buf_size 78 /* read and write offsets into the circular buffer */ 147 /* Copy the line into the circular buffer, dealing with possible 183 * than buf_size (the usable size of the buffer) to make sure there is 205 /* The end of the buffer, print the last bit */ 210 /* If the buffer was completely full, and didn't end with a newline, just 256 /* Print an ellipsis to indicate that the buffer has wrapped or 267 /* Simplest way to print the circular buffer is allocate a second buf 268 * of the same size, and memcpy it so it's a simple linear buffer, 275 /* The circular buffer will always have at least 1 byte unused 295 char buffer[4096]; local [all...] |
/system/vold/ |
Process.h | 29 static void getProcessName(int pid, char *buffer, size_t max);
|
VolumeManager.h | 111 int getAsecMountPath(const char *id, char *buffer, int maxlen); 112 int getAsecFilesystemPath(const char *id, char *buffer, int maxlen); 118 int getObbMountPath(const char *id, char *buffer, int maxlen); 136 static char *asecHash(const char *id, char *buffer, size_t len);
|
/external/icu4c/test/intltest/ |
intltest.cpp | 67 char buffer[64]; // nos changed from 10 to 64 local 68 char danger = 'p'; // guard against overrunning the buffer (rtg) 70 sprintf(buffer, "%ld", num); 73 return left + buffer; 80 char buffer[64]; // nos changed from 10 to 64 local 81 char danger = 'p'; // guard against overrunning the buffer (rtg) 83 sprintf(buffer, "%lu", num); 86 return left + buffer; 92 char buffer[64]; // nos changed from 10 to 64 local 93 char danger = 'p'; // guard against overrunning the buffer (rtg 110 char buffer[64]; \/\/ was 32, made it arbitrarily bigger (rtg) local 902 char buffer[4000]; local 916 char buffer[4000]; local 931 char buffer[4000]; local 943 char buffer[4000]; local 955 char buffer[4000]; local 966 char buffer[4000]; local 977 char buffer[4000]; local 988 char buffer[4000]; local 1026 char buffer[10000]; local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
BufferedOutputStreamTest.java | 141 assertTrue("Bytes not written when buffer full", 672 byte[] buffer = "1234567890".getBytes(); 676 buffos.write(buffer, 0, 10); 685 byte[] buffer = "1234567890".getBytes("UTF-8"); 688 buffos.write(buffer, 0, 10); 696 assertEquals(buffer[i], byteArrayis.read()); 699 buffos.write(buffer, 0, 10); 707 assertEquals(buffer[i], byteArrayis.read()); 710 assertEquals(buffer[i], byteArrayis.read()); 713 buffos.write(buffer, 0, 10) [all...] |
/external/icu4c/i18n/ |
ucol_sit.cpp | 470 char buffer[internalBufferSize]; local 471 uprv_memset(buffer, 0, internalBufferSize); 472 uloc_canonicalize(s.locale, buffer, internalBufferSize, status); 474 UResourceBundle *b = ures_open(U_ICUDATA_COLL, buffer, status); 480 if(!uloc_getKeywordValue(buffer, "collation", keyBuffer, 256, status)) { 534 char buffer[internalBufferSize]; local 535 uprv_memset(buffer, 0, internalBufferSize); 536 uloc_canonicalize(s.locale, buffer, internalBufferSize, status); 538 UCollator *result = ucol_open(buffer, status); 602 char buffer[internalBufferSize] local 912 UChar buffer[internalBufferSize]; local [all...] |
/external/webkit/Source/JavaScriptCore/wtf/text/ |
WTFString.cpp | 342 QString buffer; local 343 buffer.vsprintf(format, args); 347 QByteArray ba = buffer.toUtf8(); 354 Vector<char, 256> buffer; 357 buffer.resize(bufferSize); 359 int written = vsnprintf(buffer.data(), bufferSize, format, args); 365 return StringImpl::create(buffer.data(), written); 368 buffer.resize(bufferSize); 376 Vector<char, 256> buffer; 399 buffer.grow(len + 1) 708 char* buffer = bufferVector.data(); local [all...] |
/frameworks/av/media/libstagefright/omx/ |
OMXNodeInstance.cpp | 406 OMX::buffer_id *buffer) { 423 *buffer = 0; 430 *buffer = header; 432 addActiveBuffer(portIndex, *buffer); 444 OMX::buffer_id *buffer) { 479 *buffer = 0; 486 *buffer = header; 488 addActiveBuffer(portIndex, *buffer); 498 OMX::buffer_id *buffer) { 507 return useGraphicBuffer2_l(portIndex, graphicBuffer, buffer); 774 OMX_BUFFERHEADERTYPE *buffer = local 792 OMX_BUFFERHEADERTYPE *buffer = local [all...] |
/frameworks/av/media/libstagefright/omx/tests/ |
OMXHarness.cpp | 80 Vector<Buffer> *inputBuffers, 81 Vector<Buffer> *outputBuffers) { 87 if ((*inputBuffers)[i].mID == msg.u.buffer_data.buffer) { 101 if ((*outputBuffers)[i].mID == msg.u.buffer_data.buffer) { 120 Vector<Buffer> *inputBuffers, 121 Vector<Buffer> *outputBuffers, 180 Vector<Buffer> *buffers) { 188 Buffer buffer; local 189 buffer.mMemory = dealer->allocate(def.nBufferSize) 641 MediaBuffer *buffer = NULL; local 662 MediaBuffer *buffer; local [all...] |
/hardware/libhardware_legacy/audio/ |
AudioPolicyManagerBase.cpp | 1235 char buffer[SIZE]; local 1423 char buffer[SIZE]; local 3153 char buffer[SIZE]; local 3191 char buffer[SIZE]; local 3230 char buffer[SIZE]; local 3252 char buffer[SIZE]; local 3291 char buffer[SIZE]; local 3382 char buffer[SIZE]; local [all...] |
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
VideoEditorVideoEncoder.cpp | 71 virtual status_t read(MediaBuffer **buffer, 73 virtual int32_t storeBuffer(MediaBuffer *buffer); 81 MediaBuffer* buffer; member in struct:android::VideoEditorVideoEncoderSource::MediaBufferChain 158 // Release the buffer chain 167 ALOGV("VideoEditorVideoEncoderSource::stop : %d buffer remained", i); 183 status_t VideoEditorVideoEncoderSource::read(MediaBuffer **buffer, 203 *buffer = NULL; 208 // Get a buffer from the chain 209 *buffer = mFirstBufferLink->buffer; 742 MediaBuffer* buffer = NULL; local [all...] |
/external/chromium/net/tools/flip_server/ |
balsa_headers.h | 70 // BalsaBuffer class to store the base buffer pointers to 71 // each block, as well as the important metadata for buffer 75 char* buffer; member in struct:net::BalsaBuffer::BufferBlock 83 return buffer + bytes_used(); 86 BufferBlock() : buffer(NULL), buffer_size(0), bytes_free(0) {} 90 buffer(buf), buffer_size(size), bytes_free(free) {} 101 // Returns the total amount of memory used by the buffer blocks. 107 return blocks_[block_idx].buffer; 113 return blocks_[block_idx].buffer; 130 // append to the buffer in the first block safely, and without invalidin [all...] |
/external/webkit/Tools/DumpRenderTree/mac/ |
PixelDumpSupportMac.mm | 108 static PassRefPtr<BitmapContext> createBitmapContext(size_t pixelsWide, size_t pixelsHigh, size_t& rowBytes, void*& buffer) 112 buffer = calloc(pixelsHigh, rowBytes); 113 if (!buffer) 128 CGContextRef context = CGBitmapContextCreate(buffer, pixelsWide, pixelsHigh, 8, rowBytes, colorSpace, kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host); // Use ARGB8 on PPC or BGRA8 on X86 to improve CG performance 130 free(buffer); 134 return BitmapContext::createByAdoptingBitmapAndContext(buffer, context); 150 void* buffer = 0; 151 RefPtr<BitmapContext> bitmapContext = createBitmapContext(pixelsWide, pixelsHigh, rowBytes, buffer); 222 bcopy((char*)flipBuffer + rowBytes * i, (char*)buffer + rowBytes * (pixelsHigh - i - 1), pixelsWide * 4); 241 // Grab directly the contents of the window backing buffer (this ignores any surfaces on the window [all...] |
/frameworks/native/opengl/libagl/ |
egl.cpp | 243 ANativeWindowBuffer* buffer; member in struct:android::egl_window_surface_v2_t 345 nativeWindow(window), buffer(0), previousBuffer(0), module(0), 361 if (buffer) { 362 buffer->common.decRef(&buffer->common); 376 // dequeue a buffer 378 if (nativeWindow->dequeueBuffer(nativeWindow, &buffer, 383 // wait for the buffer 386 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd); 390 // allocate a corresponding depth-buffer 586 GGLSurface buffer; local 601 GGLSurface buffer; local 677 GGLSurface buffer; local 692 GGLSurface buffer; local [all...] |
/frameworks/av/services/audioflinger/ |
Effects.cpp | 222 // clear auxiliary effect input buffer for next accumulation 224 memset(mConfig.inputCfg.buffer.raw, 226 mConfig.inputCfg.buffer.frameCount*sizeof(int32_t)); 260 mConfig.inputCfg.buffer.raw == NULL || 261 mConfig.outputCfg.buffer.raw == NULL) { 266 // do 32 bit to 16 bit conversion for auxiliary effect input buffer 268 ditherAndClamp(mConfig.inputCfg.buffer.s32, 269 mConfig.inputCfg.buffer.s32, 270 mConfig.inputCfg.buffer.frameCount/2); 275 &mConfig.inputCfg.buffer, 771 char buffer[SIZE]; local 1292 int32_t *buffer = new int32_t[numSamples]; local 1508 char buffer[SIZE]; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
proxydetect.cc | 256 char buffer[BUFSIZE]; local 280 memcpy(buffer, start, len); 281 buffer[len] = 0; 282 if (!ProxyItemMatch(url, buffer, len)) 324 char buffer[kMaxAddressLength]; local 325 memcpy(buffer, start, len); 326 buffer[len] = 0; 328 char * colon = ::strchr(buffer, ':'); 330 LOG(LS_WARNING) << "Proxy address without port [" << buffer << "]"; 338 LOG(LS_WARNING) << "Proxy address with invalid port [" << buffer << "]"; 528 char buffer[kMaxLineLength]; local 646 BYTE* buffer = reinterpret_cast<BYTE*>(value); local 924 wchar_t buffer[1024]; local [all...] |
stream.h | 74 // Read attempts to fill buffer of size buffer_len. Write attempts to send 87 virtual StreamResult Read(void* buffer, size_t buffer_len, 117 // so. For example, while a socket could buffer incoming data to support 130 // GetReadData returns a pointer to a buffer which is owned by the stream. 131 // The buffer contains data_len bytes. NULL is returned if no data is 135 // processed. Read and ConsumeReadData invalidate the buffer returned by 140 // GetWriteBuffer returns a pointer to a buffer which is owned by the stream. 141 // The buffer has a capacity of buf_len bytes. NULL is returned if there is 142 // no buffer available, or if the method fails. The call may write data to 143 // the buffer, and then call ConsumeWriteBuffer with the number of byte [all...] |
/external/libogg/src/ |
bitwise.c | 41 b->ptr=b->buffer=_ogg_malloc(BUFFER_INCREMENT); 42 b->buffer[0]='\0'; 63 b->ptr=b->buffer+bytes; 74 b->ptr=b->buffer+bytes; 86 ret=_ogg_realloc(b->buffer,b->storage+BUFFER_INCREMENT); 91 b->buffer=ret; 93 b->ptr=b->buffer+b->endbyte; 127 ret=_ogg_realloc(b->buffer,b->storage+BUFFER_INCREMENT); 132 b->buffer=ret; 134 b->ptr=b->buffer+b->endbyte 513 unsigned char *buffer; local 548 unsigned char *buffer; local 582 unsigned char *buffer; local [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_exr.cpp | 206 char *buffer; local 214 buffer = (char *)new float[ m_width * 3 ]; 219 buffer = (char *)data; 232 buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep, 239 buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep + 4, 246 buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep + 8, 255 buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep, 258 buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep + 4, 261 buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep + 8, 271 buffer - m_datawindow.min.x * 4 - m_datawindow.min.y * ystep [all...] |
/external/chromium/net/server/ |
http_server.cc | 289 std::string buffer; local 302 info->method = buffer; 303 buffer.clear(); 306 info->path = buffer; 307 buffer.clear(); 311 DCHECK(buffer == "HTTP/1.1"); 312 buffer.clear(); 315 header_name = buffer; 316 buffer.clear(); 319 header_value = buffer; [all...] |