| /external/valgrind/main/none/tests/ |
| mq.c | 20 char buffer[MSGSIZEMAX]; local 59 if ((len = mq_receive(mqdr, buffer, sizeof(buffer), &priority)) < 0) 67 if (len != 4 || memcmp(buffer, "PING", 4) != 0)
|
| /external/webrtc/src/system_wrappers/source/ |
| trace_posix.cc | 60 struct tm buffer; local 62 localtime_r(&systemTimeHighRes.tv_sec, &buffer); 107 char buffer[26]; // man ctime says buffer should have room for >=26 bytes. local 108 sprintf(traceMessage, "Local Date: %s", ctime_r(&t, buffer));
|
| /frameworks/av/include/media/nbaio/ |
| AudioBufferProviderSource.h | 45 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS); 51 AudioBufferProvider::Buffer mBuffer; // current buffer 52 size_t mConsumed; // number of frames consumed so far from current buffer
|
| PipeReader.h | 48 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
|
| /frameworks/av/media/libstagefright/rtsp/ |
| AMPEG4ElementaryAssembler.cpp | 229 sp<ABuffer> buffer = *queue->begin(); local 233 mNextExpectedSeqNo = (uint32_t)buffer->int32Data(); 234 } else if ((uint32_t)buffer->int32Data() != mNextExpectedSeqNo) { 241 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); 249 mPackets.push_back(buffer); 251 // hexdump(buffer->data(), buffer->size()); 253 CHECK_GE(buffer->size(), 2u); 254 unsigned AU_headers_length = U16_AT(buffer->data()); // in bits 256 CHECK_GE(buffer->size(), 2 + (AU_headers_length + 7) / 8) [all...] |
| ARTPWriter.h | 110 void addSR(const sp<ABuffer> &buffer); 111 void addSDES(const sp<ABuffer> &buffer); 113 void makeH264SPropParamSets(MediaBuffer *buffer); 121 void send(const sp<ABuffer> &buffer, bool isRTCP);
|
| /frameworks/av/services/camera/libcameraservice/device3/ |
| Camera3OutputStream.cpp | 84 status_t Camera3OutputStream::getBufferLocked(camera3_stream_buffer *buffer) { 112 ALOGE("%s: Stream %d: Can't dequeue next output buffer: %s (%d)", 121 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, 128 const camera3_stream_buffer &buffer, 132 status_t res = returnAnyBufferLocked(buffer, timestamp, /*output*/true); 144 const camera3_stream_buffer &buffer, 159 if (buffer.status == CAMERA3_BUFFER_STATUS_ERROR) { 160 if (buffer.release_fence != -1) { 162 "there is an error", __FUNCTION__, mId, buffer.release_fence); 163 close(buffer.release_fence) [all...] |
| /frameworks/base/core/jni/ |
| android_nio_utils.h | 25 * Given an nio.Buffer, return a pointer to it, beginning at its current 32 * @param buffer The nio.Buffer object 38 * @return The pointer to the memory in the buffer object 40 void* nio_getPointer(JNIEnv *env, jobject buffer, jarray *array); 49 * @param buffer The array returned from android_nio_getPointer (!= null)
|
| /frameworks/base/libs/hwui/ |
| Image.h | 37 * Creates a new image from the specified graphic buffer. If the image 41 Image(sp<GraphicBuffer> buffer);
|
| /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
| AudioTrackDecoder.java | 71 ByteBuffer buffer = buffers[bufferIndex]; local 73 buffer.position(info.offset); 74 buffer.get(data, 0, info.size); 88 buffer.clear(); 96 * decoded since the last call of this method. The decoder's buffer is cleared as a result. 111 * Clears the decoder's buffer.
|
| /frameworks/native/libs/gui/ |
| IGraphicBufferAlloc.cpp | 82 sp<GraphicBuffer> buffer; member in class:android::BufferReference 84 BufferReference(const sp<GraphicBuffer>& buffer) : buffer(buffer) { } 102 // buffer stays alive until the GraphicBuffer object on 104 // This is needed so that the buffer handle can be 105 // registered before the buffer is destroyed on implementations
|
| /frameworks/native/libs/ui/ |
| GraphicBuffer.cpp | 34 // Buffer and implementation of ANativeWindowBuffer 77 GraphicBuffer::GraphicBuffer(ANativeWindowBuffer* buffer, bool keepOwnership) 80 mInitCheck(NO_ERROR), mWrappedBuffer(buffer) 82 width = buffer->width; 83 height = buffer->height; 84 stride = buffer->stride; 85 format = buffer->format; 86 usage = buffer->usage; 87 handle = buffer->handle; 167 ALOGE("locking pixels (%d,%d,%d,%d) outside of buffer (w=%d, h=%d)" [all...] |
| /frameworks/native/opengl/libagl/ |
| BufferObjectManager.cpp | 44 // destroy all the buffer objects and their storage 53 buffer_t const* EGLBufferObjectManager::bind(GLuint buffer) 56 int32_t i = mBuffers.indexOfKey(buffer); 64 bo->name = buffer; 65 mBuffers.add(buffer, bo);
|
| /frameworks/native/opengl/tests/gralloc/ |
| gralloc.cpp | 49 sp<GraphicBuffer> buffer = new GraphicBuffer(128, 256, HAL_PIXEL_FORMAT_RGBA_8888, local 53 status_t err = buffer->initCheck(); 60 buffer->lock( 107 buffer->unlock();
|
| /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
| LineVerifierElem.java | 96 StringBuffer buffer = new StringBuffer(); local 98 buffer.append(expectedLine); 99 buffer.append("\n"); 102 TestCase.fail("Expected line(s) not found:" + buffer.toString());
|
| /hardware/qcom/media/mm-video-legacy/vidc/venc/inc/ |
| omx_video_common.h | 68 void *buffer; member in struct:pmem
|
| /hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/ |
| omx_video_common.h | 66 void *buffer; member in struct:pmem
|
| /libcore/benchmarks/src/benchmarks/ |
| BufferedZipFileBenchmark.java | 59 byte[] buffer = new byte[readSize]; 60 while (in.read(buffer) != -1) { 72 byte[] buffer = new byte[readSize]; 73 while (in.read(buffer) != -1) {
|
| /libcore/luni/src/main/java/java/text/ |
| Format.java | 98 * Appends the specified object to the specified string buffer using the 108 * @param buffer 109 * the string buffer where the formatted string is appended to. 113 * @return the string buffer. 117 public abstract StringBuffer format(Object object, StringBuffer buffer, 178 StringBuffer buffer, char stop) { 185 buffer.append('\''); 194 buffer.append(ch); 202 StringBuffer buffer, char stop, char start) { 222 buffer.append(ch) [all...] |
| /libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
| CommentImpl.java | 53 return buffer.indexOf("--") != -1;
|
| /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/ |
| header_read_write_utils.h | 63 static bool writeDictionaryVersion(BufferWithExtendableBuffer *const buffer, 66 static bool writeDictionaryFlags(BufferWithExtendableBuffer *const buffer, 69 static bool writeDictionaryHeaderSize(BufferWithExtendableBuffer *const buffer, 72 static bool writeHeaderAttributes(BufferWithExtendableBuffer *const buffer,
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| test_asynchat.py | 34 self.buffer = "" 36 while SERVER_QUIT not in self.buffer: 40 self.buffer = self.buffer + data 43 self.buffer = self.buffer.replace(SERVER_QUIT, '') 52 while self.buffer: 53 n = conn.send(self.buffer[:self.chunk_size]) 55 self.buffer = self.buffer[n: [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_asynchat.py | 34 self.buffer = "" 36 while SERVER_QUIT not in self.buffer: 40 self.buffer = self.buffer + data 43 self.buffer = self.buffer.replace(SERVER_QUIT, '') 52 while self.buffer: 53 n = conn.send(self.buffer[:self.chunk_size]) 55 self.buffer = self.buffer[n: [all...] |
| /system/extras/ext4_utils/ |
| sha1.h | 33 u_char buffer[64]; member in struct:__anon62835
|
| /system/vold/ |
| Loop.h | 29 static int lookupActive(const char *id, char *buffer, size_t len);
|