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

1234567891011>>

/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.c136 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/wilhelm/tools/hashgen/
H A Dinterfaces.c136 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]);
H A Dfrag3.c4 extern void MPH_to_MPH_string(unsigned MPH, char buffer[40]);
18 char buffer[40]; local
19 buffer[39] = 'x';
20 MPH_to_MPH_string(MPH, buffer);
21 assert('x' == buffer[39]);
22 printf(" %s", buffer);
/frameworks/base/libs/hwui/renderstate/
H A DPixelBufferState.cpp25 bool PixelBufferState::bind(GLuint buffer) { argument
26 if (mCurrentPixelBuffer != buffer) {
27 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer);
28 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/base/tools/aapt2/flatten/
H A DTableFlattener.h29 TableFlattener(BigBuffer* buffer) : mBuffer(buffer) { 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/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/services/audiopolicy/common/managerdefinitions/src/
H A DAudioCollections.cpp46 char buffer[SIZE]; local
48 snprintf(buffer, SIZE, "\n%*sAudio Routes (%zu):\n", spaces, "", size());
49 write(fd, buffer, strlen(buffer));
51 snprintf(buffer, SIZE, "%*s- Route %zu:\n", spaces, "", i + 1);
52 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 DMediaDataSource.java38 * {@code buffer}, and return the number of bytes written.
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/layoutlib/bridge/src/android/text/
H A DHyphenator_Delegate.java43 static long loadHyphenator(ByteBuffer buffer, int offset) { argument
/frameworks/compile/mclinker/lib/Support/
H A DDemangle.cpp29 char* buffer = local
30 abi::__cxa_demangle(pName.c_str(), /*buffer=*/0, &output_leng, &status);
34 std::string result(buffer);
35 free(buffer);
/frameworks/native/cmds/bugreportz/
H A Dbugreportz.cpp48 char buffer[65536]; local
49 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(s, buffer, sizeof(buffer)));
63 char c = buffer[i];
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGLToGL_test.cpp43 // Start a buffer with our chosen size and transform hint moving
53 // The current buffer should either show the effects of the transform
97 // This is needed to ensure we pick up a buffer of the correct size.
195 // This test should have the only reference to buffer 0.
198 // The GLConsumer should hold one reference to buffer 1 in its
252 // element in the array will be equal meaning that buffer representing both
264 sp<GraphicBuffer> buffer; local
284 buffer = mST->getCurrentBuffer();
290 // make un-current, all references to buffer should be gone
297 EXPECT_EQ(1, buffer
302 sp<GraphicBuffer> buffer; local
[all...]
/frameworks/av/cmds/stagefright/
H A Drecord.cpp55 // that the buffer size mSize it set correctly above.
80 MediaBuffer **buffer, const MediaSource::ReadOptions *options) {
87 status_t err = mGroup.acquire_buffer(buffer);
93 memset((*buffer)->data(), x, mSize);
94 (*buffer)->set_range(0, mSize);
95 (*buffer)->meta_data()->clear();
96 (*buffer)->meta_data()->setInt64(
100 // printf("DummySource::read - returning buffer\n");
101 // ALOGI("DummySource::read - returning buffer");
240 MediaBuffer *buffer;
332 MediaBuffer *buffer; local
[all...]
/frameworks/av/drm/common/
H A DReadWriteUtils.cpp57 int ReadWriteUtils::readBytes(const String8& filePath, char** buffer) { argument
68 *buffer = new char[length];
69 if (length != read(fd, (void*) *buffer, length)) {
/frameworks/av/media/audioserver/
H A Dmain_audioserver.cpp69 char buffer[32]; local
91 snprintf(buffer, sizeof(buffer), "unknown (%d)", info.si_code);
92 code = buffer;

Completed in 3199 milliseconds

1234567891011>>