Searched defs:buffer (Results 1 - 25 of 765) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/tests/unit/
H A DMeshStateTests.cpp34 GLuint buffer = 0; local
35 renderThread.renderState().meshState().genOrUpdateMeshBuffer(&buffer, 10, nullptr,
/frameworks/base/libs/protoutil/tests/
H A DEncodedBuffer_test.cpp21 EncodedBuffer buffer; local
23 buffer.writeRawVarint64(val);
24 EXPECT_EQ(val, buffer.begin().readRawVarint());
/frameworks/compile/libbcc/bcinfo/Wrap/
H A Dwrapper_output.cpp19 bool WrapperOutput::Write(const uint8_t* buffer, size_t buffer_size) { argument
22 if (!Write(buffer[i])) return false;
H A Dfile_wrapper_output.cpp38 bool FileWrapperOutput::Write(const uint8_t* buffer, size_t buffer_size) { argument
39 if (!buffer) {
44 return buffer_size == fwrite(buffer, 1, buffer_size, _file);
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglBindVertexBuffer.java1 // C function void glBindVertexBuffer ( GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride )
5 int buffer,
3 glBindVertexBuffer( int bindingindex, int buffer, long offset, int stride ) argument
H A DglBindVertexBuffer.cpp1 /* void glBindVertexBuffer ( GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride ) */
4 (JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) {
11 (GLuint)buffer,
3 android_glBindVertexBuffer__IIJI(JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) argument
/frameworks/wilhelm/src/
H A Dinterfaces.cpp136 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) argument
141 strcpy(buffer, "MPH");
142 strcpy(&buffer[3], infix);
143 strcat(buffer, "_");
144 strcat(buffer, interface_names[MPH]);
/frameworks/base/core/java/android/util/apk/
H A DDataDigester.java24 void consume(ByteBuffer buffer) throws DigestException; argument
/frameworks/base/libs/hwui/renderstate/
H A DPixelBufferState.cpp23 bool PixelBufferState::bind(GLuint buffer) { argument
24 if (mCurrentPixelBuffer != buffer) {
25 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer);
26 mCurrentPixelBuffer = buffer;
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
H A DPacketDecoder.java22 * This is an abstract base class that decodes a packet buffer and passes it to a
29 * @param buffer the packet to decode
32 abstract public void decodePacket(byte[] buffer, MidiReceiver receiver); argument
H A DPacketEncoder.java22 * This is an abstract base class that encodes MIDI data into a packet buffer.
31 * @param buffer the packet buffer to write
32 * @param count the number of bytes in the packet buffer to write
34 public void writePacket(byte[] buffer, int count); argument
/frameworks/native/cmds/bugreport/
H A Dbugreport.cpp66 char buffer[65536]; local
67 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(s, buffer, sizeof(buffer)));
83 buffer + bytes_read - bytes_to_send,
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreatePbufferFromClientBuffer.java1 // C function EGLSurface eglCreatePbufferFromClientBuffer ( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list )
6 int buffer,
18 long buffer,
3 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, int buftype, int buffer, EGLConfig config, int[] attrib_list, int offset ) argument
15 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, int buftype, long buffer, EGLConfig config, int[] attrib_list, int offset ) argument
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposerBufferCache.cpp29 const sp<GraphicBuffer>& buffer,
43 if (mBuffers[slot] == buffer) {
44 // already cached in HWC, skip sending the buffer
47 *outBuffer = buffer;
50 mBuffers[slot] = buffer;
28 getHwcBuffer(int slot, const sp<GraphicBuffer>& buffer, uint32_t* outSlot, sp<GraphicBuffer>* outBuffer) argument
/frameworks/av/include/private/media/
H A DAudioEffectShared.h29 // Size of buffer used to exchange parameters between application and mediaserver processes.
40 uint8_t* buffer; // start of parameter buffer member in struct:android::effect_param_cblk_t
/frameworks/av/media/libmedia/include/media/
H A DMediaBufferHolder.h27 MediaBufferHolder(MediaBufferBase* buffer) argument
28 : mMediaBuffer(buffer) {
/frameworks/av/media/libstagefright/
H A DACodecBufferChannel.cpp55 const sp<MediaCodecBuffer> &buffer) {
58 [buffer](const BufferInfo &info) { return info.mClientBuffer == buffer; });
70 const sp<MediaCodecBuffer> &buffer,
75 ? buffer
76 : new SharedMemoryBuffer(buffer->format(), sharedEncryptedBuffer)),
77 mCodecBuffer(buffer),
89 status_t ACodecBufferChannel::queueInputBuffer(const sp<MediaCodecBuffer> &buffer) {
95 BufferInfoIterator it = findClientBuffer(array, buffer);
101 msg->setObject("buffer", i
53 findClientBuffer( const std::shared_ptr<const std::vector<const BufferInfo>> &array, const sp<MediaCodecBuffer> &buffer) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioCollections.cpp44 char buffer[SIZE]; local
46 snprintf(buffer, SIZE, "\n%*sAudio Routes (%zu):\n", spaces, "", size());
47 write(fd, buffer, strlen(buffer));
49 snprintf(buffer, SIZE, "%*s- Route %zu:\n", spaces, "", i + 1);
50 write(fd, buffer, strlen(buffer));
H A DAudioRoute.cpp30 char buffer[SIZE]; local
33 snprintf(buffer, SIZE, "%*s- Type: %s\n", spaces, "", mType == AUDIO_ROUTE_MUX ? "Mux" : "Mix");
34 result.append(buffer);
36 snprintf(buffer, SIZE, "%*s- Sink: %s\n", spaces, "", mSink->getTagName().string());
37 result.append(buffer);
40 snprintf(buffer, SIZE, "%*s- Sources: \n", spaces, "");
41 result.append(buffer);
43 snprintf(buffer, SIZE, "%*s%s \n", spaces + 4, "", mSources[i]->getTagName().string());
44 result.append(buffer);
H A DAudioSourceDescriptor.cpp35 char buffer[SIZE]; local
38 snprintf(buffer, SIZE, "mStream: %d\n", audio_attributes_to_stream_type(&mAttributes));
39 result.append(buffer);
40 snprintf(buffer, SIZE, "mDevice:\n");
41 result.append(buffer);
51 char buffer[SIZE]; local
53 snprintf(buffer, SIZE, "\nAudio sources dump:\n");
54 write(fd, buffer, strlen(buffer));
56 snprintf(buffer, SIZ
[all...]
/frameworks/base/media/java/android/media/
H A DMedia2DataSource.java40 * {@code buffer}, and return the number of bytes written.
47 * @param buffer the buffer to read the data into.
48 * @param offset the offset within buffer to read the data into.
53 public abstract int readAt(long position, byte[] buffer, int offset, int size) argument
H A DMediaDataSource.java37 * Implementations should fill {@code buffer} with up to {@code size}
38 * bytes of data, and return the number of valid bytes in the buffer.
45 * @param buffer the buffer to read the data into.
46 * @param offset the offset within buffer to read the data into.
51 public abstract int readAt(long position, byte[] buffer, int offset, int size) argument
/frameworks/base/tools/aapt2/format/binary/
H A DXmlFlattener.h39 XmlFlattener(BigBuffer* buffer, XmlFlattenerOptions options) argument
40 : buffer_(buffer), options_(options) {
/frameworks/base/tools/aapt2/io/
H A DFileStream_test.cpp39 // Use a small buffer size so that we can call Next() a few times.
44 const char* buffer; local
46 ASSERT_TRUE(in.Next(reinterpret_cast<const void**>(&buffer), &size)) << in.GetError();
48 ASSERT_THAT(buffer, NotNull());
50 EXPECT_THAT(StringPiece(buffer, size), Eq("this is a "));
52 ASSERT_TRUE(in.Next(reinterpret_cast<const void**>(&buffer), &size));
54 ASSERT_THAT(buffer, NotNull());
56 EXPECT_THAT(StringPiece(buffer, size), Eq("cool strin"));
61 ASSERT_TRUE(in.Next(reinterpret_cast<const void**>(&buffer), &size));
63 ASSERT_THAT(buffer, NotNul
96 char* buffer; local
[all...]
H A DStringStream_test.cpp39 const char* buffer; local
41 ASSERT_TRUE(in.Next(reinterpret_cast<const void**>(&buffer), &size));
43 ASSERT_THAT(buffer, NotNull());
45 EXPECT_THAT(buffer[0], Eq(0x00));
46 EXPECT_THAT(buffer[kCount - 1], Eq('\xff'));
48 EXPECT_FALSE(in.Next(reinterpret_cast<const void**>(&buffer), &size));
56 const char* buffer; local
58 ASSERT_TRUE(in.Next(reinterpret_cast<const void**>(&buffer), &size));
60 ASSERT_THAT(buffer, NotNull());
66 ASSERT_TRUE(in.Next(reinterpret_cast<const void**>(&buffer),
[all...]

Completed in 108 milliseconds

1234567891011>>