Searched defs:buffer (Results 1 - 25 of 381) 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/compile/libbcc/tests/data/src/
H A Db2071670.c7 int* buffer = (int*) floatPointer; local
8 return *buffer;
/frameworks/wilhelm/src/
H A Dinterfaces.c131 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) argument
136 strcpy(buffer, "MPH");
137 strcpy(&buffer[3], infix);
138 strcat(buffer, "_");
139 strcat(buffer, interface_names[MPH]);
/frameworks/wilhelm/tools/hashgen/
H A Dinterfaces.c131 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) argument
136 strcpy(buffer, "MPH");
137 strcpy(&buffer[3], infix);
138 strcat(buffer, "_");
139 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/cmds/bugreport/
H A Dbugreport.c25 char buffer[65536]; local
48 int length = read(s, buffer, sizeof(buffer));
51 fwrite(buffer, 1, length, stdout);
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.h10 unsigned char buffer[64]; member in struct:__anon1222
/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/base/core/jni/android/graphics/
H A DUtils.cpp31 size_t AssetStreamAdaptor::read(void* buffer, size_t size) { argument
34 if (NULL == buffer) {
53 amount = fAsset->read(buffer, size);
/frameworks/native/services/surfaceflinger/tests/surface/
H A Dsurface.cpp55 ANativeWindowBuffer* buffer; local
58 window->dequeueBuffer(window, &buffer);
59 printf("buffer %d: %p\n", i, buffer);
/frameworks/base/media/java/android/media/
H A DDataSource.java31 * @param buffer the buffer to read the data into
35 public int readAt(long offset, byte[] buffer, int size); argument
/frameworks/base/media/tests/omxjpegdecoder/
H A DSkOmxPixelRef.cpp24 SkOmxPixelRef::SkOmxPixelRef(SkColorTable* ctable, MediaBuffer* buffer, argument
26 mBuffer = buffer;
28 mSize = buffer->size();
/frameworks/av/cmds/stagefright/
H A Daudioloop.cpp85 MediaBuffer *buffer; local
86 while (decoder->read(&buffer) == OK) {
87 // do something with buffer
92 buffer->release();
93 buffer = NULL;
/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/libnbaio/
H A DLibsndfileSink.cpp37 ssize_t LibsndfileSink::write(const void *buffer, size_t count) argument
45 sf_count_t actual = sf_writef_short(mSndfile, (short *) buffer, (sf_count_t) count);
H A DLibsndfileSource.cpp46 ssize_t LibsndfileSource::read(void *buffer, size_t count) argument
54 sf_count_t actual = sf_readf_short(mSndfile, (short *) buffer, (sf_count_t) count);
H A DPipe.cpp43 ssize_t Pipe::write(const void *buffer, size_t count) argument
55 memcpy((char *) mBuffer + (rear << mBitShift), buffer, written << mBitShift);
61 memcpy(mBuffer, (char *) buffer + (written << mBitShift), count << mBitShift);
/frameworks/av/media/libstagefright/
H A DMediaBufferGroup.cpp33 for (MediaBuffer *buffer = mFirstBuffer; buffer != NULL;
34 buffer = next) {
35 next = buffer->nextBuffer();
37 CHECK_EQ(buffer->refcount(), 0);
39 buffer->setObserver(NULL);
40 buffer->release();
44 void MediaBufferGroup::add_buffer(MediaBuffer *buffer) { argument
47 buffer->setObserver(this);
50 mLastBuffer->setNextBuffer(buffer);
[all...]
/frameworks/av/media/libstagefright/tests/
H A DDummyRecorder.cpp78 MediaBuffer *buffer; local
80 while (mStarted && (err = mSource->read(&buffer)) == OK){
81 // if not getting a valid buffer from source, then exit
82 if (buffer == NULL) {
85 buffer->release();
86 buffer = NULL;
/frameworks/base/core/java/android/content/pm/
H A DLimitedLengthInputStream.java68 public int read(byte[] buffer, int offset, int byteCount) throws IOException { argument
73 final int arrayLength = buffer.length;
84 final int numRead = super.read(buffer, offset, byteCount);
91 public int read(byte[] buffer) throws IOException { argument
92 return read(buffer, 0, buffer.length);
H A DMacAuthenticatedInputStream.java71 public int read(byte[] buffer, int offset, int count) throws IOException { argument
72 int numRead = super.read(buffer, offset, count);
74 mMac.update(buffer, offset, numRead);
/frameworks/base/core/java/android/net/dhcp/
H A DDhcpDiscoverPacket.java57 void finishPacket(ByteBuffer buffer) { argument
58 addTlv(buffer, DHCP_MESSAGE_TYPE, DHCP_MESSAGE_TYPE_DISCOVER);
59 addTlv(buffer, DHCP_PARAMETER_LIST, mRequestedParams);
60 addTlvEnd(buffer);
/frameworks/base/core/java/android/net/http/
H A DCharArrayBuffers.java32 * Returns true if the buffer contains the given string. Ignores leading
35 * @param buffer to search
39 static boolean containsIgnoreCaseTrimmed(CharArrayBuffer buffer, argument
41 int len = buffer.length();
42 char[] chars = buffer.buffer();
64 static int setLowercaseIndexOf(CharArrayBuffer buffer, final int ch) { argument
67 int endIndex = buffer.length();
68 char[] chars = buffer.buffer();
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisCallback.java59 * @param buffer The generated audio data. This method will not hold on to {@code buffer},
61 * @param offset The offset into {@code buffer} where the audio data starts.
62 * @param length The number of bytes of audio data in {@code buffer}. This must be
66 public int audioAvailable(byte[] buffer, int offset, int length); argument

Completed in 273 milliseconds

1234567891011>>